pelavarre
come squee with me? 😂 / or laugh with my bots? 🤔 / they like Python and Bash and Xlsx 😋
“ Passion brings me joy. Purpose brings me meaning. Passion gets me out of bed in the morning, and purpose allows me to sleep at night
~ Arizona State Umiversity > Commencement Address > Harrison Ford, via Dawn Ahukanna
I ran, I lost, and we lost when I lost. But us feeling this election was stolen doesn’t make it stolen. I lost this election without anyone stealing it.
~
That’s my paraphrase of the senator primaried in Louisiana yesterday, arguing that we kept this election free and fair, even while he & we did lose it.
Python in your Spreadsheet since 2022
Partly because Stanford Linear Accelerator (SLAC) people needed it to get born
Tell us if you try it?
- clear
- printf '\e[8;25999;80999t' # as if the ⌃ Fn F ask for a max-height max-width Terminal Window
- printf '\e[8;25;80t' # most classic 80 Rows by 25
Claude·Ai will write bytes to your macOS Terminal if you tell it to try.
Getting those direct writes to do more good than harm, well, that might often be hard to achieve till after you memorise as much of the Terminal Drive stack as I have. But I feel at least teaching it to widen the Window as needed is a win for pretty much any one of us?
Attacked a police officer on 6th January 2021?
You might get well paid for that now. The Party has taken a share of our taxes to spend as it pleases.
> **Perseveration**, in the fields of psychology, psychiatry, and speech–language pathology, is the repetition of a particular response (such as a word, phrase, or gesture) regardless of the absence or cessation of a stimulus ~ https :// en . wikipedia . org /wiki/Perseveration
Often pathologised, given the connotation of mental illness
But holding the word in common with a correspondent is a way of opening up the question of
** Who decides how fast the memory of the stimulus should fade? **
Eggs | $5.63/dozen | €11.00/dozen
Gas | $6.14/gal | €1.39/L
Butter | $6.50/lb | €14.79/kg
Milk | $5.25/gal | €1.19/L
<=
Is that what they tell you?
This is what I got by asking my Perplexity·Ai Bot to draw it up for us
I dunno if the unit conversions are accurate
I don’t watch these prices closely when my party is in power
<=
Six prompts:
Price of eggs, gas, butter, & milk near me now
All good give me a small plain text table
Yo finish the table do your best
Hey milk per gallon
Ok we’ve got our start Eggs | $5.63/dozen Gas | $6.14/gal Butter | $6.50/lb Milk | $5.25/gal Now add a column of euros per liter or per kilo
No, still eggs per dozen
@encthenet@flyovercountry.social
go to Python debugging aids
Yes please let us push out the word
Have you next thought about getting more people to adopt Python's
breakpoint()
pass
pdb.pm()
?
2018 Python 3.7 gave us breakpoint, and I've got people to call it, and more lately you don't even have to add the Pass statement afterwards to make it work well
The Post-Mortem Debugger at pdb.pm() I have trouble getting people to appreciate
I dunno how to deploy it well myself in less than like 50 Lines of patch, as attached
=>
https://github.com/pelavarre/pylitfun/blob/main/bin/litpython.py#L530
What's your model for how Code written by AI Chatbots commonly does 80% of the work well, another 10% adequately, another 5% poorly but on time . . . and then never does meet the last 5% of the spec?
Sidu Ponnappa sketches this like so =>
Cuba is in cardiac arrest. A band-aid isn’t my choice of therapy.
Ten million people, not even a hundred miles outside of Florida, coming soon into a humanitarian crisis and a migrant crisis by way of a popular uprising
Are we quite sure that’s what we want?
~~~ Npr > Eyder Peralta > U Florida > Lillian Guerra
So Claude has got you to adopt Git Worktrees.
Has it told you the part about the 1 'rm' you sent to 1 dir coming across as broadcast to all the dirs?
They're coming for your Untracked Files, I tell you.
<=
your own git clean -dffxq habit — the double f is specifically what forces git to also nuke nested repos/worktrees, not just a plain -f
#GiTiSeAsY # Git is Easy
=>
One detail that may help whoever picks this up. A single session out of the 19 recorded its /model invocation as a "user" record rather than a "system" record, and that one shows in the picker as "/model" rather than as a hash. So the picker's fall-through to first-user-message-text works fine, and the two record types are simply not being written consistently for the same event.
Either fix would do:
- do not persist a session that never received a prompt, or
- hide zero-turn untitled sessions from the resume picker.
====
This /bug for Claude·Ai written for it by itself, with barely a glance by me before me sending it in to their void.
Feedback ID: 00572fb3-6a7b-417c-a59f-9f9a5067a29c
> Somebody told me they'll sneer you down if you ship Asserts
This is a question I enjoy.
These are design choices and cultural choices, and I feel your source has summed them up misleadingly.
I feel no one at work should sneer you down ever.
=>
@whitequark@social.treehouse.systems
What prints is
requests.exceptions.HTTPError
We're supposed to teach everyone to misread that concrete result as if it were
requests.HTTPError
Normal?
Yes, normal.
Widespread, I believe.
And I don’t like it. I don’t like the ambiguity. I don’t like the giving me two ways to say the same thing with the more discoverable way being the less applauded way.
You feel you get why I don’t like it?
Ordinarily you did mean to say `screen -rr` not `screen -r`
Do your Terminal Shell friends mention this fact often enough for you to remember it?
?
#ShElLiSeAsY # Shell is Easy
So Claude has got you to adopt Git Worktrees.
Has it told you the part about the 1 'rm' you sent to 1 dir coming across as broadcast to all the dirs?
They're coming for your Untracked Files, I tell you.
<=
your own git clean -dffxq habit — the double f is specifically what forces git to also nuke nested repos/worktrees, not just a plain -f
#GiTiSeAsY # Git is Easy
There is recursive self improvement of the model weights, but are there other things we store that we already know how to improve now?
=>
I don't run just the models from Claude's makers. I run memories and skills and hooks and so on.
As I work, I pump a feedback loop that rewrites those. I pump it regularly, at several frequencies.
-
I'm often watching Git Diffs, and telling Claude how wrong it's gone.
-
In reply to Claude's mention of memory, I am likely to reply with a call for self improvement: Yes please do improve your Memory's, Skill's, Hook's, etc etc as you recommend.
-
At the end of most any chat I'm likely to end with a broader stronger call for self improvement: Are we good to wrap or should we keep talking? Did I drop an important point? Can you find anything more in this chat that you should fold into an existing Memory? Or even a new Memory you should create?
-
At the end of most weeks I'm likely to end with an even broader and stronger call for self improvement: How full are we?
<=
How about you?
How do you get your Claude Memory's to recursively self improve themselves?
#ClAuDeIsEaSy # Claude is Easy
@whitequark@social.treehouse.systems
Progress!
But the problem of like requests.HTTPError often showing up wrong as its less brief alias requests.exceptions.HTTPError will remain?
assert requests.exceptions.HTTPError is requests.HTTPError
import requests
r = requests.get("https://example.com/dev/null/child")
try:
r.raise_for_status()
except Exception as exc:
texts = traceback.format_exception(exc, limit=0)
print(texts[0].rstrip())
What prints is
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://example.com/dev/null/child
Sigh.
We're supposed to teach everyone to misread that concrete result as if it were
requests.HTTPError: 404 ...
Sigh.
