Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Scarblac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
781.
▲
by
Scarblac
3y ago
It depends on how often you have written loops just like that though. To my eye, setting a min_value, then looping through the numbers updating min_value when something lower is found and returning the end result is just a single "chun
782.
▲
by
Scarblac
3y ago
Complete layman here -- does that theory say that every time a quantum effect does or does not occur, in fact both possibilities happen but in different worlds? The entire universe instantly splits up in two for every quantum event anywhe
783.
▲
by
Scarblac
3y ago
Paraphrasing the Onion -- "This policy doesn't work", agree politicians on both sides of the aisle in only country that has this problem.
784.
▲
by
Scarblac
3y ago
If you create your data right, the actual data can make backups of itself. There's even builtin ways for it to improve itself over time using genetic algorithms.
785.
▲
by
Scarblac
3y ago
Because their reputation is the most important asset a cloud provider has. You're asking customers to run their business on your computers, after all. Deleting their data first and then complaining that your customers don't run a
786.
▲
by
Scarblac
3y ago
That's my feeling too, but maybe it's outdated? There's no real reason why they can't be.
787.
▲
by
Scarblac
3y ago
Your whole life leading up to the interview was prep! I'm not old, I just did some thorough preparation for your interview. No wait, that's not what they're talking about. They mean extra prep specifically done for that speci
788.
▲
by
Scarblac
3y ago
Another benefit is that the database is just a single file, so it can be used as a format to exchange data, etc.
789.
▲
by
Scarblac
3y ago
Dutch train stations have cheap parking for bicycles to solve that problem. Works great. I've had four different jobs over the years where I commuted by train (to four different stations) and used my bicycle on the office side for the
790.
▲
by
Scarblac
3y ago
Actually, with the week divided between in-office and wfh nowadays, my most common reaction to something going wrong with my commute is to turn around and go home to work from there.
791.
▲
by
Scarblac
3y ago
Was Ukraine? Hard to believe if Ukraine was heard nowhere (according to you) and their president spoke Russian. Now , yes, of course.
792.
▲
by
Scarblac
3y ago
They removed them because they're sending them all to Ukraine.
793.
▲
by
Scarblac
3y ago
> The Pentagon should have recognized that the Eastern expansion of NATO would collide with the national security interests of Russia, and that war would be the inevitable consequence. NATO is absolutely zero threat to Russia, and Russia
794.
▲
by
Scarblac
3y ago
Just to be pedantic: orcas are dolphins, not whales (despite also being being called "killer whales").
795.
▲
by
Scarblac
3y ago
Yes, I understand your point about the past. But at least since 2020, these things are news, and widely reported. And if it were normal behaviour, we'd see it reported from everywhere. Also they damaged a bunch of ships near Gibraltar,
796.
▲
by
Scarblac
3y ago
The Pentagon did not push for war at all, this is a Russian invasion.
797.
▲
by
Scarblac
3y ago
It got in the news in 2020 when it happened near Gibraltar; since then it has been reported in the news many times, 250 attacks near Gibraltar have been reported. And now last week one near Scotland, and this one this week. Surely if it hap
798.
▲
by
Scarblac
3y ago
"An actual war breaking out, against the full Russian army, that NATO isn't directly involved in so it's fought in a very different way than NATO would, but in which a large part of the equipment is still provided by NATO&quo
799.
▲
by
Scarblac
3y ago
Alcohol by itself is tasteless though. And alcohol-free beer is getting better at very high speed. Keep trying it every now and then, you'll be surprised.
800.
▲
by
Scarblac
3y ago
The way that an iterator signals that it is done iterating is by raising StopIteration ( https://docs.python.org/3/library/exceptions.html#StopIterat... ). I don't know if it's still the case in Python 3
801.
▲
by
Scarblac
3y ago
Note the comment you reply adds "this might be the majority of cases". There are exceptions that are a normal result of some function call, and they can be handled by the caller. But most exceptions are of the kind that you want
802.
▲
by
Scarblac
3y ago
https://youtu.be/RTXszRHc0qs And IMO also the James Brown scene in the church where they see the light? And that Ray Charles demos the instruments in his store is the plot, but that the whole street is dancing along makes i
803.
▲
by
Scarblac
3y ago
- The Blues Brothers (1980) https://www.imdb.com/title/tt0080455/
804.
▲
by
Scarblac
3y ago
Probably depends on the typical type of application, team size etc then? Or maybe Hibernate is just horrible :-) (I haven't used it)
805.
▲
by
Scarblac
3y ago
I love the Django ORM. It's concise, generates good queries and just works. However, there's a danger - for complex applications, you want neatly separated domain objects and data layer. Django makes it really easy to make your mo
806.
▲
by
Scarblac
3y ago
I think he's referring to "wokeness".
807.
▲
by
Scarblac
3y ago
Yes, I was just trying to show that the same people can have a different attitude to the same rules if the context is a bit different.
808.
▲
by
Scarblac
3y ago
In the Netherlands, when riding a bicycle, most people treat most traffic rules as suggestions. Interesting context to explain what's happening. This is made possible by the fact that cars (try to) follow traffic rules to the letter
809.
▲
by
Scarblac
3y ago
Same as in the US -- right wing politicians who believe the state is bad at doing things remove the funding that allowed the state to do it. Then when that means those government provided services become worse, they use that to show that th
810.
▲
by
Scarblac
3y ago
"We do this not because it's easy, but because we thought it'd be easy" is gold. Perhaps not his, but I will steal it for my next presentation :)
More ›