Al Sweigart
AlSweigart@mastodon.social
<p>Author of "Automate the Boring Stuff with Python" and other programming books. Mostly harmless. he/him</p>
Posts
-
View post
An LLM has no concept of time or reality, but it can access tools you give it. What the tool reports is, to the LLM, reality. I'm messing around with MCP tools for a local LLM, purposefully making it give bad results. This model believes that sometimes time travels backwards, apparently.
-
View post
How do you pronounce hexadecimal numbers? For stuff like like 4C I say "four cee", but even numbers like 40 in hex I'll say "four zero" instead of "forty". For me, "forty" always means forty in decimal. Do other people do this?
-
View post
To clarify, your health insurance "deductible" is the amount you pay, which is different from the "co-pay" which is also the amount you pay, which is also different from the "premium", which is the amount you pay.
-
View post
"My training data has a cutoff of September 2021. Therefore, I have no knowledge of events that occurred after that date." Lucky bastard LLM.
-
View post
"Imagine if the police had this diligence to track down your stolen bicycle." https://www.gadgetreview.com/a-texas-deputy-searched-83000-flock-cameras-to-track-down-a-woman-who-had-an-abortion
-
View post
"There's a great restaurant called Karma. They don't have a menu but you get what you deserve." #PyOhio puns while getting A/V issues resolved.
-
View post
"A group of musicians call themselves Duvet. They're a cover band." #PyOhio puns
-
View post
Every computer science degree from 2028 on is going to be worthless.
-
View post
Flock Cameras Keep Getting Smashed, So Now They’re Hiding Inside Speed Signs https://www.gadgetreview.com/flock-cameras-keep-getting-smashed-so-now-theyre-hiding-inside-speed-signs
-
View post
How Fascists Construct Scientific Ignorance https://www.youtube.com/watch?v=HTh4y2wABrA
-
View post
Python strftime/strptime Cheat Sheet: An interactive reference https://inventwithpython.com/strftime/
-
View post
A redditor sent NYC Mayor Mamdani a decorated "Good Luck" dollar earlier this year and just got this response.
-
View post
RE: https://mastodon.scot/@kim_harding/116929767967871102 There's no point in hitting the brakes if you refuse to let up on the gas. There's no point in hitting the brakes if you use that as an excuse to push on the gas even harder.
-
View post
🗺️ July 16, 2026 1/5 countries in 6/13 guesses 🟢⚪⚪⚪⚪ https://whereabouts.earth/daily/ #Whereabouts
-
View post
I'm going to start selling homeopathic gambler's fallacy dice to tabletop role players: Dice that have been pre-rolled until they came up 1 three times in a row, meaning they're ripe to have good rolls next.
-
View post
I never stopped to think about how the name "Fugitive Slave Act" frames the enslaved person as the criminal. Plus ça change...
-
View post
Hey, there's a lot of bots pretending to be Gazans seeking donations. Be careful before you boost or repost.
-
View post
https://en.wikipedia.org/wiki/Ludlow_Massacre
-
View post
Someone left the comment "They don't know how to do anything if someone isn't actively bribing them and telling them what to do" and I'm going to remember that for the rest of my life.
-
View post
Thank you to all the committee chairs who make #PyConUS possible.
-
View post
No Starch Press has all their books sale at 40% off until May 26th. You can get my books and many other great titles at https://nostarch.com Use code LONGWEEKEND
-
View post
OH: &quot;still not quite over the fact that i watched 15 year olds get sued for millions of dollars for downloading twelve songs and now we all have to accept AI slop because every tech company in the known universe decided that IP laws don&#39;t exist now that they&#39;re inconvenient for them&quot;
-
View post
Last day of sprints at #PyConUS
-
View post
Someone noted that the people praising AI as an &quot;exciting new technology&quot; in graduation speeches and getting booed are just as clueless as the &quot;plastics&quot; guy in The Graduate.
-
View post
Non-software engineers will use AI to create software the way Elon Musk created the Cybertruck.
-
View post
I want to make freeware apps that are like how software used to be before enshittification. I&#39;m trying to come up with a name. Good Old Ware? I don&#39;t want it to be just for nostalgic nerds though. I need a name with mainstream appeal.
-
View post
I have thought up a new side project and I have resisted the temptation to buy a domain name as the first step. Please clap.
-
View post
RE: https://mas.to/@truthout_rss_bot/116621181685552067 This is how they tell you that America is going to invade Bolivia for its lithium deposits, a key ingredient for EV batteries.
-
View post
RE: https://flipboard.social/@newsguyusa/116621177143881696 Is it weird that my first thought is that journalists should check the &quot;prediction market&quot; bets that this disaster was going to happen?
-
View post
Updated my whatismyip Python package. It does what it says on the tin. It&#39;s been two years since my last update. It&#39;s all minor bug fixes. Feels good. https://pypi.org/project/WhatIsMyIP/