all AI news
DuckDB as the New jq
March 21, 2024, 8:36 p.m. |
Simon Willison's Weblog simonwillison.net
The DuckDB CLI tool can query JSON files directly, making it a surprisingly effective replacement for jq. Paul Gross demonstrates the following query:
select license->>'key' as license, count(*) from 'repos.json' group by 1
repos.json contains an array of {"license": {"key": "apache-2.0"}..} objects. This example query shows counts for each of those licenses.
Via lobste.rs
apache array cli count duckdb example files json key license making objects query replacement shows sql tool
More from simonwillison.net / Simon Willison's Weblog
Managing your work in the API platform with Projects
1 day, 7 hours ago |
simonwillison.net
ChatGPT in "4o" mode is not running the new features yet
1 day, 8 hours ago |
simonwillison.net
Quoting Bruce Schneier
1 day, 13 hours ago |
simonwillison.net
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US