Better HN
topnewbestaskshowjobs
Log inSign up

levkk

2,589 karma · joined Feb 9, 2022 (4y ago) · 386 submissions

Sharding Postgres. <https://pgdog.dev>

lev@pgdog.dev

Submissions

comment 5d ago · link · parent

If it came from their users, yes!

comment 5d ago · link · parent

Great argument to pay $ for open source software. Both parties are incentivized to submit and respond to high quality bug reports.

The Google open source model is an unfortunate one. The rest of the world is forced to compete with "funded by ad money" or to give their work away for free (Firefox, Ladybird, etc.).

Imagine anyone who uses a web browser paid $1 for a yearly license? $10B/year to fund a software company that develops it? The dream.

comment 5d ago · link · parent

I would revise the thesis to add: we need smart people who give a shit and are willing to go the distance. It can take 5 years to modernize ACH. You have to commit and stick with it.

comment 6d ago · link · parent

Pretty funny times. AI is making it faster to both write insecure code and to detect buffer overflows. Sell both the problem and the solution. Genius.

It'll take a few years for the market to adjust. If nothing else, businesses are good at figuring out ROIs, eventually.

comment 1w ago · link · parent

That's not the case all the time anymore. It used to be. But it's not now.

So yeah, I've considered it and eliminated it for most PRs we used to get. Because no, a 2nd year student in university did not run into an obscure edge case in production that none of my 1M+ QPS users did.

6.

Adding MCP Support to PgDog(pgdog.dev ↗)

1 points · by levkk · 1w ago · discuss

comment 1w ago · link · parent

DropGuard is nice. This is basically `defer` in Go I think.

comment 1w ago · link · parent

Most databases run offline and don't allow arbitrary SQL statements. SQL injections are generally eliminated by using the extended protocol.

So, yes, if you're running multi-tenant Postgres as a public service, you should upgrade. Everyone else is in no rush.

comment 2w ago · link · parent

Huh? FSF wrote AGPL and the 4 freedoms.

AGPL does not require you to share your changes if you use it (like most people) internally. It does if you host it for others as a service. Pretty fair trade.

Freedom to use, modify and distribute, clearly enforced for the Internet age.

10.

3 D's of software: distribution, distribution, distribution(pgdog.dev ↗)

4 points · by levkk · 2w ago · discuss

11.

3 D's of software: distribution, distribution, distribution(pgdog.dev ↗)

3 points · by levkk · 2w ago · discuss

comment 3w ago · link · parent

> No human can go edit a brain to become better at math.

We literally do this by studying.

comment 1mo ago · link · parent

You either die a hero or live long enough to become the villain. Fork it, run it, make it better. That's the gift of GPL. Just because you can't spin it up on EC2 (yet) doesn't make it a worse kernel. Lots of hosting providers accept custom images.

comment 1mo ago · link · parent

From a business perspective, it's a long time to get to your first dollar.

comment 1mo ago · link · parent

It's kinda crazy that Partiful existed for over 7 years, has series A funding, and yet is completely free.

comment 1mo ago · link · parent

If I could run SoTA models on my desktop, you would be onto something. While it's a subscription, the big guys who own the data centers will do whatever the guys in government tell them to. TLDR: you'll start getting the "I can't assist you with this task" reply to all your prompts.

comment 1mo ago · link · parent

Yuuuup. Which I guess makes it even harder to detect what's AI and what's not.

comment 1mo ago · link · parent

That defeats the purpose. If I have an email, I want to be reachable. We just need a good spam detector...oh wait, that's pretty much solved already :)

Anyway, nothing against the posted project! I think it's cool.

comment 1mo ago · link · parent

No such thing. Business, like history, goes in circles.

comment 1mo ago · link · parent

We disabled PRs for PgDog, but left the issues open, for now.

Most bugs that are reported via AI-generated GitHub issues are edge cases, which are technically bugs, but not something anyone actually ran into.

Contributions are exclusively AI-generated, and it's much easier to just go off of a GitHub issue myself than asking the bot behind the GH account to remove the 5 redundant tests it added, or to refactor what has become a 3k line file.

AI doesn't care about code quality, maintenability, or long term goals. It's just a local maximum optimized with RL. Great for debugging, OK for reviews, but can't produce anything that's above average.

comment 1mo ago · link · parent

That's how you push the field forward. Good isn't good enough.

22.

Open Source Always Wins(pgdog.dev ↗)

2 points · by levkk · 2mo ago · discuss

23.

Show HN: pg_raw_parse – parse SQL in Rust at Postgres speed(github.com ↗)

1 points · by levkk · 2mo ago · discuss

24.

Why open source always wins(pgdog.dev ↗)

4 points · by levkk · 2mo ago · 1 comment

25.

Show HN: pg_raw_parse - parse PgSQL in Rust(github.com ↗)

4 points · by levkk · 2mo ago · discuss

comment 2mo ago · link · parent

116% would be 2x which will break the laws of physics. 16% is possible if you're not allocating heap memory, which I believe is the main selling point here.

comment 2mo ago · link · parent

Curious to compare your implementation to ours [1] some day (if you guys open source it).

[1]: https://docs.pgdog.dev/features/sharding/2pc/

comment 2mo ago · link · parent

Same here! Except:

- PgDog is open source

- It runs anywhere, not just your cloud

- It's built for Postgres, not a MySQL pivot

comment 2mo ago · link · parent

Oh no! Anyway...
12345
13