HackerTrans
トップ新着トレンドコメント過去質問紹介求人

tempcommenttt

no profile record

投稿

How to entertain your Kids: Let them play with garbage

theguardian.com
2 ポイント·投稿者 tempcommenttt·2 年前·2 コメント

コメント

tempcommenttt
·2 年前·議論
I’d consider energy use. I use a projector for home cinema and it draws more power (over 200W) than I would want to pay for to run for a whole working day.
tempcommenttt
·2 年前·議論
It’s nice it’s fast at 10k dictionary entries, but how does it scale?
tempcommenttt
·2 年前·議論
If youre a python dev, pygame is an often overlooked option, it’s quite nice if you're targeting a specific screen resolution. I’m using it in production….
tempcommenttt
·2 年前·議論
Maybe young people can’t, but older folks can easily store phone numbers in their brains, so IP4 is easy.
tempcommenttt
·2 年前·議論
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.
tempcommenttt
·2 年前·議論
This doesn’t explain what toybox is. Maybe I should ask ChatGPT
tempcommenttt
·2 年前·議論
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
tempcommenttt
·2 年前·議論
Also, some departments depend on Microsoft office and excel. I used to work in a company that managed to get rid of 95% of all office installations, but after a management change controlling leaked excel back into the company and now it’s back to 100% Microsoft.
tempcommenttt
·2 年前·議論
Because of vendor lock in. Companies that have used windows for a long time have software that is essential and not available on Linux. Replacement is hard, you need to be really committed to get rid of it.
tempcommenttt
·2 年前·議論
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.
tempcommenttt
·2 年前·議論
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.
tempcommenttt
·2 年前·議論
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.
tempcommenttt
·2 年前·議論
If you like this sort of things, why not check out “boltons” - things that should be built-in in Python?

https://pypi.org/project/boltons/