FS.write("~/output.txt","average m_r = " + avgs[0] + "\n average s_r = " + avgs[1] + "\n average m_u = " + avgs[2] + "\n average s_u = " + avgs[3]);
shader_use(galileo_shader(), false);
FS.writeFile('~/812.txt', "The pig ate everyone at 8:12!\n");
JavaScript exception!ReferenceError: no save ID defined at Showcase (:32:3)
D:\src\spectacles-i>ssj distSSJ X.X.X Sphere JavaScript debugger (x64)the powerful symbolic JS debugger for Sphere(c) 2015-2017 Fat Cerberusstarting 'D:/src/spectacles-i/dist/'... OK.connecting to 127.0.0.1:1208... OK.establishing communication... OK.querying target... OK. game: Spectacles: Bruce's Story author: Fat Cerberus=> # 0: [anonymous function] at @/scripts/main.js:66 RequireSystemScript('persist.js');@/scripts/main.js:6 [anonymous function](ssj) cUNCAUGHT: Error: The pig ate everything at 8:12 at Anonymous function (@/scripts/main.js:45:12) at game (@/scripts/main.js:45:4)=> # 0: [anonymous function] at @/scripts/main.js:4949 Console.initialize({ hotKey: Key.Tilde });@/scripts/main.js:49 [anonymous function](ssj) l 20 39 40 persist.init(); 41 42 var evens = from([ 1, 2, 3, 4, 5, 6 ]) 43 .where(it => it % 2 == 0); 44 for (let even of evens) { 45 (() => { throw new Error("The pig ate everything at 8:12"); })(); 46 SSj.log(even); 47 } 48=> 49 Console.initialize({ hotKey: Key.Tilde }); 50 Console.defineObject('yap', null, { 51 'on': function() { 52 Sphere.Game.disableTalking = false; 53 Console.log("oh, yappy times are here again..."); 54 }, 55 'off': function() { 56 Sphere.Game.disableTalking = true; 57 Console.log("the yappy times are OVER!"); 58 },@/scripts/main.js:49 [anonymous function](ssj) bt=> # 0: [anonymous function] at @/scripts/main.js:49@/scripts/main.js:49 [anonymous function](ssj) _
==2047== Memcheck, a memory error detector==2047== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.==2047== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info==2047== Command: minisphere==2047== Out of Memory==2047== ==2047== Process terminating with default action of signal 6 (SIGABRT)==2047== at 0x8EC3FCF: raise (raise.c:51)==2047== by 0x8EC53F9: abort (abort.c:89)==2047== by 0x60EC165: _GLOBAL__sub_I_RecyclerWriteBarrierManager.cpp (in /usr/lib/libChakraCore.so)==2047== by 0x400F8A9: call_init.part.0 (dl-init.c:72)==2047== by 0x400F9BA: call_init (dl-init.c:30)==2047== by 0x400F9BA: _dl_init (dl-init.c:120)==2047== by 0x4000C59: ??? (in /lib/x86_64-linux-gnu/ld-2.24.so)==2047== ==2047== HEAP SUMMARY:==2047== in use at exit: 86,856 bytes in 262 blocks==2047== total heap usage: 312 allocs, 50 frees, 96,876 bytes allocated==2047== ==2047== LEAK SUMMARY:==2047== definitely lost: 0 bytes in 0 blocks==2047== indirectly lost: 0 bytes in 0 blocks==2047== possibly lost: 1,800 bytes in 19 blocks==2047== still reachable: 85,056 bytes in 243 blocks==2047== of which reachable via heuristic:==2047== newarray : 1,536 bytes in 16 blocks==2047== suppressed: 0 bytes in 0 blocks==2047== Rerun with --leak-check=full to see details of leaked memory==2047== ==2047== For counts of detected and suppressed errors, rerun with: -v==2047== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)Killed
I've decided to release this as miniSphere 5.0 after all. I've traditionally done a major version increase whenever a change represents a major paradigm shift:1.0: ~90% Sphere 1.x compatibility2.0: Cell, SphereFS, s2gm3.0: SSj, Linux support4.0: Sphere v2 APISince introducing ChakraCore is not just a performance boost but also introduces native support for ES6, allowing games to once again be created without the need for Cell, that feels like enough of a paradigm shift to warrant a version bump.I'll release the first public beta of miniSphere 5.0 in a week or so.Since I did promise an API freeze for v5.0, I'm still going to try to achieve that. We'll see what happens on that front.