Readit News logoReadit News
BrainInAJar commented on Rust Any part 3: we have upcasts   lucumr.pocoo.org/2025/3/2... · Posted by u/jmillikin
jtrueb · 5 months ago
I agree this is useful. I also think it isn’t the end of the world to support some semblance of OOP in Rust.

If it helps you ship the business logic, sometimes it’s okay to concede some performance or other cost.

BrainInAJar · 5 months ago
"sometimes" is doing a lot of work there.

Sometimes it is, but also sometimes it isn't, and Rust at least gives you a choice (you can use Arc all over the place, or if performance is critical you can be more careful about specifying lifetimes)

BrainInAJar commented on Tell HN: Happy Birthday, Celsius - Canada marks 50 years of metric   todayinbc.com/national-ne... · Posted by u/cf100clunk
HappySweeney · 8 months ago
The deep economic integration with the US has lead us to use this [0] insane flowchart to determine which units to use in which situation. It appears to be a joke at first, but it's accurate.

[0] https://images.app.goo.gl/kUpkGubsWXe9ShP19

BrainInAJar · 8 months ago
it's both the economic relationship but also because the Conservative government defunded metrication in the 80's about halfway through it's timeline.
BrainInAJar commented on Why Does the US Still Have Lead Pipes? Blame the Lead Industries Association   bloomberg.com/opinion/art... · Posted by u/toomuchtodo
didgeoridoo · 9 months ago
Are you under the impression that the USA has a small government?
BrainInAJar · 9 months ago
in terms of things that the government provides to the public, absolutely. The US is incapable of doing anything other than through the military.
BrainInAJar commented on Asterinas: OS kernel written in Rust and providing Linux-compatible ABI   github.com/asterinas/aste... · Posted by u/Klasiaster
smolder · a year ago
Relying on LLMs to code for you in no way solves the safety problem of C/C++ and probably worsens it.
BrainInAJar · a year ago
probably?

even if the LLM is trained on flawless C code (which it isn't) it still has no way of reasoning about a complex system, it's just "what token is statistically most likely to come next"

BrainInAJar commented on I Swore Off Air-Conditioning, and You Can, Too   nytimes.com/2024/08/31/op... · Posted by u/joak
BrainInAJar · a year ago
did an oil industry write this?
BrainInAJar commented on 1/3 of women < 44 have no children and the trend is rising. What is causing it?   twitter.com/MichaelAAroue... · Posted by u/lopkeny12ko
BrainInAJar · a year ago
other than to ensure a cheap exploitable workforce, who cares? Why is it a bad thing?
BrainInAJar commented on Fighting an anti-doping finding   lizzybanks.co.uk/2024/05/... · Posted by u/breathenow
Am4TIfIsER0ppos · a year ago
Here's a comment: we need doping leagues. There should be athletes doped up on 10 different steroids looking like Arnie in the '80s.
BrainInAJar · a year ago
that's not even a league of "who is the best athlete" it's a league of "who is the best athlete willing to destroy their body"
BrainInAJar commented on Fighting an anti-doping finding   lizzybanks.co.uk/2024/05/... · Posted by u/breathenow
NovemberWhiskey · a year ago
There's very little voluntary about signing up to rules that you're required to sign up to in order to have a career in your field.

The policy position that detection of prohibited drugs at arbitrary low levels should result in a punitive finding, even though it is not consistent with an attempt to enhance performance or with industry standards on permissible cross-contamination, is untenable.

If the goal is to establish the "cleanliness" of sport, then subjecting people who have almost-certainly done no wrong to the same treatment as those who almost-certainly have in fact undermines the moral position.

BrainInAJar · a year ago
> There's very little voluntary about signing up to rules that you're required to sign up to in order to have a career in your field.

The rules are signed well before a career even becomes an option. Everyone who holds a race license, even if you buy a bike yesterday & start your first race today, signs the anti-doping agreement

BrainInAJar commented on xAI announces series B funding round of $6B   x.ai/blog/series-b... · Posted by u/frisco
retrac98 · a year ago
I wish he’d just focus on SpaceX or Tesla (the cars, not the robot).
BrainInAJar · a year ago
It's probably better for both companies that he isn't. Better for him to torch a $6b series B and Twitter than mess up spacex & tesla more than he already has
BrainInAJar commented on PostgreSQL is eating the database world   pigsty.io/blog/pg/pg-eat-... · Posted by u/janpio
ttfkam · a year ago
Even today, Postgres on Windows isn't a viable target for performance reasons. Postgres is one process per connection. Spawning processes on Windows is slow compared to Unix.

Building/running Postgres in Windows' Linux compatibility layer or within Docker is typically the better option, especially considering that every cloud vender offers Postgres running on a Linux OS, and it's best to have your dev environment match your deployment environment as closely as possible.

With Linux as your starting point, getting up and running with apt-get install mysql vs. apt-get install postgresql was trivially similar in 2010.

BrainInAJar · a year ago
That's an argument about Windows being production ready though, not Postgres...

u/BrainInAJar

KarmaCake day884August 16, 2011View Original