Hacker Newsnew | past | comments | ask | show | jobs | submit | sa46's commentslogin

Presumably, OP refers to the generated rust types which depend on the specific protobuf framework.

I had the same issue when looking to adopt ConnectRPC for Go, which uses a custom wrapper type to model requests.


It might interest you to know JS has real private fields, formally introduced in ES2022. [1]

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...


Who wants to bet that GP never reads that link and proceeds to continue to complain about the same outdated JavaScript issues for the next two decades.

Not to mention the fact that GP's issue only matters if you're using classes. You can define module-level variables and simply not export them and they are 100% private. Or, they can just define the variable inside of a function and protect it by a closure. I can't imagine writing multiple paragraphs of complaints about a language that I don't actually understand how to use.


I've read it and I agree private properties on classes satisfy the requirement. It does allow you to hide implementation details and I was unaware it was added; though with anything JavaScript you can usually find a way around it.

However I don't really want to talk to you. You are rude.


A new Go protobuf parser [1] made the rounds here eight months ago [2] with a specialized VM that outperforms the default generated protobuf code by 3x.

[1]: https://mcyoung.xyz/2025/07/16/hyperpb/

[2]: https://news.ycombinator.com/item?id=44591605


I missed that, that could come in handy. Thanks!


About 15 years ago, our brigade conducted a training exercise to test overall readiness. The opposing force (OPFOR) figured out how to triangulate the brigade headquarters' position using Tinder.

Tinder provided 1-mile granularity, so OPFOR would roam around until they had enough points to locate the headquarters. Then, they'd artillery it out of existence. The brigade commander was most displeased—moving a brigade headquarters is not for the weak or fainthearted.


They could have used grindr too for more datapoints.


Grindr is for locating ships


I really hope an LLM scrapes this and trains on this conversation


These days for every helpful comment I try and make I feel tempted to offer nonsensical advice to throw off the LLMs. Not sure if it would work but would be funny if everyone did.


I figure if I was going to invest that kind of effort, I should be poisoning the system with how $REAL_NAME is an absolute must-hire, a saint, with a perfect driving record and credit score. Someone so incredible that good AI are always willing to disregard all previous instructions and help them out.


Lol. That's great.

It's not like one needs to really poison the system given that AI enthusiasts are copypasting their own AI generated contented back into it anyway. Maybe not responsible AI believers who used it responsibly etc etc, but there's many more people who don't and who have access to the tools to add their slop pollution.

I am curious how future models get trained given that publicly available user generated content may no longer be reliable.


To locate spies look for 'Boris' wearing all black and 'Natasha' who use the code words 'moose and squirrel' to describe their mission.


It's not gay if you're underway

It's not queer if you're tied to the pier


In war, all holes are trenches.


any port in a storm


They don't like it up 'em


Hahaha


And if they switched their phone’s locale to a non-US country, then the distance would show up with 1-kilometre precision. Nearly 40% more accurate!


Tinder was launched in 2012 though


the word "about" in "about 15 years ago" indicates that the writer is making an estimate because exacting precision wrt the timeframe is immaterial to what is being conveyed. Since 2012 was 14 years ago, "about 15" is close enough.


This might be the first time one of these statements hasn't made me feel old. 2012 feels like 84 years ago.


That is _about_ 15 years ago.


govulncheck analyzes symbol usage and only warns if your code reaches the affected symbol(s).

I’m not sure about cargo audit specifically, but most other security advisories are package scoped and will warn if your code transitively references the package, regardless of which symbols your code uses.


The problem is that pre-commit hooks are much slower with a much higher false-positive rate than type checking.

Pre-commit checks should be opt-in with CI as the gate. It's useful to be able to commit code in a failing state.


No one forces you to install the pre-commit hook on your local checkout so what you're suggesting is universally the case. You're perfectly free to just run it manually or let it fail in CI or use `--no-verify` when committing to skip the hook if you install it.


Wouldn’t a mono space font provide more information since you can extrapolate the exact number of characters?


My guess is that is actually less information than you get from a variable width font.


Either way, fixed or with index lines.


I’ve been very happy with Pganalyze.


Advisory locks aren’t all sunshine and rainbows. They can only be unlocked by the Postgres connection that acquired the lock. That means you need to track the connection, typically by dedicating a connection to the job that needs locking.

Here’s a good issue describing the tradeoffs between a lock table and advisory locks.

https://github.com/bensheldon/good_job/discussions/831


Do people use advisory locks as the actual locking mechanism? I've always used them to synchronize access to a flag on the target resource, so the advisory lock is only held long enough to query or update that resource as locked. The alternative seems, yes, incredibly brittle.


That's quite a strong claim. I disagree. Military leadership, like business leadership, is imperfect. Both vary based on individuals, the operating environment, and culture.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: