Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Training a 4B model to produce 81% faster query plans than Postgres(rohanbansal.com ↗)
    64comments
  2. Breaking the 1.58-bit Barrier for Ternary LLMs(arxiv.org ↗)
    8comments
  3. Nvidia announces native GPU programming in Rust(nvidia.com ↗)
    36comments
  4. Xiaomi Mimo 2.6 live post-training dashboard(xiaomi.com ↗)
    51comments
  5. Small programming tricks(will-keleher.com ↗)
    173comments
  6. Backups Aren't Simple(filipovski.net ↗)
    8comments
  7. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    1comments
  8. The engineering behind the US Strategic Petroleum Reserve(johnjwang.com ↗)
    3comments
  9. Reversing Factorio's RNG(gegell.github.io ↗)
    11comments
  10. Performance Improvements in .NET 11(devblogs.microsoft.com/dotnet ↗)
    20comments
  11. AWS says it can't restore some data from mideast facilities struck by Iran(wsj.com ↗)
    136comments
  12. Accurate Models of AMD Matrix Cores(arxiv.org ↗)
    6comments
  13. Reverse-engineered Jev-like model(github.com/vinnylarouge ↗)
    7comments
  14. Australia says it could follow Canada in forging deeper ties with EU(independent.co.uk ↗)
    2comments
  15. Japan's book scene is moving from bookstores to libraries(untranslatedjp.substack.com ↗)
    25comments
  16. How good are frontier models at physics?(arxiv.org ↗)
    25comments
  17. Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations(github.com/arnegiacomo ↗)
    236comments
  18. Mistral X Mozilla: Private, Multilingual AI Browsing(mistral.ai ↗)
    182comments
  19. Dream-RSI: Recursive Self-Improvement through Evolving Worlds(arxiv.org ↗)
    49comments
  20. Anatomy of a Texture(agentlien.github.io ↗)
    12comments
  21. Anecdotally, programmers dislike "reduce"(evanhahn.com ↗)
    121comments
  22. WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL(clickhouse.com ↗)
    5comments
  23. Training Text-to-Image Models 3.6× Faster(linum.ai ↗)
    1comments
  24. Vectorized and performance-portable Quicksort (2022)(googleblog.com ↗)
    25comments
  25. Hackers Got Inside a Flock Camera(wired.com ↗)
    208comments
  26. Why Does the Universe Expand?(cosmicave.org ↗)
    1comments
  27. The DeepMind Institute(deepmind.com ↗)
    42comments
  28. Destroy After Reading: photocopiers,cheap paper and DIY gave metal it's look(truegrittexturesupply.com ↗)
    1comments
  29. Kyber (YC W23) Is Hiring a Forward Deployed Engineer(ycombinator.com ↗)
    discuss
  30. I replaced my brown-noise browser tab with a menu bar app(oldmanrahul.com ↗)
    discuss

Backups Aren't Simple

28 pointsby 3h agofilipovski.net
6 comments
33m agoHN ↗

"Obviously, none of this is worth anything if you don’t actually test restores."

One of my teachers claimed that contrary to common behavior, no one actually valued backups; it was restores that were worth paying for.

17m agoHN ↗

It is a special sensation when you go to your hand rolled backup "solution" to make some simple recoveries and start finding problems. It is a complex mix of not dread but disgust, sick to your stomach, self-anger, and loss. I can only image what that's like with like all of your children's baby pictures being the lost material. Borg and restic are fantastic, it still seems like some sort of dummy proof mode might be desirable, all the features in the world and they have some some reasonably sane policy or something that includes verifications.

On the flip side of that though, really and truly, I've restored a laptop from a timemachine backup and it came back damn nearly identical and that was magical.

13m agoHN ↗

Try running a business on that basis - where do the restores come from? 8)

We charge our customers for backup storage by volume and that includes an annual demonstration of recovery. We fire up some or all of their systems on our gear in isolation and show that they are reasonably functional.

Your teacher's comment is riffing on the well trod lines of: "heights don't kill people, it's depths that kill people", which is all about perspective. This is is not related to "guns don't kill people ..." which is about agency.

30m agoHN ↗

So is apparently making readable site.

Software like https://restic.net/ does a good job. Few choices of backend

Accepts stuff from pipe too so you can just pipe mysqldump or pg_dumpall without intermediate files

Very decent options for checking repo integrity, personally (well, at work too, we use it on few hundred user machines and servers) I also added "roll a dice for backup and try to restore it" test script to make sure it is working

Decent deduplication too so "store year's worth of weekly snapshot" is very sensible strategy once you exclude the "constantly changing and useless" (caches etc.) files out of it

can mount FUSE directory with all backups on sensible OSes.

https://kopia.io/ does the same +GUI but a bit worse on CLI front (it insists on keeping local config which makes scripting a bit more involved, but not much)

29m agoHN ↗

"encrypted, chunk-level deduplicated, GFS-rotated, point-in-time archived, cloud, 3-2-1 backup solution" is now my newest password, no commas. (Don't tell anyone!)

21m agoHN ↗

Change the o in rotated to a 0 and you might have a secure password.