frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

CG/SQL – SQL dialect compiler to C for sqlite3 mimicking stored procedures

https://ricomariani.github.io/CG-SQL-author/
12•linkdd•4d ago

Comments

DenisDolya•4d ago
CG-SQL = an attempt to give C what Python has had for a long timeconvenient “scripted” work with the database, but without losing speed.This is cool.
pjmlp•1h ago
Oracle was already doing this in the 1990's with Pro*C.

https://docs.oracle.com/cd/A97630_01/win.920/a96111/intro.ht...

Sybase and Informix also used to have something similar.

dfox•1h ago
PostgreSQL has this: https://www.postgresql.org/docs/current/ecpg.html
pjmlp•56m ago
Thanks for the heads up.
vmsp•1h ago
I'm guessing this is a fork of Facebook's abandoned library? https://github.com/facebookincubator/CG-SQL
actionfromafar•52m ago
From the repo: "Meta continues to make periodic ad hoc contributions to this fork and merge corrections back to their private repo. The maintainer thanks Meta for this continued informal cooperation."
fulafel•52m ago
Is it safe?
HexDecOctBin•25m ago
I always wonder why SQLite didn't expose a programmatic way for creating a query (as opposed to parsing SQL statements). Given that it was designed to be embedded, it seems to me that it would have made far more sense to provide an API based interface. Then, for example, stored procedures would just be function pointers passed as callbacks.

Don't rent the cloud, own instead

https://blog.comma.ai/datacenter/
858•Torq_boi•11h ago•344 comments

The New Collabora Office for Desktop

https://www.collaboraonline.com/collabora-office/
89•mfld•3h ago•45 comments

European Commission Trials Matrix to Replace Teams

https://www.euractiv.com/news/commission-trials-european-open-source-communications-software/
73•Arathorn•1h ago•38 comments

150 MB Minimal FreeBSD Installation

https://vermaden.wordpress.com/2026/02/01/150-mb-minimal-freebsd-installation/
41•vermaden•4d ago•1 comments

Company as Code

https://blog.42futures.com/p/company-as-code
145•ahamez•4h ago•77 comments

GB Renewables Map

https://renewables-map.robinhawkes.com/
80•RobinL•4h ago•30 comments

Maihem (YC W24): hiring sr robotics perception engineer (London, on-site)

https://jobs.ashbyhq.com/maihem/8da3fa8b-5544-45de-a99e-888021519758
1•mxrns•39m ago

When internal hostnames are leaked to the clown

https://rachelbythebay.com/w/2026/02/03/badnas/
356•zdw•12h ago•187 comments

Programming Patterns: The Story of the Jacquard Loom

https://www.scienceandindustrymuseum.org.uk/objects-and-stories/jacquard-loom
48•andsoitis•4d ago•16 comments

A Broken Heart

https://allenpike.com/2026/a-broken-heart/
97•memalign•4d ago•28 comments

Simply Scheme: Introducing Computer Science (1999)

https://people.eecs.berkeley.edu/~bh/ss-toc2.html
72•AlexeyBrin•4d ago•20 comments

Nanobot: Ultra-Lightweight Alternative to OpenClaw

https://github.com/HKUDS/nanobot
136•ms7892•8h ago•86 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
110•vkazanov•8h ago•27 comments

Making Ferrite Core Inductors at Home

https://danielmangum.com/posts/making-ferrite-core-inductors-home/
80•hasheddan•3d ago•18 comments

Fela Kuti First African to Get Grammys Lifetime Achievement Award

https://www.aljazeera.com/news/2026/2/1/fela-kuti-becomes-first-african-to-get-grammys-lifetime-a...
14•defrost•4d ago•3 comments

Top downloaded skill in ClawHub contains malware

https://1password.com/blog/from-magic-to-malware-how-openclaws-agent-skills-become-an-attack-surface
231•pelario•5h ago•105 comments

Wirth's Revenge

https://jmoiron.net/blog/wirths-revenge/
144•signa11•14h ago•60 comments

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

https://sqldef.github.io/
238•Palmik•4d ago•46 comments

Claude Code: connect to a local model when your quota runs out

https://boxc.net/blog/2026/claude-code-connecting-to-local-models-when-your-quota-runs-out/
358•fugu2•4d ago•187 comments

CIA to Sunset the World Factbook

https://www.abc.net.au/news/2026-02-05/cia-closes-world-factbook-online-resource/106307724
256•kshahkshah•4h ago•189 comments

Improving Unnesting of Complex Queries [pdf]

https://15799.courses.cs.cmu.edu/spring2025/papers/11-unnesting/neumann-btw2025.pdf
23•todsacerdoti•4d ago•0 comments

CG/SQL – SQL dialect compiler to C for sqlite3 mimicking stored procedures

https://ricomariani.github.io/CG-SQL-author/
12•linkdd•4d ago•8 comments

AI is killing B2B SaaS

https://nmn.gl/blog/ai-killing-b2b-saas
452•namanyayg•1d ago•674 comments

CIA suddenly stops publishing, removes archives of The World Factbook

https://simonwillison.net/2026/Feb/5/the-world-factbook/
37•ck2•3h ago•11 comments

Building a 24-bit arcade CRT display adapter from scratch

https://www.scd31.com/posts/building-an-arcade-display-adapter
186•evakhoury•1d ago•53 comments

OpenClaw is what Apple intelligence should have been

https://www.jakequist.com/thoughts/openclaw-is-what-apple-intelligence-should-have-been
449•jakequist•17h ago•378 comments

Voxtral Transcribe 2

https://mistral.ai/news/voxtral-transcribe-2
957•meetpateltech•1d ago•231 comments

An interactive version of Byrne's The Elements of Euclid (1847)

https://c82.net/euclid/
77•tzury•2d ago•17 comments

Remarkable Pro Colors

https://www.thregr.org/wavexx/rnd/20260201-remarkable_pro_colors/
127•ffaser5gxlsll•4d ago•54 comments

Claude Code for Infrastructure

https://www.fluid.sh/
256•aspectrr•23h ago•169 comments