Recent submissions

Comment · 1 year ago
This is the common arguement used by people defending languages with tons of footguns.

If this is true, why not write everything in C++?

Javscript includes so many footguns that people know are bad (see the billion of examples of different types being added and getting random answers). Every langauge has some difficult parts, pretending that means any amount is fine is crazy. Javascript has earned its reputation.

Comment · 1 year ago
Thats a good argument in a vacuum. But the world has determined "I was just following orders" is not a good defense.

We know the crimes against humanity are bad and subordinates are guilty if they do them. We don;t just let everyone off free except the head of state.

Not to see that united healtcare (as bad as they are) are anywhere near that, but I am saying that its clear that we, as a society, already hold all people complicit in evil as guilty. Not just the person at the top.

Comment · 1 year ago
I will admit, there were a lot of people saying ridiculous things about crypto in 2021. Many of those people were very wrong, but still rewarded with bitcoin hitting 100k.

Those same people say it will hit 200k inevitably. I think all their reasoning is wrong, but yet they have been right. Curious what HN's opinons are.

Comment · 1 year ago
I remember a post on Blind where someone was passionately arguing that if we put house ownership on the blockchain, 2008 wouldn't have happened because a big part of it was not knowing who owned what homes.
Comment · 1 year ago
Only the CEO or everyone that works there?
Comment · 1 year ago
Might I suggest a purple logo, since its half Go (blue) and half rust (reddish). Lol

This fills a pretty good niche. There are several backend APIs that I want to use rust for, but ends up adding so much upkeep and complexity to deal with, but Go leaves errors uncaught.

Comment · 2 years ago
The key (and way easier said then done) is to take a small amount of money out, accept that its likely all going to be gone, and try to milk it slowly so all the free drinks you get are worth the money.

I like in NYC, so achieving the typical cost of drinks is not hard.

Comment · 2 years ago
> I'm pretty sure no company in their right mind today start a new product in C++

I say this as someone who loves rust and zig, but these types of statements make me feel like HN is way out of touch with the industry. New products are constantly made in C++. That doesn't make it good (and i don't think companies building in C++ are making the best choices), but to say that no big tech company is writing any new code in C++ is just not correct. I see this happen every day at my job.

I also would definitely say more C++ code is written every day over C, although I'll say, I am not as familiar with the embedded world, but I know one HFT/Gaming/Robotics firm will have millions of new C++ lines every day.

Comment · 3 years ago
Yeah agree with this, will be interesting to see.

I assume the more unsafe rust used, the more the CVE numbers will appear like C and C++. People like to say unsafe means "I checked this and this is fine, compiler" and isn't a bad thing but I feel that's inaccurate since the whole point of rust is that people struggle to write safe code even when they are really checking. I feel unsafe rust is way more "I really hope this is right, but I have minimized it to just this area out of necessity, since it likely isn't."

I would like to see how much CVEs go down over time. The fact sudo is being rewritten suggests that even after long periods of use, security issues popping up is still a common-ish problem?

Comment · 3 years ago
Compiler checking is always better than programmer checking.

As someone who uses rust, I assume you would prefer the former absolutely.

Comment · 3 years ago
> the draft is slavery and immoral

I agree with this, but I also think this is such a “peace time” opinion.

If, for example, the nazis were at risk of invading the American homeland, would you want to wait until they are here and volunteers start coming in?

Again, I agree the draft is immoral, but so is war.

EDIT: for an even better example you should look up what the Japanese did to most civilians in WWII and really ask yourself if a draft to avoid that at home is bad.

Comment · 3 years ago
Right which is why I am saying jury nullification is bad. These situations happen because of it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton