Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hbrn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
511.
▲
by
hbrn
4y ago
The only algorithm for progress is evolution. Optimism is mutations - it generates new random ideas. Pessimism is fitness function - it kills bad ideas. You need both for progress. I don't really understand the distinction author makes
512.
▲
by
hbrn
4y ago
Couldn't agree more. What's worse, fragility is viral. If you're involved in building company culture, you have to constantly be on guard. If thick skin is not treated as a virtue, it will be treated as a vice. It's only
513.
▲
by
hbrn
4y ago
> what's even going on with your queue? A message with the latest state of an object gets pushed into queue. When noone is consuming those, you essentially get duplicates: queue contains all of the updates, but you only care about t
514.
▲
by
hbrn
4y ago
Not really. However, there will probably be a window in which both oldpath and newpath refer to the file being renamed. But that's not even the main point. 1. Move happens after email is sent, so there is a
515.
▲
by
hbrn
4y ago
What makes it atomic is running publishers and consumers on the same box (since you're sharing filesystem between those). Also listdir is a big bottleneck here: while True: # get files in outbox files_in_outbox =
516.
▲
by
hbrn
4y ago
Here's just a few examples from my experience: 1. Huge number of messages from test system were accidentally inserted into production. Queue solution: disable consumers, move messages to a temporary queue while filtering them, move mes
517.
▲
by
hbrn
4y ago
Nothing is more profitable than serving ads. I'm still waiting for an answer.
518.
▲
by
hbrn
4y ago
What are those mythical systems where seven nines is unacceptable? What are the chances you're going to work on one of those? Google Spanner for example is up to five nines. Are there a lot of systems that need to be three orders of
519.
▲
by
hbrn
4y ago
A controversial, but a very pragmatic take. Queues are great for semi-infinite scalability, but you rarely need it. There's numerous subtle benefits to using db compared to regular message queues that are often overlooked. Being able t
520.
▲
by
hbrn
4y ago
> or otherwise hateful people > someone who is actively working to make their life worse, take away their rights, and or who are simply diametrically opposed to their very existence and often overtly bring this with them into said wor
521.
▲
by
hbrn
4y ago
> if that were to occur we would have failed at righting these wrongs and invest even more resources to correct this wrong Essentially what you're saying is: if we try policy X and it doesn't work, we need to try even harder. R
522.
▲
by
hbrn
4y ago
> suggesting victims of state sponsored abuses should shut up and take it If that leads to a better outcome for them, why not? I don't believe they should live in poverty for the sake of achieving some weird intergenerational justic
523.
▲
by
hbrn
4y ago
1. A fork doesn't delete the old repo. 2. Forking or not should still be Ukrainian business, not Russia or US.
524.
▲
by
hbrn
4y ago
> So in fact your policy is that we should ensure Russia loses in Ukraine, up to and including a direct nuclear exchange My take is that ensuring Russia loses decreases the risk of nuclear exchange. I don't know why you keep throwin
525.
▲
by
hbrn
4y ago
> Because people aren't pulling themselves over and and shooting themselves. They aren't invading their own homes and shooting themselves. They aren't kneeling on their own chests and asphyxiating themselves Are you aware
526.
▲
by
hbrn
4y ago
> Is it your opinion that we should ensure Russia loses in Ukraine, up to and including a direct nuclear exchange? You're presenting a false dichotomy: either Russia wins, or Russia launches their nukes. Coincidentally same points a
527.
▲
by
hbrn
4y ago
> in a country with a strong and poorly addressed history of racism Is there a diverse country that doesn't have a strong history of racism? Is US worse than India, with it's caste system? Is US worse than China, with it's
528.
▲
by
hbrn
4y ago
> This is the COST. So far the most of the "COST" you're talking about has been covered by EU oil exports. Your "COST" is a missed opportunity. Not great, not terrible. > whereas they likely will not be willin
529.
▲
by
hbrn
4y ago
What's laughable is failing to recognize that regardless of your skin color and socioeconomic status, if you were born in the US, you are one of the most privileged people in the world. Have you considered that blaming white folks for
530.
▲
by
hbrn
4y ago
How would you know it's not a self-fulfilling prophecy? Have you considered that giving the talk and installing the idea that "cops are your enemy" might cause your kids to run away or resist the police, thus unnecessarily es
531.
▲
by
hbrn
4y ago
> hate and violence are also active and ongoing > You can’t forgive someone for transgressions they’re determined to continue My understanding is that hate and violence in the last few decades have been steadily declining. At the same
532.
▲
by
hbrn
4y ago
I don't mean to pick on your personal story, but it would only be relevant if you found your bullies 60 years later, punched them in the face, and that somehow fixed your broken character. In the real world, your bullies are no longer
533.
▲
by
hbrn
4y ago
> the cure for discrimination is at the very minimum adequate public funding for primary and secondary education _everywhere_ (with adequate student to teacher ratios You know that when you're describing a policy with vague words li
534.
▲
by
hbrn
4y ago
> And the Ukraine Constitution was then changed, so elections after that aren't considered legitimate by everyone as a result So unlawfully changing the constitution voids the election results? Because that's exactly what the p
535.
▲
by
hbrn
4y ago
You keep condescendingly demanding to engage with your argument, but you haven't made one yet. "Raising the cost of victory" is extremely vague and ambiguous. Since you're being vague and condescending at the same time,
536.
▲
by
hbrn
4y ago
Back in those days extremely smooth scrolling and pinch-to-zoom was something that turned mobile web browsing from annoying hurdle to a fairly pleasant experience. Mobile hardware wasn't capable of delivering such smoothness. Apple
537.
▲
by
hbrn
4y ago
> correct past wrongs by heavily investing in affected communities economically and afa education and health Which should eventually lead to forgiveness, right? The framework presented does not include forgiveness at all, the crimes are
538.
▲
by
hbrn
4y ago
People got upset and president fled from the country. How would you suggest it should be handled? I think Ukraine handled it almost perfectly: A temporary government was formed. Two democratic elections were held since. Each resulted in a n
539.
▲
by
hbrn
4y ago
We used to write code for computers. Today code is written for humans. Mostly by people who aren't great communicators.
540.
▲
by
hbrn
4y ago
> The US proclaimed this kind of events on their territory as "January 6 attempted coup", and people involved are now being prosecuted by the US authorities. Yep. And if democrats were to provision laws like that in response:
More ›