Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catwell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
301.
▲
by
catwell
13y ago
This thread is so full of BS I shouldn't even bother commenting, but maybe you should just know that Kyle himself is openly gay...
302.
▲
by
catwell
13y ago
I am French, and I have studied at an Engineering School in France (probably what you call "technical university") and at a British university. I agree that our higher education is doing something right. The problem is what comes
303.
▲
by
catwell
13y ago
I tend to agree with you, but here is the reasoning behind how Lua works: - local by default weakens what you can do with the scope; - we want something by default because the language is used for things like configuration files. The 2nd
304.
▲
by
catwell
13y ago
This is actually what we do in Lua, often written `require "pl.strict"`...
305.
▲
by
catwell
13y ago
The fact that many libraries are "translated from" Perl packages does not mean they are old, it means a significant part of the Lua community has used Perl before. Actually, because Lua 5.2 has been released recently and broke com
306.
▲
by
catwell
13y ago
Lua breaks backwards compatibility every 3-5 years in minor ways, and they support version n-1 in version n. And it is not very hard to migrate code bases between versions of the language.
307.
▲
by
catwell
13y ago
Perl was my first real programming language. I was 12, I have a video game in Perl I wanted to modify (Frozen Bubble), I only knew shell. I did not have an Internet connection at home so I had to boy a book. So I bought Programming Perl 3rd
308.
▲
by
catwell
13y ago
The fact that this idiom is documented in the official Python documentation makes me cringe, knowing that this code is not what I would call explicit. This is one of those cases where Ruby does it better (s.each_slice(3).to_a).
309.
▲
by
catwell
13y ago
Actually, in many cases non-NN methods still beat NN for those use cases, at least if you consider things like the speed of the response and consumption of resources as relevant. Recent papers show that NN are coming back, but I think most
310.
▲
by
catwell
13y ago
Deezer was originally a blog called Blogmusik. It was streaming music illegally and was shut down following a trial by the French equivalent of RIAA, then re-launched as Deezer. EDIT: I realized that Deezer is not well-known in the US. It i
311.
▲
by
catwell
13y ago
There are package managers for Lua. The main one is called LuaRocks.
312.
▲
by
catwell
13y ago
It is improving fast these days. If you have used it months ago it was 0.0.1 and now it is 0.0.3. Still, those version numbers should make it clear you should not use it in production for something serious... OpenResty itself, on the other
313.
▲
by
catwell
13y ago
> The interesting thing about the Lua community is that very few people use Lua as their primary day-in-day-out language, which leads to a distinct lack of fanboyism. I think that's in part why so few libraries exist. Yes. The fact
314.
▲
by
catwell
13y ago
I am French and liberal, my views on economy are considered extreme liberalism in my country, but I when I read things like this I am even more thankful for our education system. The French scientific higher-education system is weird and mi
315.
▲
by
catwell
13y ago
Luvit is not really a port of libuv, it is more a reimplementation of the NodeJS model that uses libuv. A more straightforward libuv binding by the same author is https://github.com/creationix/luv , and one using corout
316.
▲
by
catwell
13y ago
Firefox OS ? You mean that OS that basically doesn't allow to do anything at all outside of a browser? Mozilla has ranted about Microsoft restrictions preventing them from making a decent competing browser in WP8. Well, go make a com
317.
▲
by
catwell
13y ago
Let me see if I understand well: can I use this such that "terra" code is equivalent to C code and Lua code is equivalent to an extremely powerful preprocessor? Am I right to think that I can generate dynamic libraries (.so) that do not i
318.
▲
by
catwell
14y ago
In addition to that you may want to look at https://github.com/loyso/LuaCSP - it is not implemented in Lua but it extends the language with CSP.
319.
▲
by
catwell
14y ago
In that context it means Finite State Transducer. Basically it is a FSM (Finite State Machine) that generates an output depending on its input. I don't think you lose too much meaning of his sentence if you replace FST by Turing Machines (t
320.
▲
by
catwell
14y ago
That's what I thought. I wonder what the DSL used in Grim and Escape from Monkey Island looked like. Also, the Lua version used in Grim was 2.5 (!) and a major issue was the lack of cooperative multithreading (see http://www.grimfandango.n
321.
▲
by
catwell
14y ago
Warning: I am far from being knowledgeable about compilers. That being said... SSA is actually more appropriate for imperative languages. Compilers for functional languages tend to use other intermediate representations such as CPS / ANF. T
322.
▲
by
catwell
14y ago
This is not really a "talk" but rather a whole course. In 2009 Gérard Berry ( http://en.wikipedia.org/wiki/Gérard_Berry ) gave a class in French at Collège de France ( http://en.wikipedia.org/wiki/Collège_de_France ) on CS fundamentals: ht
323.
▲
by
catwell
14y ago
+1 Note that DCRI is not just any agency, it is the French equivalent of FBI. Also the "kid" they bullied is not a kid at all, and he is the president of Wikimedia France.
324.
▲
by
catwell
14y ago
Thank you for the insight. 3, 4 and 5 are probably the reasons why they don't do it. They could, but it would be harder to operate, a bit more expensive and a lot less elastic. And maybe some customers at some points in time are, in fact, t
325.
▲
by
catwell
14y ago
Same here, I don't understand. The problem is that at a given size they can't use their "intelligent routing" anymore, but afaik no customer of theirs has that size, so why don't they just make as many copies of "old Heroku" as needed? Then
326.
▲
by
catwell
14y ago
Some universities and engineering schools in France are teaching Python or using Python in some classes. The one I attended (Télécom Bretagne) does. Here is, for instance, a course about Sage and Python: http://formations.telecom-bretagne.
327.
▲
by
catwell
14y ago
Accusing everybody criticizing a woman of sexism is certainly not helping. They almost certainly didn't know she is a woman. Moreover Steve Klabnik at least is a widely known ally ( http://confreaks.com/videos/1089-madisonruby2012-anti-opre
328.
▲
by
catwell
14y ago
If you're just discovering eLua and think it is cool, you will love eLuaBrain: http://eluabrain.blogspot.fr/
329.
▲
by
catwell
14y ago
> The most obvious issue that everyone stumbles across is the "counting from 1". It seems like a minor thing, but the context-switch remains a drag when you're dealing with complex data-structures in two languages and only one of them i
330.
▲
by
catwell
14y ago
No. This is so their technicians can easily log into your servers and solve problems if you need them too. Lots of their customers are newbies so they sell technical help as a service. It is documented here: http://help.ovh.co.uk/InstallOv
More ›