frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SQLite JSON at Full Index Speed Using Generated Columns

https://www.dbpro.app/blog/sqlite-json-virtual-columns-indexing
57•upmostly•1h ago•15 comments

4 billion if statements (2023)

https://andreasjhkarlsson.github.io//jekyll/update/2023/12/27/4-billion-if-statements.html
243•damethos•5d ago•83 comments

From text to token: How tokenization pipelines work

https://www.paradedb.com/blog/when-tokenization-becomes-token
42•philippemnoel•1d ago•2 comments

Fedora: Open-source repository for long-term digital preservation

https://fedorarepository.org/
22•cernocky•1h ago•14 comments

The tiniest yet real telescope I've built

https://lucassifoni.info/blog/miniscope-tiny-telescope/
165•chantepierre•7h ago•41 comments

Koralm Railway

https://infrastruktur.oebb.at/en/projects-for-austria/railway-lines/southern-line-vienna-villach/...
239•fzeindl•4h ago•108 comments

The Tor Project is switching to Rust

https://itsfoss.com/news/tor-rust-rewrite-progress/
147•giuliomagnifico•2h ago•87 comments

GPT-5.2

https://openai.com/index/introducing-gpt-5-2/
1082•atgctg•21h ago•944 comments

BpfJailer: eBPF Mandatory Access Control [pdf]

https://lpc.events/event/19/contributions/2159/attachments/1833/3929/BpfJailer%20LPC%202025.pdf
4•voxadam•47m ago•0 comments

Nokia N900 Necromancy

https://yaky.dev/2025-12-11-nokia-n900-necromancy/
387•yaky•15h ago•143 comments

Show HN: Tripwire: A new anti evil maid defense

https://github.com/fr33-sh/Tripwire
23•DoctorFreeman•1d ago•14 comments

Google de-indexed Bear Blog and I don't know why

https://journal.james-zhan.com/google-de-indexed-my-entire-bear-blog-and-i-dont-know-why/
265•nafnlj•13h ago•110 comments

Guarding My Git Forge Against AI Scrapers

https://vulpinecitrus.info/blog/guarding-git-forge-ai-scrapers/
81•todsacerdoti•7h ago•49 comments

Show HN: Autofix Bot – Hybrid static analysis and AI code review agent

16•sanketsaurav•17h ago•3 comments

CRISPR fungus: Protein-packed, sustainable, and tastes like meat

https://www.isaaa.org/kc/cropbiotechupdate/article/default.asp?ID=21607
213•rguiscard•14h ago•131 comments

He set out to walk around the world. After 27 years, his quest is nearly over

https://www.washingtonpost.com/lifestyle/2025/12/05/karl-bushby-walk-around-world/
163•wallflower•4d ago•126 comments

Octo: A Chip8 IDE

https://github.com/JohnEarnest/Octo
30•tosh•6d ago•2 comments

Use Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
11•birdculture•4d ago•10 comments

Rivian Unveils Custom Silicon, R2 Lidar Roadmap, and Universal Hands Free

https://riviantrackr.com/news/rivian-unveils-custom-silicon-r2-lidar-roadmap-universal-hands-free...
338•doctoboggan•20h ago•466 comments

Training LLMs for Honesty via Confessions

https://arxiv.org/abs/2512.08093
19•arabello•4h ago•6 comments

The highest quality codebase

https://gricha.dev/blog/the-highest-quality-codebase
590•Gricha•3d ago•366 comments

What folk can do

https://folk.computer/guides/what-folk-can-do
19•luu•4d ago•11 comments

Denial of service and source code exposure in React Server Components

https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-comp...
307•sangeeth96•18h ago•193 comments

Why isn't online age verification just like showing your ID in person?

https://www.eff.org/deeplinks/2025/12/why-isnt-online-age-verification-just-showing-your-id-person
28•hn_acker•1h ago•11 comments

Programmers and software developers lost the plot on naming their tools

https://larr.net/p/namings.html
346•todsacerdoti•21h ago•450 comments

An SVG is all you need

https://jon.recoil.org/blog/2025/12/an-svg-is-all-you-need.html
287•sadiq•19h ago•119 comments

Smartphone without a battery (2022)

https://yaky.dev/2022-09-06-smartphone-without-battery/
58•MYEUHD•7h ago•18 comments

Spirograph style Lego drawing machine

https://jkbrickworks.com/simple-drawing-machine/
33•ensocode•4d ago•5 comments

BehindTheMedspeak: A Spinal Tap

https://bookofjoe2.blogspot.com/2025/10/behindthemedspeak-this-is-spinal-tap.html
7•surprisetalk•5d ago•2 comments

Auto-grading decade-old Hacker News discussions with hindsight

https://karpathy.bearblog.dev/auto-grade-hn/
630•__rito__•1d ago•260 comments
Open in hackernews

SQLite JSON at Full Index Speed Using Generated Columns

https://www.dbpro.app/blog/sqlite-json-virtual-columns-indexing
57•upmostly•1h ago

Comments

upmostly•1h ago
I was inspired to write this blog post after reading bambax's comment on a HN post back in 2023: https://news.ycombinator.com/item?id=37082941
Lex-2008•52m ago
interesting, but can't you use "Index On Expression" <https://sqlite.org/expridx.html>?

i.e. something like this: CREATE INDEX idx_events_type ON events(json_extract(data, '$.type'))?

i guess caveat here is that slight change in json path syntax (can't think of any right now) can cause SQLite to not use this index, while in case of explicitly specified Virtual Generated Columns you're guaranteed to use the index.

pkhuong•43m ago
Yeah, you can use index on expression and views to ensure the expression matches, like https://github.com/fsaintjacques/recordlite . The view + index approach decouples the convenience of having a column for a given expression and the need to materialise the column for performance.
paulddraper•27m ago
Yes, that’s the simpler and faster solution.

You need to ensure your queries match your index, but when isn’t that true :)

mcluck•42m ago
Very cool article. To really drill it home, I would have loved to see how the query plan changes. It _looks_ like it should Just Work(tm) but my brain refuses to believe that it's able to use those new indexes so flawlessly
mring33621•27m ago
IIRC, Vertica had/has a similar feature.
simonw•23m ago
Tiny bug report: I couldn't edit text in those SQL editor widgets from my iPhone, and I couldn't scroll them to see text that extended past the width of the page either.
hamburglar•12m ago
The examples also needed a “drop table if exists” so they could be run more than once without errors.
upmostly•1m ago
Great catch, I'll add that now!
upmostly•5m ago
Thanks Simon! Looking into that now. Big fan. Hope you enjoyed the post.
jelder•23m ago
I thought this was common practice, generated columns for JSON performance. I've even used this (although it was in Postgres) to maintain foreign key constraints where the key is buried in a JSON column. What we were doing was slightly cursed but it worked perfectly.
sigwinch•13m ago
It is. I’d wondered if STORED is necessary and this example uses VIRTUAL.
ramon156•6m ago
It works until you realize some of these usages would've been better as individual key/value rows.

For example, if you want to store settings as JSON, you first have to parse it through e.g. Zod, hope that it isn't failing due to schema changes (or write migrations and hope that succeeds).

When a simple key/value row just works fine, and you can even do partial fetches / updates

bushbaba•8m ago
For smaller datasets (100s of thousands of rows) I don’t see why you wouldn’t just use json columns with generated column/index where needed
baq•1m ago
My understanding is Snowflake works kinda like that behind the scenes right?