benrayfield
benrayfield
I want to use GPU.js as a compile target (for wikibinator203) and need to know which parts are deterministic and repeatable across (nearly?) all computers. For using the nondeterministic parts,...
https://github.com/multiformats/multihash/blob/master/hashtable.csv says: blake2s-256 0xb260 blake2b-256 0xb220 blake2s-256 and blake2b-256 for the same input generate different hashcodes of the same size but have the same fncode 0xb2 and different digsize than...
 Linked from https://gpu.rocks/#/examples to https://gpu.rocks/#/examples to https://observablehq.com/@robertleeplummerjr/gpu-js-example-mandelbulb This used to work, a year or more ago, but does not anymore. See error on browser console in attached pic.
How would I give the context in the id to say what its hashing? Something like... QmmultihashId...sdfsdf:bmt:occamsfuncerV1:contextSpecificId4234234 but that seems too many names in an id and theres binary form....
System.out.println("java.version="+System.getProperty("java.version")); System.out.println("java.runtime.name="+System.getProperty("java.runtime.name")); ScriptEngine jshell = new JShellScriptEngine(); Bindings b = jshell.createBindings(); jshell.setBindings(b, ScriptContext.GLOBAL_SCOPE); jshell.setBindings(b, ScriptContext.ENGINE_SCOPE); long start = System.nanoTime(); jshell.eval("long kk = 0L; for(int i=0; i