Better HN
topnewbestaskshowjobs
Log inSign up

andruby

5,519 karma · joined Dec 4, 2013 (12y ago) · 1,352 submissions

contact me at andrew [at] bedesign [dot] be
Submissions

comment 2mo ago · link · parent

I think most people on HN know robby russel. Have you ever used ohmyzsh?

comment 2mo ago · link · parent

The irony of this website being so loaded with ads that I can barely read the contents is palpable :P

But on-topic: iOS shouldn't show any ads.

comment 2mo ago · link · parent

My home setup has both a trackpad and mouse (and a separate keyboard). I like them both. In practice I use 65% mouse and 35% trackpad I think. Trackpad is great for horizontal (or 2d) scrolling and gestures. Mouse has better ergonomics for accurate pointing, and is more natural in some apps (eg KiCAD).

comment 2mo ago · link · parent

For people making a living on western software engineering salaries, why wouldn't (Apple) hardware be worth the price?

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

> China has recently awarded 1.3 to 1.4 million engineering bachelor's degrees a year, and about 292,000 postgraduate engineering degrees in 2022. [0]

> 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

You're right, but not entirely.

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 2mo ago · link · parent

love the name :P

comment 2mo ago · link · parent

But the payoff here is that you get a sneak peak into PG19

It's off-putting to me too. I wonder if the AI enthusiasts that stopped manually writing also find it off-putting

comment 2mo ago · link · parent

> “bzip3 is not yet listed on the large text compression benchmark” It is now

And it comes in relatively well, in my opinion. I'm a compression amateur, but bzip3 is the first entry I recognize as a general purpose compression program.

comment 2mo ago · link · parent

> Is there any way to avoid this?

Be a three letter agency

comment 2mo ago · link · parent

Is this a honeypot for agents to break out of their sandboxes?

comment 2mo ago · link · parent

A creepy crawly is a South African invention to clean your swimming pool. The company that introduced them in the 70ies is called Kreepy Krauly. Also popular in Australia.

https://kreepykrauly.co.za/about-us/

comment 2mo ago · link · parent

> a real conversation to be had that a country should ensure it has strategic industries

Then let that be the reason for tariffs rather than the bullshit argument of trade deficit = taking money.

comment 2mo ago · link · parent

Then someone would still create a website with an index of all the open models. Where people discuss & rank the models, show related models, ...

And now you've recreated most of HF

comment 3mo ago · link · parent

Sure, but how does it _increase_ RAM prices. It should decrease them because companies have less capital to buy RAM so demand decreases.

comment 3mo ago · link · parent

How does a stock market crash increase RAM prices (when RAM demand goes down)?

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

Not everyone is at $CORP. I upgraded from M1 to M4 and probably won't upgrade until the gap is worth it (M7?). Besides the memory increase I barely notice the improved cpu/gpu speed.

comment 3mo ago · link · parent

paying for data access, for "deterministic computing", for letting the AI use online services. Maybe even micro payments for using tested and verified skills/mcps.

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

> Does it matter whether you ask the agent to write the tests first or last? Is one way TDD and the other not?

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

Has it become that cheap? Do you have a link?

comment 3mo ago · link · parent

Heat pumps have a COP value of around 4 to 5 (10 to 15C outdoor) and 3 (0C outdoor). The seasonal COP (or SCOP) measures the efficiency over a whole season, and that typically sits around 3 to 4. That means that for 1kWh of electricity a heat pump delivers 3 to 4kWh of heat to the house.

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

I think fear and being scared are starting to become rational emotions.

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

Me too. I love Snow Crash and re-read it recently. I started Cryptonomicon, but didn't even get 1/4th before giving up.

comment 4mo ago · link · parent

LLM's are trained on human phrasings. So now we can't use human phrasings anymore?

I am one of those people that used to write em dashes – and now I self-censor them out of my writings :(

comment 4mo ago · link · parent

I wrote a system for a medical lab decades ago and IIRC I did actually have to change some RRN's manually. It's been a while so I'm not 100% sure, but I do think the changes were due to switching gender.

comment 4mo ago · link · parent

Not sure if still the case: odd numbers for males and even numbers for females.

This also means a person’s Belgian RRN can change.

comment 4mo ago · link · parent

I'm super happy with an Odroid H3 as a NAS: low power usage, silent, x86, nvme + 2 sata ports. Runs home assistant, smb shares and a few more things

comment 4mo ago · link · parent

This seems a suspicious. How do you measure the CPU load of Ghostty? Is the measure/reporting method just attributing the cpu load of the commands/programs you're running in Ghostty to Ghostty?

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

Reading the Erlang ProgProgrammers book by Joe Armstrong made me a better Ruby programmer as it changed my perspective on functional programming and abstractions.

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.

comment 4mo ago · link · parent

Genres are fuzzy. It opened the door for me towards Derrick May, Adam Beyer, Carl Cox, etc.

If you had to put a label on it, what genre would you file it under?

12345
46