Simon Willison’s Weblog

Subscribe

June 2023

61 posts: 5 entries, 18 links, 6 quotes, 32 beats

June 18, 2023

Release symbex 0.1 — Find the Python code for specified symbols
Release symbex 0.1.1 — Find the Python code for specified symbols
Release symbex 0.1.2 — Find the Python code for specified symbols
Release symbex 0.2 — Find the Python code for specified symbols
TIL Using ChatGPT Browse to name a Python package — I needed a name for my new Python CLI tool.

Symbex: search Python code for functions and classes, then pipe them into a LLM

Visit Symbex: search Python code for functions and classes, then pipe them into a LLM

I just released a new Python CLI tool called Symbex. It’s a search tool, loosely inspired by ripgrep, which lets you search Python code for functions and classes by name or wildcard, then see just the source code of those matching entities.

[... 1,183 words]

June 19, 2023

Release symbex 0.2.1 — Find the Python code for specified symbols

Building Search DSLs with Django (via) Neat tutorial by Dan Lamanna: how to build a GitHub-style search feature—supporting modifiers like “is:open author:danlamanna”—using PyParsing and the Django ORM.

# 8:30 am / django, dsl, parsing, python, search

Release symbex 0.3 — Find the Python code for specified symbols
Release symbex 0.3.1 — Find the Python code for specified symbols
Release symbex 0.3.2 — Find the Python code for specified symbols
Release symbex 0.4 — Find the Python code for specified symbols

June 20, 2023

Release symbex 0.5 — Find the Python code for specified symbols
Release symbex 0.6 — Find the Python code for specified symbols

June 21, 2023

TIL Automatically maintaining Homebrew formulas using GitHub Actions — I previously wrote about [Packaging a Python CLI tool for Homebrew](https://til.simonwillison.net/homebrew/packaging-python-cli-for-homebrew). I've now figured out a pattern for automatically updating those formulas over time, using GitHub Actions.

June 22, 2023

Back then [in 2012], no one was thinking about AI. You just keep uploading your images [to Adobe Stock] and you get your residuals every month and life goes on — then all of a sudden, you find out that they trained their AI on your images and on everybody’s images that they don’t own. And they’re calling it ‘ethical’ AI.

Eric Urquhart

# 11:13 am / ai, adobe, ethics, generative-ai, ai-ethics

June 23, 2023

Release symbex 0.7 — Find the Python code for specified symbols

Every year, some generation of engineers have to learn the concepts of "there is no silver bullet", "use the right tech for the right problem", "your are not google", "rewriting a codebase every 2 years is not a good business decision", "things cost money".

sametmax

# 11:59 pm / software-engineering

June 26, 2023

Release sqlite-utils 3.33 — Python CLI utility and library for manipulating SQLite databases
TIL TOML in Python — I finally got around to fully learning [TOML](https://toml.io/). Some notes, including how to read and write it from Python.

June 27, 2023

Status of Python Versions (via) Very clear and useful page showing the exact status of different Python versions. 3.7 reaches end of life today (no more security updates), while 3.11 will continue to be supported until October 2027.

# 2:01 pm / python

Weeknotes: symbex, LLM prompt templates, a bit of a break

I had a holiday to the UK for a family wedding anniversary and mostly took the time off... except for building symbex, which became one of those projects that kept on inspiring new features.

[... 1,120 words]

Release strip-tags 0.5 — CLI tool for stripping tags from HTML

June 28, 2023

Release datasette-upload-csvs 0.8.3 — Datasette plugin for uploading CSV files and converting them to database tables

June 29, 2023

TIL CLI tools hidden in the Python standard library — Seth Michael Larson [pointed out](https://twitter.com/sethmlarson/status/1674141676325990400) that the Python `gzip` module can be used as a CLI tool like this:

abacaj/mpt-30B-inference. MPT-30B, released last week, is an extremely capable Apache 2 licensed open source language model. This repo shows how it can be run on a CPU, using the ctransformers Python library based on GGML. Following the instructions in the README got me a working MPT-30B model on my M2 MacBook Pro. The model is a 19GB download and it takes a few seconds to start spitting out tokens, but it works as advertised.

# 3:27 am / open-source, ai, generative-ai, local-llms, llms, llm-release

TIL Bulk editing status in GitHub Projects — GitHub Projects has a mechanism for bulk updating the status of items, but it's pretty difficult to figure out how to do it.
Release symbex 1.0 — Find the Python code for specified symbols

June 30, 2023

Databricks Signs Definitive Agreement to Acquire MosaicML, a Leading Generative AI Platform. MosaicML are the team behind MPT-7B and MPT-30B, two of the most impressive openly licensed LLMs. They just got acquired by Databricks for $1.3 billion dollars.

# 1:43 am / open-source, ai, generative-ai, local-llms, llms

TIL A Discord bot to expand issue links to a private GitHub repository — I have a private Discord channel and a private GitHub repository.

2023 » June

MTWTFSS
   1234
567891011
12131415161718
19202122232425
2627282930