wiredwiz / toaststunt Goto Github PK
View Code? Open in Web Editor NEWThis project forked from lisdude/toaststunt
A fork of the ToastStunt server code for introducing new server features.
This project forked from lisdude/toaststunt
A fork of the ToastStunt server code for introducing new server features.
I had a database running on this server and everything was going fine, until I tried the following MOO code:
stats = [];
for o in [#0..max_object()]
if (valid(o))
for v in (verbs(o))
owner = verb_info(o, v)[1];
lines = length(verb_code(o, v));
try
stats[owner] += lines;
except (E_RANGE)
stats[owner] = lines;
endtry
yin();
endfor
endif
yin();
endfor
This panics the server with the following message:
Server panic: Stack not entirely popped in STMT_TO_CODE()
Looks like try statements and the opcodes for using += -= etc are not working together.
When adding more than 256 functions, the first one exceeding the base limit, number 257, is only callable via call_function(name, args)
Weirdly enough, funcs 258 onward are callable normally in verb code and using eval.
This is easy to test with a server that has 256 or less functions and by adding more. The 257th one will most probably wrap back to the first one, which is run_Gc if garbage collection is enabled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.