Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
catwell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
catwell
11y ago
Adding two numbers together without being pure? Isn't that how we always do it? MOV edx, 1 MOV adx, 2 ADD eax, edx
242.
▲
by
catwell
11y ago
I have a Vaio Pro 13, one of the last Sony models. I bought it over two years ago now. It works very well under Linux. Initially there was a small issue with CPU frequency scaling because it was basically the first Haswell ultrabook, and I
243.
▲
by
catwell
11y ago
... and the main author of Lua was the PhD advisor of the author of htop. Small world :)
244.
▲
by
catwell
11y ago
I am also interested since I saw the lightning talk about it at FOSDEM (video: http://mirror.onet.pl/pub/mirrors/video.fosdem.org/2016/h221... ). For what it's worth, FOSDEM itself uses it for the re
245.
▲
by
catwell
11y ago
Happiness at work is not a figure, it's a curve over time. Programming has high highs and rather low lows :) When everything goes well, when I am working on code bases I like, on interesting features or on Open Source software, I am pr
246.
▲
by
catwell
11y ago
> why don't they start their companies abroad from the start? Because it's easier to move a company to the US once it is funded and starts getting traction than to start it there. Also, technical talent is much cheaper in Franc
247.
▲
by
catwell
11y ago
This. For more details, read "Flash Boys: Not So Fast" by Peter Kovac ( http://www.amazon.fr/Flash-Boys-Insiders-Perspective-High-Fr... ). Alternatively, Chris Stucchio's blog posts (starting with https:/
248.
▲
by
catwell
11y ago
I solved most of the 6 first days in Bash. I used Lua for days 4 and 6 for performance reasons (I have working solutions in Bash too, but they are way too slow).
249.
▲
by
catwell
11y ago
Probably C++ or Java (Go was written to replace them at Google).
250.
▲
by
catwell
11y ago
He is talking about (worst-case) scheduling latency. See https://lwn.net/Articles/404993/ .
251.
▲
by
catwell
11y ago
If you have already used another dynamic, imperative language, you can probably learn enough Lua to use Torch effectively in 30 minutes. Seriously, there are three features in the Lua language which are not trivial: metatables, coroutines a
252.
▲
by
catwell
11y ago
King is far from being a "one game company". I had the chance to visit their Stockholm offices two weeks ago (they hosted Lua Workshop 2015) and I was rather impressed. They have a whole pipeline in place that results in a few suc
253.
▲
by
catwell
11y ago
"NaCL key" is a generic term, you can probably use them with libsodium, like you can use "PGP keys" with GPG. By the way, libsodium has the same maintainer than dnscrypt (and Pure-FTPd) but he does not work for OpenDNS a
254.
▲
by
catwell
11y ago
You have too many hands.
255.
▲
by
catwell
11y ago
The registrar part of Gandi (their historical business) is very, very good. The hosting part (more recent business) slightly less so.
256.
▲
by
catwell
11y ago
I have mixed feelings about this. On the negative side, Mike Pall is an impressive individual who has contributed a lot to the field of JIT-compiled languages, so losing him is obviously bad for the project. LuaJIT is also a hard codebase t
257.
▲
by
catwell
11y ago
Like several others in this thread, Perl was my first "real" language after POSIX Shell (I started by reading and modifying the early Frozen Bubble sources), and Programming Perl was my first programming book. That kind of introdu
258.
▲
by
catwell
11y ago
Before it was sold, Slicehost tools and documentation were better, and their customer support was incredible. You would get answers in minutes, even if you only rented a $20 VPS.
259.
▲
by
catwell
11y ago
It is much easier to sandbox Lua than most other scripting languages. If you have a very adversarial security model, do not offer your users any chance to run in-process Turing-complete scripts. But if you do want that feature, Lua is the b
260.
▲
by
catwell
11y ago
This is exactly the "Worse is Better" debate. We know which horse won last time, I would bet on the same one this time too.
261.
▲
by
catwell
12y ago
The real difference between Epitech and 42 is that Epitech does have a tuition, it is actually rather expensive by French standards. 42 innovated on that, I think it is the only privately-owned school with no tuition. Schools with no tuit
262.
▲
by
catwell
12y ago
You run your own server so you can easily set it up to accept any email matching some simple rules. This means you can give a different email address to every online service you use. If one of them starts getting spam, blackhole it. I hav
263.
▲
by
catwell
12y ago
Lua is often used for that purpose. It is not a Lisp but it fulfills this role well enough.
264.
▲
by
catwell
12y ago
I am French. The 3 month notice is when employees want to terminate a contract. The way the usual contract in IT (CDI) works is: you can have a 4-month trial period, which you can renew once. Then the employer cannot fire you without &quo
265.
▲
by
catwell
12y ago
I am ranked N.1 for Lua in Paris and N.66 worlwide, but yes, there are not that many Lua devs on GitHub (the Open Source community is small).
266.
▲
by
catwell
12y ago
This is true for typical Web loads. Companies with fewer users could have scaling problems earlier if their load is very write-heavy, if they generate artificial load from things such as crawling, if they have stricter latency requirements.
267.
▲
by
catwell
12y ago
Yes. This article specially weakens moral rights for software. The remaining issue is that you can still forbid modifications that "affect your honor or reputation". [1] http://legifrance.gouv.fr/affichCodeArticl
268.
▲
by
catwell
12y ago
The sandbox at the end has a slider to change the ratio so you can tune it to simulate race instead of gender (although having more than two shapes would be nice, and also other dimensions than shapes to observe intersectional interactions)
269.
▲
by
catwell
12y ago
+1 for TOML. If you think simplicity matters, look at the YAML spec [1], vomit and never use it again. If you still don't believe me, try implementing a conforming YAML 1.2 parser (oh, and try not to make it a source of RCE [2]...). [1
270.
▲
by
catwell
12y ago
PUC Lua is about 20k lines of ANSI C code. The "ANSI" part makes it a bit old-fashioned sometimes but it is very readable. Maybe you were thinking about the LuaJIT code base? That one is indeed very tricky, in part because a lot o
More ›