Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Jemalloc 5.4.0(github.com/jemalloc ↗)
    31comments
  2. The scourge of x86 emulation(fex-emu.com ↗)
    18comments
  3. Astra for Law(openai.com ↗)
    515comments
  4. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    126comments
  5. When the fractional part of a float fixes your shader(crocidb.com ↗)
    1comments
  6. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    211comments
  7. Qwen 3.8 Omni Flash(qwen.ai ↗)
    73comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    162comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    31comments
  10. Wax motor(wikipedia.org ↗)
    66comments
  11. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    136comments
  12. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    227comments
  13. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    7comments
  14. How to Write with an LLM(sockpuppet.org ↗)
    86comments
  15. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    21comments
  16. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    53comments
  17. Why Does the Universe Expand?(cosmicave.org ↗)
    49comments
  18. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  19. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    23comments
  20. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    37comments
  21. The most important product decision is what you don't build(liamnugent.me ↗)
    35comments
  22. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    9comments
  23. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    6comments
  24. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    363comments
  25. CrowdSec Source Code Leak(crowdsec.net ↗)
    46comments
  26. Khipu (Quipu) Field Guide(khipufieldguide.com ↗)
    discuss
  27. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    104comments
  28. Show HN: Snapdrop: Instantly share files between devices. No setup, no signup(snapdrop.me ↗)
    34comments
  29. Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data(arxiv.org ↗)
    39comments
  30. How Uber Protects Against Retry Storms(uber.com ↗)
    39comments

Comparing Postgres Managed Services: AWS, Azure, GCP and Supabase

68 pointsby 2y agoblog.peerdb.io
17 comments
2y agoHN ↗

Feature set of Postgres on AWS in the article omits Babelfish feature. It is definitely worth mentioning, at least for some unfortunate people who are stuck with SQL Server, but would like to use Postgres as all others do. When you can use BCP or OPENQUERY to move your data to Postgres, instead of COPY - this can make a big difference for some of us.

2y agoHN ↗

Nice comparison, but I would have found it more interesting and closer to reality if they enable HA.

2y agoHN ↗

Do what it’s worth supabase definitely feels slow to me. Neon, in contrast, feels lightning fast for my workloads.

2y agoHN ↗

for what it's worth i use supabase because it's the fastest way to get from 0-1 for app development. most backend stuff for getting off the ground is not very interesting so getting the graphql api, oauth integration, db migrations, some user authorization story for free is what i'm looking for from supabase.

2y agoHN ↗

I’m using Supabase for similar reasons but there’s one specific situation I’m trying to sort out.

Say you have a user “profile” which includes their privileges - like say a column named “privileges” which is some JSON object denoting what they can/can’t do.

Even with RLS, how do you ensure that a user can’t simply make a curl call with their own JWT to elevate their own privileges?

Basically, how to enforce column level security?

The best thing I can think of is to place “privileges” in a child table and only let the service account update that table.

2y agoHN ↗

You could create a trigger that always keeps the value the same unless user has privileges to change it. Or alternatively the RLS rule could check if the column is being updated and abort the call if it is. I’m using a different table that is read-only to regular users to accomplish this.

2y agoHN ↗

i think i would have permissions in a different table

2y agoHN ↗

Supabase is alpha testing column level security as a Feature Preview that you have to enable in your project. I’m using it now. Works well.

2y agoHN ↗

Thanks for sharing. Wasn’t aware of this. Will check it out today.

For now, I figured I’d have an BEFORE UPDATE trigger which compares the md5(NEW.privileges::text) with md5(OLD.privileges::text) and raises an error if they don’t match.

Not sure how to bypass the trigger for service accounts.

2y agoHN ↗

I would like to also to see a comparison based on price, and not focused on matching the specs. Given $500 per month, which gives the best performance? At that price level, the different cpu architectures could make a significant difference.

They could test multiple datasets to see who handles large data sets best, high read/write ratio etc.

2y agoHN ↗

I don't think this is a fair comparison. You cannot put your db in cloud provider A and run your application in cloud provider B.

2y agoHN ↗

When I use supabase, I'm really interested in an authenticated, isomorphic, strongly-typed JS client, that's also configured to listen to realtime updates to my database.

2y agoHN ↗

I would have liked to see how GCP AlloyDB fares in a comparison like this. I don't know whether AWS and Azure have similar offerings, if yes, these would have been interesting as well.

2y agoHN ↗

I believe AlloyDB is GCP’s flavor of AWS Aurora.