HN user

masfuerte

2,523 karma
Posts14
Comments914
View on HN

My mother tried to buy something on Amazon yesterday. It wouldn't let her check-out until she'd entered a code sent via WhatsApp. Which she doesn't have and doesn't want. She'll be buying her tat on eBay in future.

I dream that Amazon will lose lots of sales and backtrack, but I don't suppose they will.

Old Icons 6 days ago

Say it five times into a mirror and Sam Altman will appear to deliver your pink slip.

Just to state the obvious, you can create a view which uses these functions to make your integer date/times readable, and then debugging is easy.

For any particular Java program, there's obviously an algorithm that says whether it halts or not. The algorithm is a single statement, which says either "yes" or "no".

This isn't true.

In general, if a program hasn't halted yet you don't know if it will.

In particular, consider the Collatz conjecture. You can't even tell if your Java implementation of it will halt for a particular input, until it does.

https://en.wikipedia.org/wiki/Collatz_conjecture

Python uses floored division so the remainder has the sign of the divisor instead

Serious question, how is that a footgun? In decades of software development I have never needed a negative divisor for modulo. What would you use it for?

I'm old enough to remember Walkmans coming out in 1979, which was the start of the end of the boombox era. Approximately no-one was using 8-track at that point.