Elektrine lite

← Feed

Al Sweigart

AlSweigart@mastodon.social

<p>Author of &quot;Automate the Boring Stuff with Python&quot; 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&#39;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 &quot;four cee&quot;, but even numbers like 40 in hex I&#39;ll say &quot;four zero&quot; instead of &quot;forty&quot;. For me, &quot;forty&quot; always means forty in decimal. Do other people do this?

  • View post

    To clarify, your health insurance &quot;deductible&quot; is the amount you pay, which is different from the &quot;co-pay&quot; which is also the amount you pay, which is also different from the &quot;premium&quot;, which is the amount you pay.

  • View post

    &quot;My training data has a cutoff of September 2021. Therefore, I have no knowledge of events that occurred after that date.&quot; Lucky bastard LLM.

  • View post

    &quot;Imagine if the police had this diligence to track down your stolen bicycle.&quot; https://www.gadgetreview.com/a-texas-deputy-searched-83000-flock-cameras-to-track-down-a-woman-who-had-an-abortion

  • View post

    &quot;There&#39;s a great restaurant called Karma. They don&#39;t have a menu but you get what you deserve.&quot; #PyOhio puns while getting A/V issues resolved.

  • View post

    &quot;A group of musicians call themselves Duvet. They&#39;re a cover band.&quot; #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 &quot;Good Luck&quot; dollar earlier this year and just got this response.

  • View post

    RE: https://mastodon.scot/@kim_harding/116929767967871102 There&#39;s no point in hitting the brakes if you refuse to let up on the gas. There&#39;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&#39;m going to start selling homeopathic gambler&#39;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&#39;re ripe to have good rolls next.

  • View post

    I never stopped to think about how the name &quot;Fugitive Slave Act&quot; frames the enslaved person as the criminal. Plus ça change...

  • View post

    Hey, there&#39;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 &quot;They don&#39;t know how to do anything if someone isn&#39;t actively bribing them and telling them what to do&quot; and I&#39;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: &amp;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&amp;#39;t exist now that they&amp;#39;re inconvenient for them&amp;quot;

  • View post

    Last day of sprints at #PyConUS

  • View post

    Someone noted that the people praising AI as an &amp;quot;exciting new technology&amp;quot; in graduation speeches and getting booed are just as clueless as the &amp;quot;plastics&amp;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&amp;#39;m trying to come up with a name. Good Old Ware? I don&amp;#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 &amp;quot;prediction market&amp;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&amp;#39;s been two years since my last update. It&amp;#39;s all minor bug fixes. Feels good. https://pypi.org/project/WhatIsMyIP/