HN user

tempcommenttt

21 karma
Posts1
Comments13
View on HN
The New Internet 2 years ago

Maybe young people can’t, but older folks can easily store phone numbers in their brains, so IP4 is easy.

The New Internet 2 years ago

This is the first time I read about someone actually trying to remember IP6 addresses, maybe I should try that, because it’s really easy to remember IP4. For me, the problem is that there’s hex numbers, which are harder to remember and missing zeros, so you need remember the colons. If IP6 would just be 6 decimal numbers and this would be the default way of writing them, this would not be a problem. But it feels to me that the cryptic way IP6 is written is to make it hard for humans to remember it.

I have a production API where sending 401 immediately kills your session and you’re logged out. And 403 doesn’t. We have this as a result of race conditions where the front end incorrectly thinks it still has a valid session. But the back end knows better

That. When a page says “try” and “for free” in connection, I always research the hidden real long time cost before trying. If I can’t find it, I usually leave or Google to find out if the costs have been mentioned somewhere else.

This is outdated. Denmark closed its long wave transmitter last year. The biggest hold out is bbc radio 4 and they stopped special long wave programming and the service is only still on the air because it doubles as a digital signal for some power meters.

This is error is one that most Python programmers must have experienced early in their career. Usually the other way around, when they define a mutable default value and are hit by strange results. On when adding the current time (datetime.datetime.now()) as a function default.

As a rookie programmer you might not notice this pattern, but after getting hit a few times you’ll immediately see that. And default to either a factory or to None and then set the value inside the function.

ChatGPT code is only safe to use if you understand it. If you don’t, there’s always the risk that it will bite you.