HNHacker News
TopNewBestAskShowJobs

morshu9001

496 karma · joined October 3, 2025

submissionscomments
morshu9001··on Is Rust faster than C?
A lot of people think of static types as a safety feature, but the origin is performance. The assembly needs to know struct sizes ahead of time.
morshu9001··on Is Rust faster than C?
Social factors mentioned there can make a big difference. I've seen plenty of C code choose safety over efficiency.

Our team writes a lot of C++ code for high-level stuff you'd normally do in say JS or Python. At the rate we make changes, we can't write very tight code. Strings and other structs end up getting copied needlessly due to ownership, like if something takes vector<string>& and internally copies those strings into a map, we don't bother also making an external-owned version taking vector<string*>&. Or less efficient algorithms are used due to ease of safe implementation. Or there are fewer or less optimized libs available. Or it's a webserver and we have to throw threads at it instead of event loops.

The end result is C++ code that's slower than the equivalent Python code, dev time being equal.

morshu9001··on I replaced Windows with Linux and everything's going great
That's still on the Linux kernel. The userspace differences aren't what make it possible to lock down. Someone could just as easily make a locked down desktop Linux, which maybe ChromeOS is already.
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
Sure, I'm not saying the EV is infeasible, just that the "full tank every morning" part is only for homeowners. That's what the 99% footnote was on.
morshu9001··on The URL shortener that makes your links look as suspicious as possible
email too
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
I don't need a pickup truck, but if I ever did, I'd get whatever my landscaper has. Unlike most people with Rivians, Lightnings, Cybertrucks, Ridgelines, and Raptors, he totally relies on that truck for work.

So far it's Tacoma. Maybe some day he'll have an EV instead.

morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
I meant if the oil industry were so powerful, EVs would have started somewhere else first.

Yeah starting first doesn't mean winning. I don't put much stock in any stats that China self-reports, but none of those things would surprise me.

morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
It's not 99% of the time, it's for people who own single-family homes. Apartment dwellers maaaybe have EV spots but can't leave their cars there.
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
also everything transmission-related
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
I wager people care way more that it simply costs a lot, and they don't like it or need it
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
tbh that sounds like cope, this isn't a constraint people want to add
morshu9001··on Ford F-150 Lightning outsold the Cybertruck and was then canceled for poor sales
US was the first to make EVs mainstream
morshu9001··on GitHub should charge everyone $1 more per month to fund open source
How about GitHub stops using GPL'd code to train models? The authors weren't asking for payment, they were just asking not to reuse their code without GPL.
morshu9001··on The insecure evangelism of LLM maximalists
This is still a thing today. There have been multiple times I oneshot some project that leadership had been waiting on some team forever to finish, and 90% of it was them refusing to touch a "noob" lang like Python or JS.
morshu9001··on The insecure evangelism of LLM maximalists
I see a lot more insecurity from people who refuse to use AI coding tools. My teammates amd I use this stuff all the time, and it's not making a statement, it's just an easier path sometimes.
morshu9001··on The Vietnam government has banned rooted phones from using any banking app
Email shouldn't be recovery for bank anywhere, you go to the bank for that. But TOTP is so user-hostile that I can see it causing too many recovery requests for the bank.
morshu9001··on The struggle of resizing windows on macOS Tahoe
I didn't say that fragmentation is the only thing that makes them unusable, it's just one of many. Yeah it is a big thing though.

People do have difficulty switching between Mac and Windows, but each has critical mass so it's still easy to get help with the finer details. And unrelated to fragmentation, anyone tech literate won't have nearly as many showstopping issues to ask about there in the first place.

morshu9001··on The struggle of resizing windows on macOS Tahoe
Fragmentation makes compatibility and help-finding more difficult. And newbies do get the expectation that the mainstream options aren't all that different, cause that's what everyone tells them.
morshu9001··on The struggle of resizing windows on macOS Tahoe
Yeah, I used whatever the default was, Gnome or Xfce. I'll seriously try KDE next time then.
morshu9001··on The struggle of resizing windows on macOS Tahoe
So you don't get a separate set of random video-related problems depending on which you use
morshu9001··on The struggle of resizing windows on macOS Tahoe
The old autocorrect didn't seem any better though. I actually disabled it on both, so narrowed it down to purely a keyboard issue.
morshu9001··on The struggle of resizing windows on macOS Tahoe
Most of these changes aren't that disruptive because they keep the fundamentals, but there are a few things Apple makes sure you never get used to like iTunes/Music or iPhone Photos.

What bothers me about Linux is that realistically your entire DE will change at some point if/when the one you're staying on becomes too unsupported. They did this kinda recently at work, not cause IT wanted a fresh new look but because of some compatibility issue.

morshu9001··on The struggle of resizing windows on macOS Tahoe
I used that same MacBook until 2014. At least Snow Leopard was a gem.
morshu9001··on The struggle of resizing windows on macOS Tahoe
It's unusable even with the "user-friendly" distros like Mint and Ubuntu. Starting with the fact that Mint and Ubuntu don't even agree on what window system to use.
morshu9001··on The struggle of resizing windows on macOS Tahoe
Also Gnome disappeared after 2, got replaced with Unity in Ubuntu which was a whole new ugly thing, then that got replaced with Gnome3 which is very different from Gnome2, also Xorg got deprecated...
morshu9001··on The struggle of resizing windows on macOS Tahoe
Absolutely
morshu9001··on The struggle of resizing windows on macOS Tahoe
If you applied these standards of critique to Linux UIs, this post would be an entire encyclopedia, indexed by DE. I'd take even the worst modern Mac OS (Lion?) over that.
morshu9001··on The struggle of resizing windows on macOS Tahoe
I swear Apple broke the iPhone keyboard permanently in like 2015. I don't know what it is, but I can't type reliably on any newer phone I've had, to the point where I call instead of texting. And the rare times I go back to use that iPhone 5 in my car for music, it's so easy to type, so I'm not just remembering wrongly.
morshu9001··on The struggle of resizing windows on macOS Tahoe
It did seem like they fixed iOS slowly after 7, where they went too far with flatness.
morshu9001··on I dumped Windows 11 for Linux, and you should too
I've been using Linux on and off for a decade+, and it's a moving target. There is one Linux kernel, they can make one Linux OS. (and ofc people can fork but it should remain niche)

Meanwhile I can go on Windows after years and still know how to use it. Last version I daily used was 98, but 11 is still intuitive (despite being annoying).

← PreviousPage 4 of 25Next →