For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | bsder's commentsregister

> In any build system, I think the distinction between “cross” and “non-cross” compilation is an anti-pattern.

This is one of the huge wins of Zig. Any Zig host compiler can produce output for any supported target. Cross compiling becomes straightforward.


> I just couldn’t gamble my vision on the outcome of LASIK.

Perfectly reasonable. However, do know that modern versions of the procedure are way better at identifying the people who are likely to have problems.

However, even if the odds are 1 in 10,000, there is always a "1".


Apple does the same thing with iCloud. I had to go through a lot of hoops to get my wife's photos back down locally on the computer.

Apple also by default backs up your apps to the cloud.

But it backs up the WHOLE package / folder / whatever terminology they use, including cached and redownloadable data. So if you have a game that has 10GB of cached data, it WILL upload that. Edge for me was >3GB.

And then they have the following user-hostile 'features':

    1. They offer a paltry 5GB. Hasn't changed since inception, but app sizes have ... tripped? I have 2GB of health data now. 
    2. They don't tell you that you're backing up data that can be retrieved elsewhere.
    3. The popup when storage is full shows only 'buy more' or ignore (no link/mention to disable individual app like described above)
    4. No way to backup to a NAS
    5. No way to backup to a computer automatically. You have to provide you passcode every time.

The Apple backup strategy is purposefully broken. I’m already paying for 50GB of iCloud and it often claims that it cannot backup my iPhone despite having multiple gigabytes free. It turns that that during the backup process it operates on a file level, so if you happen to have a large file it will require both copies of the file to fit within your storage limit before the backup can complete. And guess what, several third party apps I use store all their data in a single multi-gigabyte SQLite database that’s written to every day.

As for cached and downloadable data, I have long ago turned off backups for many apps where the data is stored on a server anyways. Backing up these apps never makes any sense.


That's on app developers (I suspect mobile game developers are not the most competent of the bunch). My entire iPhone's backup is 4.6 GB, and my YouTube downloaded videos alone are way more than that.

> That's on app developers (I suspect mobile game developers are not the most competent of the bunch). My entire iPhone's backup is 4.6 GB, and my YouTube downloaded videos alone are way more than that.

While it's the app developers that need to make the change, it should be enforced by Apple. After all, that's why there is a walled garden, and that is the premium we pay for when using Apple.

But for Apple to enforce this means less popups on screens telling people that storage is full, which means less sales.

And again, we get to Goodhart's law.


> maybe they just don't want to learn the alternatives. Or they use word/excel/powerpoint and have to interact with others who do also.

If they're on Office 365, they could be on Linux.


The browser version of excel is vastly inferior for power users

Or winapps/cassowary/<latest tool>

I try to use libreoffice when possible but sometimes the performance takes a nosedive for opaque reasons when excel is ok


Every time I try to edit my cv containing many disconnected tables I want to scream from the frustration.

In Ms Office it's always the breeze and 2 minute job. In Libre office it's 15 at least, multiple fights with pages suddenly breaking, cells and rows refusing to stick to my dimensions or something perfectly fine in the print preview lose edges of the cells (ie missing letter, etc) when actually on paper/pdf.

Infuriating.

And I didn't even started about printing in Linux. What works in android ootb didn't consistently work for me across two distributions, several years and many versions. Papercut is the worst but cups is close second.


"Motor City" was basically the "Silicon Valley" of its day with entrepreneurs and companies. Then it got mired by a bunch of businesspeople rent seeking rather than innovating and collapsed.

> When I was a kid, Detroit was a symbol of US industry and engineering. All those huge muscle cars.

Which was precisely the problem at the time. Detroit was producing muscle cars (with terrible engineering other than gigantic engines) and huge land yachts "Because profit!" when gas was going nuts and got demolished when Japanese cars showed up. Sound familiar? Detroit is producing Brodozers "Because profit!" when gas is going nuts and is going to get demolished when BYD finally shows up.

> Now it's a symbol of US decline, I think. It's strange to me that the USA let this happen, or that it didn't have the power to stop it happening.

I can't think of any country that managed the transition away from a manufacturing labor dominated economy. All of them wound up with their large employment manufacturing centers completely hollowed out and left to rot.

The echoes of this neglect reflect into the anger of the electorate we see today.

However, these same people also refuse to embrace working in new fields like renewable energy. They have completely forgotten that even in the 1970s when the auto companies were extremely sclerotic their employees still had to retrain constantly (that was one of the duties of the unions).


> The sales really exceeded their expectations that much?

Windows 11 demands TPM 2.0 which means that your old laptop may not be upgradable and yet support for Windows 10 has dropped. And add in a dash enshittification via AI and no real local login options.

There were a lot of people who were looking for a new laptop just as Apple dropped this.

How could Apple predict Microsoft shooting itself in both feet and the head right before they dropped a really nice cheap laptop?


> first, there are local maxima in terms of learning something like guitar where you get bad habits and the only way to progress is to undo them.

I'm not convinced for guitar. Some of the fastest and most famous guitarists had shockingly bad technique.

As long as you're not injuring yourself, practice and determination pretty much overcomes everything.


> Some of the fastest and most famous guitarists had shockingly bad technique.

The universe didn't offer a manual on how to play guitar, so how are you determining that their technique was bad? Given what you say about them, maybe they actually had the perfect technique?


The universe didn’t offer a manual, but mankind has largely arrived at some orthodoxy for the most efficient and ergonomic ways to fret, bend, pluck, tap, strum, etc. In many cases, these are objectively better techniques to use once mastered, but they’re not the only way.

> In many cases, these are objectively better techniques to use once mastered

Given a certain set of quantifiable measures that is no doubt true, but then that only pushes the question to how are the measures determined to be objectively relevant? If the aforementioned fast/famous guitar players had started with a different technique there is a chance they wouldn't have become fast/famous. In that case, given the criteria of reaching notable speed/fame, it is possible their "bad" methods were actually best of all.

But also, even where everyone agrees there is a better way, that doesn't equate to an alternative being bad. So the original question still stands: How do we determine "shockingly bad" as opposed to "different"?


I see this "bad technique" angle expressed quite often when talking about self-learning. I tend to think it is overblown a bit. I started learning piano by myself during covid. Then I went to two teachers. Neither one had anything bad to say about my technique.

Teachers of beginners understand that keeping them motivated and practicing is the primary problem. Cleaning up your technique is simply not a goal. Doubly so if you are an adult learner.

Piano is also a lot harder to have very bad technique than other instruments since it is mostly a discrete, one-to-one mapping. If you want a chord with some particular notes, a lot of the time there is only a single fingering that will do. If you push the key hard enough, you will get the correct note, and it won't be wrong if you push harder.

By contrast, in guitar, if you push too hard, your note will be off even though you fretted in the correct place. Or, for example, everybody in guitar teaches barre chords up near the nut, when that's extremely difficult and likely to injure a beginner who has neither the strength nor control to get that right, instead of teaching barre chords near the body on fewer strings. etc.


dont make fun of jimmy page like this he was trying very hard

> This is language-version-specific behavioral minutiae that anyone can look up in 5 minutes in the rare case it matters, and is otherwise irrelevant to engineering software at a senior level.

The fact that C++ programming books have entire sections about destructors (see: Effective C++) shows that this is very much not irrelevant minutiae. C++ forces you to deal with this kind of detail all the time.

Now, we can have a much more interesting discussion about whether C++ is a disaster of a language precisely because you are forced to deal with this kind of minutiae by hand. We could also have an interesting discussion about whether RAII is the "object oriented" of our time. We could even have an interesting discussion as to why so many companies ban constructors/destructors in their C++ programming guidelines.

However, irrelevant minutiae C++ destructors are not.


What book covers in depth *throwing* from destructors? Even more sane thing — throwing from constructors and function arguments — is mentioned in passing ("unwind will take care of everything, don't think too hard about it") unless you are in a language lawyer mailing list. But exceptions *during destruction*? What book discusses that? That's like covering use of NaN values as map<> keys...

"Effective C++" ?

  Chapter 2: Constructors, Destructors, and Assignment Operators
      Item 5: Know what functions C++ silently writes and calls.
      Item 6: Explicitly disallow the use of compiler generated functions you do not want.
      Item 7: Declare destructors virtual in polymorphic base classes.
      Item 8: Prevent exceptions from leaving destructors.
      Item 9: Never call virtual functions during construction or destruction.
      Item 10: Have assignment operators return a reference to *this.
      Item 11: Handle assignment to self in operator=.
      Item 12: Copy all parts of an object.
This stuff is bread and butter of C++ (or at least it used to be; perhaps this is different in "modern" C++) and lots and lots of grist for people like Scott Meyers and Herb Sutter.

"Prevent exceptions from leaving destructors." — thank you for providing well known sources that support my point! Although sadly we all have to eat Sutter Meyers bread, at least it explicitly tells you to not worry about the way exceptions are handled during object destruction — by simply avoiding such exceptions.

No C++ "bread and butter" I have seen so far goes into depth on this subject.


Ban constructors? Though I don't agree with the practice, I could imagine a reason for banning destructors. But constructors? Why?

Because the two go together. If you have to ban one, you pretty much have to ban both.

Although, I guess if you only statically allocated everything once at startup, you could use constructors without destructors? Presumably using the placement versions would also let you use constructors without destructors.

I'm generally talking about systems that are <64KB. You basically don't get heap and determinism is really important.


I see, thank you. I have never done embedded.

> Honestly, this doesn't seem unreasonable to me. At some point, you have to cut off previous technologies because virtually everyone's moved to something better.

Better? In what way? And for whom? Certainly not for this man.

What happens when the Google or Apple system hiccups and locks you out? Now what? What happens when your battery dies? What happens when you drop your phone and bust it? What happens if someone hijacks your number? etc.

And, I don't for one second believe this is anti-scalping. They can identify scalpers from a million miles away at this point. If they wanted to shut them down, they'd be gone tomorrow.

This is about tracking and upselling. These people are "whales" and they want to badger them to spend more money.


> where do people stand on the Flying Lizard's cover of Money (that's what I want)?

It's fine precisely because it provokes emotion that AI stuff doesn't. You may love or hate what the Flying Lizards did, but it's very memorable and you will have an opinion about it (My wife loves it; I think it's stupid--C'est la vie.)

The AI generated music just sounds like every other average artist. I'm definitely not even convinced it's AI. It could very well be somebody claiming "AI" in order to game the system or get people talking about it.

As for occupying iTunes spots, why not? Is there much difference between Max Martin and his ilk shitting out yet more generic glop or AI doing it?


It genuinely warms my heart that the Flying LIzards did what they did .. but I also think it kind of stupid in a fun way and don't got out of my way to listen to it.

I feel much the same about a lot of the early AI music I've heard, I have a couple of channels on a lesser rank of RSS notifications but more and more there's less and less that's remarkable and it's feeling like the worst kinds of elevator music .. you know, not the Brian Eno stuff . . .

So yeah, we're sitting about like two Yorkshiremen giving a real Thomas Beecham "Shostakovich? I think I stepped in some once" vibe here. Probably deservedly.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You