pamelafox.bsky.social
@pamelafox.bsky.social
1.6K followers 170 following 800 posts
Posts Media Videos Starter Packs
Currently my AGENTS.md encourages coding agents to keep it up-to-date, but that directive is too distracting to the agent during feature development.

Ideally I'd have a CI that runs on each PR that suggests AGENTS.md updates (that I can accept/edit/reject).
Anyone doing that already?
Researching red-teaming attack strategies today - pyrit has an ASCII art attack!
About to blast my app with thousands of ASCII art attacks.

https://azure.github.io/PyRIT/code/converters/0_converters.html
Pro tip for programmers: don't shower at the start of your day.

Instead, wait until you're absolutely stuck on a problem. THAT's when you shower - instant presto solution!

(Note: do not implement this if you work from an office)
According to my Blogger dashboard, Blogger has Beta features!
That means there are actual engineers working on Blogger still! 😱
Maybe I can stay on it forever and never have to write my own blogging engine.
If its one of the singers, you can say that or yell "HUNTRIX!!!"
i just went to my kid's elementary school parade and the vast majority were rumi costumes (iconic purple braid) - and there were MANY purple braids.
one mira, no zoeys. 2 more demons besides me, though they were both in the scary reaper outfits from the final scene.
just some stats to prepare you :)
i went to a halloween party for my 6 year old, and there were *three* Rumi's, one Rumi-witch-hybrid, and one Mystery.

Is that going to be stop me from trying to be "Baby" tomorrow?

No, it has simply emboldened me further!
Time to study Baby's patterns so I can re-create in face paint.
Love that @hamel.bsky.social is putting on a hackathon where the goal is for your agent to score the highest on evaluations, not just do something flashy.

click.convertkit-mail2.com/gkumlz753lc5...
Is this how other folks are using uv in their Dockerfile’s?

ashishb.net/programming/...

Curious to hear different approaches, as I might switch ours from pip to uv.
Best practices for using Python & uv inside Docker
Best practices for using Python & UV inside Docker
ashishb.net
i'm sad i wasnt at GHU this year!! no fidgets for the trick or treaters :(
Thanks to recent pydantic-ai improvements, you can use it fully with gpt-oss models running on vLLM/NIM.
I put demos here that show multiple tools and structured outputs:
https://github.com/Azure-Samples/nim-on-azure-serverless-gpus-demos?tab=readme-ov-file#pydanticai
My Python scripts are getting way cuter now that I discovered the Markdown() renderer from rich.
https://rich.readthedocs.io/en/stable/markdown.html
I'm working from home alone today, so it seems like a good day to try voice input for GitHub Copilot (using the VS Code Speech extension). But it feels SO weird. It took me 2 minutes of blabbering before I got over the weirdness.

Our RAG template now supports ACLs for ingested documents using the built-in ACL controls of Azure AI Search.

We set oids and groups fields on the chunks in the index, and then AI Search filters chunks based off access token of logged in user.

Learn more in release notes github.com/Azure-Sample...
Reposted
In light of the PSF's recent loss of an NSF grant and attendant funding shortfall, I will be matching donations up to $5000. Send me your receipts.

Very happy if you've already donated for similar reasons but the point is to motivate *new* donations so be sure the timestamp is after this toot 😉.
Running Python + AI Office Hours right now in the Azure AI Foundry Discord. Come on down!
http://aka.ms/aipython/oh
I should also give props to the pyupgrade project yes! That's what I used before ruff + UP
I made a commit to pydantic-ai and now I'm watching the pre-commit thinking "dannng, I need to add some fancier pre-commit hooks to my repos." Ligatures, spell check, smart quotes, oh my.
We're dropping 3.9 support on our Python samples, which means we get to upgrade lots of syntax, like:
Optional[X] → X | None
Union[X, Y] → X | Y

Thanks to the "UP" option in ruff for finding everything that can be upgraded!
Reposted
This video about the origin of the term “gerrymander” is excellent. What an odious practice. Even its namesake and first beneficiary found it distasteful.