frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The way CTRL-C in Postgres CLI cancels queries is incredibly hack-y

https://neon.com/blog/ctrl-c-in-psql-gives-me-the-heebie-jeebies
47•andrenotgiant•2d ago

Comments

jtwaleson•1h ago
From the title I was hoping for this being hacky on the server application side, like how it aborts and clears the memory for a running query.

Still an interesting read. Just wondering, why can't the TCP connection of the query not be used to send a cancellation request? Why does it have the be out of band?

toast0•1h ago
I don't know much about postgres, but as I understand it, it's a pretty standard server application. Read a request from the client, work on the request, send the result, read the next request.

Changing that to poll for a cancellation while working is a big change. Also, the server would need to buffer any pipelined requests while looking for a cancellation request. A second connection is not without wrinkles, but it avoids a lot of network complexity.

bob1029•49m ago
MSSQL uses a special message over an existing connection:

https://learn.microsoft.com/en-us/openspecs/windows_protocol...

michalc•46m ago
I think I can understand why this wasn’t addressed for so long: in the vast majority of cases if your db is exposed on a network level to untrusted sources, then you probably have far bigger problems?

PC Gamer recommends RSS readers in a 37mb article that just keeps downloading

https://stuartbreckenridge.net/2026-03-19-pc-gamer-recommends-rss-readers-in-a-37mb-article/
578•JumpCrisscross•14h ago•266 comments

Can you get root with only a cigarette lighter? (2024)

https://www.da.vidbuchanan.co.uk/blog/dram-emfi.html
57•HeliumHydride•2d ago•10 comments

Tin Can, a 'landline' for kids

https://www.businessinsider.com/tin-can-landline-kids-cellphone-cell-alternative-how-2025-9
119•tejohnso•2d ago•85 comments

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

https://larstofus.com/2026/03/22/the-gold-standard-of-optimization-a-look-under-the-hood-of-rolle...
358•mariuz•13h ago•111 comments

The way CTRL-C in Postgres CLI cancels queries is incredibly hack-y

https://neon.com/blog/ctrl-c-in-psql-gives-me-the-heebie-jeebies
47•andrenotgiant•2d ago•4 comments

The future of version control

https://bramcohen.com/p/manyana
513•c17r•17h ago•285 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
390•stevekrouse•21h ago•287 comments

Why I love NixOS

https://www.birkey.co/2026-03-22-why-i-love-nixos.html
303•birkey•15h ago•212 comments

Plane and ground vehicle collide at New York's LaGuardia airport halting flights

https://www.bbc.com/news/articles/cy01g522ww4o
24•mememememememo•1h ago•12 comments

AI Proteomics Competition 2026 – $13K Prize, Internships and Compute Support

https://www.bohrium.com/competitions/9813928053?tab=introduce
4•choubao•1h ago•2 comments

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
434•jensgk•20h ago•145 comments

Flash-MoE: Running a 397B Parameter Model on a Laptop

https://github.com/danveloper/flash-moe
347•mft_•21h ago•114 comments

Walmart: ChatGPT checkout converted 3x worse than website

https://searchengineland.com/walmart-chatgpt-checkout-converted-worse-472071
6•speckx•3d ago•1 comments

GoGoGrandparent (YC S16) is hiring Back end Engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•4h ago

A Copy-Paste Bug That Broke PSpice AES-256 Encryption

https://jtsylve.blog/post/2026/03/18/PSpice-Encryption-Weakness
39•jtsylve•3d ago•10 comments

MAUI Is Coming to Linux

https://avaloniaui.net/blog/maui-avalonia-preview-1
200•DeathArrow•16h ago•101 comments

GrapheneOS will remain usable by anyone without requiring personal information

https://grapheneos.social/@GrapheneOS/116261301913660830
387•nothrowaways•11h ago•103 comments

They're Vibe-Coding Spam Now

https://tedium.co/2026/02/25/vibe-coded-email-spam/
83•raybb•10h ago•49 comments

Five years of running a systems reading group at Microsoft

https://armaansood.com/posts/systems-reading-group/
157•Foe•15h ago•45 comments

What young workers are doing to AI-proof themselves

https://www.wsj.com/economy/jobs/ai-jobs-young-people-careers-14282284
126•wallflower•14h ago•209 comments

Migrating the American express payment network, twice

https://americanexpress.io/migrating-the-payments-network-twice/
66•madflojo•8h ago•22 comments

You are not your job

https://jry.io/writing/you-are-not-your-job/
144•jryio•17h ago•161 comments

Building an FPGA 3dfx Voodoo with Modern RTL Tools

https://noquiche.fyi/voodoo
188•fayalalebrun•19h ago•42 comments

LLMs predict my coffee

https://dynomight.net/coffee/
111•surprisetalk•4d ago•47 comments

Intuitions for Tranformer Circuits

https://www.connorjdavis.com/p/intuitions-for-transformer-circuits
52•cjamsonhn•7h ago•3 comments

Ordered dithering with arbitrary or irregular colour palettes (2023)

https://matejlou.blog/2023/12/06/ordered-dithering-for-arbitrary-or-irregular-palettes/
29•surprisetalk•5d ago•0 comments

More common mistakes to avoid when creating system architecture diagrams

https://www.ilograph.com/blog/posts/more-common-diagram-mistakes/
184•billyp-rva•20h ago•56 comments

How to attract AI bots to your open source project

https://nesbitt.io/2026/03/21/how-to-attract-ai-bots-to-your-open-source-project.html
124•zdw•1d ago•19 comments

World Cup Trophy Theft: Gangsters, Spies and the Dog That Found It

https://www.bloomberg.com/news/articles/2026-03-20/the-1966-world-cup-trophy-theft-gangsters-spie...
4•helsinkiandrew•2d ago•2 comments

First and Lego Education Partnership Update

https://community.firstinspires.org/first-lego-education-partnership-update
40•jchin•3d ago•17 comments