Simon Willison’s Weblog

Subscribe

Thursday, 18th May 2023

Release strip-tags 0.1 — CLI tool for stripping tags from HTML
Release strip-tags 0.2 — CLI tool for stripping tags from HTML

lmdb.tcl —the first version of Redis, written in TCL (via) Really neat piece of computing history here—the very first version of what later became Redis, written as a 319 line TCL stript for LLOOGG, Salvatore Sanfilippo’s old analytics startup.

# 4:57 pm / redis, salvatore-sanfilippo

Release ttok 0.1 — Count and truncate text based on tokens

llm, ttok and strip-tags—CLI tools for working with ChatGPT and other LLMs

Visit llm, ttok and strip-tags - CLI tools for working with ChatGPT and other LLMs

I’ve been building out a small suite of command-line tools for working with ChatGPT, GPT-4 and potentially other language models in the future.

[... 1,328 words]

SQLite 3.42.0. The latest SQLite has a tiny feature I requested on the SQLite Forum - SELECT unixepoch('subsec') now returns the current time in milliseconds since the Unix epoch, a big improvement on the previous recipe of select cast((julianday('now') - 2440587.5) * 86400 * 1000 as integer)!

Also in the release: JSON5 support (JSON with multi-line strings and comments), a bunch of improvements to the query planner and CLI tool, plus various interesting internal changes.

# 9:14 pm / json, sqlite

Wednesday, 17th May 2023
Friday, 19th May 2023