96 karma · joined Jul 11, 2013 (13y ago) · 31 submissions
comment 2y ago · link · parent
Don't get me wrong, it's certainly far more useful as it is, I'm glad it works this way.
comment 11y ago · link · parent
comment 11y ago · link · parent
"I imagine that someday I may have a story written about my life, and it would be good to have a detailed account of it."
comment 12y ago · link · parent
(Unrelated observation from looking at the spec again: there's no standard/recommended decoding behaviour if an object has several members with the same key.)
comment 12y ago · link · parent
"On a tangent: IMHO most binary serialization formats like BSON, MessagePack or Protocol Buffers are misdesigns. They add lots of complications to save a couple of bytes. But that does not translate into a substantial improvement of the parsing speed compared to a heavily tuned parser for a much simpler text-based format."
[1] http://www.freelists.org/post/luajit/Adding-assembler-code-t...
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
Unfortunately, that's not something you can reasonably expect, ever. Mike Pall made a statement about the IP of LuaJIT [1], and made the point that while his own contributions are freely donated to the public domain...
"I cannot guarantee it to be free of third-party IP however. In fact nobody can. Writing software has become a minefield and any moderately complex piece of software is probably (unknowingly to the author) encumbered by hundreds of dubious patents."
comment 13y ago · link · parent
I'm reminded of these t-shirts with "Keep Calm And..." slogans that were allegedly generated automatically (presumably culled from web searches) and sold on Amazon without human intervention: http://www.bbc.co.uk/news/business-21640347
I think the lesson is, if your business model MUST involve pulling stuff from the Internet arbitrarily, it is no less your responsibility as if you had crafted it yourself if you intend to commercially repurpose it.
comment 13y ago · link · parent
comment 13y ago · link · parent
for i = 0, < 10 do --[[ ... ]] end
...and throwing a compile error if you omit the <, though arguably ugly and weird, would still have been preferable I think.