Edmund Miller

535 Followers
899 Following
843 Posts
"I don't think I used those exact words." - Monica

From Silicon Valley S4E09: Unknown Episode

For the latest Starlight release, Astro maintainers HiDeoo and @hippo dug into performance and accessibility.

- Up to 35% faster builds thanks to optimized sidebar and syntax highlighting rendering

- Polished accessible markup for the built-in `<Aside>` and `<Tabs>` components

Make your next docs site shine at https://starlight.astro.build/

#accessibility #performance #documentation

Starlight 🌟 Build documentation sites with Astro

Starlight helps you build beautiful, high-performance documentation websites with Astro.

Starlight
Many people don't realize that gatekeeping in open-source communities often also comes in the form of delayed or absent reviews by maintainers. Many times, this is a power play by maintainers to discourage others from expressing their opinions. I've repeatedly observed that when maintainers approach technical discussions as authoritative figures rather than collaborative participants, it ultimately harms the project itself.

I’ll reiterate what many others have said about the yubikey story - unless you’re the target of super sophisticated actors who do not want you to know they’ve stolen your yubikey*, this is a bit of a non-event and highlights the importance of keeping track of your yubikeys. Please don’t toss them, but do keep an eye out for further developments. Once an issue like this is identified, it attracts a lot of attention from many smart people and there may will be other findings in the future, but for now, yubikeys are good enough for most of us.

* I know there are a bunch of people convinced you’re being pursued by these advanced adversaries. I worry about you. For many reasons.

Spent the evening tinkering with Anthropic's new interactive prompting tutorial and OpenAI's new "improved file search result relevance". Wrote up a bunch of notes on them:

- My notes on Anthropic's Prompt Engineering Interactive Tutorial https://simonwillison.net/2024/Aug/30/anthropic-prompt-engineering-interactive-tutorial/
- And my notes on the new file chunking debug mode OpenAI added to their assistants API https://simonwillison.net/2024/Aug/30/openai-file-search/

Anthropic’s Prompt Engineering Interactive Tutorial

Anthropic continue their trend of offering the best documentation of any of the leading LLM vendors. This tutorial is delivered as a set of Jupyter notebooks - I used it …

Using uvx to run a one-off Jupyter notebook against the current directory is a useful trick - I tried that for the first time today against the Anthropic Jupyter notebook interactive tutorials:

uvx --from jupyter-core jupyter notebook .

https://til.simonwillison.net/macos/1password-terminal

@simon there are even better ways IMO. https://developer.1password.com/docs/cli/secret-reference-syntax/#field-and-file-metadata-attributes

I personally use a lot of `op read "op://development/GitHub/Security/one-time password?attribute=otp"`
@1password

Accessing 1Password items from the terminal

I save things like API keys in 1Password . Today I figured out how to access those from macOS terminal scripts.

I also had this issue too with pyproject.toml
https://simonwillison.net/2024/Aug/20/writing-your-pyproject-toml/
Writing your pyproject.toml

When I started [exploring pyproject.toml a year ago](https://til.simonwillison.net/python/pyproject) I had trouble finding comprehensive documentation about what should go in that file. Since then the [Python Packaging Guide](https://packaging.python.org/) split out [this …

#!/usr/bin/env -S uv run

This is a really neat pattern. Start your Python script like this: #!/usr/bin/env -S uv run # /// script # requires-python = ">=3.12" # dependencies = [ # "flask==3.*", # …

OK, turns out Tim Walz is a former geography teacher and a GIS and data visualization nerd
https://mastodon.social/@kjhealy/112915624921601732