frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Modern SQLite: Features You Didn't Know It Had

https://slicker.me/sqlite/features.htm
70•thunderbong•1h ago

Comments

subhobroto•1h ago
None of these are news to the HN community. Write-ahead logging and concurrency PRAGMAs have been a given for a decade now. IIRC, FTS5 doesn't often come baked in and you have to compile the SQLite amalgamation to get it. If you do need better typing, you should really use PostgreSQL.

However, I will concede, and the article doesn't mention at all, far less are aware that you can build HA, cross region replicated SQLite using purely OSS software provided you architect your software around it. Now that would be a really good `Modern SQLite: Features You Didn't Know It Had` article!

Another interesting discussion point is how far self hosted PostgreSQL and pgBackRest can get you to a near-zero data loss high RPO, RTO setup. Its simply amazing we can self host all this.

happytoexplain•1h ago
There are plenty of people in the HN community who don't know much about SQLite. Tech is a big, huge, enormous, gigantic domain.
sgbeal•1h ago
> Write-ahead logging and concurrency PRAGMAs have been a given for a decade now.

All of the listed features except for strict tables and generated columns have been in SQLite for 10+ years, and those two are certainly not new. The JSON APIs were not made part of the standard distribution until 3.38 (2022-02) but were added in 3.9 (2015-10) and widely used long before they were upgraded from an optional extension to a core feature.

- Generated columns: 3.31 (2020-01)

- Strict tables: 3.37 (2021-11)

123abcdef•16m ago
I’m afraid you overestimated my knowledge
faizshah•1h ago
Theres also spellfix1 which is an extension you can enable to get fuzzy search.

And ON CONFLICT which can help dedupe among other things in a simple and performant way.

somat•11m ago
I was trying to port a small program I wrote from postgres to a sqlite backend(mainly to make it easier to install) and was pleased to find out sqlite supported "on conflict" I was less pleased to find out that apperently I abuse CTE's to insert foreign keys all the time and sqlite was not happy doing that.

    with thing_key as (
    insert into item(key, description) values('thing', 'a thing') on conflict do nothing )

    insert into user_note(uid, key, note) values (123, 'thing', 'I like this thing') on conflict (uid, thing) do update set note = 'I like this thing');
cloudpeaklabs•1h ago
The JSON functions are the sleeper hit for me. I've used them extensively in ETL scripts where input data is semi-structured - being able to do json_extract and json_each directly in SQL instead of writing a Python preprocessing step saved a surprising amount of complexity. Strict tables are also worth calling out more. The lack of type enforcement was always the thing that made me reach for PostgreSQL instead, and strict mode closes that gap nicely for smaller projects.
Animats•22m ago
Everybody has a JSON extension, and they're all slightly different.

I just got hit badly by Dreamhost, which is still running MySQL 8.0. That version has a "JSON extension" which is almost totally useless. I designed something before discovering how different MySQL 8.4 and MySQL 8.0 are.

FooBarWidget•19m ago
I've found FTSE5 not useful for serious fuzzy or subword full text search. For example I have documents saying "DaemonSet". But if the user searches for "Daemon" then there will be no results.
krylon•9m ago
STRICT tables are something I appreciate very much, even though I cannot recall running into a problem that would have prevented by its presence in the before-time. But it's good to have all the same.

I don't think I've ever done much with SQLite's JSON functions, but I have on one or two occasions used a constraint to enforce a TEXT column contains valid JSON, which would have been very tedious to do otherwise.

Google releases Gemma 4 open models

https://deepmind.google/models/gemma/gemma-4/
510•jeffmcjunkin•2h ago•141 comments

Qwen3.6-Plus: Towards real world agents

https://qwen.ai/blog?id=qwen3.6
269•pretext•4h ago•91 comments

LinkedIn is illegally searching your computer

https://browsergate.eu/
1207•digitalWestie•5h ago•560 comments

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
313•AbuAssar•7h ago•80 comments

OpenAI Acquires TBPN

https://openai.com/index/openai-acquires-tbpn/
38•surprisetalk•1h ago•32 comments

Inside Nepal's Fake Rescue Racket

https://kathmandupost.com/money/2026/03/27/inside-nepal-s-fake-rescue-racket
198•lode•6h ago•80 comments

JSON Canvas Spec

https://jsoncanvas.org/spec/1.0/
13•tobr•3d ago•1 comments

'Backrooms' and the Rise of the Institutional Gothic

https://thereader.mitpress.mit.edu/backrooms-and-the-rise-of-the-institutional-gothic/
106•anarbadalov•5h ago•50 comments

Significant Raise of Reports

https://lwn.net/Articles/1065620/
223•stratos123•9h ago•110 comments

IBM Announces Strategic Collaboration with Arm

https://newsroom.ibm.com/2026-04-02-ibm-announces-strategic-collaboration-with-arm-to-shape-the-f...
235•bonzini•9h ago•148 comments

Delve allegedly forked an open-source tool and sold it as its own

https://techcrunch.com/2026/04/01/the-reputation-of-troubled-yc-startup-delve-has-gotten-even-worse/
178•nickvec•3h ago•83 comments

Artemis II will use laser beams to live-stream 4K moon footage at 260 Mbps

https://www.tomshardware.com/networking/artemis-ii-will-use-laser-beams-to-live-stream-4k-moon-fo...
193•speckx•3h ago•82 comments

George Goble died recently – known for first dual-CPU-Unix and fast BBQ lighting

https://www.legacy.com/us/obituaries/wlfi/name/george-goble-obituary?id=61144779
5•finaard•11m ago•1 comments

Renewables reached nearly 50% of global electricity capacity last year

https://www.theregister.com/2026/04/01/renewables_generated_nearly_half_global_power/
124•Growtika•3h ago•58 comments

Cursor 3

https://cursor.com/blog/cursor-3
23•adamfeldman•18m ago•14 comments

Sweden goes back to basics, swapping screens for books in the classroom

https://undark.org/2026/04/01/sweden-schools-books/
589•novaRom•7h ago•304 comments

Hugo's New CSS Powers

https://www.brycewray.com/posts/2026/04/hugos-new-css-powers/
4•speckx•15m ago•0 comments

An Example of Statistical Investigation of the Text Eugene Onegin – Markov, 1913 [pdf]

https://alpha60.de/research/markov/DavidLink_AnExampleOfStatistical_MarkovTrans_2007.pdf
21•jxmorris12•3d ago•1 comments

A forecast of the fair market value of SpaceX's businesses

https://futuresearch.ai/spacex-ipo-valuation/
77•ddp26•1h ago•98 comments

Modern SQLite: Features You Didn't Know It Had

https://slicker.me/sqlite/features.htm
70•thunderbong•1h ago•10 comments

Bringing Clojure programming to Enterprise (2021)

https://blogit.michelin.io/clojure-programming/
163•smartmic•10h ago•95 comments

Gone (Almost) Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
143•luu•2d ago•68 comments

Quadratic Micropass Type Inference

https://articles.luminalang.com/a/micropass-inference/
13•simvux•5d ago•4 comments

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
298•jaden•14h ago•87 comments

Telli (YC F24) is hiring engineers, designers, and more (on-site, Berlin)

http://hi.telli.com/join-us
1•sebselassie•11h ago

Reinventing the pull request

https://lubeno.dev/blog/reinventing-the-pull-request
66•bkolobara•6d ago•54 comments

Emacs-libgterm: Terminal emulator for Emacs using libghostty-vt

https://github.com/rwc9u/emacs-libgterm
68•signa11•4d ago•16 comments

Even GPT-5.2 Can't Count to Five: Zero-Error Horizons in Trustworthy LLMs

https://arxiv.org/abs/2601.15714
40•daigoba66•2h ago•43 comments

Mercor says it was hit by cyberattack tied to compromise LiteLLM

https://techcrunch.com/2026/03/31/mercor-says-it-was-hit-by-cyberattack-tied-to-compromise-of-ope...
129•jackson-mcd•1d ago•37 comments

March heat in American west has left snowpack at record-low levels

https://www.theguardian.com/us-news/2026/apr/01/snowmelt-american-west
74•ijidak•2h ago•37 comments