Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
631.
▲
by
bazoom42
3y ago
Yeah, did Hitler get corrupted by power? No, power just enabled him to realize the ideals he had held since he was a nobody.
632.
▲
by
bazoom42
3y ago
I was just curious how Elm protects you from quirks like the 0.1 + 0.2 != 0.3 example.
633.
▲
by
bazoom42
3y ago
Rounding errors are unavoidable when representing an infinite amout of numbers in a fixed number of bits. But in many cases a decimal type (like in C#) would have more intuitive behvior than binary floating point. A decimal type have been p
634.
▲
by
bazoom42
3y ago
All practical languages has quirks, but JavaScript have significantly more quirks than the average language.
635.
▲
by
bazoom42
3y ago
Nice! So what is the result of 0.2 + 0.1 in Elm?
636.
▲
by
bazoom42
3y ago
Yeah, a celebrity is someone who is celebrated. The “quick rise to fame” explanation seem like a folk-etymology.
637.
▲
by
bazoom42
3y ago
Nothing new though - Elvis never wrote a song either, but he had the look. Performative art is biased towards beauty and charismatic artists. Also true in opera since forever.
638.
▲
by
bazoom42
3y ago
Yes there is! A table should have a primary key, which ensures no two rows in a table are exactly equal. So the simple solution with ‘a except b’ should work. Lots of otherwise simple things get complicated with duplicates, e.g. try to chan
639.
▲
by
bazoom42
3y ago
Note that a lot of people can agree that newer music is crap but wildly disagree about when the good music was made. Just in this thread you can see some claim good music was made until 1985, some say it was until the 90’s some say it was
640.
▲
by
bazoom42
3y ago
Was Gilbert O’Sullivan really that much better than Kenrick Lamar?
641.
▲
by
bazoom42
3y ago
> but the stuff that most people are familiar with is dreck compared to what most people were familiar with fifty years ago Maybe you have just forgotten about all the dreck that was popular 50 years ago and only remember the classics?
642.
▲
by
bazoom42
3y ago
What you describe is pretty common - a segement of younger people preferring older music, typically the music of their parents generation. This is nothing new either, not every young person liked Elvis either.
643.
▲
by
bazoom42
3y ago
> there are come qualities of being better or worse that most people can agree on Maybe, but enough people like modern day pop music, so by that criteria it is good.
644.
▲
by
bazoom42
3y ago
> the quality has absolutely cratered You just got old. It happens to everyone, and every generation says the same thing: The music I enjoyed when I was young and impressionable was great, but all the stuff they make nowadays is crap. Pe
645.
▲
by
bazoom42
3y ago
> HTML isn't parseable with regex. The questions isn’t about parsing, the question is about recognizing a token.
646.
▲
by
bazoom42
3y ago
The question is about tokenizing XHTML, not parsing it into a tree structure like a DOM, which is a critical distinction. Regular expressions are a perfectly valid way to tokenize. This is why the snarky answers does not suggest a better so
647.
▲
by
bazoom42
3y ago
JSON does not define a type system, but javascript defines null as the only value of the null type. This works fine in eg typescript since you can use a type union of null and any other type, if you want to indicate a nullable value.
648.
▲
by
bazoom42
3y ago
But how to represent missing values in left/right/outer joins?
649.
▲
by
bazoom42
3y ago
A lot of confusion comes from SQL nulls having the same name as nulls in programming languages. They are conceptually completely different things. Nulls in programming languages are a special “sentinel” value indicating the lack of an objec
650.
▲
by
bazoom42
3y ago
As soon as you have composite types, you will want to filter and join on the individual components, which would require extending the query language to allow drilling down into nested composite types. Basically you are back to hieracical da
651.
▲
by
bazoom42
3y ago
I don’t think it had outer joins.
652.
▲
by
bazoom42
3y ago
Surely there was a point even in your life when you didnt know everything worth knowing about how computers work?
653.
▲
by
bazoom42
3y ago
“Anyone should already know this” is a very weird and illogic criticism towards learning material. Nobody is born knowing this, so surely such material is useful for everybody at some point.
654.
▲
by
bazoom42
3y ago
And Nandgame https://nandgame.com if you prefer to learn by building.
655.
▲
by
bazoom42
3y ago
The case that Brown plagarized Holy Blood Holy Grail is hilarious because Holy Blood Holy Grail claimed to be historical research rather than fiction. So how can you plagiarize actual history? The case was basically them admitting it was ma
656.
▲
by
bazoom42
3y ago
Those specs need to be extremely detailed to ensure interoperability. Earlier versions of the HTML specs were much more readable, but unfortunately lead to interoparability issues.
657.
▲
by
bazoom42
3y ago
Btw the security problems are solved by having Java and JavaScript running in a secured “sandbox” isolated from the underlying system. So security issues will be a thing of the past.
658.
▲
by
bazoom42
3y ago
Whole-page gifs were only necessary because of the lack of layout support in HTML. But with the recent introduction of the powerful TABLE-tag, HTML now has a future-proof layout model which will surely be enhanced further with more tags, gi
659.
▲
by
bazoom42
3y ago
There is great synergy in having the two complementary language using (almost) the same syntax. E.g. Both use ‘this’ to refer to the current object, ‘new’ to create a new object, ‘==‘ to compare values, both use the same Date library which
660.
▲
by
bazoom42
3y ago
Python will never work on the web since different platforms use different characters to indicate line break.
More ›