Readit News logoReadit News
qchris commented on Shallow water is dangerous too   jefftk.com/p/shallow-wate... · Posted by u/surprisetalk
qchris · a month ago
I haven't heard anyone mention this rule, which I think is useful:

Cars, dogs, and water.

These are the big three common things that children interact with regularly that can, and will, cause irreparable harm or death with functionally no warning and virtually instantaneously. Kids also don't have the experience or the intuition to figure out if a situation is dangerous; cars move too fast, dogs are too hard to read, and water danger is hard to grasp even for adults (the number of people, including grown adults, I've seen panic and had to get pulled out after gleefully jumping into water where it turns out they can't reliably touch the bottom is fairly high).

The first two require some strictness (i.e. being very clear about rules like never going near a road without an adult, and never hitting a dog or pulling it's ears), but water basically requires regular swimming lessons from qualified instructors. It's something I wish happened earlier, and that more families had easy access to.

qchris commented on Delta Struggles with Elite Overproduction   fortune.com/2025/07/26/wh... · Posted by u/nis0s
qchris · a month ago
> For this story, Fortune used generative AI to help with an initial draft. An editor verified the accuracy of the information before publishing.

I wish these disclaimers went upfront, the way a newspaper by-line would have been. I've never engaged much with Fortune anyway, but this makes me much less interested in doing so moving forward--if I wanted to know what an LLM thought of airport lounge crowding, I could ask one myself.

qchris commented on Linda Yaccarino is leaving X   nytimes.com/2025/07/09/te... · Posted by u/donohoe
fourside · 2 months ago
It continues to surprise me how much people insist on using this platform after everything that’s happened in the last couple of years.

It’s like having dinner at a restaurant that you know is owned by a mafia boss and then being surprised when you get robbed while you eat there.

qchris · 2 months ago
I totally get the point you're trying to make (and don't even disagree) but I think the analogy isn't quite right.

I'd actually be surprised if I got robbed at a mobbed-up restaurant; my naive understanding was that they actual put a lot of effort into keeping places like that above-board so they have legit businesses to attach their name/revenue/employees to, while still retaining muscle in case a rival tries something. It's arguably one of the last places I'd expected to get robbed outright.

qchris commented on NovaCustom – Framework Laptop alternative focusing on privacy   novacustom.com/... · Posted by u/CHEF-KOCH
cosmic_cheese · 2 months ago
As far as I know, for models currently on sale that applies only to their desktops (which are cool, but considerably more niche since people interested in desktops are likely to build their own), with their laptops being Clevos.
qchris · 2 months ago
My personal opinion is that System76 isn't really targeting personal users with their desktop line, though, but instead is more focused on professional users. For example, I built my own desktop computer at home, but if I needed one for work for doing ML or just to have the increased compute over my company-issued laptop, there's no way that my organization would sign-off on letting me spec out my own parts from Newegg and spend a day or two building and testing the system, then trying to install NVIDIA drivers on Ubuntu.

What they would (and do) sign-off on is a one-time purchase of a desktop from an approved vendor for that desktop, which comes with out-of-the-box support for the NVIDIA GPU I've selected. That's more the niche that I feel System76 is really filling.

qchris commented on NASA Stennis's first open source software   nasa.gov/centers-and-faci... · Posted by u/mindcrime
rekenaut · 3 months ago
LabVIEW is really fantastic because it’s really easy to throw lab software together in a few hours or days and just get hardware test stands off the ground, especially when you don’t have a SWE in your department and you have an engineer who just wants to get it working and doesn’t want to get bogged down in code. It’s also pretty easy to make changes to even if you have limited software dev experience. Sure, there are many projects where you really want to have the flexibility of traditional programming languages and have actual SWEs work on it, and the proprietary license is annoying, but it makes a lot of sense when you see non-SWE engineers and techs working with it on the lab floor.

Edit: By the way I’m aware that there are LabVIEW specific SWEs as mentioned in the article who are able to do wizardry with it, but I wanted to highlight its usability beyond that.

qchris · 3 months ago
This completely differs from my own experience with LabView, which I used a number of times in both undergrad/some grad-level coursework (I have a mechanical engineering background), as well as in internships at a couple of different companies. LabView sits, almost uniquely, in the "absolutely not, with no exceptions, ever again for the rest of my life" tools that I've worked with in my career. I don't think I even list on my resume anymore, because I don't want anyone to know that I've ever touched it and assume I'd be willing to again.

I know it's a classic "don't blame your tools!" situation, but the ability for even moderately-experienced programmers to accidentally build high-incidental-complexity tooling that becomes a nightmare to re-learn once you've lost your mental model of the program is, in my experience, unique (and frightening).

I once spent weeks trying to get a LabView-based tool up and running that a senior engineer in another section had written. Sketching out the relationships between components, documenting I/O, etc. After finally giving up the ghost, I went to that engineer for help. After spending hours (like, 5-6 hours, not 1-2) sitting next to him in my lab, he said "yeah, I'm not really sure what I was doing with this...", and proceeded to need to take the entire program back to his desk for nearly a week before he could finally explain how it worked.

This situation wasn't a one-off; it's happened with nearly every non-trivial codebase that I've ever touched that used it. In my experience, LabView is really fantastic in only two situations:

a) Very simple GUI-based DAQ tools that the person who wrote the program, and them alone, will need to use

b) Complex tools that are owned by a team of engineers who have written LabView for years and will now be dedicated exclusively to those tools

qchris commented on Framework 13 AMD Setup with FreeBSD   euroquis.nl/freebsd/2025/... · Posted by u/hggh
qchris · 5 months ago
If anyone's interested, there's a slightly more recent update on this work at the link below, dated about a week after this post (23 March vs. 16 March 2025 on the main link).

[1] https://euroquis.nl/freebsd/2025/03/23/framework.html

qchris commented on Torvalds: You can avoid Rust as a C maintainer, but you can't interfere with it   arstechnica.com/gadgets/2... · Posted by u/shepmaster
thegrim33 · 6 months ago
At my last job at a FAANG we had an Android app in Kotlin, and in all their wisdom the management decided to jump on the hip new thing, React Native, and start coding new/certain features in React Native.

Multiple years later, what was the state of things? We had a portion of the codebase in Kotlin with dedicated native/Kotlin developers, and a portion of the codebase in RN with dedicated RN/JS developers.

Any time there's a bug it's a constant shuffle between the teams of who owns it, which part of the code, native or JS the bug is coming from, who's responsible for it. A lot of time time nobody even knows because each team is only familiar with part of the app now.

The teams silo themselves apart. Each team tries its best to hold on to the codebase - native teams tries to prevent JS team from making the whole thing JS, the JS team tries to covert as much to JS as possible. Native team argues why JS features aren't good, JS team argues the benefits over writing in native. Constant back and forth.

Now, no team has a holistic view of how the app works. There's massive chunks of the app that some other team owns and maintains in some other language. The ability to have developers "own" the app, know how it works, have a holistic understanding of the whole product, rapidly drops.

Every time there's a new feature there's an argument about whether it should be native or RN. Native team points out performance and look-and-feel concerns, RN team points out code sharing / rapid development benefits. Constant back and forth. Usually whoever has the most persuasive managers wins, rather than on technical merit.

Did we end up with a better app with our new setup, compared to one app, written in one language, with a team of developers that develop and own and know the entire app? No, no I don't think so.

Feels like pretty parallel of a situation compared to Rust/C there.

qchris · 6 months ago
While I think your points about some of the difficulties that arise in multi-language/framework projects is fair, I sort of roll my eyes whenever someone frames Rust as something like the "hip new thing".

The Linux kernel's first "release" was in 1991, hit 1.0 in 1994, and arguably the first modern-ish release in 2004 with the 2.6 kernel. Rust's stable 1.0 release was in 2015, 13 years ago. There are people in the workforce now who were in middle school when Rust was first released. Since then, it has seen 85 minor releases and three follow-on editions, and built both a community of developers and gotten institutional buy-in from large orgs in business-critical code.

Even if you take the 1991 date as the actual first release, Rust as a stable language has existed for over 1/3 of Linux's public development history (and of course had a number of years of development prior to that). In that framing, I think that it's a little unfair to include it in the "hip new thing" box.

qchris commented on Great things about Rust that aren't just performance   ntietz.com/blog/great-thi... · Posted by u/vortex_ape
threeseed · 7 months ago
I am aware of being able to catch panics.

But the point is that I need to now do this with every use of a third party library. And for example with pdf-rs it was happening on relatively minor things e.g. incorrect date format. And what if I want to set panic=abort on my app to prevent data corruption in my code.

Setting panic in an app shouldn’t mean it is applied globally.

qchris · 7 months ago
> But the point is that I need to now do this with every use of a third party library.

Well, yes. You have to manage your dependencies (by either catching potential panics or forking/modifying them to meet your needs) or accept their behavior. You're using someone else's code for free; this is no one's responsibility but yours, nor is your convenience guaranteed. "This software is provided as is, without warranty" and whatnot.

> And what if I want to set panic=abort on my app to prevent data corruption in my code.

I obviously don't have direct insight into your application, but you could likely use std::process::abort if you feel that data corruption is a risk in a given circumstance (to be fair, I've never personally seen data corruption caused by an unwinding that would have been prevented with an aborting panic instead). Globally setting panic=abort is not necessarily the only approach to achieving your desired behavior.

> Setting panic in an app shouldn’t mean it is applied globally.

You could make a case for a more granular approach to specifying panic behavior. Sure. I don't even disagree with this. But do you see how that's moving the goalposts on your original comment? From "there's no way to wrap this behavior" to "It's possible, but I wish managing this was more convenient for my particular situation."

qchris commented on Great things about Rust that aren't just performance   ntietz.com/blog/great-thi... · Posted by u/vortex_ape
rdsubhas · 7 months ago
Unfortunately, there is a degree of entitlement in this reply as well. You've assumed they don't know what they're talking about, in fact you assumed they don't even know how to Google.
qchris · 7 months ago
I think you're using the term "assumed" incorrectly. Per Webster's dictionary[1]:

> Presume is used when someone is making an informed guess based on reasonable evidence. Assume is used when the guess is based on little or no evidence.

I'm not assuming they don't know what they're talking about, I'm asserting (or presuming) that they don't know what they're talking about based on supporting evidence showing that it is possible to catch panics. Similarly, I didn't say that they didn't know how to Google. I presumed it was likely they didn't put in a good-faith effort to do so, because in my judgement if they had, it would have been trivial to find the aforementioned information per my experience having just done the same.

[1] https://www.merriam-webster.com/dictionary/assume

qchris commented on Great things about Rust that aren't just performance   ntietz.com/blog/great-thi... · Posted by u/vortex_ape
prmph · 7 months ago
> This function might not catch all Rust panics. A Rust panic is not always implemented via unwinding, but can be implemented by aborting the process as well. This function only catches unwinding panics, not those that abort the process.
qchris · 7 months ago
The default behavior is unwind, and unless the library is targeting something like bare metal embedded, in all likelihood will never resort to an aborting panic.

I'll bet $20 USD to the open source project of your choice that the authors of whatever PDF library was being referenced here did not go out of their way to abort on panic, and that it's just a normal unwind.

u/qchris

KarmaCake day1655January 28, 2020
About
- https://cmoran.xyz - https://github.com/quietlychris - cmoran at cmoran dot xyz
View Original