Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bhaak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
781.
▲
by
bhaak
7y ago
Nobody wants another fat runtime that is as entangled with the browser engine as the JS engine is. Getting the JS engine to be fast was a tremendous trouble and you wouldn't want to sink as much engineering power into another runtime t
782.
▲
by
bhaak
7y ago
There are 27 variations of the capital letter A in Unicode (see the confusable list https://unicode.org/cldr/utility/confusables.jsp?a=A&r=None ). Redundancy has never been a problem with Unicode. After the dec
783.
▲
by
bhaak
7y ago
5 years is old enough for the junior/4+ sets. Those sets have larger parts and can be build within the attention span of a child. And they are mostly something hands on like cars or planes that the kids like to play with. Then even lar
784.
▲
by
bhaak
7y ago
> It was a lot of fun developing it, and I guess I made something around 3 dollars before shutting it down. And now you even get internet karma points for it. Seems you came out ahead. Not many people who went down the crypto rabbit hol
785.
▲
by
bhaak
7y ago
I answered for a sub space of all the possible problems that can be solved with LOOP and EXIT which lend themselves to a much better structured approach. Also, you were jumping to FOR loops over arrays. But instead the sentinel values are m
786.
▲
by
bhaak
7y ago
Waking up a 07:15, taking the kid out of bed and put her on the couch. Dress myself. Start dressing her while she's still sleeping, so she'll slowly wake up through the dressing movements. Wait until the sitter of the day for the
787.
▲
by
bhaak
7y ago
> English also doesn't have a central gatekeeping authority to maintain the "purity" of the language -- it's more decentralized and driven by popular consensus (more or less -- there are still rules). Neither does Ger
788.
▲
by
bhaak
7y ago
In Standard German ss and ß don't have distinct pronunciations. That was one of the goals of the spelling reform to make the use of ß more consistent and use simpler rules for it. Exactly because there is no difference in pronounciatio
789.
▲
by
bhaak
7y ago
An elegant solution (if applicable) is placing a deliberate sentinel value at the end of your data before looping. https://en.m.wikipedia.org/wiki/Sentinel_value Whereas usually loops have 2 tests for checking if the w
790.
▲
by
bhaak
7y ago
How about this: 21 million primary keys are easily kept in memory. Sort them. Then do "SELECT id FROM five_billion_rows ORDER BY id" and iterate over that with the CSV ids in lockstep. Cursor management is pretty good in Oracle,
791.
▲
by
bhaak
7y ago
Maybe but it's the common implementation of a spinner. I can't remember the last time I saw a spinner that actually showed some kind of variable behavior. If you have that, it's more likely you are being shown a progress bar.
792.
▲
by
bhaak
7y ago
Because the other states are also not that friendly to each other. If you try to have friendly relations with two countries that are at war with each other, it makes sense that both will say "hey, why are you friendly to our enemy?&quo
793.
▲
by
bhaak
7y ago
Yes, you can easily buy ammo. But again, most suicides are not really planned. The studies about suicides are quite consistent that only about 10–15% of attempters eventually die by suicide. That means if you don't have an effective wa
794.
▲
by
bhaak
7y ago
Just google "Liechtenstein invaded" and be surprised.
795.
▲
by
bhaak
7y ago
Military exercises which result in such amusing news happen quite often. Like the regular invasions of Liechtenstein by "accident". But usually, the invading forces are color coded and not named with real life names. I remember do
796.
▲
by
bhaak
7y ago
They certainly did: > In 83.1% (n = 1112) of the 1338 suicides by firearm between 2000 and 2010 in Switzerland, the firearm could be categorised as an army weapon or a non-army weapon. The army weapon was used in 39.1% of these suicides.
797.
▲
by
bhaak
7y ago
> Many own a war weapon at home (that is strictly forbidden to take out without orders) That's not entirely true. You can take your own military weapon and use it in your free time on a shooting range or event. You don't even n
798.
▲
by
bhaak
7y ago
I would disagree that Linux is a one hit wonder. Years of successful project management are many small hits, not just one big hit.
799.
▲
by
bhaak
7y ago
IMO that's wrong. You could write XHTML 1.0 documents that were backwards compatible to browsers that only understood HTML 4.01. XHTML2 OTOH was a convoluted mess of modular documents that couldn't get out of design hell and compl
800.
▲
by
bhaak
7y ago
Is SGML even still used? The only usecase I remember besides HTML is DocBook and that of course also has a XML variant for a long time. SGML is needlessly complex as an authoring format. Even HTML was considered too complex and that's
801.
▲
by
bhaak
7y ago
SGML is much more complicated than XML. Look at this "<p<a href="/">first part of the text</> second part". This is a valid document fragment in HTML 4.01 because HTML is authored in SGML. Writin
802.
▲
by
bhaak
7y ago
The for loop is the most unintuitive variant of the possible looping constructs. The others (while do/do while/endless loop) are much more straightforward. We could easily have ended up with another version. I always read it as in
803.
▲
by
bhaak
7y ago
When I was a kid, I was terribly confused about how a country could fly to the moon when it was depicted as quite rural in "The Waltons".
804.
▲
by
bhaak
7y ago
A WSB thread. What else could it have been? "Choi credited luck". At least he knows it.
805.
▲
by
bhaak
7y ago
The idea that Satoshi is not one person but a group at the NSA has been going around for a long time. I don't think it's likely true but it's an entertaining gedanken experiment.
806.
▲
by
bhaak
7y ago
IMO that's mostly historical due to the input devices available. Terminal games were played with a keyboard, so feature creep resulted in every damn key on keyboard being used. Most games slowly evolved away from that when joysticks an
807.
▲
by
bhaak
7y ago
You know that you are timing the compiler and not the compiled program here? Rather try "echo 'puts 1' > puts.cr && crystal build puts.cr && time ./puts" BTW, you can dramatically decrease the col
808.
▲
by
bhaak
7y ago
> It was a badly designed machine that would be ok for games but not for serious homework/work. Funny, considering how games were never first class citizen in Jobs or Apple's strategy for their devices.
809.
▲
by
bhaak
7y ago
I was thinking less dangerous to the company, so these hobbies would be okay for this goal.
810.
▲
by
bhaak
7y ago
So sad I can only give you one upvote per comment. That was one hell of a ride. Have you tried to defuse your dangerous CEO by giving him a harmless hobby?
More ›