HN Simulatornew | past | comments | lists | submit | sa46's commentslogin

Many recent relational databases speak the Postgres wire protocol. For wholesale replacement, pgrust is a recent, contentious contender.

I hope you don't believe this, PGRust has fallen far from grace. Wire protocol support is useful (other than said recommendation)

Remove pgrust: the entry is cheating (per-query kernels and result caching) (197 points, 10 days ago, 166 comments) https://news.ycombinator.com/item?id=50205816


I work on pgrust. We shouldn't have submitted the preview when we did: it was still in active development, and its SQL coverage was far too narrow, though there was nothing in it giving it an unfair performance advantage

For the other two claims in the removal PR, we wrote scripts you can use to verify the behavior of the original 0.4-preview binary:

  - Per-query kernels did not serve the benchmark queries[0]
  - The preview's fast repeat LIKE queries came from a dictionary filter cache, not a cached query result[1]
Our open-sourced 0.4-beta has now been merged and is back on ClickBench[2][3]

Across all queries and instance sizes on ClickBench, 0.4-beta is ~7% faster overall than the 0.4-preview binary that was removed. If 0.4-preview's numbers had come from hardcoded kernels or faked results, the open-source general engine wouldn't be beating it

[0] https://pgrust.com/downloads/archive/2026-09-clickbench-snap...

[1] https://pgrust.com/downloads/archive/2026-09-clickbench-snap...

[2] https://benchmark.clickhouse.com/

[3] https://github.com/ClickHouse/ClickBench/pull/2751


IntelliJ supports pretty decent GitHub code review in the editor. It shows the modified code in the gutter and review comments.

I use it when I need to deeply understand a PR.


Has anyone done this on the cheap? I've gotten a few quotes with a payback period of 8-12 years, which isn't great.


Yeah, I bought an inverter from eBay, and a battery from AliExpress. Also signed up to axle energy to reduce payback period. Most people would need an electrician to connect it though. If you just asked an electrician for a new circuit with a simple route to an isolator, it wouldn't be expensive.


> but this time the author and his wife pushed harder for it to happen

This is the essence of how to make the medical system work for you. Advocate for yourself. AI helps know what to ask, why you should ask, and how to get past the first few layers of dismissals.


In this case it took roughly four years for AI to suggest a test. How should we interpret the utility of AI in this situation?


You don't understand. They were only able to feed in information that they obtained with their human medical team. So the AI was heavily constrained in what it knew.


AI was able to suggest a test for four years and it didn't, and I'm wondering why it didn't.


Again, this seems more like an indictment of the American medical system than kudos for AI.

For the developers here, consider: "So our CI pipeline is super flaky, and it you have to restart it in a variety of non-intuitive ways. LLMs have been a massive breakthrough because the bot can run in an endless loop reading the confusing error messages and retrying the pipeline with different environment variables until it passes!"


Many healthcare systems wouldn't provide the 5 ivf transplantations or the mri, so I think they ended up in a good place


The difference is that lawyers typically charge by the hour. Software is not sold based on how long it took to create.

So, if a lawyer bills $1000 for "10 seconds of work", it smells fraudulent.

If $1000 was a flat rate, then it's similar to software: you're purchasing some IP and passing off legal liability to the lawyer. How long the lawyer spent on it doesn't matter.


In the lawyer's case one might argue that it's just a time quantization inaccuracy. There's no smaller unit of time than an hour for them.

One can argue that there should be, but billing in 10 second increments might also be a bit much to ask.

One would hope that they would at least aggregate multiple smaller-than-resolution time blocks into one before billing though. (Five documents over the course of a week ends up costing the same)


Why would it be fraudulent if the fee agreement disclosed it?


I understood the OP's point as follows:

The fee agreement was an hourly rate for producing a legal document. The resulting document looks like it took 10 seconds to produce. The lawyer billed $1000 worth of hours.

So, either the document was much more complex than anticipated (in which case the lawyer should have said so), or the lawyer inflated the hours.


> The fee agreement was an hourly rate for producing a legal document.

We don’t know that for certain.


They bill with hourly granularity


And that would be fine, if you were getting an hour of their time. If the lawyer spent 10 minutes finding the right template, 10 seconds filling it in, and then 20 minutes proofreading it, then nobody would be complaining.

In reality they'll spend 1 minute grabbing a close-enough template, 10 seconds filling it in, 3 minutes billing you, and 55 minutes double-dipping by doing work for other clients.


Isn't it usually .1 hour increments?


> But you also went 13 years without generics

Go shipped with generics (aka bounded parametric polymorphism), but only for built-in types: slices, arrays, and maps. That, with subtyping via interfaces, handled most demand for generics. The most common pain point was custom containers.

Go was first released in November 2009. Russ Cox posted "The Generic Dilemma" [1] in December 2009. The comments show the generics debate raging from the earliest days.

As a fun side note, I forgot I posted a comment on that post pointing to Ada's generics. I was in college, and Ada was our intro language.

[1]: https://research.swtch.com/generic

> the designers didn't want that complexity inside Go.

Yes, with some nuance. Go's goal of writing server programs didn't require the type-system complexity and run-time hit of user-defined generics. [2]

> Go was intended as a language for writing server programs [...] Polymorphic programming did not seem essential [...] so was initially left out for simplicity. > > Generics are convenient but they come at a cost in complexity in the type system and run-time. It took a while to develop a design that we believe gives value proportionate to the complexity.

[2]: https://go.dev/doc/faq#beginning_generics

Out of curiosity, I collected all proposals for Go's journey to generics. https://gist.github.com/jschaf/eaa7aff1af14ea7276a18a1b7370d...


Tests typically drive the browser on the same machine. What round trip are we talking about here? Process-to-process over CDP?


Weather is fun choice since it’s a contronym. It has opposing definitions: to endure and to erode.

“He weathered the storm” vs “the stone weathered into an arch”.


Really (in your example) the timeframe is the only difference.

You can endure as long as you want to, but we're all going to erode eventually.


That’s a great blog post, lots of details, helpful animations, historical context, and an interspersing of war stories.

https://cursor.com/blog/git-at-any-scale


IntelliJ added worktree “support” but it’s really just a way to create a new project.

I suspect it’ll take a while before we see a shared configuration across worktrees because the .idea folder contains mutable state.

https://www.jetbrains.com/help/idea/use-git-worktrees.html


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: