frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

A New Father's Reflections on the American Dream

https://interconnect.substack.com/p/a-new-fathers-reflections-on-the
1•mountainview•36s ago•0 comments

The 'Space for All' T-Shirt

https://shop.esa.int/products/the-space-for-all-t-shirt
1•doener•2m ago•0 comments

Ask HN: Do you regret not being a Dr, lawyer, or something with advanced degree?

1•AbstractH24•5m ago•0 comments

Show HN: Certimon – Free Telegram bot to monitor SSL certificate expiry

https://certimon.com/
2•boros2me•6m ago•0 comments

A universal interface connecting you to premier AI models

https://tenzorro.com/en/models
2•paulo20223•13m ago•0 comments

Show HN: Recent incident inspired-community log of frauds/scams by individuals

https://www.aretheyblacklisted.com
2•abhinav95•18m ago•0 comments

Synthetic proteins are being built with the help of AI models

https://www.economist.com/science-and-technology/2025/07/02/ai-is-helping-to-design-proteins-from-scratch
2•alexcos•20m ago•1 comments

Show HN: LogDog – Remote Debugging and Mocking for Mobile Apps

https://logdog.app
2•modrena•21m ago•1 comments

What a $500k grants looks like (2022)

https://austinhenley.com/blog/500kgrant.html
2•azhenley•21m ago•0 comments

Elon Musk Forms a New Political Party to Challenge Trump and the Republicans

https://gizmodo.com/elon-musk-forms-a-new-political-party-to-challenge-trump-and-the-republicans-2000624457
9•saubeidl•21m ago•0 comments

Vehicles to be freed from car park after two years

https://www.msn.com/en-us/news/world/vehicles-to-be-freed-from-car-park-after-two-years/ar-AA1DwTun
3•gscott•24m ago•0 comments

Noam Chomsky on ChatGPT, AI, Universal Grammar, Language and Mind (2023)

https://singjupost.com/transcript-noam-chomsky-on-chatgpt-ai-universal-grammar-language-and-mind/
2•lgtx•25m ago•0 comments

Show HN: Created a astrojs website for my dungeon crawler game – just went live

https://quickdungeoncrawler.com/
2•logTom•27m ago•0 comments

Automatically Evaluating AI Coding Assistants with Each Git Commit

https://www.tensorzero.com/blog/automatically-evaluating-ai-coding-assistants-with-each-git-commit/
3•vrm•31m ago•0 comments

WIP Silent Hill decompilation project

https://github.com/Vatuu/silent-hill-decomp
2•retro_guy•35m ago•0 comments

Coding with AI agents using the Breadcrumb Protocol

https://dasith.me/2025/04/02/vibe-coding-breadcrumbs/
2•bluehex•36m ago•0 comments

Engineer caught juggling multiple startup jobs is a cautionary tale

https://www.cnbc.com/2025/07/05/soham-parekh-working-many-tech-jobs-at-once-takes-hustle-culture-to-extreme.html
2•nateb2022•36m ago•0 comments

OpenMW 0.49.0 released (open-source Morrowind reimplementation)

https://openmw.org/2025/openmw-0-49-0-released/
3•agluszak•39m ago•0 comments

How to crack FAANG coding interviews

https://www.mlwhiz.com/p/how-to-crack-faang-coding-interviews
2•ai_unwrapped•42m ago•0 comments

Artificial Intelligence in Miniature Format for Small Devices

https://www.tugraz.at/en/news/article/kuenstliche-intelligenz-im-miniaturformat-fuer-kleinstgeraete
2•gnabgib•42m ago•0 comments

The Self That Never Was

https://hedgehogreview.com/web-features/thr/posts/the-self-that-never-was
4•rntn•45m ago•1 comments

Techno-Feudalism and the Rise of AGI: A Future Without Economic Rights?

https://arxiv.org/abs/2503.14283
3•lexandstuff•46m ago•0 comments

How to Crack ML System Design Interviews

https://www.mlwhiz.com/p/crack-ml-system-design-interviews
2•ai_unwrapped•48m ago•0 comments

WinUAE 6.0.0 Amiga Emulator

https://www.winuae.net/
8•doener•52m ago•0 comments

Show HN: Web Metadata search. Search for headers, web apps, CMSs, and versions

https://dnsarchive.net/web-search
2•danielcid•52m ago•0 comments

A100 is a puzzle game inspired by the mobile game „1010 " by Gram Games

https://cobour.itch.io/a100
2•doener•53m ago•0 comments

How Tether became money-launderers' dream currency

https://www.economist.com/1843/2025/07/04/how-tether-became-money-launderers-dream-currency
4•simonebrunozzi•53m ago•0 comments

Inertial forces (indirect terms) in problems with a central body

https://astro.theoj.org/article/141682-on-inertial-forces-indirect-terms-in-problems-with-a-central-body
2•raattgift•54m ago•0 comments

Video captured during Alberta storm could be rare ball lightning event

https://globalnews.ca/news/11272805/alberta-storm-lightning-ball-video-july/
2•amichail•56m ago•0 comments

How to Network as an Introvert

https://aginfer.bearblog.dev/how-to-network-as-an-introvert/
3•agcat•59m ago•0 comments
Open in hackernews

Speeding up PostgreSQL dump/restore snapshots

https://xata.io/blog/behind-the-scenes-speeding-up-pgstream-snapshots-for-postgresql
60•tudorg•5h ago

Comments

hadlock•2h ago
One thing that's sorely needed in the official documentation is a "best practice" for backup/restore from "cold and dark" where you lose your main db in a fire and are now restoring from offsite backups for business continuity. Particularly in the 100-2TB range where probably most businesses lie, and backup/restore can take anywhere from 6 to 72 hours, often in less than ideal conditions. Like many things with SQL there's many ways to do it, but an official roadmap for order of operations would be very useful for backup/restore of roles/permissions, schema etc. You will figure it out eventually, but in my experience the dev and prod db size delta is so large many things that "just work" in the sub-1gb scale really trip you up over 200-500gb. Finding out you did one step out of order (manually, or badly written script) halfway through the restore process can mean hours and hours of rework. Heaven help you if you didn't start a screen session on your EC2 instance when you logged in.
forinti•1h ago
If you can have a secondary database (at another site or on the cloud) being updated with streaming replication, you can switch over very quickly and with little fuss.
SoftTalker•1h ago
Which is what you must do if minimizing downtime is critical.

And, of course, your disaster recovery plan is incomplete until you've tested it (at scale). You don't want to be looking up Postgres documentation when you need to restore from a cold backup, you want to be following the checklist you have in your recovery plan and already verified.

nijave•1h ago
Ideally off-site replica you fail over too and don't need to restore.

pg_restore will handle roles, indexes, etc assuming you didn't switch the flags around to disable them

If you're on EC2, hopefully you're using disk snapshots and WAL archiving.

moribunda•1h ago
While these optimizations are solid improvements, I was hoping to see more advanced techniques beyond the standard bulk insert and deferred constraint patterns. These are well-established PostgreSQL best practices - would love to see how pgstream handles more complex scenarios like parallel workers with partition-aware loading, or custom compression strategies for specific data types.
bitbasher•1h ago
pg_bulkload[1] has saved me so much time cold restoring large (1+ TB) databases. It went from 24-72 hours to an hour or two.

I also recommend pg_repack[2] to squash tables on a live system and reclaim disk space. It has saved me so much space.

1: https://ossc-db.github.io/pg_bulkload/pg_bulkload.html

2: https://github.com/reorg/pg_repack

jpalawaga•1h ago
Postgres backups are tricky for sure. Even if you have a DR plan you should assume your incremental backups are no good and you need to restore the whole thing from scratch. That’s your real DR SLA.

If things go truly south, just hope you have a read replica you can use as your new master. Most SLAs are not written with 72h+ of downtime. Have you tried the nuclear recovery plan, from scratch? Does it work?