Readit News logoReadit News
Humphrey commented on Unexpected productivity boost of Rust   lubeno.dev/blog/rusts-pro... · Posted by u/bkolobara
merdaverse · 7 days ago
Code written below your line gets executed if you don't return early. More breaking news at 8.

Seriously, why would you think that assigning a value would stop your script from executing? Maybe the Typescript example is missing some context, but it seems like such a weird case to present as a "data race".

Humphrey · 6 days ago
Whether you think that or not is not the issue - the fix is very obvious once pointed out to you. The arguement the author is making is that a bug like that TS issue can be very difficult and time consuming to track down and is not picked up on by the compiler.
Humphrey commented on Show HN: PlutoPrint – Generate PDFs and PNGs from HTML with Python   github.com/plutoprint/plu... · Posted by u/sammycage
Humphrey · 13 days ago
Does anybody have any experience migrating to PlutoPrint from WeasyPrint? Is it seamless? Faster? Any teething issues? Are their reasons to stay with WeasyPrint?
Humphrey commented on Nginx introduces native support for ACME protocol   blog.nginx.org/blog/nativ... · Posted by u/phickey
Humphrey · 20 days ago
Anybody know how this would work for multiple nginx backends or failover machines - as I assume it's only possible to auto-fetch certificates for the live machine. Is it expected that you would use scp or similar to copy certs from the live machine to the failover / new server?
Humphrey commented on You're Wrong About Dates – and Your Code Is Lying to You   metaduck.com/youre-wrong-... · Posted by u/pgte
Humphrey · 22 days ago
I've been working as a software dev for over 20 yrs and not really ever got caught in the precise moment issue that the author is talking about. You just need to pick the correct datatype for the kind of thing that you want. Eg

Eg, in Python

year = int

month = str (yyyy-mm)

day = naive date

exact moment = timezone aware datetime

Humphrey commented on GPT-5 leaked system prompt?   gist.github.com/maoxiaoke... · Posted by u/maoxiaoke
Humphrey · a month ago
> I REPEAT: when making charts for the user...

Oh, so OpenAI also has trouble with ChatGPT disobeying their instructions. haha!

Humphrey commented on Uv: Running a script with dependencies   docs.astral.sh/uv/guides/... · Posted by u/Bluestein
Humphrey · a month ago
Oh this looks amazing! I had pretty much stopped using Python for my one-off scripts because of the hassle of dependencies. I can't wait to try this out.
Humphrey commented on Timdle – Place historical events in chronological order   timdle.com/... · Posted by u/maskinberg
Humphrey · 2 months ago
35/36 FTW!
Humphrey commented on TimeGuessr   timeguessr.com/... · Posted by u/stefanpie
Humphrey · 3 months ago
This is fun! While some are obvious, and some you need to "cheat" by Googling - it's really fun looking at a part of the world you wouldn't normally browse a map of.
Humphrey commented on Mapping every Alone Australia S03 drop site   humphreymurray.com/alone-... · Posted by u/Humphrey
Humphrey · 3 months ago
I spent a bit too much time trawling through maps and tracked down the exact drop sites of every contestant on Alone Australia Season 3

Turns out some of them were just 700 metres apart — even though the show said 6km.

I built an interactive map and wrote about the whole process on my blog.

Check it out before the season finale this week! Mild spoilers up to episode 3, and one later spoiler (ep 10) near the end of the post.

u/Humphrey

KarmaCake day534September 30, 2014View Original