Alex Garcia

@alexgarcia.xyz

software engineer alexgarcia.xyz

Four years ago, I got frustrated constantly switching between different languages and packages just to get my data analysis work done. So, I built @nshiab/simple-data-analysis. It's an easy-to-use, high-performance library for tabular, geospatial, and vector data. 🧵 (1/3)

The city of Garden Grove in CA has an active chemical emergency right now, and they posted an evacuation map that's obviously created with AI And honestly, it looks great. Can't imagine being in a time crunch to get something like this out. ggcity.org/emergency

Screenshot of the Garden Grove emergency page. Titled "Evacuation Zone - Chemical Incident" with a map showing the evacuation zone, and a list of "open evacuation centers" labled as Garden Grove Sports and REcreation Center and Cypress Community Center

I released the first alpha of Datasette Agent - a conversational AI assistant for Datasette that can answer questions about data in SQLite databases, and can be extended with plugins to add extra tools and features You can watch a demo video or try it out yourself on agent.datasette.io

I will be at #NICAR26 this week teaching classes! For campaign finance folks: come to my Thursday 11:30am class on libfec, a new fast CLI tool for working with FEC data! Also get limited-edition libfec stickers + a campfin "zine"! (Bonus: find @simonwillison.net and I for Datasette stickers)

Assorted stickers and documents on a desk. One group of stickers says "libfec" in green font. The other group says "Datasette" in purple. One document stack has the title "NICAR26 libfec manual". The document says "libfec cheatsheet".

One trick with this, using libfec + SQLite: - "Hollywood Democrats" has raised $216k in 2 years, treasurer is Benjamin Eisenberg - Has spent $88.5k (~40%) on "General Campaign Fundraising" exclusively to "Summit Campaign Strategies" - "Summit Campaign Strategies" is owned by... Benjamin Eisenberg

! libfec-dev export C00833129 -o hw-dems.db --clobber
.open hw-dems.db

Finished exporting 10 filings into hw-dems.db, in 1 second
Opened database at hw-dems.db

select sum(col_a_total_receipts)
from libfec_f3x;

sum(col_a_total_receipts)
216605.36
1 column × 1 row

select 
  treasurer_first_name,
  treasurer_last_name,
  treasurer_city,
  treasurer_state
from libfec_f1;


treasurer_first_name	treasurer_last_name	treasurer_city	treasurer_state
Benjamin	Eisenberg	La Canada Flintridge	CA
4 columns × 1 row

select 
  payee_organization_name,
  min(expenditure_date),
  max(expenditure_date),
  sum(expenditure_amount)
from libfec_schedule_b
where expenditure_purpose_descrip = 'General Campaign Consulting'
group by 1


payee_organization_name	min(expenditure_date)	max(expenditure_date)	sum(expenditure_amount)
Summit Campaign Strategies	2023-06-12	2025-06-30	88500
4 columns × 1 row
Post nicht verfügbar.

Datasette 1.0a20 is out, with an entirely new SQL-powered permissions system. This is by far the most ambitious project I've attempted with the help of coding agents (Claude Code and Codex CLI) - notes on how it works and what I learned along the way: simonwillison.net/2025/Nov/4/d...

A new SQL-powered permissions system in Datasette 1.0a20

Datasette 1.0a20 is out with the biggest breaking API change on the road to 1.0, improving how Datasette’s permissions system works by migrating permission logic to SQL running in SQLite. …

simonwillison.net

Great guide here by Ed for using sqlite-vec + OpenAI embeddings in a RAG system! Includes great use of the new auxiliary columns feature for storing metadata (further evidence that the LA tech scene is elite)

Ed Izaguirre@handle.invalid · 2y ago

Finally got around to publishing part two of my series on SQLite and RAG! Includes full code walkthrough and repo access. Definitely the simplest way to do RAG. Uses sqlite-vec. Thank @alexgarcia.xyz! losangelesaiapps.com/retrieval-au...