Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
omaranto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
301.
▲
by
omaranto
8y ago
I bet a JIT in LuaJIT would have been easy and fast: compile to Lua code in strings, call "eval" (actually load() in Lua, but the name eval is better known).
302.
▲
by
omaranto
8y ago
I was sort of kidding earlier. I tried registering with my current, academic, address and was rejected. I'm not surprised because it ends in "mx". The "joke" was that a PhD student at my university would have a simi
303.
▲
by
omaranto
8y ago
If the algorithm figured out from my email address alone that I'm not a student anymore, I'm pretty impressed. But I doubt that's what happened. :)
304.
▲
by
omaranto
8y ago
The title of this submission says "math PhD", but if you try to register on the site you'll see it's actually looking for "math PhD candidates ", so it's even weirder than you'd suggest: the site aut
305.
▲
by
omaranto
8y ago
I think it's not that you don't understand the problem, just that you haven't experienced it. My Windows 10 machine installs updates that require reboots more than 2 or 3 times a year, but it is configured (and I believed t
306.
▲
by
omaranto
8y ago
I doubt you'll find many Emacs users that would prefer "C-u M-| sort" over "M-x sort-lines".
307.
▲
by
omaranto
8y ago
Correct. It is intended for the filenames in the article. More generally, I try to write all my shell code to silently produce hard to track down errors when a filename contains newlines, in order to punish me for my carelessness if I ever
308.
▲
by
omaranto
8y ago
The article solves the problem: for which numbers x between 1 and 500 is there no file x_A.csv? It looks like in this case it is equivalent to the easier problem: for which x_data.csv is there no corresponding x_A.csv? cd dataset-dire
309.
▲
by
omaranto
8y ago
The awk commands prints the first occurrence of each line in the order they are found in the file. I can imagine that sometimes that might be even better than sorted order.
310.
▲
by
omaranto
8y ago
No, it's not just an omission of square: the plot in question is a little triangle, each side around 25 inches long, so the area is around 270 sq in.
311.
▲
by
omaranto
8y ago
I thought it was weird to give the size of a plot in units of length. That made me click the title. If it had said "270 square inch plot" I probably would not have been curious enough to follow the link. So, I claim the title is
312.
▲
by
omaranto
8y ago
Oh, this by Robert Strandh, whose also writing SICL, a very cool, modular implementation of Common Lisp in Common Lisp for bootstrapping. The idea is that other implementations of Common Lisp in Common Lisp can take modules from SICL. Alrea
313.
▲
by
omaranto
8y ago
I think most Common Lisp implementations that provide threads, make dynamically-scoped variables (called "special variables" in Common Lisp) thread-local.
314.
▲
by
omaranto
8y ago
> I don't think Racket was the first language to come up with this. Racket's parameters are just dynamically scoped variables. Most Lisps have them. The older Lisps actually predate lexically scoped variables and had dynamical
315.
▲
by
omaranto
8y ago
You should try again from non-Chez Racket.
316.
▲
by
omaranto
8y ago
It probably is, but when you are freaked out you want certainty.
317.
▲
by
omaranto
8y ago
The title uses the word "soccer", which should lead you to expect the American meaning of "graft" rather than the British meaning.
318.
▲
by
omaranto
8y ago
Adding a bit of friction reduces the number of people motivated enough to overcome it.
319.
▲
by
omaranto
8y ago
I'd suggest moving the TED talks to the rubbish category. Seems safer and easier than sifting through the pile of TED talks to find the few good ones.
320.
▲
by
omaranto
8y ago
I don't pretend to understand the feelings of people who care about this issue strongly, so I won't defend the choice vigorously. But I would guess they did that because their target demographic were Fortran and Matlab users, all
321.
▲
by
omaranto
8y ago
I'd say LLVM is an important part of Julia's success but not the whole story: it is also a very well designed language.
322.
▲
by
omaranto
8y ago
> The way Code Editors have been doing in the last years. Or like Emacs's M-x, which is much older than the editors you probably have in mind.
323.
▲
by
omaranto
8y ago
Zathura can use mupdf as its PDF renderer (it can also use poppler). I like using the mupdf library through Zathura rather than using the mupdf application, because Zathura has plugins for other file formats too, like PostScript and DJVU, a
324.
▲
by
omaranto
8y ago
What? Lot's of webpages look different after simply resizing the window! The fact that this is on purpose, doesn't mean it doesn't happen (quite the opposite!).
325.
▲
by
omaranto
8y ago
Let me check: function remac { sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/
326.
▲
by
omaranto
8y ago
Indent with four spaces: function remac { sudo /System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport -z sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..
327.
▲
by
omaranto
8y ago
I think that probably in Swift each individual string is required to be of finite length, as in most programming languages. The set of finite (but arbitrary) length strings drawn from a finite set of characters is countable . On the other
328.
▲
by
omaranto
8y ago
Since you mention both using git directly from the command line and Emacs, have you tried magit?
329.
▲
by
omaranto
8y ago
I would expect that with the new TreeSitter parser (and other improvements) Atom now feels faster than VS Code. Is that the case?
330.
▲
by
omaranto
8y ago
Oh, maybe I'm just naive about what expensive means, then. :P I typed this on my non-notched, audio-jacked, ~80 USD Huawei Y5 Pro, that I'm very happy with.
More ›