Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ufo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
481.
▲
by
ufo
4y ago
Is that only for the mandelbrot benchmark?
482.
▲
by
ufo
4y ago
In Brazil where I'm from a Macbook Air costs about ~8x the average monthly income. It's out of reach for most people.
483.
▲
by
ufo
4y ago
I believe it's 14. (Birds feet have 4 toes and their wings have 3 fingers)
484.
▲
by
ufo
4y ago
Shells already implement many commands as shell builtins. For example, echo, true, and so on.
485.
▲
by
ufo
4y ago
Let's be honest with ourselves... Tether is almost certainly intentionally fraudulent.
486.
▲
by
ufo
4y ago
The difference with cat is that at least it is looks nicer in some cases. For example, if I want to put the input file at the start of the pipeline, the cat-less version looks weird and confusing. <file1 somecmd >file2 I wish
487.
▲
by
ufo
4y ago
In first grade, we were taught how to count to 10 using a modified version of blackjack that added up to 10, instead of up to 21. Turns out that it is still fun enough for 6 year olds if you remove the gambling aspect.
488.
▲
by
ufo
4y ago
I was talking about going in the web app where you get the results and granting the doctor permission to view the file. The problem is that the doctor needs to have an account on the system, and also that the UI for sharing is hard to use
489.
▲
by
ufo
4y ago
Another common example: patients who want to share their exam results with their doctor. The proper way would be to use the document sharing feature inside the web portal, but often the simplest solution is for the patient to send their use
490.
▲
by
ufo
4y ago
That is one of those things that sound intuitively true, but isn't necessarily the case in practice. One example that I am more familiar with: thyroid nodules. Recently, the medical guidelines have increased the size threshold for a bi
491.
▲
by
ufo
4y ago
I started by scrolling straight to 418, to see how they handled that one.
492.
▲
by
ufo
4y ago
According to the Matt Hobb's twitter thread, they had to do a lot of work to get rid of the JQuery dependency. Does anyone know what kind of challenges they encountered along the way?
493.
▲
by
ufo
4y ago
Pretty neat! Takes advantage of the fact that the parser needs to use a recursion or stack to handle parenthesis. If it can handle parenthesis, it has all the tools necessary to handle operator precedence. If we think of how a recursive des
494.
▲
by
ufo
4y ago
One recent book that covers it is Crafting Interpreters, by Bob Nystrom. Maybe if we give it some more time it will start counting as a popular compiler textbook ;) https://craftinginterpreters.com/
495.
▲
by
ufo
4y ago
This kind of sounds similar to what a JIT compiler does, except that a JIT will silently fall back to slower code if you do those forbidden dynamic things. I think the most appealing thing about what you're suggesting here is less abou
496.
▲
by
ufo
4y ago
Neat! I didn't know there was a 2nd edition. Does anyone know how it differs from the 1st edition?
497.
▲
by
ufo
4y ago
Do you mean, always pass the list directly to the next script via function calls, without writing it to an intermediate file / pipeline?
498.
▲
by
ufo
4y ago
What do you recommend, to not get intro trouble if there are spaces or newlines in the file names?
499.
▲
by
ufo
5y ago
I hate that rule about 50 characters. IIRC, it started because someone noticed that the average commit message in the linux kernel is about 50 characters. Then, for whatever reason it morphed into this widely propagated mantra saying that
500.
▲
by
ufo
5y ago
The font size setting is hidden under the "GNOME Tweak Tool". The good news is that over the last couple releases, the GNOME settings have improved bit by bit and now also include some things that also used to be hidden in the Twe
501.
▲
by
ufo
5y ago
The thing that I most appreciate about Tcl is that it feels like Unix shell "done right". It is still a bit weird because everything is a string, but it doesn't have all those footguns around variable expansion, such as word
502.
▲
by
ufo
5y ago
In my experience, a lot of the time when programmers say big O, they actually mean big Theta...
503.
▲
by
ufo
5y ago
The official stance according to DDG was that it was a bug and they fixed it.
504.
▲
by
ufo
5y ago
A named pipe sounds like a good way to fulfill your requirement of having the command runs on separate shells.. In the first terminal, shove the output of commend A into the named pipe. In the second terminal, have a loop that reads from th
505.
▲
by
ufo
5y ago
It's not too bad, because the most basic commands are about the same. The ones that get me the most are dd and V. When I switch to the other editor I get these wrong a couple of times before the mental model readjusts. That said, I nev
506.
▲
by
ufo
5y ago
Thanks for summarizing the highlights! The client-server part is the one I'm most excited about. It is one of my favorite things in kakoune and it'll be nice to have it on neovim too. I find it more intuitive to use separate termi
507.
▲
by
ufo
5y ago
"Closed; Won't Fix"
508.
▲
by
ufo
5y ago
I also use this setup. Works well for editing and reading the files. But be aware that some file-intensive operations don't work as well. It is better to grep or git in the remore server instead of in the local mount. Be careful if yo
509.
▲
by
ufo
5y ago
Does "Nakamoto is dead" count as a conspiracy? I thought it was one of the leading explanations for their disappearance.
510.
▲
by
ufo
5y ago
I think this is the main issue. Compilers have always been trying to do some kind of syntax error recovery, to be able to spot more than one syntax error at a time. However, these heuristics are unfortunately fragile. It often ends up with
More ›