HNHacker News
TopNewBestAskShowJobs

aDevilInMe

203 karma · joined January 15, 2012

submissionscomments
aDevilInMe··on Ask HN: How important is a .com domain name?
If you want the .com and it is available then I would suggest getting it while you can, otherwise some low life company will acquire and squat on it wanting about $1000.
aDevilInMe··on Deep C and C++ (2011)
Thanks, I was not aware that this was corrected in a later edition.
aDevilInMe··on Deep C and C++ (2011)
"In embedded software, life would be a lot easier if I could hit every engineer who wants to type-pun without a union in the head with the ISO standard."

Is that the same standard that says it is illegal to write to one entry and read from another in a union* ?

* Note : special situation of identical fields in a structure

aDevilInMe··on Lua: the world's most infuriating language?
1 based indices are fine most of the time, they are mostly like 0 based yet start at 1 :) When it does become a problem is when you are reading and using binary formats and offsets, where I seem to always get off by one errors. A ternary function, iff, is soo simple to implement Lua. Scoping is just something you have to understand as with tables there is no problem with them besides a beginners understanding of them.

What you consider a minor gripe, compound assignment operator, I personally think is a flaw in the language same goes for bitwise functions instead of operators. Here is an example I posted earlier on twitter.

object = object + other

"object" and "other" here are full userdata and the code is going to malloc a new userdata and also create a new object in C/C++; which is straight away going to over write the original instance. Huh? why? += makes so much sense.

Each to there own, I can fix my issues using patches but it would be nice if I did not have to.

aDevilInMe··on Lua: the world's most infuriating language?
It is due to the implementation used for lexical scoping. With 5.2, I actually consider it wrong to think Lua code has a global scope and it has no global get or set VM op instructions, there is however an environment. The environment's default name being _ENV and _ENV can also be local. _G is normally, in 5.2, an entry in _ENV that points to back to _ENV.
aDevilInMe··on Win a signed copy of Programming in Lua 3rd Edition
Sure, although if there is an output which can be enjoyed by other people such as a paper, video/audio of the talk etc. then more people I would imagine would vote for it.
aDevilInMe··on Felix - a fast scripting language
What are the LuaJIT timings on the same machine also is this the proof that it is "The fastest scripting language on Earth."? Please provide your profiling results with the languages tested, the files ran and the timings.
aDevilInMe··on Lua Workshop 2012 Presentations
Update: Textadept slides are located at http://www.lua.org/wshop12/Mitchell.pdf
aDevilInMe··on Lua Workshop 2012 Presentations
Seeing as "Urls become links, except in the text field of a submission."

* Textadept - Behind the Scenes http://www.lua.org/wshop12/Foral.pdf http://www.youtube.com/watch?v=-rMC2s0s-zA * Crazy Ivan - Lua Driven Robots http://www.youtube.com/watch?v=55amYC20t5Q

* Gemini - An Open Source Library for Game Development on iOS Using Lua http://www.lua.org/wshop12/Norton.pdf http://www.youtube.com/watch?v=yQYLhctUYe4

* picoDB: a no-SQL database tool for eLua http://www.lua.org/wshop12/Freund.pdf http://www.youtube.com/watch?v=Olc0fAuY4nU

* Luerl, a Lua VM written in Erlang http://www.youtube.com/watch?v=TolOxVxqoZ8

* LuaFlow - An Open Source Lua OpenFlow Controller http://www.youtube.com/watch?v=F2UJr-h4pUU

* Lua multi VM system for home automation http://www.lua.org/wshop12/Zawadiak.pdf http://www.youtube.com/watch?v=WqiCfl_SHlY

* Building a Lua Based Platform (Luvit) http://luvit.io/hujs.pdf http://www.youtube.com/watch?v=W-UzlQrkbhA

* Small Team, Huge Game, and Lua https://www.youtube.com/watch?v=EQhlp6rCrY8

* What is Next for Lua? A Personal Perspective http://www.lua.org/wshop12/Ierusalimschy.pdf https://www.youtube.com/watch?v=izhUbMGUIPE

* Incrementally developing and implementing Hirschberg's longest common subseqence algorithm using Lua http://www.lua.org/wshop12/Snyder1.pdf http://www.youtube.com/watch?v=-R9exap2jo4

* Adding an Lua-based integrated character-based menu system into the SciTE editor http://www.lua.org/wshop12/Snyder2.pdf http://www.youtube.com/watch?v=NTLCE18IcYI

* Integrating Lua for fun and profit: Vim's if_lua and PostgreSQL's PL/Lua http://www.youtube.com/watch?v=JkPjAcJi5rk

* Make Your Own M2M Application, in a 1/2 Hour, with Lua http://www.youtube.com/watch?v=eX_L0yiQekI

* Using Lua for Integration with a specialized IDE http://www.lua.org/wshop12/Muir.pptx http://dl.dropbox.com/u/4695230/Muir.pdf http://www.youtube.com/watch?v=gkHJUQ-6prY

* Lua Q&A Session with Roberto Ierusalimschy http://www.youtube.com/watch?v=-VQBw5OpJIQ

← PreviousPage 2 of 2