Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ufo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
301.
▲
by
ufo
3y ago
FWIW, SVB didn't go broke because of subprime loans. They had a bank run.
302.
▲
by
ufo
3y ago
I hope they can still find Wilson, the rescue dog. Its tracks led the rescuers to the children. https://www.elpais.com.co/colombia/el-perro-wilson-se-mantie...
303.
▲
by
ufo
3y ago
It is is still the go-to textbook for immutable data structures. Worth the read.
304.
▲
by
ufo
3y ago
Yeah, but that takes longer than 300ms ;)
305.
▲
by
ufo
3y ago
There is, but the figures are broken :/ https://cacm.acm.org/magazines/2011/7/109909-passing-a-langu...
306.
▲
by
ufo
3y ago
Dijkstra conveniently ignored the other situations where 1-based works out better than 0-based. For example, getting the least element of the array, or iterating backwards over the array.
307.
▲
by
ufo
3y ago
The company says the table can be operated by a single dealer, and many casinos do just that... It's a cost-saving measure that they can get away with because the electronic table doesn't use betting chips; but it also means that
308.
▲
by
ufo
3y ago
I like the arguement that 0-based indexing is better for representing offsets, but 1-based indexing is better for representing actual indices. https://hisham.hm/2021/01/18/again-on-0-based-vs-1-based-ind...
309.
▲
by
ufo
3y ago
Lua's 1-based indexing is largely inspired by Fortran. Lua's first users were Brazilian engineers in the early 90s, who were mostly experienced in Fortran. Arguably, one-based indexing is more closed aligned to mathematics traditi
310.
▲
by
ufo
3y ago
And that includes the test suite! Over 1/3 of that is inside the tests directory.
311.
▲
by
ufo
3y ago
One of the reasons why Lua is minimal is that it makes it easier to embed. It's no coincidence :) https://www.lua.org/doc/cacm2011.pdf
312.
▲
by
ufo
3y ago
Keep your eyes open for problems where you have to do some form of brute-force search. Those that doesn't have a clear solution other than trying all the possibilities. Another thing is that the best kind of problem for SAT solvers are
313.
▲
by
ufo
3y ago
The catch here is that P vs NP talks about worst-case behavior. Many SAT solver inputs can be solved quickly with good heuristics, but there are some that are still difficult no matter what you do. One way to see this is via the phase trans
314.
▲
by
ufo
3y ago
Another advantage of autofill is that it's more resistant to phishing attacks.
315.
▲
by
ufo
3y ago
Some psychologists say that suffering is a necessary component, but not the only one. Also important are a feeling of being burdensome to others, and overcomming the natural instinct to not harm oneself. Many people who die by suicide wrong
316.
▲
by
ufo
3y ago
I'm not sure if a quack doctor's miracle cure "protocol" is a good point of comparison... https://veja.abril.com.br/saude/medicos-questionam-tratament...
317.
▲
by
ufo
3y ago
As illustrated in this classic comic: http://wondermark.com/601/
318.
▲
by
ufo
3y ago
The same is true for the US, as far as I know.
319.
▲
by
ufo
3y ago
Which translates to "Illustration on the cover: the image is generated by artificial intelligence"
320.
▲
by
ufo
3y ago
So cool that it was deemed cool enough for the special effects on Terminator 2. https://www.youtube.com/watch?v=quUnYyJg5N0
321.
▲
by
ufo
3y ago
I wouldn't take that headline at face value. Prigozhin periodically releases these statements complaining about lack of ammunition, resources, etc. It's a way to jockey for influence and increase political capital. Next week he&#x
322.
▲
by
ufo
3y ago
We can also imagine the ways that Bitcoin can make society worse . Satscard already gives some suggestions in their proposed designs, several of which reference El Salvador.
323.
▲
by
ufo
3y ago
By that logic, most financial crimes are just people signing and exchanging pieces of paper.
324.
▲
by
ufo
3y ago
What does LSB mean?
325.
▲
by
ufo
4y ago
For finite sets, bijection is equivalent to counting the number of elements. A set of size N has an 1-to-1 mapping to the set {1,...,N}. For infinite sets, counting no longer makes sense but bijection does. From this point of view, the bije
326.
▲
by
ufo
4y ago
Is migrating from 3 to 4 easier or harder than migrating from 2 to 3?
327.
▲
by
ufo
4y ago
And of course there's a XKCD for it: https://xkcd.com/1360/
328.
▲
by
ufo
4y ago
What's your favorite such sandwich?
329.
▲
by
ufo
4y ago
I wish pass wouldn't store website names on cleartext by default.
330.
▲
by
ufo
4y ago
The book also has a chapter on reference counting ;-)
More ›