GmeSalazar
Ask HN: “tools wiki”
Is there anything like a curated list or Wiki of Software Engineering tools; a place where you'd go to see what tools are used for a given task. For instance, tools for Configuration Management, frameworks for Web dev, Database systems, etc.
Best Practices for Designing a Pragmatic RESTful API
Roads and Bridges: The Unseen Labor Behind Our Digital Infrastructure
Ask HN: Tips for a work laptop
I'm soon going to buy a new work laptop; it'd be great to get some tips from you guys.The main usage will be work/study; its hardware should be well supported by Linux (some BSD would be great).Basic specs I have in mind:* >= 8GiB RAM* <= 250GiB SSD* Processor?* No dedicated video card* WiFi and Ethernet cards* No card reader* No bluetooth* Battery >= 3-4 hours* >= 15 inches...
What's the Greatest Software Ever Written?
Free Software Sticker Book
The Mozilla Firefox Open Source Project on Open Hub: Languages Page
Ask HN: Are you into any kind of physical activity?
How do you exercise yourself? I'd really like to jog -- at least 3 or 4 times a week -- to keep my body well and alleviate stress, but I'm a little afraid of criminals. I will probably end up acquiring a cycle ergometer and exercising at home.
Brazil Petrobras scandal: Former president Lula detained
The philosophy of translation
The manpages for lua(4) and luactl(8) may be of help.
lua(4) is the device driver which allows you manage Lua states in the kernel through an ioctl interface. With luactl(8) you can create and destroy states, load and execute scripts, and require modules.
Example:
1. Load lua(4) driver modload lua 2. Create a Lua state in the kernel luactl create s0 3. Load and execute a script named hello.lua luactl load s0 ./hello.lua 4. dmesg
A Lua state is created empty. In order to load the standard libs (base, string, table, ...) into that state you'd need to do a luaL_openlibs(). Even though the libs are compiled into lua(4), you can't easily load them with luactl. [1] is a patch that adds a 'openlibs' command to luactl. After you apply it and recompile luactl, you can do that:
luactl openlibs s0
Btw, we've ported Lua test suite to the NetBSD kernel in this year's GSoC. Part of the work was on porting parts of the standard libraries which were not available in kernel Lua (e.g., os, io, math). Take a look at [2].
Let me know if you need any help. My email address is my HN username at gmail.com
---- [1] https://github.com/gmesalazar/kerneltest/blob/master/kernel/... [2] https://github.com/gmesalazar/kerneltest/
Language-theoretic Security
[1] https://drive.google.com/file/d/0ByEPyxMys7A6T19Qc25JWTNKRE0...