Recent submissions

Comment · 1 year ago
This is quite common prey animal behavior. Larger predators have a harder time adapting to rapid turns made just as the jaws/claws are about to snap shut.
Comment · 1 year ago
In general: yes. But I’ve certainly had to use swathes of screwdrivers that are worse at being screwdrivers than my Swiss army knife is. Same I believe applies here: there’s a relation, but it’s nuanced. The same screwdriver is a better screwdriver when carried in a hand than in a toolbox full of other high-quality tools, but worse for everything else.
Comment · 1 year ago
IMO at least on PC, BFV was occasionally a really good shooter, but it was a constant back and forth between updates that ruined the entire game and new swathes of cheaters on the latest exploit not caught by the anti-cheat, until eventually they stopped even trying to stop them.
Comment · 1 year ago
Google and/or IMDb don’t count as discovery apps or not hosting the content?
Comment · 1 year ago
It’s not necessarily punishment, e.g. leaving an abusive partner is in most cases about self-preservation, and if intended as a punishment, very ineffective at that. That said, I think a lot of people who end up at the receiving end of it do tend to try to spin it as a punishment due to self-centered thinking and in order to frame themselves as the victim.
Comment · 1 year ago
What does db.safe do though? How does it know what is the safe way of escaping at that point of the SQL? It will have no idea whether it’s going inside a string, if it’s in a field name position, denotes a value or a table name.

To illustrate the question further, consider a similar html.safe: f"<a href={html.safe(url)}>{html.safe(desc)</a>" - the two calls to html.safe require completely different escaping, how does it know which to apply?

Comment · 1 year ago
Assuming a driving culture where other people won’t instantly insert themselves into the empty space in between, yes, it’s the exact same speed. I’d very much like that.
Comment · 1 year ago
If all the endpoints share the same resource constraints and traffic patterns, sure you can just scale up the monolith.

Even otherwise, yes, you sure still can, just like you can write the service in bash if that’s how you want to spend money.

Comment · 1 year ago
That’s assuming the divested Chrome would then proceed to lose its gigantic market share and thus the mind-boggling proceeds from defaulting to Google as the search engine. They might even be able to afford a bigger development team, if need be.
Comment · 1 year ago
Having teams is exactly the wrong reason to have micro services, having endpoints with different traffic patterns and resource/scaling constraints is exactly the correct reason.
Comment · 1 year ago
Yeah, I agree in spirit but I think the answer is more ”it depends” than something where you should feel bad or something if you deviate from it. If washDishes also sends a bunch of metrics/diagnostics or updates a database of your favorite dish washing programs somewhere inside it, that’s probably fine. Otherwise you push the path of least resistance to just be vague instead, then you get a codebase full of functions with names like handle or process.
Comment · 1 year ago
Then what does the function that calls the split functions get called? foo_and_bar_and_qoo? And if they’re called only under some conditions?
Comment · 1 year ago
It’s also not the same kind of stress. I’ve interviewed many a candidate who were sweating and/or shaking at some point of the interview (with heavy reassurance and me trying to to steer the conversation towards and area where they feel stronger), but they can often end up being calm and reliable alert responders nonetheless. So far I’ve seen very little if any correlation between being able to handle interview stress and on-call stress.
Comment · 1 year ago
Pizza code? Central components are mostly clearly distinguishable and glued together in a fairly consistent manner.
Comment · 1 year ago
And it’s not just ancestors! One thing that blew me away after moving from Finland to Germany was that while willows in Finland are predominantly shrubs or bushes, and maples are trees, in Germany willows grow to be trees, but maples mostly stay as vines.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton