Skip to content

Instantly share code, notes, and snippets.

View Others's full-sized avatar

Others

View GitHub Profile
@Others
Others / balloon.lua
Last active August 29, 2015 14:17
The balloon camera program for Catlin Gabel's 2015 high altitude balloon Winterim.
function logData(data)
print_screen(-1)
print(data)
print_screen(false)
end
function sleepSeconds(seconds)
if seconds > 0 then
sleep(seconds * 1000)
end

Keybase proof

I hereby claim:

  • I am others on github.
  • I am peach (https://keybase.io/peach) on keybase.
  • I have a public key ASDMwWz_Jc9eUMOyxO7_E4qeqTkEnVV2hYvju0a3EYaoTAo

To claim this, I am signing this object:

# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.31576859900087584
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.6873407240000233
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.7708915490002255
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.8613964180003677
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using segmentation
0.8187769800006208
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.31548835200374015
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.6843471350002801
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.7628226700035157
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.8554026079946198
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using segmentation
0.7233896859979723
Testing Program(name='basic_math', parameters=[], stack_size=16384) native
0.16822868599999197
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm no protection
0.4578295470000171
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm bounds checked
0.5097172259999923
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm virtual memory
0.46052893199998834
Testing Program(name='basic_math', parameters=[], stack_size=16384) wasm using mpx
0.5224201030000017
@Others
Others / main.py
Last active December 1, 2019 04:43
def main():
print('starting in cwd = ', os.getcwd())
print('data dir = ', PBAR_DATA_DIR)
cmd = sys.argv[1:]
cmd_string = ' '.join(cmd)
print('cmd =', cmd_string)
# Prepare by deleting the temp file if it exists
try:
os.remove(PBAR_TEMP_FILE)
test tests\compile-fail\example_compile_error.rs ... mismatch
EXPECTED:
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0425]: cannot find value `cx` in this scope
--> $DIR/example_compile_error.rs:6:19
|
6 | JsNumber::new(cx, "9000")
| ^^ not found in this scope
error[E0277]: the trait bound `f64: std::convert::From<&str>` is not satisfied
--> $DIR/example_compile_error.rs:6:5
gyp verb ia32 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\ia32
gyp verb ia32 node.lib url https://atom.io/download/electron/v6.0.7/win-x86/node.lib
gyp verb x64 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\x64
gyp verb x64 node.lib url https://atom.io/download/electron/v6.0.7/win-x64/node.lib
gyp verb arm64 node.lib dir C:\Users\appveyor\.electron-gyp\6.0.7\arm64
gyp verb arm64 node.lib url https://atom.io/download/electron/v6.0.7/win-arm64/node.lib
gyp verb check download content checksum, need to download `SHASUMS256.txt`...
gyp verb checksum url https://atom.io/download/electron/v6.0.7/SHASUMS256.txt
gyp http GET https://atom.io/download/electron/v6.0.7/SHASUMS256.txt
gyp verb streaming ia32 node.lib to: C:\Users\appveyor\.electron-gyp\6.0.7\ia32\node.lib
0001117c <wasmf___multf3>:
1117c: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr}
11180: b0a7 sub sp, #156 ; 0x9c
11182: f24b 415c movw r1, #46172 ; 0xb45c
11186: f2c0 0102 movt r1, #2
1118a: 469b mov fp, r3
1118c: 680b ldr r3, [r1, #0]
1118e: 4696 mov lr, r2
11190: 9023 str r0, [sp, #140] ; 0x8c
11192: e9dd 7034 ldrd r7, r0, [sp, #208] ; 0xd0