frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We Shouldn't Fight Automation

https://www.update.news/p/why-we-shouldnt-fight-automation
1•StefanSchubert•12s ago•0 comments

First-of-a-kind stem-cell therapies set for approval in Japan

https://www.nature.com/articles/d41586-026-00585-x
1•Brajeshwar•28s ago•0 comments

Bhutan's crypto experiment shows how hard digital money is in the real world

https://restofworld.org/2026/bhutan-bitcoin-tourism-payment-adoption-failure/
1•Brajeshwar•42s ago•0 comments

AI 2027 and the Shrinking of Understanding

https://nader.io/posts/ai-2027/
1•nader•43s ago•0 comments

OpenClaw Meets Healthcare

https://evestel.substack.com/p/how-i-build-my-personal-openclaw
1•brandonb•45s ago•0 comments

I'm a 15-year-old girl. Here's the vile misogyny I face daily on social media

https://www.theguardian.com/commentisfree/2026/feb/23/15-year-old-girl-misogyny-social-media-onli...
1•randycupertino•58s ago•0 comments

Female Reproductive Tract-on-a-Chip for selecting healthier sperm

https://www.nature.com/articles/s41378-026-01165-9
1•TEHERET•58s ago•0 comments

Covert DEI Design Techniques for Earthly Survival in Hostile Contexts

https://dl.acm.org/doi/10.1145/3750069.3755946
1•tokai•1m ago•0 comments

LFM2-24B-A2B: Scaling Up the LFM2 Architecture

https://www.liquid.ai/blog/lfm2-24b-a2b
1•salkahfi•1m ago•0 comments

Some SQL history lesson with Oracle V2

https://databaseblog.myname.nl/2026/02/some-sql-history-with-oracle-v2.html
1•dveeden2•1m ago•0 comments

Metabolism, not cells or genetics, may have begun life on Earth

https://bigthink.com/starts-with-a-bang/metabolism-begun-life-earth/
1•Brajeshwar•1m ago•0 comments

Walkman.land

https://walkman.land/
1•ohjeez•1m ago•0 comments

Show HN: DoNotify – Google Calendar reminders as phone calls(not notifications)

https://donotifys.com
1•micahele•1m ago•0 comments

There's software, and then there's promptware

https://kelvinfichter.com/pages/thoughts/promptware/
1•kfichter•3m ago•0 comments

EDRi Open Letter: We say no to Big Tech mass snooping on our messages

https://edri.org/our-work/open-letter-we-say-no-to-big-tech-mass-snooping-on-our-messages/
1•robtherobber•4m ago•0 comments

Tim Cook Warned by CIA That China Could Move on Taiwan by 2027

https://www.macrumors.com/2026/02/24/tim-cook-warned-by-cia-china-taiwan-2027/
1•stalfosknight•4m ago•1 comments

IBM stock tumbles 10% after Anthropic launches COBOL AI tool

https://finance.yahoo.com/news/ibm-stock-tumbles-10-anthropic-194042677.html
2•jspdown•6m ago•0 comments

Data center builders thought farmers would willingly sell land, learn otherwise

https://arstechnica.com/tech-policy/2026/02/im-not-for-sale-farmers-refuse-to-take-millions-in-da...
3•stalfosknight•7m ago•0 comments

Towards a Science of AI Agent Reliability

https://arxiv.org/abs/2602.16666
1•smartmic•7m ago•0 comments

How we made Docker builds 193x faster across AI agent sessions

https://blog.helix.ml/p/how-we-made-docker-builds-193x-faster
1•quesobob•9m ago•0 comments

Ask HN: Did your client ever replace you by a more junior freelancer?

1•goingbananas•10m ago•0 comments

Addressing your questions about the Cyber Resilience Act

https://fsfe.org/news/2026/news-20260224-01.html
2•Tomte•10m ago•0 comments

I don't care what tools you use. But – and this is a big but

https://come-from.mad-scientist.club/@algernon/statuses/01KHYGWT17C1HNKRCVBMYTZVHQ
2•latexr•12m ago•0 comments

Show HN: StarkZap – Gasless Bitcoin Payments SDK for TypeScript

https://github.com/keep-starknet-strange/starkzap
1•starkience•12m ago•2 comments

Mercury 2: Diffusion Reasoning Model

https://www.inceptionlabs.ai/blog/introducing-mercury-2
2•zof3•12m ago•0 comments

SpacetimeDB 2.0 [video]

https://www.youtube.com/watch?v=C7gJ_UxVnSk
9•aleasoni•12m ago•1 comments

Show HN: Awsim – Lightweight AWS emulator in Go (40 services in progress)

https://github.com/sivchari/awsim
2•sivchari•13m ago•0 comments

Stripe valued at $159B, 2025 annual letter

https://stripe.com/newsroom/news/stripe-2025-update
3•jez•13m ago•0 comments

The Schema Language Question: The Quest for a Single Source of Truth

https://www.chiply.dev/post-schema-languages
1•chiply•13m ago•0 comments

OpenClaw led to a user's Gmail account being disabled

https://twitter.com/iamlukethedev/status/2025782621066899873
2•idoxer•14m ago•0 comments
Open in hackernews

Show HN: SNKV – SQLite's B-tree as a key-value store (C/C++ and Python bindings)

https://github.com/hash-anu/snkv
35•swaminarayan•1h ago
SQLite has six layers: SQL parser → query planner → VDBE → B-tree → pager → OS. (https://sqlite.org/arch.html) For key-value workloads you only need the bottom three.

SNKV cuts the top three layers and talks directly to SQLite's B-tree engine. No SQL strings. No query planner. No VM. Just put/get/delete on the same storage core that powers SQLite.

Python:

    pip install snkv

    from snkv import KVStore

    with KVStore("mydb.db") as db:
        db["hello"] = "world"
        print(db["hello"])   # b"world"
C/C++ (single-header, drop-in):

    #define SNKV_IMPLEMENTATION
    #include "snkv.h"

    KVStore *db;
    kvstore_open("mydb.db", &db, KVSTORE_JOURNAL_WAL);
    kvstore_put(db, "key", 3, "value", 5);
Benchmarks vs SQLite WITHOUT ROWID (1M records, identical settings):

  Sequential writes  +57%
  Random reads       +68%
  Sequential scan    +90%
  Random updates     +72%
  Random deletes    +104%
  Exists checks      +75%
  Mixed workload     +84%
  Bulk insert        +10%
Honest tradeoffs: - LMDB beats it on raw reads (memory-mapped) - RocksDB beats it on write-heavy workloads (LSM-tree) - sqlite3 CLI won't open the database (schema layer is bypassed by design)

What you get: ACID, WAL concurrency, column families, crash safety — with less overhead for read-heavy KV workloads.

Comments

Retr0id•1h ago
I'm surprised by your benchmark results.

I've considered building this exact thing before (I think I've talked about it on HN even), but the reason I didn't build it was because I was sure (on an intuitive level) the actual overhead of the SQL layer was negligible for simple k/v queries.

Where does the +104% on random deletes (for example) actually come from?

swaminarayan•1h ago
Fair skepticism — I had the same intuition going in.

The SQL layer overhead alone is probably small, you're right. The bigger gain comes from a cached read cursor. SQLite opens and closes a cursor on every operation. SNKV keeps one persistent cursor per column family sitting open on the B-tree. On random deletes that means seek + delete on an already warm cursor vs. initialize cursor + seek + delete + close on every call.

For deletes there's also prepared statement overhead in SQLite — even with prepare/bind/step/reset, that's extra work SNKV just doesn't do.

I'd genuinely like someone else to run the numbers. Benchmark source is in the repo if you want to poke at it — tests/test_benchmark.c on the SNKV side and https://github.com/hash-anu/sqllite-benchmark-kv for SQLite. If your results differ I want to know.

Retr0id•1h ago
What does "column family" mean in this context?
swaminarayan•1h ago
A named key space within the same database file — keys in "users" don't collide with keys in "sessions" but both share the same WAL and transaction.
bflesch•1h ago
Did you measure the performance impact of having multiple trees in a single file vs. having one tree per file? I'd assume one per file is faster, is that correct?
swaminarayan•40m ago
no dont know about it. I will check it out.
d1l•1h ago
Are you using ai for the comment replies too?!
derwiki•1h ago
Everyone knows the emdash is a giveaway, and they are being left in
altmanaltman•1h ago
are you reading what you're writing?
d1l•1h ago
It's a nonstop slop funnel as far as I can tell. Only ashamed I've been here for more than 5 minutes.
swaminarayan•39m ago
yes
nightfly•1h ago
It "only" doubles performance so the overheads aren't that heavy
snowhale•48m ago
the benchmark probably controls for this implicitly but wondering if they used prepared statements in the sqlite baseline. the query planner overhead is negligible for a simple put/get after the first parse, but the vtable dispatch and statement compilation on every call can add up. if the baseline is using raw sqlite3_exec strings rather than prepared + bound params, that would explain a chunk of the gap.
swaminarayan•15m ago
I have used this https://github.com/hash-anu/sqllite-benchmark-kv/blob/main/t..., in which I called sqlite3_exec for only setting PRAGMA settings, for main operations I never used it. I have used prepared/bound/step/reset functions only. so the gap isn't statement compilation overhead and the comparison is fair
m00dy•1h ago
I did the same on rust, sqlite btree behind actix. It is amazing that you don't need redis anymore.
silon42•1h ago
You never did if you're happy with local files. See dbm, gdbm, Berkeley DB...
rurban•1h ago
It doesn't beat a hashtable, but has faster sequential (=ordered) reads, and can do range iterators. The examples to not reflect that.

All random accesses are slower.

d1l•1h ago
Vibe coded trash.

that credulous hn readers will upvote this is alarming.

tlb•1h ago
What's the evidence that this is vibe-coded? Or trash?
jitl•1h ago
the readme seems like it was written to some degree by claude. if u work long enough with claude u start to pick up on its style/patterns
d1l•1h ago
If you can't tell then I'm not sure what more needs to be said. I took a look through the commit history and it was glaringly obvious to me.

To trust something like data-storage to vibe-coded nonsense is incredibly irresponsible. To promote it is even moreso. I'm just surprised you can't tell, too.

debugnik•1h ago
I don't know about trash, but this post, this repo and even their comments on this thread are blatantly written by an AI. If you still need to ask for evidence, consider that you might be AI-blind.
woadwarrior01•1h ago
Related: lite3[1] a binary JSON like serialization format using B-trees.

[1]: https://github.com/fastserial/lite3

swaminarayan•13m ago
I just looked into .c files into it, it is not using any of sqlite files. In my project I am using only sqlite layers, which are battle tested.
franticgecko3•1h ago
OP seems to self promote this project and other similar vibe coded works every few weeks under two different HN handles.

Edit: for me this post appears on the front page of HN. OP this is mission success - add this project to your résumé and stop spamming.

gjgtcbkj•1h ago
Yeah I wish substack would stop doing this too. They keep inserting their brand in HN under different handles.
swaminarayan•8m ago
this is not vibe coded project, this is developed by understanding sqlite code. Have you ever looked into examples ? Have you checked the code ? Now my post got flagged. and If I use AI to understand code than what is wrong with that ? what is the use of AI ? to make person more productive, right ?