Recent submissions

Comment · 3 years ago
So, German pun. Nice.
Comment · 3 years ago
Checked exceptions give you, essentially, syntactic sugar for handling just a few kinds of exceptions and re-throwing the rest.

It's useful when there are one or two error cases you want to retry or handle specially, but you want to just barf any other error up the stack. It's a specific use case but it's prevalent.

The downside is that sugar can only separate your error conditions by Java type. If everything is just an Exception, you'll have to use sort out your error cases in code.

Comment · 3 years ago
Same here! But for me it was "Title (year in Sumerian Ur dynasty calendar).type"

The only format that stands the test of time, IMO

Comment · 3 years ago
But is it advanced enough?
Comment · 3 years ago
They didn't try very hard to train this system. It wasn't even a prototype.

- In the excerpt, Scharre describes a week during which DARPA calibrated its robot’s human recognition algorithm alongside a group of US Marines. The Marines and a team of DARPA engineers spent six days walking around the robot, training it to identify the moving human form. On the seventh day, the engineers placed the robot at the center of a traffic circle and devised a little game: The Marines had to approach the robot from a distance and touch the robot without being detected.

Comment · 3 years ago
> Capturing in this game is a little bit goofy. Basically, if your piece overlaps the opponent's piece it is captured, and you cannot move past the first piece you overlap.

> One interesting side effect of this is that you can capture multiple pieces at once. :)

Which way is "past"? Can only knights milti-kill, since they can "jump" past the first point of contact?

Comment · 4 years ago
It makes sense if you substitute "recognizes" for "sees". Westinghouse (well, Cameco/Brookfield Renewable) recognizes what a disruptive tech this could be, whereas others have overlooked it, maybe?
Comment · 4 years ago
Or through water?
Comment · 4 years ago
The balloon would probably move toward the front when accelerating and toward the back when the bus slows, if it moved at all.

It helps (me) to imagine an air bubble in a sealed, nearly-full fish tank on that same accelerating bus. The heavier water gets "flung" harder away from the direction of acceleration, and the bubble gets pushed out of the way in the opposite direction. Same principle.

Comment · 4 years ago
Who, Gary? Yeah, go for it. No one will miss him.
Comment · 4 years ago
Vector indices are the novel part of vector databases. Let's hear more about them. The rest is just BLOB CRUD.
Comment · 4 years ago
Idempotent resource cleanup tasks are the ideal use case for k8s crons.
Comment · 5 years ago
The article says kids make people (Europeans, anyway) happy except for the financial stress.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton