Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Ned Batchelder

@nedbat@hachyderm.io
mastodon 4.7.3
  • Open on hachyderm.io

Python, software, coverage.py, typography, juggling, Boston, autism (dad). Laughing at the world doesn't mean I don't take it seriously. He/him.

4074 Followers
161 Following
50 Posts
Joined November 16, 2022
Home:
https://nedbatchelder.com
GitHub:
https://github.com/nedbat
Work:
Full-time
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1w ago
We've probably all seen it, and probably all done it: throwing asterisks at new learners: https://nedbatchelder.com/blog/202609/expert_asterisks
Ned Batchelder

Expert asterisks

Watching discussions happening online, I see a frequent unfortunate tic I’ll call the Expert Asterisk. A beginner is asking for help, and experts are answering.

13
0
7
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1mo ago

In the #Python Discord, someone was trying to understand how Python code is executed without ever being turned into native CPU instructions. So I wrote a full implementation of a tiny programming language: compiled to bytecodes that get interpreted. 300 lines of Python.
https://nedbatchelder.com/blog/202608/micro_language_implementation_calcium

hachyderm.io

Hachyderm.io

34
0
14
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago
Very cool. https://www.andrewt.net/dithered-qr-codes/
andrewt.net
62
1
38
1
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1mo ago

My lightning talk from #PyConUs 2026: Silence is Golden (or, Pac-Man Time-Space duality)
https://www.youtube.com/watch?v=VA3O7UxuZO4&t=872s
(It's only 3m20s long)

22
0
15
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1mo ago

Simple #Python advice: "I only need one" isn't a reason to avoid a class. "I'll only call it once" isn't a reason to avoid a function.

hachyderm.io

Hachyderm.io

21
0
9
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Virtual environments in #python should have been called project environments.
36
19
6
1
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

Today might be a day to trot out a paraphrase of Charles Schultz:
I love community, it's people I can't stand.

56
2
34
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago

A toy BASIC interpreter, written in #python:
https://nedbatchelder.com/blog/202607/acidica

hachyderm.io

Hachyderm.io

20
0
6
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1mo ago

Why would someone bother to clone coverage․py just to remove the message about Ukraine? Is this repo being published or used anywhere?
https://github.com/Medved2k/coveragepy_no_slogan
4 commits ahead (https://github.com/coveragepy/coveragepy/compare/main...Medved2k:coveragepy_no_slogan:main), 141 commits behind.

github.com
7
0
3
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
More amazingness: this font renders bracketed text as working QR codes: https://qr.jim.sh/
qr.jim.sh

Jim's TrueType QR Code Font

28
4
16
1
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
A great thing about Special Olympics: they have a word for my son and others with disabilities like him: "Athlete".
47
0
9
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago

Something I've never seen before: an fi ligature hyphenated into an oddly wide f and a dotless i:
#typography (This is in Firefox using CSS hyphenation settings.)

hachyderm.io
14
2
4
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago

Because someone in the #Python Discord was asking about structuring tests alongside their project code, I added a bit of test structure to my pkgsample explainer: https://github.com/nedbat/pkgsample

hachyderm.io

Hachyderm.io

13
0
9
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 1mo ago

My main use of LinkedIn is the games. https://www.linkedin.com/games (You can play them without seeing the rest of LinkedIn!)
But I don't understand the stats at the end of Pinpoint. What does this mean?

linkedin.com
3
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago

Python packages should explicitly declare their version support with PyPI classifiers. https://pyreadiness.org/3.13/ lists 90 packages that don't declare support for 3.13, when many of those packages do support it.

It's not hard to do, and it helps people understand what they can count on.

pyreadiness.org
8
3
7
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

Some people have a hard time focusing on the technical content of a project: https://github.com/coveragepy/coveragepy/issues/2169:
"Remove politically related text from README.md to improve enterprise adoption"

github.com
23
24
14
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago

"The background radiation of the internet"
https://arman-bd.hashnode.dev/i-left-port-22-open-on-the-internet-for-54-days-here-s-who-showed-up

arman-bd.hashnode.dev
24
7
26
2
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

RE: @timbray@cosocial.ca

This probably explains why @codecov cancelled their (tiny) GitHub sponsorship of coverage․py today...

cosocial.ca
15
0
7
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago
Replying to
@glyph@mastodon.social I understand the anti-AI mindset. I think it would be a more convincing argument if you identify actual problems in the product resulting from AI use. Calling Python poisoned slop because contributors have been using AI isn't going to change anyone's mind pro or con about AI. Finding problems might sway pro-AI users.
7
8
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago

To prompt LLMs successfully it seems you need redundant details, escalating emphasis and other forms of repetition. This goes against the well-know DRY principle (Don't Repeat Yourself).

So instead remember CLAMMY: Claude Loses All Memory Mid-Yap.

20
2
8
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago

Who is bringing juggling props to #PyCon? (Other than me)

hachyderm.io
15
1
2
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

RE: @djrrb@mastodon.social

It is very impressive to see how forms can be drastically altered to fit a (very extreme) design aesthetic, and still be legible to readers of the language.

mastodon.social
6
0
2
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago

Judging from questions by new learners, a big thing they need to learn is the real world is not like school: https://nedbatchelder.com/blog/202604/school_is_artificial

nedbatchelder.com
9
3
7
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago
So many of these reasons are why I keep a website. (1, 2, 3, 5, 6, 7, 12, 14, 15, 16, 25, 27, 28, 29, etc) https://bellkiosk.website/blog/reasons-to-website.html
95 reasons for having your own website
bellkiosk.website

95 reasons for having your own website

A running list of reasons to have your own website in 2026.

2
0
1
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

Serious risk: I will talk about #Boston history well above most peoples' tolerance.
https://nedbatchelder.com/blog/202606/franklins_parents_grave

hachyderm.io

Hachyderm.io

4
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 2mo ago
Replying to
@codinghorror@infosec.exchange I agree with your concerns about Anthropic, but I'm not sure why you single them out: https://www.reddit.com/r/agi/comments/1cqsu4j/the_cult_vibe_of_sam_altman_explained_by_sam/ Sam Altman shared this quote: "successful people create companies. more successful people create countries. the most successful people create religions."
reddit.com
1
3
2
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@Tipa@gamepad.club Yes. the world is not easily described.
2
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
When thinking about #Python lists vs tuples: lists can be varying lengths and the elements will be treated the same. Tuples are namedtuples without the names. https://nedbatchelder.com/blog/201608/lists_vs_tuples
nedbatchelder.com
2
9
1
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@TimWardCam@c.im the rot? I'm sorry that computers are fast now.
4
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago

Today's (well, all week's) UI frustration: why doesn't What's App stay scrolled to the bottom of a chat? And focus the input box! What else would I want to do 99% of the time!?

2
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@freakboy3742@cloudisland.nz ugh, so much this. Every new tool for making slides tries for "pretty" slides which often have too-small text in a too-empty field.
2
2
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@robinhouston@mathstodon.xyz @henryseg@mathstodon.xyz Even less obvious: a dodecahedron and icosahedron both have 30 edges. Duality has consequences!
2
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@flyingsaceur@ioc.exchange that's still more "project" than "virtual"
1
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@tael@yiff.life That seems likely. Some people/companies/countries are quite fragile. Poor snowflakes.
2
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@dabeaz@mastodon.social Ukraine
2
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@kaleissin@wandering.shop Two people have asked this, I'm not sure if it's a serious question. It's about the Ukraine banner.
2
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@MissConstrue@mefi.social @mttaggart@infosec.exchange I never said it was conscious. I said it is good at language-based tasks.
1
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@MissConstrue@mefi.social @mttaggart@infosec.exchange I think it's hard to interact with an LLM and honestly say that it's not good at language. Don't let your understanding of the mechanism pre-dispose you to what it is good at. The whole point of the linked article is that it is good enough at language to fall prey to the same social engineering attacks as people.
1
2
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@dalke@toots.nu @Tipa@gamepad.club There are others: *args is provided as a tuple.
1
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@letterror@typo.social @drawBot@typo.social yes, and the style of programming languages at the time was also similar.
1
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@letterror@typo.social @drawBot@typo.social Looking through it again, I don't see it specifically, but it definitely had the same feeling.
1
2
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@letterror@typo.social @drawBot@typo.social I remember seeing output from Artspeak in https://www.amazon.com/Computer-Art-Jasia-Reichardt/dp/0289795508 I was endlessly fascinated by that book!
amazon.com
1
4
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@stilgherrian I heard Bryan Cranston quote Stanislavski: "Love art in yourself, not yourself in art." No one calling themselves a thought leader understands this quote.
0
0
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@mttaggart@infosec.exchange Basically, LLMs are good enough at language that social engineering works against them.
0
2
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@pfmoore@mastodon.social tell me more, and why those things are better described by "virtual" than they are by "project".
0
9
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@meena@cathode.church that page works for me in Firefox?
0
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@ancoghlan@mastodon.social This is a new and interesting point!
0
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 4mo ago
Replying to
@jfml@mastodon.art trolls be trollin'
0
1
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 3mo ago
Replying to
@ogi@hachyderm.io sounds like something tox could help with.
0
3
0
0
Open post
Ned Batchelder @nedbat@hachyderm.io
· 5mo ago
Replying to
@bengerman@hachyderm.io You can do whatever you want with them!
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 22:59:55 UTC