Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
691.
▲
by
bazoom42
3y ago
> The play begins with Romeo utterly in love with Rosaline - what's that for if not to show us not to take his feelings for Juliet too seriously Rosaline is a nun and therefore pure and unattainable. Shakespeare is lampooning the ge
692.
▲
by
bazoom42
3y ago
The Richard II eith Ben Whishaw is great! Didn’t care that much for the rest.
693.
▲
by
bazoom42
3y ago
“Prosperos books” is a brilliant version of the Tempest. Forbidden Planet is a great movie in its own right, but at best “inspired by”. It uses a similar setup, but the story is entirely different.
694.
▲
by
bazoom42
3y ago
They are in love. This is what makes it such a tragedy. Romeo and Juliet are not idiots, they are clearly the most sensible persons in the play. And it is anachronisic to call them teenagers, since the idea of “teenage” as a stage between
695.
▲
by
bazoom42
3y ago
Screens are still flat, so it would still be a 2d projection.
696.
▲
by
bazoom42
3y ago
Give him a globe! I remember playing with a globe as kid and trying to position it so I could see only water. But that is just one option.
697.
▲
by
bazoom42
3y ago
The geocentric model does not put humans in the center though. At best you could argue it puts humans relatively close to the center, but the geocentric model also operates with a smaller solar system. And the implied “closer to the center
698.
▲
by
bazoom42
3y ago
You remember the 1x1 pixel transparent gif used to size tables?
699.
▲
by
bazoom42
3y ago
First normal form disallows nested tables and SQL does not support querying nested tables.
700.
▲
by
bazoom42
3y ago
If this is about NoSQL databases, I dont think SQL is useful for databases which does not follow first normal form. But any alternative to SQL for relational databases will fight an uphill battle. While SQL is somewhat clunky, it is also de
701.
▲
by
bazoom42
3y ago
> they would have to spend many hours sorting them. Given how often you hear about such disasters, I wonder why nobody thought of numbering the cards?
702.
▲
by
bazoom42
3y ago
Smart is not chosing a particular techology (whether simple or complex), smart is choosing the right technology for the problem at hand. The primary difference between good and bad developers is good developers understand context. Every too
703.
▲
by
bazoom42
3y ago
> It was most definitely written to confirm the Medici’s biases and stroke some egos Yes, that is the opposite of satire.
704.
▲
by
bazoom42
3y ago
What makes you think it is a satire?
705.
▲
by
bazoom42
3y ago
I’m surprised by the negativity towards SO. I’m relieved when google gives me a SO hit for a question, because in my experience it has the best answers, often better than official documentation. I’ve asked about 25 questions and never had o
706.
▲
by
bazoom42
3y ago
So how would you compile code which contains a call to a method which is only defined at runtime?
707.
▲
by
bazoom42
3y ago
How would you emulate monkeypatching with anonymous subclasses?
708.
▲
by
bazoom42
3y ago
So how would a statically typed language support conditionally adding methods at runtime? Lets say the code adds a method with name and parameters specified by user input at runtime. How could this possibly be checked at compile time?
709.
▲
by
bazoom42
3y ago
To be successful, it is not enough for a language to be good. It might not even be necessary. What matters is if there is s significant niche where the language is a better fit than any alternative. PHP show that a language only needs to ge
710.
▲
by
bazoom42
3y ago
> That being said... python had a BDFL and look how that turned out. One of the most popular and succesful languages, and a major force in AI innovation?
711.
▲
by
bazoom42
3y ago
Monkeypatching is programatically adding a method to a class at runtime.
712.
▲
by
bazoom42
3y ago
You can’t do monkeypatching or dynamically modify the inheritance chain of an object in a statically typed language. But yes, you can have a JsonNode type, which is still better than having every type being “object”.
713.
▲
by
bazoom42
3y ago
My favorite counterexample is the Vandals. They conquered Rome, but how are they remembered by history?
714.
▲
by
bazoom42
3y ago
> The Billion Dollar Mistake lives on. If you are referring to Tony Hoare, the “billion dollar mistake” was not the existence of nulls per se, but that all references were nullable, with no support in the type system to distinguish bet
715.
▲
by
bazoom42
3y ago
Do you have a specific criticism of anything in the article?
716.
▲
by
bazoom42
3y ago
Surely pollution from indoor stoves are irrelvant in a discussion about nuclear?
717.
▲
by
bazoom42
3y ago
How about this: ( x ) / b / a It could be part of: var x = (x) / b / a; Or if (x) /b/a.test(z) X could be an arbitrary complex expression. Looking at one preceding token is not enough
718.
▲
by
bazoom42
3y ago
Consider this text: /a+ ”/ How would you tokenize this if you don’t know the grammar context? If it is a regex, the space is significant - it is part of the pattern. If it is a divsion, the quote will start a string.
719.
▲
by
bazoom42
3y ago
Most lexers just match the longest legal token, so there is no ambiguity between = and == and the grammar does not influence tokenization. The issue with JavaScript is that say /a+”/ tokenize differently based on the position in t
720.
▲
by
bazoom42
3y ago
A Javascript parser have to do something like this. The text /a/ tokenize differently depending on where in the grammar, eg a/b/c is division (/a/) is a regex.
More ›