Recent submissions

Comment · 3 years ago
Yeah I built one of these for .NET specifically for this, with DB-specific drivers to extend the API, especially for Postgres. It just tries to be a dead simple representation of the query, then provides a command API to do mapping and execution, some unit of work support. Really happy with it so far, especially compared to an ORM.
Comment · 4 years ago
Every cool new revolutionary, game changing, disruptive tech I can think of has had some kind of “killer app” that lead the way to widespread pubic awareness. Peer to peer had Napster, AJAX had Google Maps, microservices had services of large scale tech giants, and even blockchain originally had Bitcoin. In each case people were doing some cool new thing and we approached the technology trying to figure out how it was accomplished. I am not aware of a single such example for Web3 nor has anyone I’ve asked been able to name one. The killer Web3 apps are at best hypothetical imaginings of what someone could build with it someday, and even that take is quite generous. It is a technical buzzword in search of funding which is not a proven solution for anything at all.
Comment · 4 years ago
Haha, maybe not? Since their car would tend to go underneath, although the footage I've seen always shows the other vehicle hitting from the side with the hood sliding slightly beneath the Mercedes...it does seem from watching that would give other vehicle slightly more space to dissipate the impact energy.

Now if they had only bought a Mercedes as well, they could have chosen the self-breaking option to avoid the collision in the first place.

Comment · 4 years ago
Mercedes has a system on the S-class that uses the sensors to detect a potential impact (e.g. an rapidly approaching vehicle while the car is stationary) and uses the active suspension to "jump" raising the car a few inches just at the moment of impact, apparently slightly reducing the potential for injury.

Many cars and especially planes & spaceships are have tons of systems like this.

I worked on a system that did things like in response to a primary datasource being offline would switch the queries it used to a different database to include substitute data and pass this back to be used instead until the primary store came back online. Three years after it was put in production this happened on one of the company's biggest and most important days of the year, and our SREs were sitting there calmly trying to solve the issue, ended up waiting until late at night to deploy a fix. It would have been reasonable for this service to just rely on the primary source, but we would have been offline for hours if this little trick hadn't been put in place.

Comment · 4 years ago
Not a specific piece of software, but a characteristic of a limited percentage of anonymous internal systems--one of the most beautiful things to witness in the realm of design is a system undergoing catastrophic stress when the designers anticipated and planned for such events, and in usually a very short period of time you see the results of extensive planning spool out, design features hidden from view and unappreciated until this moment, kick in and recover/compensate in ways that feel almost magical.

For obvious reasons it is much more common to see this level of design in physical, life-critical systems like aerospace or automotive technology, but you do see it sometimes in software. Well designed services that under heavy load, various kinds of infrastructure failure, attack, or other kinds of scenarios well outside the bounds of normal expected operations intelligently compensate while signaling alerts with precise, useful information, and attempt whatever kind of recovery is possible.

This is hard to anticipate and often thankless to build in advance. It's always a stressful time when this behavior is visible, but it gives me a feeling of admiration for the perhaps long gone employees who built it.

Comment · 4 years ago
> It's fairly common for us to start watching a series and the next day Netflix will show us as having already watched all of the episodes

Wildly off-topic but perhaps you’re turning off a TV without the streaming device itself shutting down?

Comment · 4 years ago
> Uber charges drivers 25-30 percent without coming close to covering their actual costs

I mean this is it, right? This is the big one. All these "tech" companies that are not actually selling software taking huge cuts off the top line, this can't be sustainable.

You can own the market for a while, but sooner or later someone is going to come along and disrupt you.

Comment · 4 years ago
Yeah, no. Companies that care about costs absolutely track what they’re spending and where. I’ve seen plenty of merely questionable expenses a fraction of this caught and called out at very large companies.
Comment · 4 years ago
Yeah for real, the city might actually try to do something about someone removing signs. Not even joking.
Comment · 4 years ago
Hell no. Also if this is your expectation you’re absolutely insane if this isn’t automated…also this kind of sounds like QA to me. My presumption is the base functionality requirements are met, I’m looking for potential performance issues, code standards, sound architecture, etc.

I am always amazed at how many repetitive tasks folks want to load up developers with. I think there’s a tendency among developers-turned-managers to see their job as crafting the perfect “program” of processes for their developers to follow, instead just automating these tasks. Like they say, the cobbler’s children have no shoes.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton