5,519 karma · joined Dec 4, 2013 (12y ago) · 1,352 submissions
comment 2mo ago · link · parent
comment 2mo ago · link · parent
A lot of other crafts and jobs need way more expensive hardware. Software engineers "only" need a $1,000 - $3,000 laptop every 5 or so years. That's typically less than 0.5% of that 5 year's salary.
comment 2mo ago · link · parent
> For the US, ASEE and NCES put engineering bachelor's degrees at a stable 130,000–145,000 a year, rising above 200,000 if computer science is included. Because China counts CS as engineering, the fair comparison is roughly 1.35M against 230–250k US engineering plus CS graduates. That is about 5–6x in absolute terms. Adjusted for population (1.41B vs 335M), China produces about 950 per million people and the US about 700 (1.3–1.4x more).
Even Claude highlights that the numbers aren't apples to apples and in China the definition of "engineer" is more loose. I do believe that in relative numbers, more engineers graduate in China
On lawyers:
> In the US there were 1,322,649 active lawyers as of January 2024. For China, there were around 650,000 lawyers in 2022. Which in relative terms is 8x in the US than China.
comment 2mo ago · link · parent
At 1G constant acceleration reaching Andromeda would take ~15 years, or ~29 years if we also need to decelerate at the same 1G rate to not just whoosh by.
The furthest known galaxy is MoM-z14, which would take ~47 years to reach.
But unlike Andromeda, MoM-z14 is accelerating away from us, or more precisely, the space between us and MoM-z14 is expanding. It's "receding" at 726,000 km/s (= 2.4 times the speed of light). And still accelerating. Because of these, even the magical constant 1G accelerating spaceship can never reach it, not even in 1 Billion years.
comment 3mo ago · link · parent
Or would it affect people's purchasing power. I guess to some extent it does for people with significant investments in the stock market, but that's not a huge percentage of the people wanting to buy RAM or devices with RAM
comment 3mo ago · link · parent
Example: access to real-time stock trading data, access to weather information, letting it make stock trades, etc.
At first I was confused why Stripe bought OpenRouter, but I think this makes sense.
comment 3mo ago · link · parent
Yes. TDD = Test _Driven_ Development, meaning you write the test first, then the implementation.
If you write the test after, that's just called "development" afaik :)
I've only done TDD in very limited cases, like when you're implementing against a known spec. For "regular" work I'm usually still figuring out the shape and code interface for what I'm building, so writing tests first is impractical and wasteful.
Readme-driven-development is more fun: write the readme (ie: the intention) first.
comment 3mo ago · link · parent
Burning gas to heat a home means "1kWh" of gas, delivers ~1kWh of heat.
Modern gas power plants are about 55 to 60% efficient, so "1kWh" of gas becomes ~0.57kWh of electricity, which after transport losses (-6%) arrives at the home as 0.52kWh, which gets turned into 1.5 to 2.0kWh of heat.
=> It's almost two times as efficient to turn gas into electricity and use heat pumps in the home
comment 3mo ago · link · parent
We can assume these models are being used by "nation level attackers/organisations", which basically means US, China, Russia and others are hacking the respective Pentagon's, nuclear orgs, etc.
While I do hope all nuclear warfare systems are offline, we're getting way too close to the plot of a lot of sci-fi scripts.
comment 4mo ago · link · parent
You could test this by running "yes > /dev/null" in Ghostty. In Activity Monitor on my Macbook it shows `yes` using 100% and Ghostty using 0.5% of cpu.
comment 4mo ago · link · parent
I first reached for Elixir when Ruby couldn't handle large amounts of websocket messages. It really shines in high-concurrency contexts. I also love Phoenix LiveView and have a couple of side-projects running on it.