software problem solver. aspiring cross-country ski bum. unix bigot.

Montreal
Joined August 2012
Hmmmm. If I rent this mystery car model, it's $10 cheaper than a compact. But it will consume the world's entire economic output for 100,000 years to buy the fuel to drive it 100 km. What the heck. 10 bucks is 10 bucks, right?
1
Today's PSA: caching out of process is not free: it exchanges slow network traffic for fast network traffic. It's generally a win, but even fast network traffic is a lot slower than a memory fetch! Use ngrep to sniff your local redis traffic: sudo ngrep -d any port 6379
1
Roses are red, roses are blue depending on their velocity relative to you
70
1,984
136
13,131
"I know! Let's impose some completely arbitrary and pointless constraint, then write a *lot* of code based on that!" Great way to make life hell for the people who will be maintaining your code in 5 years.
1988: After a bad day at work, I bought a copy of Slayer's South of Heaven on the way home. Filling the house with speed metal was my teenage rebellion. 2020: After my girlfriend's bad day at work, South of Heaven still does the trick. Great art is timeless!
1
Some programmers know the Principle of Least Privilege. Some programmers understand Separation of Concerns. It takes a special kind of sickness to put those two things together and decide that the Principal of Least Separation is a great way to design software.
2
If I was in charge of naming TV shows ... Queen's Gambit → Chess Girl The Expanse → Space People Game of Thrones → Sword People The Last Kingdom → Dirty Sword People Mad Men → Sad Men
1
I stumbled across Lark this morning for writing parsers in Python: github.com/lark-parser/lark. Awesome library. Really well done. But: do NOT google "python lark". The images are not pleasant. IRL, pythons do bad stuff to nice little birdies.
#Python peeps, I got email today about an "Online Global Python Summit". Not PyCon -- same organization seems to have done JS and Java "summits". Is this a scam? Something to ignore? Or actually something useful and interesting?
1
I just realized the social distancing length is 1 fathom.
1
3
At seven pm a main hatchway caved in, he said Fellas, it's been good t'know ya (Gordon Lightfoot, The Wreck of the Edmund Fitzgerald)
This Post is from an account that no longer exists. Learn more
I'm presenting at @pyconca this year -- Nov 17 in Toronto. Come learn about Operator Overloading (You're Doing It Wrong). 2019.pycon.ca/talks/talk-87/
1
13
And you thought you had a problem with slow database migrations. One week!
1
1
1
1998: "Open source" is the marketing campaign for "free software". 2018: "Eventually consistent" is the marketing campaign for "inconsistent".
Hey Montreal #Python fans -- I'm giving a talk at Montreal-Python tomorrow (Wednesday) evening. Operator Overloading: You're Doing It Wrong. montrealpython.org/en/2019/0…
1
1
Kudos to certainteed.com for a neat glimpse at how modern consumer-oriented websites work. But... umm, actually, you're not supposed to handle errors like this. And BTW some location names, even in North America, are not pure ASCII.
1
twitter needs an "oh god, rolling on the floor groaning at the terrible pun" button xitter.cf/gecko/status/998581647…
The hamburger menu is to UI designers as the holodeck is to ST:TNG scriptwriters. A: "what do you want do this episode?" B: "I dunno, you got any good ideas?" A: "nah not really" BOTH: "HOLODECK!"
1
1
Excuses through the ages: ca. 1950 "the dog ate my homework" ca. 2000 "the printer jammed" ca. 2018 "having problems with my yubikey"
There's a short, simple word for code that is usually correct, probably correct, or "almost certainly" correct. That word is INCORRECT.
1