Skip to content

Instantly share code, notes, and snippets.

Jul 30 03:45:08.613 INFO Steepest Descent, max_iters: 10
Jul 30 03:45:08.613 INFO iter: 0, cost: 174.77841665711315, best_cost: 174.77841665711315, cost_func_count: 1, grad_func_count: 1, jacobian_func_count: 0, hessian_func_count: 0, modify_func_count: 0, time: 0.000049513000000000005
Jul 30 03:45:08.613 INFO iter: 1, cost: 65.02249040964746, best_cost: 65.02249040964746, cost_func_count: 2, grad_func_count: 2, jacobian_func_count: 0, hessian_func_count: 0, modify_func_count: 0, time: 0.00006891
Jul 30 03:45:08.613 INFO iter: 2, cost: 17.830063056602913, best_cost: 17.830063056602913, cost_func_count: 3, grad_func_count: 3, jacobian_func_count: 0, hessian_func_count: 0, modify_func_count: 0, time: 0.000035076
Jul 30 03:45:08.613 INFO iter: 3, cost: 7.958180134215115, best_cost: 7.958180134215115, cost_func_count: 4, grad_func_count: 4, jacobian_func_count: 0, hessian_func_count: 0, modify_func_count: 0, time: 0.00007735600000000001
Jul 30 03:45:08.613 INFO iter: 4, cost: 3.8463517943209946, best_cost: 3.8463
Pq"1;1;126;99#0;2;0;0;0#1;2;0;3;0#2;2;0;3;3#3;2;3;3;0#4;2;3;3;3#5;2;3;6;3#6;2;3;6;6#7;2;3;6;15#8;2;3;6;18#9;2;3;9;21#10;2;6;6;6#11;2;6;9;9#12;2;6;9;21#13;2;6;12;21#14;2;9;9;9#15;2;9;9;12#16;2;9;12;12#17;2;9;12;15#18;2;9;12;21#19;2;9;12;25#20;2;9;15;25#21;2;9;15;31#22;2;12;12;12#23;2;12;12;25#24;2;12;15;21#25;2;12;15;25#26;2;12;15;28#27;2;15;15;18#28;2;15;15;28#29;2;15;18;25#30;2;15;18;28#31;2;15;18;31#32;2;18;21;25#33;2;18;21;31#34;2;18;21;34#35;2;18;21;37#36;2;18;25;40#37;2;21;21;34#38;2;21;21;37#39;2;21;25;34#40;2;21;25;40#41;2;21;25;43#42;2;25;21;25#43;2;25;25;28#44;2;25;25;40#45;2;25;28;40#46;2;25;28;47#47;2;25;31;43#48;2;25;31;50#49;2;25;31;56#50;2;28;28;31#51;2;28;28;43#52;2;28;31;43#53;2;28;34;50#54;2;28;34;53#55;2;28;34;59#56;2;31;31;34#57;2;31;31;47#58;2;31;31;50#59;2;31;34;50#60;2;31;37;56#61;2;31;37;59#62;2;31;40;65#63;2;34;31;34#64;2;34;31;37#65;2;34;34;50#66;2;34;34;53#67;2;34;37;53#68;2;34;37;56#69;2;34;40;65#70;2;34;40;69#71;2;34;43;69#72;2;37;34;40#73;2;37;37;53#74;2;37;37;56#75;2;37;40;56#76
#!/bin/bash
tput sc
# first print a red square
printf '\eP;1q'
printf '"1;1;60;60'
for N in {1..10}
do
printf "#2!60~-"
emmake make -j4 REGENIE=1 NOWERROR=1 SUBTARGET=vsnes SYMBOLS=1 ARCHOPTS=-s ASSERTIONS=2 -s WASM=0 SOURCES=src/mame/drivers/vsnes.cpp
GCC 5.4.0 detected
emscripten sdl2-config called with /src/emsdk/emscripten/1.38.4/system/bin/sdl2-config --libs
emscripten sdl2-config called with /src/emsdk/emscripten/1.38.4/system/bin/sdl2-config --cflags
emscripten sdl2-config called with /src/emsdk/emscripten/1.38.4/system/bin/sdl2-config --cflags
emscripten sdl2-config called with /src/emsdk/emscripten/1.38.4/system/bin/sdl2-config --cflags
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
make[1]: Entering directory '/home/db48x/remacs/lib-src'
CCLD etags.exe
../rust_src/remacs-lib/target/debug/remacs_lib.lib(std-2206a7aa1c04040d.std0.rcgu.o):(.xdata[$cppxdata$_ZN33_$LT$alloc..arc..Arc$LT$T$GT$$GT$9drop_slow17h95c9b0109a7dd198E]+0x10): undefined reference to `__CxxFrameHandler3'
../rust_src/remacs-lib/target/debug/remacs_lib.lib(std-2206a7aa1c04040d.std0.rcgu.o):(.xdata[$cppxdata$_ZN4core3fmt5Write10write_char17h02490927eeb6f5f5E]+0xc): undefined reference to `__CxxFrameHandler3'
../rust_src/remacs-lib/target/debug/remacs_lib.lib(std-2206a7aa1c04040d.std0.rcgu.o):(.xdata[$cppxdata$_ZN4core3fmt5Write10write_char17h475848f74f7376a7E]+0xc): undefined reference to `__CxxFrameHandler3'
../rust_src/remacs-lib/target/debug/remacs_lib.lib(std-2206a7aa1c04040d.std0.rcgu.o):(.xdata[$cppxdata$_ZN4core3fmt5Write10write_char17hd10b0ea2ceb3510fE]+0xc): undefined reference to `__CxxFrameHandler3'
../rust_src/remacs-lib/target/debug/remacs_lib.lib(std-2206a7aa1c04040d.std0.rcgu.o):(.xdata[$cppxdata$_ZN4
# ./autogen.sh
Validating Rust install ...
rustc 1.26.0-nightly (0ff9872b2 2018-02-28)
Your system has the required rust installation for building remacs.
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Remacs)
Checking for autoconf (need at least version 2.65) ... ok
Your system has the required tools.
Running 'autoreconf -fi -I m4' ...
' is already registered with AC_CONFIG_FILES.
#include <stddef.h>
typedef unsigned int bool_bf;
/* Starting with Emacs 20.3, characters from strings and buffers have
both a character and a byte position associated with them. The
following structure holds such a pair of positions. */
struct text_pos
{
/* Character position. */
#[repr(C)]
#[derive(Debug, Copy)]
pub struct specbinding {
pub _bitfield_1: u8,
pub unwind: __BindgenUnionField<specbinding__bindgen_ty_1>,
pub unwind_ptr: __BindgenUnionField<specbinding__bindgen_ty_2>,
pub unwind_int: __BindgenUnionField<specbinding__bindgen_ty_3>,
pub unwind_void: __BindgenUnionField<specbinding__bindgen_ty_4>,
pub let_: __BindgenUnionField<specbinding__bindgen_ty_5>,
pub bt: __BindgenUnionField<specbinding__bindgen_ty_6>,
@db48x
db48x / bindings.rs
Created July 22, 2017 19:53
bindings generated for the Lisp_Subr structure, which represents a Lisp subroutine (aka function)
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Lisp_Subr {
pub header: vectorlike_header,
pub function: Lisp_Subr__bindgen_ty_1,
pub min_args: ::std::os::raw::c_short,
pub max_args: ::std::os::raw::c_short,
pub symbol_name: *const ::std::os::raw::c_char,
pub intspec: *const ::std::os::raw::c_char,
pub doc: EMACS_INT,
You need a passphrase to unlock the secret key for
user: "Daniel Brooks <db48x@db48x.net>"
4096-bit RSA key, ID 10D29518, created 2016-12-15 (main key ID B03FB453)
gpg: encrypted with 4096-bit RSA key, ID 10D29518, created 2016-12-15
"Daniel Brooks <db48x@db48x.net>"
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights