frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Web-SQLite-JS – Persistent SQLite in the browser via OPFS

https://web-sqlite-js.wuchuheng.com
1•wuchuheng•1h ago
I built web-sqlite-js because I wanted an "out-of-the-box" way to use SQLite WASM with persistence.

While the official SQLite WASM build is excellent, setting it up with the Origin Private File System (OPFS), handling the Web Worker communication, and ensuring concurrency safety (Mutex) involves a fair amount of boilerplate.

This library handles: - *Worker Orchestration*: Spawns and manages the SQLite worker. - *Persistence*: Automatically uses OPFS for file storage. - *SharedArrayBuffer Support*: Required for high-performance VFS. - *Safe Concurrency*: A built-in Mutex ensures that SQL commands and transactions are executed sequentially even if called concurrently from the main thread.

It’s designed for "local-first" apps where you want the reliability of a relational database without needing a backend for every query.

GitHub: https://github.com/wuchuheng/web-sqlite-js Docs: https://web-sqlite-js.wuchuheng.com

I'd love to hear your thoughts on the approach or any feedback on the API design.

Show HN: Crunch – A Message Definition and Serdes Tool for Getting Things Right

https://github.com/sam-w-yellin/crunch
1•volatileint•24s ago•0 comments

Where Do New Ideas Come From?

https://himanshusinghbisht.substack.com/p/where-do-new-ideas-come-from
1•gilfoyle_7•48s ago•0 comments

Linux 6.19 Lands Fix for Seagate Barracuda HDD Taking Down the SATA Bus

https://www.phoronix.com/news/Linux-6.19-Seagate-HDD-Fix
1•Bender•1m ago•0 comments

Dismantling Defenses: Trump 2.0 Cyber Year in Review

https://krebsonsecurity.com/2025/12/dismantling-defenses-trump-2-0-cyber-year-in-review/
1•Bender•1m ago•0 comments

European Rail in Numbers (2025)

https://chuuchuu.com/2025wrapped
1•Gigacore•1m ago•0 comments

Dell says Win 11 transition is far slower than Win 10, yet PC sales have stalled

https://www.theregister.com/2025/11/26/dell_q3_2026/
1•PaulHoule•5m ago•0 comments

Show HN: tmpo – Minimal CLI time tracker with auto-detection for developers

https://github.com/DylanDevelops/tmpo
1•dylandevelops•5m ago•1 comments

Lofoten Islands Hiking

https://www.switchbacktravel.com/norway/lofoten-islands/hiking
1•mooreds•5m ago•0 comments

TunnelBear dropping custom server selection and split tunnel from its free tier

https://www.techradar.com/vpn/vpn-services/tunnelbear-reshapes-its-free-vpn-model-amid-rising-inf...
1•catlikesshrimp•5m ago•1 comments

Mountain home near Aspen, built for monks, sold to Palantir CEO for $120M

https://coloradosun.com/2025/12/19/monastery-sells-palantir-ceo/
1•mooreds•6m ago•0 comments

Ymery – Build Dear ImGui apps with YAML instead of code

https://github.com/zokrezyl/ymery
1•zokrezyl•6m ago•0 comments

When to Turn Off Your Lights

https://www.energy.gov/energysaver/when-turn-your-lights
1•mooreds•7m ago•0 comments

I got tired of losing track of job applications in spreadsheets

https://trackmyjobs.fyi/
1•yonikeshagun•8m ago•1 comments

Waymo suspends service in San Francisco as robotaxis stall during blackout

https://techcrunch.com/2025/12/21/waymo-suspends-service-in-san-francisco-as-robotaxis-stall-duri...
3•SilverElfin•9m ago•0 comments

AI Boom vs. Main Street: a data-backed look using public macro indicators

https://baselight.app/u/pjsousa/dashboard/the-ai-boom-vs-main-street
1•pjsousa79•10m ago•1 comments

A Biography of Earth Across the Age of Animals

https://www.quantamagazine.org/climate-extremes-are-a-hallmark-of-the-age-of-animals-20250915/
1•the__alchemist•11m ago•0 comments

Invisible infrared surveillance technology and those caught in its digital cage

https://apnews.com/photo-essay/chinese-surveillance-silicon-valley-tech-photo-essay-2da6d9ae5c29d...
1•NN88•11m ago•0 comments

Inverse Parentheses

https://kellett.im/a/inverse-parentheses
2•todsacerdoti•12m ago•0 comments

AI language models duped by poems

https://www.dw.com/en/ai-language-models-duped-by-poems/a-75180648
1•yladiz•13m ago•0 comments

What the Smartest Minds Think About AI

https://www.wsj.com/tech/ai/ai-conference-neurips-ff6398df
1•ironyman•15m ago•0 comments

How AI can bring on a second Industrial Revolution – Kevin Kelly (2017) [video]

https://www.youtube.com/watch?v=IjbTiRbeNpM
1•danielfalbo•18m ago•0 comments

Generating Data Shapes with Hypothesis

https://nedbatchelder.com/blog/202512/generating_data_shapes_with_hypothesis.html
1•ingve•20m ago•0 comments

Police push back on potential ban on Chinese-made drones

https://www.latimes.com/business/story/2025-12-18/security-concerns-mount-as-police-departments-f...
2•bookofjoe•23m ago•1 comments

Get an AI code review in 10 seconds

https://oldmanrahul.com/2025/12/19/ai-code-review-trick/
1•oldmanrahul•23m ago•0 comments

Global warming could trigger the next Ice Age

https://www.sciencedaily.com/releases/2025/12/251221043231.htm
1•ashishgupta2209•25m ago•1 comments

Idea: AI suggests code changes but execution decides What's wrong with this?

1•adhamghazali•26m ago•0 comments

Skybridge: TypeScript Framework for ChatGPT Apps

https://github.com/alpic-ai/skybridge
1•smurda•28m ago•0 comments

Samsung announces Exynos 2600, the first 2nm mobile chip

https://semiconductor.samsung.com/processor/mobile-processor/exynos-2600/
1•akyuu•33m ago•0 comments

What Is a DNS Leak?

https://www.dnsleaktest.com/what-is-a-dns-leak.html
1•Aldipower•33m ago•0 comments

Can Claude teach me to make coffee?

https://www.lesswrong.com/posts/aZYr5MBhxEbPQSt5N/can-claude-teach-me-to-make-coffee
1•A_Duck•33m ago•1 comments