HNHacker News
TopNewBestAskShowJobs

QuiEgo

698 karma · joined January 15, 2023

submissionscomments
QuiEgo··on Everything in C is undefined behavior
C does not abstract differences in underlying hardware well. Systems programmers know if they have an architecture that can't handle unaligned accesses or that the address they are doing load/stores from is a mmio register. Systems programmers know the difference between a virtual address and a physical address and have debugged MPU faults or MMU table walks and page faults more times than they want to think about.

C is horrible for trying to write a portable user-mode program in 2026. There are lots of better options.

C is great for writing low-level system code where you need to optimize performance down to the last cycle. It not abstracting away the hardware is super important for some use cases. A classic example is all of the platform-specific flavors of memcpy in the Linux kernel that are C/assembly hybrids hand-optimized for the SIMD pipelines of some CPUs.

C is a tool, Rust is a tool, Java is a tool, Python is a tool. Use the right tool for the job ¯\_(ツ)_/¯.

QuiEgo··on Utah lawmakers form united front in push to ban prediction markets
> I believe that grown consenting adults do have a free will and should have the ability to destroy their lives if they so choose.

Part of living in a society is giving up some of your freedom to make the system work. I can't choose to kill myself of my own free will by smoking in an airplane anymore, no matter how happy it would make me, because it might not only hurt me, but everyone around me.

I think that's the line for me: When your self-destructive behavior causes harm to others, not just your self, it's fair for society to ban it.

If a bunch of people are going to end up a burden to society in the aftermath of their self destruction through gambling, it's fair for society to say "no".

This tradeoff has been debated my philosophers for millennia. We still haven't quite figured out a universal answer. Laws of nature vs laws of man and all that.

https://www.youtube.com/watch?v=8rv-4aUbZxQ

QuiEgo··on Iran starts Bitcoin-backed ship insurance for Hormuz strait
The rub is the insurance for the tankers. The providers are looking at the risk and saying “hard pass.” Unless the US govt wants to get in the tanker insurance business they are stuck.
QuiEgo··on Motherboard sales 'collapse' amid unprecedented shortages fueled by AI
For most people, I’d recommend a NuC or a NAS with an unlocked bootloader (so you can put Linux on) for a home server.

Most home users need a small amount of compute, and are sensitive to noise and power use.

QuiEgo··on Trademark violation: Fake Notepad++ for Mac
That thread (not Don Hos post, but some of the other post) is so cringe, so many people making very dramatic assertions about how they know better than everyone else. It’s borderline “Star Wars is better than Star Trek and anyone else who says otherwise is an idiot and I have to get on the web and prove it” levels of cringe.
QuiEgo··on Embedded Rust or C firmware? Lessons from an industrial microcontroller use case
Yes. It uses the same linker as a C/llvm toolchain, by the time you link the object files from Rust are in the same format as the object files from C would be. You use the exact same linker script format too.
QuiEgo··on For Linux kernel vulnerabilities, there is no heads-up to distributions
Agree on this so hard. Why does everyone expect instant patches and SLA-like infrastructure from unpaid volunteers?

If you want that, buy a commercial distro of linux, or use Windows. That's a huge part of Microsoft's value proposition to enterprise - they pay people to stay on top of security patches for you. Same with RedHat and others.

Expecting anything of unpaid volunteers is unreasonable.

> THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

QuiEgo··on MacBook Neo and how the iPad should be
My dream is having an “app” on ipadOS that switches out userland from ipadOS to macOS when launched. Let them be two silos, containers, VMs, whatever.

Only allow “Mac mode” if you have a keyboard and monitor attached. Hell, automatically “sleep” it if you undock. Make it unapologetically keyboard-and-mouse first.

One UI for keyboard/mouse. A second UI for touch. One device that can do it all. That’s the dream.

I feel like we’ve had a few ham fisted attempts over the years at this, and Apple could actually pull it off. I get that it probably won’t happen though.

QuiEgo··on Anthropic takes $5B from Amazon and pledges $100B in cloud spending in return
Isn’t that just called a bond?
QuiEgo··on Smoking ban for people born after 2008 in the UK agreed
History has shown prohibition can be… problematic.

Just tax it very very heavily and apply education / social pressure?

QuiEgo··on Measuring Claude 4.7's tokenizer costs
I would not be surprised at all, a $1,000/mo tool that makes your $20,000/mo engineer a lot more productive is an easy sell.

I’m guessing we’re gonna have a world like working on cars - most people won’t have expensive tools (ex a full hydraulic lift) for personal stuff, they are gonna have to make do with lesser tools.

QuiEgo··on I went to America's worst national parks so you don't have to
The article was entertaining and made me smile. Thank you for that.

Real advice: national parks very much have seasons, be it weather, tourist (or lack thereof), wildlife, bugs, or all of the above. The same park can be a miserable experience or incredible a few months apart.

QuiEgo··on Netflix Prices Went Up Again – I Bought a DVD Player Instead
"Piracy is almost always a service problem and not a pricing problem"

I left when shows I enjoyed were a revolving door, and the UI felt hostile (constantly trying to shove terrible quality original content on me).

QuiEgo··on Netflix Prices Went Up Again – I Bought a DVD Player Instead
Is it really that hard to just hit cancel yourself?

When you're holding a hammer all the world looks to be nails or something.

EDIT: Also, there's no way in hell I'd let any of the AIs near something with my credit card info saved in their current state.

QuiEgo··on Project Glasswing: Securing critical software for the AI era
Well yeah, it’s a toy example to illustrate a point in an HN discussion :).

Imagine “silly mistake” is a parameter, and rename it “error_code” (pass by reference), put a label named “cleanup” right before the if statement, and throw in a ton of “goto cleanup” statements to the point the control flow of the function is hard to follow if you want it to model real code ever so slightly more.

It will be interesting to see the bugs it’s actually finding.

It sounds like they will fall into the lower CVE scores - real problems but not critical.

QuiEgo··on Project Glasswing: Securing critical software for the AI era
I agree the wording is a bit alarmist, but a closer example to what they are saying is:

  bool silly_mistake = false;
  
  //... lots of lines of code

  free(x);

  //... lots of lines of code

  if (silly_mistake) { // silly_mistake shown to be false at this point in the program in all testing, so far
     free(x);
  }
A bug like above would still be something that would be patched, even if a way to exploit it has not yet been found, so I think it's fair to call out (perhaps with less sensationalism).

FWIW there's a whole boutique industry around finding these. People have built whole careers around farming bug bounties for bugs like this. I think they will be among the first set of software engineers really in trouble from AI.

QuiEgo··on C++26 is done: ISO C++ standards meeting Trip Report
Rust’s trait system and the embedded HAL say “hi there.”
QuiEgo··on Hold on to Your Hardware
I'm thinking of this like car radios. Most cars used to have this standard called DIN to put the radio in. Most cars today don't have DIN mounts anymore. We've gotten way nicer, bigger touch screens in our infotainment now since cars are not locked into one form factor. On the other hand, it sucks in some ways because vendor lock in. I hope we at least get a tradeoff like that - that there will be something in return for it.

There are systems like the NUC but if I want a super-high-end 5090 and top-end CPU, all of the options to cool them feel like... well, something kluged together from whatever parts I can find, not something that's designed as a total system. Maybe we'll get some interesting designs out of this.

QuiEgo··on Hold on to Your Hardware
The above post is making a case that the market will implode. I think there's a chance that's really gonna happen. I'm trying to find a silver lining. If the parts market survives that'd be awesome, but there's a real chance this is the beginning of the end.
QuiEgo··on Hold on to Your Hardware
It's also reasonable from a business point of view to say "we can't justify the investment to optimize our software in the current environment." I assume this is what's happening - people are trying to get their products in customers hands as quickly as possible, and everything else is secondary once it's "good enough." I suspect it's less about developers and more about business needs.

Perhaps the math will change if the hardware market stagnates and people are keeping computers and phones for 10 years. Perhaps it will even become a product differentiator again. Perhaps I'm delusional :).

QuiEgo··on Hold on to Your Hardware
There are upsides here as well! I think of things like the NUC or Mac Mini - ATX is from 1995, I'm hopeful computers will become nicer things as we trend away from the bucket-o-parts model.

I'm very excited about the Steam Machine for the reasons you mention - I want to buy a system, not a loose collection of parts that kind-of-sort-of implement some standard to the point that they probably work together.

QuiEgo··on Hold on to Your Hardware
Unfortunately, data center computers are not something you can just use as a consumer. They usually have custom connectors, and the parts are soldered down into rack-scale computers. They use custom water cooling that needs building-sized pumps, and so on. A Blackwell rack uses 140,000 watts and weighs 3500 lbs. A typical house in the US has 40,000-50,000 watts of power max and can only support 40 lbs per sq foot. These things are never going to be useable by consumers.

If the AI boom slows, it will free up manufacturing capacity for the consumer supply chain, but there is going to be a long drought of supply.

QuiEgo··on Hold on to Your Hardware
On the plus side, we've reached the end of Moore's law and are living in an amazing age of personal computing devices.

M1 Apple Silicon MacBook Airs are still good computers 5+ years after release.

Many games are still playable (and being released on!) the PS4, which is almost 12 years old.

The iPhone 15 pro has 8gb of RAM which will likely be sufficient for a long time.

Don't get me wrong, this whole parts shortage is exceptionally annoying, but we're living in a great time to weather the storm.

QuiEgo··on Two pilots dead after plane and ground vehicle collide at LaGuardia
The dead people on that airplane are a pretty strong contradiction too this.

I’d love to see ATC funded by usage fees (some kind of “landing toll”) instead of the government (with some kind of licensing / oversight - like how pilots and pilot licensing works). The current system clearly is not working.

The government is a great tool to regulate but not execute.

If the regulations are crazy let the people who have to implement them strike.

QuiEgo··on How BYD got EV chargers to work almost as fast as gas pumps
As an EV owner, I'm not sure I agree with this. I'd make less stops if not for the car's need. That said, it's a compromise I'm willing to accept since 99% of the time I'm not road tripping but commuting, and the EV is oh so nice for the commute.
QuiEgo··on I'm OK being left behind, thanks
If you want to see the potential value of Claude, pick a somewhat isolated function in your code and tell Claude "write unit tests for this". Watch it write them, compile your code, validate the test, fix the ones it did something dumb on, and iterate. Laugh as you get 10 awesome tests and 2 really dumb ones you have to go in and clean up by hand for 5 minutes of work. Half a day of iterating later you'll have finished the extremely tedious test writing that would have taken you a day or two without Claude.

When doing a code review, tell Claude "review commit xyz". It finds things humans are not finding in reviews at this point.

Not sure about what you want to do for some design? Use Claude as a rubber duck - tell it "I'm deciding between implementing this with A or B and here's why... is there any thing I'm missing that would make the decision more clear, or any potential solution I've missed?" It has the context of your existing code, which can be incredibly helpful for stuff like this.

Opus 4.6 is good enough that it's undeniable that it's going to change the industry at this point. It's just a question of how big the change will be. The earlier models were shit. Everyone I worked with spurned them, including me. Everyone around me using Opus 4.6 is saying "well, shit, this is real now" with varying degrees of excitement and unease.

AI is not some magic pill. A lot of software development is not writing code, it's requirements gathering and design. That part doesn't magically go away, in fact it becomes way more important. But AI is speeding up the writing code part of things - if, and only if, you put down a good plan first.

People will structure their code where AI can churn on it (specs in markdown, and TDD all over again), it's useful enough to be worth it. We're going to get segmented into engineers who can use it and engineers who can't.

For this technology I'd not wait. Start learning it.

We're all going to be more focused on being architects instead of developers.

QuiEgo··on I'm OK being left behind, thanks
Electricians are on a rip right now with all the data center build outs and will likely always be in demand.
QuiEgo··on I'm OK being left behind, thanks
fwiw this is how it's always been. You don't have to be some kind of extreme extrovert, but people who are good at what they do tend to enjoy working with other people who are good at what they do, and when they see someone they recognize as "I'd work with this guy again" they put in the minimal effort to stay in contact - a hello text every few months, a cup of coffee every few years, that type of thing. Thats all it takes. If you're not doing that, yeah, you're in for a world of hurt when you go job hunting.
QuiEgo··on Chuck Norris has died
The expendables had a scene that was basically the meme in live action, highly recommend. It’s all over YouTube.
QuiEgo··on Austin’s surge of new housing construction drove down rents
Ha, today I learned.
← PreviousPage 4 of 12Next →