Trying to make some changes to a complex SQLite view that includes some custom functions. Unfortunately that means I can't just open the database in a GUI. I'm trying to "port" my functions to SQLite extensions using SQLiteExtensionKit but running into address boundary errors when loading the extension. Not really sure how to go about debugging the issue

#SwiftLang #SQLite

@stefan I wonder if #curl runs on more devices than #sqlite
But interesting story nevertheless, thanks for sharing!
Another one of those hidden champions is the timezone DB ๐Ÿ˜€

https://en.wikipedia.org/wiki/Tz_database

tz database - Wikipedia

I've eventually merged in the the past couple of years worth of changes into my NBD SQLite dedupe server (I'd somehow ended up with multiple versions doing different things as you do ๐Ÿคฃ). Think I'm going to call it "done" (other than the bugs) and work on porting it to C at some point as that should improve things a little.

https://github.com/8086net/nbdsqlitededupe

#NBD #dedupe #SQLite

swyx AIE Singapore! (@swyx)

์‹ฑ๊ฐ€ํฌ๋ฅด์˜ ์™ธ๊ตยท์˜ํšŒ ์—…๋ฌด๋ฅผ ์ˆ˜ํ–‰ํ•˜๋Š” ๋ฐ ๊ฐœ์ธ์šฉ AI ์—์ด์ „ํŠธ๋ฅผ ์“ฐ๊ณ  ์žˆ์œผ๋ฉฐ, WhatsApp์„ ํ•ดํ‚นํ•˜๋“ฏ ์—ฐ๋™ํ•˜๊ณ  SQLite ๊ธฐ๋ฐ˜ ๊ทธ๋ž˜ํ”„ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ์Šคํƒ์„ ๊ณต์œ ํ–ˆ๋‹ค๋Š” ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค. ์‹ค์ œ ํ–‰์ •/์—…๋ฌด ์ž๋™ํ™”์— ์—์ด์ „ํŠธ์™€ ๋ฉ”๋ชจ๋ฆฌ ๊ตฌ์กฐ๋ฅผ ์ ์šฉํ•˜๋Š” ์‚ฌ๋ก€๋กœ ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

https://x.com/swyx/status/2055452778118500551

#aiagent #memory #sqlite #whatsapp #automation

swyx ๐Ÿ‡ธ๐Ÿ‡ฌ AIE Singapore! (@swyx) on X

holy shit lmao @Gavriel_Cohen he's seriously using this thing for conducting the foreign policy/parliamentary affairs of singapore - and sharing his stack on how he is hacking around WhatsApp and doing graph memory on SQLite wtf is this vibecoded country man

X (formerly Twitter)

The paper came to my attention for a reference to #LMDB, but it only references my 2011 microbenchmark as a comparison between #LevelDB and #SQLite.

26. LevelDB Benchmarks. Available online: http://www.lmdb.tech/bench/microbench/benchmark.html (accessed on. 30 September 2020)

The paper notes that most web browsers used SQLite to implement the IndexedDB spec, while Google Chrome uses their LevelDB instead.

Since then, Mozilla adopted LMDB in Firefox more recently.

LevelDB Benchmarks

But now I want to tell you about another one project. It calls as "Django Blog โœ๏ธ".

๐Ÿ”๏ธ๐Ÿ‘‰ https://codeberg.org/xolatgames/Django-Blog

These are my "tries" in Django now. There you can see a start page, and a blog page where you can leave your own posts. But! โ˜๏ธ These posts will stores only on your locally device. As a "backend" here uses a SQLite ๐Ÿชถ database.

#django #python #python3 #sql #sqlite #sqlite3 #codeberg #opensource #html #css #pencil2d

Turso v0.6.0

Turso 0.6.0์ด ์ถœ์‹œ๋˜์–ด SQLite์˜ ์ฃผ์š” ๊ธฐ๋Šฅ์„ ๋ชจ๋‘ ์ง€์›ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฒˆ ๋ฒ„์ „์—์„œ๋Š” ๋ฉ€ํ‹ฐํ”„๋กœ์„ธ์Šค ๋™์‹œ ์ ‘๊ทผ ์ง€์›๊ณผ VACUUM ๋ช…๋ น์–ด ์ง€์›์ด ์ถ”๊ฐ€๋˜์—ˆ์œผ๋ฉฐ, ํŠธ๋ฆฌ๊ฑฐ, ์ž„์‹œ ํ…Œ์ด๋ธ”, ์ƒ์„ฑ๋œ ์ปฌ๋Ÿผ, WITHOUT ROWID ํ…Œ์ด๋ธ” ๋“ฑ ๋‹ค์–‘ํ•œ SQL ๊ธฐ๋Šฅ์ด ๊ฐ•ํ™”๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ, UPDATE ... FROM, CROSS JOIN, FILTER ์ ˆ, ROW_NUMBER() ์œˆ๋„์šฐ ํ•จ์ˆ˜ ๋“ฑ ์ฟผ๋ฆฌ ๊ธฐ๋Šฅ๋„ ํ™•์žฅ๋˜์–ด ์‹ค๋ฌด ํ™œ์šฉ๋„๊ฐ€ ๋†’์•„์กŒ์Šต๋‹ˆ๋‹ค. ํƒ€์ž… ์‹œ์Šคํ…œ๋„ ๋ฐฐ์—ด, ๊ตฌ์กฐ์ฒด, ์œ ๋‹ˆ์–ธ, ๋„๋ฉ”์ธ ํƒ€์ž… ๋“ฑ์œผ๋กœ ๊ฐœ์„ ๋˜์–ด ์—„๊ฒฉํ•œ ํƒ€์ž… ๊ฒ€์‚ฌ๊ฐ€ ๊ฐ€๋Šฅํ•ด์กŒ์Šต๋‹ˆ๋‹ค. ์ด๋กœ์จ Turso๋Š” SQLite ํ˜ธํ™˜์„ฑ๊ณผ ๊ธฐ๋Šฅ์„ฑ ์ธก๋ฉด์—์„œ ํ•œ์ธต ์ง„๋ณดํ•œ ํด๋ผ์šฐ๋“œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์†”๋ฃจ์…˜์ด ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

https://turso.tech/blog/turso-0.6.0

#turso #sqlite #database #sql #cloud

Turso v0.6.0

Turso v0.6.0 release with multi-process support, VACUUM, the Turso CLI on npm, generated columns, temporary tables, and more.

Had a goofy idea to see if a #Django database router could create a #SQLite database per logged-in user.

Feels like sort of an extreme approach to multi-tenancy. Also makes GDPR dead simple: just delete the userโ€™s database file.

Changing the schema across all files might beโ€ฆ challenging maybe? Unless running migrations over all files would just work?

Piclaw โ€“ pi in a Technicolor web trenchcoat

Piclaw๋Š” Pi Coding Agent ๋Ÿฐํƒ€์ž„์„ ๋„์ปค ์ปจํ…Œ์ด๋„ˆ์— ๋‹ด์•„ ์ŠคํŠธ๋ฆฌ๋ฐ ์›น UI์™€ ๊ฒฐํ•ฉํ•œ ํ™•์žฅ ๊ฐ€๋Šฅํ•œ ์›น ๊ธฐ๋ฐ˜ IDE์ž…๋‹ˆ๋‹ค. ๋ฉ€ํ‹ฐ LLM ์ œ๊ณต์ž ์ง€์›, ๋‚ด์žฅ ํ„ฐ๋ฏธ๋„, ์ฝ”๋“œ ์—๋””ํ„ฐ, ๋ฌธ์„œ ๋ทฐ์–ด, ์นธ๋ฐ˜ ๋ณด๋“œ, VNC ํด๋ผ์ด์–ธํŠธ ๋“ฑ ๋‹ค์–‘ํ•œ ๋„๊ตฌ๋ฅผ ๋‹จ์ผ ๋„์ปค ๋ช…๋ น์œผ๋กœ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. SQLite ๊ธฐ๋ฐ˜ ์ƒํƒœ ๊ด€๋ฆฌ์™€ AES-GCM ์•”ํ˜ธํ™” ํ‚ค์ฒด์ธ, ์‹ค์‹œ๊ฐ„ SSE ํ†ต์‹ , ๊ทธ๋ฆฌ๊ณ  ๊ฟˆ ๋ฉ”๋ชจ๋ฆฌ ํ†ตํ•ฉ ๊ธฐ๋Šฅ์œผ๋กœ ์žฅ๊ธฐ ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ์ปค๋ฎค๋‹ˆํ‹ฐ ์• ๋“œ์˜จ์„ ํ†ตํ•ด Proxmox, Portainer, SSH ๋“ฑ ์ธํ”„๋ผ ๋„๊ตฌ์™€๋„ ์—ฐ๋™ ๊ฐ€๋Šฅํ•ด AI ์—์ด์ „ํŠธ ๊ฐœ๋ฐœ ๋ฐ ์šด์˜์— ์œ ์šฉํ•œ ํ”Œ๋žซํผ์ž…๋‹ˆ๋‹ค.

https://rcarmo.github.io/projects/piclaw/

#llm #docker #webide #agent #sqlite

piclaw โ€” rcarmo

The Pi coding agent in a technicolor web trenchcoat โ€” infinite tools

rcarmo.github.io

Taking Control of the SQLite WAL

rqlite 10๋ฒ„์ „์€ SQLite์˜ Write-Ahead Log(WAL)๋ฅผ ์ง์ ‘ ์ œ์–ดํ•˜์—ฌ Raft ๊ธฐ๋ฐ˜ ๋ถ„์‚ฐ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์Šค๋ƒ…์ƒท ํšจ์œจ์„ฑ์„ ํฌ๊ฒŒ ๊ฐœ์„ ํ–ˆ๋‹ค. ๊ธฐ์กด์—๋Š” ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ณต์‚ฌ๋กœ ๋น„ํšจ์œจ์ ์ด์—ˆ์œผ๋‚˜, WAL์„ ํ™œ์šฉํ•ด ๋ณ€๊ฒฝ๋ถ„๋งŒ ์Šค๋ƒ…์ƒทํ•˜๊ณ , ์ฒดํฌํฌ์ธํŠธ ์‹œ์ ์„ rqlite๊ฐ€ ์ง์ ‘ ๊ด€๋ฆฌํ•œ๋‹ค. ๋˜ํ•œ, WAL ์ฒดํฌํฌ์ธํŠธ ์‹คํŒจ ์‹œ ๋‹ค์–‘ํ•œ ์ƒํƒœ๋ฅผ ๊ฐ์ง€ํ•ด ์ ์ ˆํžˆ ์ฒ˜๋ฆฌํ•˜๋ฉฐ, ๋А๋ฆฐ ๋ฆฌ๋”๋กœ ์ธํ•œ ์Šค๋ƒ…์ƒท ์ง€์—ฐ ๋ฌธ์ œ๋„ ์ตœ์†Œํ™”ํ–ˆ๋‹ค. ์ด๋กœ์จ ๋Œ€์šฉ๋Ÿ‰ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ๋„ ๋น ๋ฅด๊ณ  ์ผ๊ด€๋œ ์Šค๋ƒ…์ƒท์ด ๊ฐ€๋Šฅํ•ด์กŒ๋‹ค.

https://philipotoole.com/taking-control-of-the-sqlite-wal/

#sqlite #rqlite #raft #wal #snapshotting

Taking control of the SQLite WAL โ€“ Philip O'Toole

rqlite is a lightweight, open-source, fault-tolerant relational database built on SQLite and Raft. Version 10 is out now. rqlite uses SQLite as its storage engine and has a particular relationship with the SQLite Write-Ahead Log (WAL). SQLite, left to itself, manages its own WAL: it checkpoints when the WAL grows, it checkpoints when the last connection closes,โ€ฆ