Recent submissions

Comment · 10 months ago
> So now I think to myself: if I want to remain portable, I'll just write a python script

How can you know that your Python implementation won't send your credit card details to an LLM when it runs your script? It does not follow an ISO standard that says it can't do that. You're not making assumptions about it's behavior, are you?

Comment · 1 year ago
I don't need my car's airbags 99.99% of the time.
Comment · 2 years ago
Comment · 2 years ago
> Leading comma ensures one line diffs

It does not. It just moves the edge case to a different position: trailing comma has the "issue" when adding an argument to the end of the list while leading comma has it when adding an argument to the beginning.

Also, as pointed out by the other commenter, any decent modern diff tool will make it obvious that the change to the existing line is just the addition of a comma, which makes the difference basically moot.

Comment · 2 years ago
This has been my exact journey, been using Firefox since before it was called Firefox, finally got fed up a couple of years ago and switched to Vivaldi. It's such a breath of fresh air not having to dread update notifications anymore.
Comment · 2 years ago
> and thus neglect their main product

Neglect would be a step up. It feels like they are actively trying to antagonize existing users.

Comment · 3 years ago
> All that's required to be a naturalized US citizen is to be physically born in the U.S. Or to be born to U.S. citizen parents.

A naturalized citizen is someone who was not born a citizen and then becomes one. Both of your examples are of natural citizens.

Comment · 3 years ago
> That's the intent of the policy they oppose, so... /shrug

There is a world of difference between "intent" and reality.

Comment · 3 years ago
The rule of thumb according to youtubers is that 1000 video views is worth about $1 of ad share. Youtube's ad share is about 50%, so 1000 video views should be worth about $2 of ad money for Youtube. Youtube Premium costs $12 a month which is equivalent to 6000 video views per month or ~200 video views per day. If I'm on a very youtuby mood I'll maybe watch 10 videos in a day. So, best case scenario, paying for premium comes with a 20x markup.

So your conversation actually goes:

HN/Reddit: "I would love to just give you the money directly instead of watching ads in exchange for advertizers giving you money."

Companies: "Sure, here's the ad-free version. You have to pay 20 times as much as the advertizers do though."

HN/Reddit: "Wait, what? That's bullshit. Why?"

Companies: "Fuck you, that's why."

Comment · 3 years ago
You can define a one-to-one mapping between the sets {1 2} and {3 4}, but I don't think anyone would say they are equal.
Comment · 3 years ago
- Ted Woodford (https://www.youtube.com/@twoodfrd): Stringed instrument repair, mostly old accoustic and electric guitars.

- Artisan Makes (https://www.youtube.com/@artisanmakes): Hobby machining.

- Rex Krueger (https://www.youtube.com/@RexKrueger): Woodworking.

Comment · 3 years ago
Because if you're an executive that signs off on a project spinning out, and that project then becomes wildly successful, you're going to be blamed for letting that super lucrative project "escape".
Comment · 3 years ago
> Why do you say this is wrong?

Exposing uninitialized memory as valid values tends to be a really bad idea.

Comment · 3 years ago
DYN_ARR_RESET should probably be called DYN_ARR_INIT instead, as calling it more than once will leak memory.

The handling of endptr in DYN_ARR_RESIZE seems to be incorrect. If I have an array with 2 elements and capacity of 3 and I DYN_ARR_RESIZE it to 5, I now have an array with 5 elements, 3 of which are garbage values.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton