tempcommenttt
Re:Monitor replacement – using a projector for a home office setup
on Monday November 25, 2024 @01:20AM (#42233742)
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.
Re:Query Your Python Lists
on Wednesday November 20, 2024 @12:29AM (#42191056)
It’s nice it’s fast at 10k dictionary entries, but how does it scale?
Re:Do Not Sign the Qt License Agreement Unchanged
on Monday September 16, 2024 @06:42PM (#41561927)
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….
Re:The New Internet
on Monday July 29, 2024 @12:54AM (#41097984)
Maybe young people can’t, but older folks can easily store phone numbers in their brains, so IP4 is easy.
Re:The New Internet
on Monday July 29, 2024 @12:52AM (#41097978)
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.
Re:What Is Toybox?
on Thursday July 25, 2024 @01:36AM (#41065046)
This doesn’t explain what toybox is. Maybe I should ask ChatGPT
Re:My programming beliefs as of July 2024
on Wednesday July 24, 2024 @10:25AM (#41057439)
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
Re:Ask HN: Why isn't Linux as popular as Windows on corporate machines?
on Saturday July 20, 2024 @06:35AM (#41015468)
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.
Re:Ask HN: Why isn't Linux as popular as Windows on corporate machines?
on Saturday July 20, 2024 @06:33AM (#41015461)
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.
Re:Show HN: A free minimalist daily habit tracker
on Sunday July 07, 2024 @02:10AM (#40895618)
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.
Re:Swiss Broadcasting Corporation to pull plug on FM radio
on Monday July 01, 2024 @11:37AM (#40846838)
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.
Re:A ChatGPT mistake cost us $10k
on Monday June 10, 2024 @02:25AM (#40630774)
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.
Re:More Itertools
on Tuesday May 28, 2024 @02:38AM (#40497980)
If you like this sort of things, why not check out “boltons” - things that should be built-in in Python?