HNHacker News
TopNewBestAskShowJobs

pamelafox

2,084 karma · joined March 2, 2010

Principal Cloud Advocate @ Microsoft, focusing on Python! Formerly @ UC Berkeley CS, Khan Academy, Coursera, Google. More about me at www.pamelafox.org
submissionscomments
pamelafox··on Create personal illustrated storybooks in the Gemini app
I think it'd be amazing if I had the energy to make up improv bedtime stories every night. (We have a "King Dragon" improv series happening lately, which involves a lot of farts)

BUT, I don't always have that energy, and I already spend hours a day reading stories to my kids, so I am okay with them spending some fraction of time hearing stories from robots/screens/etc. (Lately, it's "Hey Google, tell a story" if mommy is too busy to read)

I hope we never stop paying amazing children's book illustrators though! I have so many books where I marvel at each page and the ingenuity of the illustrative style.

pamelafox··on Open models by OpenAI
Yep, 20B model, via Ollama: ollama run gpt-oss:20b

Screenshot here with Ollama running and asitop in other terminal:

https://bsky.app/profile/pamelafox.bsky.social/post/3lvobol3...

pamelafox··on Open models by OpenAI
I ran it via Ollama, which I assume uses the best way. Screenshot in my post here: https://bsky.app/profile/pamelafox.bsky.social/post/3lvobol3...

I'm still wondering why my MPU usage was so low.. maybe Ollama isn't optimized for running it yet?

pamelafox··on Open models by OpenAI
Update: I tried it out. It took about 8 seconds per token, and didn't seem to be using much of my GPU (MPU), but was using a lot of RAM. Not a model that I could use practically on my machine.
pamelafox··on Open models by OpenAI
Anyone tried running on a Mac M1 with 16GB RAM yet? I've never run higher than an 8GB model, but apparently this one is specifically designed to work well with 16 GB of RAM.
pamelafox··on Show HN: Draw a fish and watch it swim with the others
This is my favorite thing today! I only saw one penis fish (with the penis nestled inside the face, as a facial feature of sorts). That's pretty good for a drawing app on the internet, well done! I've given up on running public apps that accept user contributions.
pamelafox··on Irrelevant facts about cats added to math problems increase LLM errors by 300%
I ran an automated red-teaming against a RAG app using llama:3.18B, and it did really well under red-teaming, pretty similar stats to when the app was gpt-4o. I think they must have done a good at the RLHF of that model, based on my experiments. (Somewhat related to these kind of adversarial attacks)
pamelafox··on The Making of Dario Amodei
That's true, I am continually learning to temper my idealism, particularly when working in developer tools and education.
pamelafox··on The Making of Dario Amodei
I generally am impressed by Anthropic's focus on safety, but I was taken aback by this quote from Dario: https://bsky.app/profile/kylierobison.com/post/3lujbtfdzyk2e

“Unfortunately, I think ‘no bad person should ever benefit from our success’ is a pretty difficult principle to run a business on.”

I agree, it is hard to run a business on that principle, but I also thought that if any AI company were to aspire to it, it would be Anthropic.

pamelafox··on More honey bees dying, even as antibiotic use halves
Yep, that observation is discussed frequently in the book "Insect Crisis". Highly recommend!
pamelafox··on More honey bees dying, even as antibiotic use halves
I love native bees, I've been trying to find ways to incorporate native bee facts into my tech talks. The "Insect Crisis" book was a nice overview of issues like overuse of honeybees, plus others. Highly recommend planting native pollinator-friendly plants in garden if you want to meet adorable, hilarious, beautiful native bees!

My current fav is the Fine Striped Sweat Bee, where the females are 100% turquoise. Dazzling! https://bsky.app/profile/pamelafox.bsky.social/post/3lv3eycl...

pamelafox··on My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)
I was exaggerating slightly - I think it's some combo of the apps I use: Edge, Teams, Discord, VS Code, Docker. When I get the RAM popup once a week, I typically have to close a few of those, whichever is using the most memory according to Activity Monitor. I've also got very little hard drive space on my machine, about 15 GB free, so that makes it harder for me to download the larger models. I keep trying to clear space, even using CleanMyMac, but I somehow keep filling it up.
pamelafox··on My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)
Are they quantized more effectively than the non-reasoning models for some reason?
pamelafox··on My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)
Alas, my 3 year old Mac has only 16 GB RAM, and can barely run a browser without running out of memory. It's a work-issued Mac, and we only get upgrades every 4/5 years. I must be content with 8B parameters models from Ollama (some of which are quite good, like llama3.1:8b).
pamelafox··on Tao on “blue team” vs. “red team” LLMs
(Disclosure: I work for Microsoft) I run automated red-teaming on my RAG samples through the azure-ai-evaluation SDK, which uses an adversarial LLM (an LLM without the guardrails) plus the pyrit package to come up with horrible questions to ask your app and then transform them (base64, ceaser cipher, urlencode, etc), to see how the app will respond. It's really interesting to see the results, and I agree that red-teaming generally can be a good use of LLMs.

Video of me demo'ing it here: https://www.youtube.com/watch?v=sZzcSX7BFVA (Sorry I'm shout-y, weird venue)

pamelafox··on How we rooted Copilot
I don’t know specifically how this container was implemented, but Microsoft has a standard way to do isolated Python sandboxes: https://learn.microsoft.com/en-us/azure/container-apps/sessi... Hopefully this feature is using that or something similar.
pamelafox··on TODOs aren't for doing
My personal philosophy is that TODOs should only be used while working on a branch. Once its ready for a pull request, any pending TODOs should be abandoned or logged in an issue tracker.
pamelafox··on I'm rebelling against the algorithm
Unhook extension: https://chromewebstore.google.com/detail/unhook-remove-youtu...

That's the one I use now, it has more features than the one I made.

pamelafox··on I'm rebelling against the algorithm
I gave a very similar talk back in 2018: "Getting un-hooked from technology: using tech to fight tech".

I wrote it up here:

https://uxdesign.cc/getting-unhooked-from-technology-86ca8be...

I still use a YouTube Unhook extension (a better one than the one I wrote, though with nearly the same name, hilariously), though I'm not as good at some of the other practices I used to use. My attempts to avoid tech's magnetism is confounded by my current role in developer relations, where social media is a necessary part of the job. But maybe my next role will be one where I can detach from it a bit more.

pamelafox··on How I keep up with AI progress
Great list! I also subscribe to Gergeley Orosz' "Pragmatic Engineer" which covers many AI topics now, and to Gary Marcus' substack, which tackles topics more from an LLM skeptic perspective.

https://newsletter.pragmaticengineer.com/ https://substack.com/@garymarcus

Plus I subscribe to updates from Python packages like Langchain and PydanticAI to see what they're up to, since that's usually reflective of what's happening in broader industry.

I'm not on X anymore so I can't follow many of the folks directly, but some of them (like Simon Willison) also post on BlueSky and Mastodon, fortunately. Some folks like Sebastian Raschka and Chip Huyen also post on LinkedIn. Kind of all over, but eventually, I see a good amount of what's happening.

pamelafox··on Mercury: Ultra-fast language models based on diffusion
Their plan is to offer hosted products, as described in their current job openings: https://jobs.ashbyhq.com/astral/a357ab40-9da5-4474-acc7-5888...

We'll see if that works out for them, but I also worked with their founder Charlie previously at Khan Academy, and I trust he sincerely wants to make that work.

That makes sense, that they're bottle-necked elsewhere as well.

For my current CI runs on Microsoft sample repos, mypy and Playwright are the two big time-takers, and since I run the CI on a matrix of Python versions, OSes, and Node versions, I do want it to be quite fast. You can see the timing here:

https://github.com/Azure-Samples/azure-search-openai-demo/ac...

pamelafox··on SVGs that feel like GIFs
The nice thing about videos is the play/pause/slider UI. Some platforms do add play/pause explicitly to GIFs, using some JS, but as far as I know (and you would know more), that's not built into browsers yet. That's been one of the reasons I often end up using videos instead.

When I've personally animated SVGs for use in RevealJS presentations, I tend to use CSS animations that I could control with JS if I wanted.

pamelafox··on Mercury: Ultra-fast language models based on diffusion
For Python apps, I've gotten good CI speedups by moving over to the astral.sh toolchain, using uv for the package installation with caching. Once I move to their type-checker instead of mypy, that'll speed the CI up even more. The playwright test running will then probably be the slowest part, and that's only in apps with frontends.

(Also, Hi Mike, pretty sure I worked with you at Google Maps back in early 2000s, you were my favorite SRE so I trust your opinion on this!)

pamelafox··on About AI Evals
Fantastic FAQ, thank you Hamel for writing it up. We had an open space on AI Evals at Pycon this year, and had lots of discussion around similar questions. I only wrote down the questions, however:

# Evaluation Metrics & Methodology

* What metrics do you use (e.g., BERTScore, ROUGE, F1)? Are similarity metrics still useful?

* Do you use step-by-step evaluations or evaluate full responses?

* How do you evaluate VLM (vision-language model) summarization? Do you sample outputs or extract named entities?

* How do you approach offline (ground truth) vs. online evaluation?

* How do you handle uncertainty or "don’t know" cases? (Temperature settings?)

* How do you evaluate multi-turn conversations?

* A/B comparisons and discrete labels (e.g., good/bad) are easier to interpret.

* It’s important to counteract bias toward your own favorite eval questions—ensure a diverse dataset.

## Prompting & Models

* Do you modify prompts based on the specific app being evaluated?

* Where do you store prompts—text files, Prompty, database, or in code?

* Do you have domain experts edit or review prompts?

* How do you choose which model to use?

## Evaluation Infrastructure

* How do you choose an evaluation framework?

* What platforms do you use to gather domain expert feedback or labels?

* Do domain experts label outputs or also help with prompt design?

## User Feedback & Observability

* Do you collect thumbs up / thumbs down feedback?

* How does observability help identify failure modes?

* Do models tend to favor their own outputs? (There's research on this.)

I personally work on adding evaluation to our most popular Azure RAG samples, and put a Textual CLI interface in this repo that I've found helpful for reviewing the eval results: https://github.com/Azure-Samples/ai-rag-chat-evaluator

pamelafox··on Tools: Code Is All You Need
Regarding the Playwright example: I had the same experience this week attempting to build an agent first by using the Playwright MCP server, realizing it was slow, token-inefficient, and flaky, and rewriting with direct Playwright calls.

MCP servers might be fun to get an idea for what's possible, and good for one-off mashups, but API calls are generally more efficient and stable, when you know what you want.

Here's the agent I ended up writing: https://github.com/pamelafox/personal-linkedin-agent

Demo: https://www.youtube.com/live/ue8D7Hi4nGs

pamelafox··on Show HN: TokenDagger – A tokenizer faster than OpenAI's Tiktoken
Just curious whether it's possible to push any of your performance improvements to tiktoken itself?
pamelafox··on Ask HN: What Are You Working On? (June 2025)
Finally cleaned up a free online Python course: https://proficientpython.com/

I wrote the articles/exercises/projects a few years ago, but now I've made interactive coding and quiz widgets, using Pyodide, Lit, web workers, etc. All open source: https://github.com/pamelafox/proficient-python

pamelafox··on America’s incarceration rate is in decline
I had my children at 36 and 38, and I'm the mother, and energy-wise, I've had no issues. Yes, they considered me to be of "advanced maternal age" in the OB department and gave me special treatment due to it, but my doctors told me that the "advanced maternal age" threshold (35) was based off outdated research anyway. In the bay area, most of the mothers I've met were around that age, and my friends are having their kids at the same age.

It was really nice that I had time to establish my career and figure things out before having kids.

pamelafox··on 'Dragon prince' dinosaur discovery 'rewrites' T.rex family tree
There's a pachycephalosaurus in this book! https://www.amazon.com/gp/aw/d/1646380428/

(I think I'm actually the obsessed one, to be honest, but I like to blame my children for my own obsessions)

pamelafox··on 'Dragon prince' dinosaur discovery 'rewrites' T.rex family tree
So much keeps getting discovered about dinosaurs! If you want to catch up on the last 20 years of research, particularly on the feathered front, I recommend this book: https://www.goodreads.com/book/show/23394100-flying-dinosaur...

(As the mum of a 5 yr old and 3 yr old, I feel obligated to become an expert on all things dinosaur.)

← PreviousPage 2 of 12Next →