Everything has a chaat interface now.
Samosa chaat
Public posts preserved on my own site.
Everything has a chaat interface now.
Samosa chaat
Don't worry America! It is 99 degrees, so one more degree it rolls over to 0 and we'll be freezing for the rest of the day.
Some patterns are so common that the "lint-skip" syntax feels like it is part of the language.
```
try:
import tomllib # pylint: disable=import-outside-toplevel
except ImportError:
import tomli as tomllib # pylint: disable=import-outside-toplevel
```
DSLs in comments feel like a missing language feature
IDEA: ship your library in two version
- vendorizable (probably single file, lite version)
- package published to pypi
The people who complain about a library having too many dependencies, I think what they really want is a vendorizable version. I think in python this isn't trivial to support because multifile means import paths change as soon as the code is copied into mylib/_vendor/
Why are British linux distros broken?
They keep deleting all the rubbish in the bin.
Who you gonna believe?
Archived poll
10 voters
TODO: type annotations for bash.
Just ran into a bug where command args where being handed off to two different subcommands and the signatures were not the same.
Bash is a language pretending that it doesn't have call signatures.
Monomania...
Archived poll
1 voters
I saw a well behaved LLM on mastodon.social and no one was yelling at it. The bots are here to learn to pass as neurotypical because this site is chock full of experts.
The goose is valued at $250. The goose is dead and would be unhappy about the situation if it could still be unhappy about it. I think SoftBank is saying they plan to slaughter and sell their employees, because if a bird carcass is worth that, image what a great ape carcass could sell for.
https://www.dartagnan.com/goose-whole/product/FGORE004-1.html
I want default #python extras so bad...
- put fast things like orjson, rtoml, google-re2 and so on in extras: 99% of your users will have a bad experience out of box
- move them to direct dependency? now you can't upgrade or try out 3.15 and *some day* your users will not be able to carry on because the orjson or rtoml guy died or google-re2 staff were laid off and there aren't wheels anymore.
How to solve the k nearest neighbors problem?
First go to Korea and rent an apartment
I just unfollowed all tags so they don't show up in my main timeline. I'm of the strong opinion that tag following requires an entirely different UI and including them in the main newsfeed, ruins the main news feed.
But Matt, what about the good tags like "python" and "running" - yes there are people there, the rest of the tags are 99% no followers and machine generated RSS feed crap.
A UI specific to this use case could handle
- filtering out the crap accounts (unlike newsfeeds where you filter *words* in the content, in tags you want to filter *accounts* by account qualities)
- bundling tag synonyms
- sorting by quality signals, not recency
IDEA: You can make your team a team of 10x developers if you assign them 400 hours of work to do each week.
This is just astonishing.
Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> -12 % 10
8
>>>
All the places where I'm using mod for "remainder after dividing by n" ... now it doesn't feel safe.
Update n queens interview problem:
n queens in Brooklyn stood up a mastodon server. How long until moderator infighting causes the server to break up? Could a better ToS policy have prevented this?
Palindrome number is easy if you see the trick, not easy if you don't see the trick. (also assumes get first digit and get last digit of number is obvious)
Imho, this is like adding the digits from 1 to 100 by hand. Easy if you see the trick, not easy if you don't see the trick.
Is being able to "see the trick" easy? How do you teach or learn "seeing the trick"
https://leetcode.com/problems/palindrome-number/description/
Yo quiero aprender hablar espanole por que quiro hablar con mi burrito. El es solotario.
My tier list for tier list videos. All bottom tier. It is lazy content.
Showing LLM stuff to my 10 year old.
- Authenticated Gemini with Pro plan? No! Too young.
- Google Search/AI Mode? Sure! Why not? Worse model with worse guardrails.
-Paid ChatGPT? No! Too young. But 13+, nice guardrails (lawsuits had to happen to get those guardrails). No family plan, pay full price for each teenager.
- Free ChatGPT? Sure! Why not?
- Anthropic, same policy as ChatGPT, but very soon will ask you to prove with photoID who you are.
My keepachangelog tool uses the V'ger pattern, where I take a small found thing and wrap it in so many features that it becomes kind of funny.
I need to fix the name. I wish package managers made it easier to change names. I keep picking really bad names (or in this case, I kept the name of the original when I forked it and just called it keepachangelog-manager-fork, which like, rolls right off the tongue).
KeepATaskLog (KATL). The idea is that the same fragment files that record you did something could be used for tasks.
Yet another "files in git is the database pattern"
This would be free because it is just static files that act as a GH client via PAT (and someday OAUTH), i.e. self hosting is hosting some static files.
https://matthewdeanmartin.github.io/keepachangelog-manager/board
Sort of like PEP350's code tags (TODO comments), but instead of quirky schema and "database is structured DSL in python comments", it is language neutral and piggybacks off the success of KACL (keepachangelog) as a semistandard.
I figure it would work well for handwritten code on side projects, works well with LLMs because it is yet another Markdown format.
If I were to ever make money with it, it would be to create a server component for $200 a month per n repos or something, because the ticket writer (a PM, PO or BA) doesn't want to deal with git. Also, without a server component, polyrepos are going to make project management feel scattered.
IDEA: NOOP, but with more features.
IDEA: most languages have one or many mini languages in them, like regex in javascript or string formatting mini languages. If they're turing compete, we could use them to sandbox untrusted code.
So far I got xslt and jinja2. Just need k8s alternative that runs jinja2 template containers and I can start selling enterprise licenses.
I'm on VPN. You don't know who I am.
I'm sure I've made this joke before, but the tooling has improve so we might be able to implement it. A coding harness... that runs in a loop... and posts specs and error messages to stackoverflow. When an answer arrives, run the code (in a sandbox) and post the output as a new question on stackoverflow. It is a Ralph Loop where Ralph might do the work. Requires no AI, so it should make most people around here happy.
Only 50% done, but I slopped up a splog that shows all the youtubers on mastodon. (I asked a bot to make a data driven profile index using API data as main source of data)
Sort order is youtube subscriber count * mastodon follower count.
And I need to change the name of it... I do such a poor job of knowing where a project idea is going to take me.
Surprises/Cool things
- SO MANY LANGUAGES. I'm going to have to support internationalization somehow
- What if all websites were Mastodon clients? Well, you could near single click follows, that's what.
- These people are on youtube, they have a lot of followers, they're not anonymous, so I don't feel bad about indexing them. I'm following a "don't be evil rule" instead of "follow these poorly thought out, hard to follow rules"
The Junior engineers on the Death Star knew about thermal exhaust port, but the Empire didn't have an Architectural Review Board and at the meeting where it was brought up to the Senior Architect, the concern was met with 25 minutes of gish-gallop and the various Project Managers didn't know who to believe. The Thermal Exhaust Port Manufacture Union wants people to know that blame is misplaced and this is shoddy root cause analysis.
WHERE IS THE PARTY AT?
It's at a Chinese senior center in New Jersey.
Wear your hat and coat, I hear it will be 40 degrees in europe, just 8 degrees above freezing.
OMG. I need to create flash cards for all the unexpected operators.
```python
❯ python
Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 10^(-1)
-11
>>>
```
IDEA: Web server where the link are "pip install website/index.html" which then install the website and takes you to that local website.
Do you know what extremes I will go to to avoid paying for web hosting?!
Publishing to Pypi
Bad: twine with an API key
Better: Github action with OIDC/Trusted Publisher
Even better: GHA env requires manual approval
Best: GHA triggered by GH 'Release' page creation and manual approval on publish step.
I want to believe this is just how people dress at home in Sweden.
IDEA: let's make these!
openi
opena
openpi
openia
openpia
openiap
We can make them successful and force everyone to remember what each one is!
Imagine this but for basic compute
The new $300 Commodore is cool, but I got a nagging feeling that it is $10 of hardware. And since I'm on the topic, they seem to now want to do a Nokia nostalgia phone but can't say the word Nokia.
@neurobashing that saves the American tax payer 1/3 $T, so that's good?
Author recommendations: You're not going to believe this, but people who liked book XYZ, also read books that were published at the same time! This is incredible! And authors published in the same distribution channels! You would not like that author, they sold primarily via Kindle, a decade earlier than the last book you enjoyed.
I haven't read the blog post, but I think what they're going to say, going on past history, is that for your convenience, they're going to punch you in the face and let North Korea execute arbitrary code in Github Actions and say it is your fault.
https://github.blog/changelog/2026-06-18-control-who-and-what-triggers-github-actions-workflows/
So far this really reads like it is a feature for the enterprise edition?