News for hackers. Stuff that matters.
Re:Apple says they're removing my game because it's more tha... by thewebcount on Saturday April 23, 2022 @03:44PM (#31137757)
I understand being upset with Apple at this arbitrary cutoff. But can we also talk about why a recompile isn’t as simple as opening the old project and hitting “compile”? I work on a large project (millions of lines of code), which has been in continuous development for 20 years. Every new compiler or IDE release results in us having to dedicate at least one engineer full time for a few days to get our project compiling again with the new tools before the team can switch over. That’s a project that previously compiled with no errors or warnings (because we set warnings are errors to true) suddenly can’t build. It’s ridiculous! I can’t imagine throwing something like Unity in on top of that.
Re:Apple says they're removing my game because it's more tha... by cpeterso on Saturday April 23, 2022 @04:15PM (#31138069)
Someone replied to the original tweet with an example of their iOS dev experience:

Boss wants to change our iOS game icon. Changing icon requires a new build. A new build requires iPhone X support. iPhone X build target requires Xcode 9. Xcode 9 requires macOS 10.12. OS update breaks old Unity3D. Upgrading Unity breaks build.

https://twitter.com/aaefiikmnnnr/status/931222777301835782?s...

Re:Apple says they're removing my game because it's more tha... by TeeWEE on Saturday April 23, 2022 @05:11PM (#31138591)
It's called code-rot..

Systems improve over time. Apple's privacy in iOS improved a lot. Not updating your apps makes it hard to keep up with API changes. Its normal you have todo some work to ensure it still works. Sometimes you're out of luck. But not all dependencies stay with us forever. Software is sadly enough not immutable, environment impacts how software runs... My old android game stopped working on newer devices 3 years ago due to a OpenGL bug that was fixed, i depended on the bug in order to make my app work.

Welcome to the real world

Re:Apple says they're removing my game because it's more tha... by tragictrash on Saturday April 23, 2022 @06:06PM (#31139104)
While I loathe apple's moves lately, including this one, I have to agree with this comments sentiment.

Software is not free once written. You need to expend resources to keep it up to date and secure.

If you aren't keeping things up to date, you are neglecting the maintenance of your application. You wouldn't be surprised if your car stopped working if you never change the oil. Apple is taking proactive actions here, presumably to protect the end user experience. Wether or not I agree with the manner of proactive action is a different issue. We know apple loves to exert tons of control over things like this.

Apple is difficult to work with. It takes maintenance to keep apps up to date. Yes, the two year thing seems a bit over the top but remember the real issue is that this guy can't submit a new build because he hasn't added support for the last two OS versions.

The app store is hard to work with, but they payoff is immense also.

Welcome to the real world.

Re:Apple says they're removing my game because it's more tha... by ordiel on Saturday April 23, 2022 @06:15PM (#31139166)
Immense - 30% they take to give you more trouble and kick you out whenever they deem it "necessary"... you know 'cuz you, their customer is the biggest threat to them and the users (Google/Apple)... honestly at this point I am all down to just go to another app store... once they let you do that without restrictions on the device Yyou paid for....
Re:Apple says they're removing my game because it's more tha... by tragictrash on Saturday April 23, 2022 @06:54PM (#31139468)
Listen, I totally agree with you. It's total BS and should be better.

That being said, I also think your frustrated and typed word salad into the reply box.

I'm not apple. I don't like apple's practices. I don't own any apple devices (beyond what's required to support an iOS app) because I take an issue with the same things you do.

The reality is, if you want to support apple devices, you have to play their game, and that means updating your apps regularly. Sorry if you don't like it. I don't either.

Again, welcome to the real world.

Re:Apple says they're removing my game because it's more tha... by howinteresting on Sunday April 24, 2022 @03:05PM (#31147160)
This is ridiculous. A game that has no online component has roughly zero maintenance burden. This is why, for example, the original Deus Ex is still one of the better ways to spend your time playing games on PC.

Network connectivity has brought along with it a certain level of toxicity around updates and maintenance and such. At the very least Apple could be shipping older runtimes, downloaded on demand similar to Steam Proton runtimes.

Re:Apple says they're removing my game because it's more tha... by xeromal on Sunday April 24, 2022 @02:11AM (#31141681)
It's a game though. What security does it need?
Re:Apple says they're removing my game because it's more tha... by faeriechangling on Sunday April 24, 2022 @12:39AM (#31141347)
My gut feeling is to agree with you.

The more reasoned part of me says that you're totally wrong and you can boot up Windows and run software from two decades ago and the only real issue will be high dpi support which can be worked around.

There's nothing actually necessary about what Apple is doing in the least. They could even take a soft approach and simply slap a "vintage" tag on old unpatched software and call it a day. There is something profoundly stupid about automatically banning any software more than 2 years old from all Apple devices without even giving users the choice to use that old software. I'm not even saying it's morally wrong, or it's bad for consumers, I'm saying it an incredibly dumb decision. There is SO MUCH niche software out there designed for a tiny audience which nobody will ever be able to afford regularly updating so long as it's still basically working. Trying to maintain this ideal where only well patched up to date software appears on the app store is just dumb.

Re:Apple says they're removing my game because it's more tha... by franknine on Saturday April 23, 2022 @05:20PM (#31138680)
Sometimes they just force you to implement feature for them, like “Sign in with Apple”

> We’ve updated the App Store Review Guidelines to provide criteria for when apps are required to use Sign in with Apple. Starting today, new apps submitted to the App Store must follow these guidelines. Existing apps and app updates must follow them by April 2020. We’ve also provided new guidelines for using Sign in with Apple on the web and other platforms.

> 4.8 Sign in with Apple Apps that use a third-party or social login service (such as Facebook Login, Google Sign-In, Sign in with Twitter, Sign In with LinkedIn, Login with Amazon, or WeChat Login) to set up or authenticate the user’s primary account with the app must also offer Sign in with Apple as an equivalent option.

Re:Apple says they're removing my game because it's more tha... by franknine on Saturday April 23, 2022 @05:48PM (#31138946)
And implementing Sign in with Apple in Unity is one of the worst experience in my career that I dedicated a blog post talking about:

  - Native Sign in with Apple button not working in Unity
  - Official Sign in with Apple plugin provided by Unity also not working
  - Hooked up API with help from GitHub and created Sign in with Apple button by myself ended up getting `4.0 Design` rejection without explanation
  - Trying crazily to contact Apple reviewer for weeks only to find out you have to use system font on that button
  - Unity cannot support new Thai system font after iOS 13 and they mark it won’t fix
  - Ended up building a native sample app and screenshot Sign in with Apple button from it in 12 different languages into PNGs and ask the my designer co-worker to remove background for me to import them into Unity
  - After all these the update is finally accepted by App Store
  - Casually downloaded games by other companies a week later, saw a totally malformed Sign in with Apple button not being nitpicked by reviewer and just went live like that
Re:Apple says they're removing my game because it's more tha... by bspammer on Saturday April 23, 2022 @06:15PM (#31139167)
Which is great for users. I seriously love Sign in with Apple because it lets you hide your email address from random app #941245.

I always wondered why so many apps support it because it seems like they'd prefer to know your real email, but now it makes sense.

Re:Apple says they're removing my game because it's more tha... by heavyset_go on Saturday April 23, 2022 @05:53PM (#31138982)
I can still run 20+ year old demoscene binaries on Windows and WINE. Linux binaries from that period still work, as well.
Re:Apple says they're removing my game because it's more tha... by michaelt on Saturday April 23, 2022 @06:43PM (#31139383)
While Apple could do a Microsoft and try to keep third-party software working for decades, they've realised they can offload that work to the third parties for free.
Re:Apple says they're removing my game because it's more tha... by threeseed on Saturday April 23, 2022 @07:03PM (#31139538)
Apple has also transitioned their entire platform from 680x0 to PowerPC to x86 to ARM.

Whereas Microsoft has been basically stuck on x86.

Re:Apple says they're removing my game because it's more tha... by heavyset_go on Saturday April 23, 2022 @07:40PM (#31139781)
I can easily run old x86 Linux binaries on ARM, and vice versa, automatically with binfmt_misc. User-mode emulation allows you to run x86 Windows binaries on ARM WINE, as well.

And Microsoft fully supports running x86 applications on ARM Windows[1], as well.

[1] https://docs.microsoft.com/en-us/windows/uwp/porting/apps-on...

Re:Apple says they're removing my game because it's more tha... by hedora on Saturday April 23, 2022 @10:11PM (#31140661)
My raspberry pi boots Windows 3.1 just fine (through dosbox). It's more likely to run a random dos / win 3.1 program than my iPhone is to run a random piece of old iOS software.

Put another way, the raspberry pi runs all but two of the games I played in that era. I can think of 6 iOS games that no longer run, and I played at least 10x as many games on DOS as iOS.

My experience with productivity software has been similar.

Re:Apple says they're removing my game because it's more tha... by thewebcount on Saturday April 23, 2022 @10:28PM (#31140755)
> It's called code-rot..

Totally, but that’s not what I’m talking about. We did the move from OpenGL to Metal, for example. It was tough, but it is a huge improvement and we were glad to do it to avoid code rot. I’m talking about how something that we wrote and compiled with the last fully updated IDE a few months ago suddenly stops working in the next release and requires tweaking. This isn’t 20 year old code that we haven’t touched. It’s 20 year old code we’ve been religiously updating the entire time.

Re:Apple says they're removing my game because it's more tha... by msla on Saturday April 23, 2022 @05:41PM (#31138875)
Linux runs thirty-year-old binaries because of kernel and hardware compatibility.
Re:Apple says they're removing my game because it's more tha... by ohgodplsno on Saturday April 23, 2022 @05:16PM (#31138647)
Meanwhile in the real world:

Windows software still runs 20 years after in compatibility mode

Re:Apple says they're removing my game because it's more tha... by colejohnson66 on Saturday April 23, 2022 @06:38PM (#31139345)
Technical debt has a cost. Raymond Chen has countless blog posts about what it takes keeping backwards compatibility working. For example, an update to some part that should not break anything actually ends up breaking an app because the developers decided to monkey patch based on a match of a byte string or whatever that ended up changed.

The only reason WINE works is because of a massive community effort to reimplement those bugs that Windows is forced to keep.

Re:Apple says they're removing my game because it's more tha... by frosted-flakes on Saturday April 23, 2022 @05:44PM (#31138896)
The binary still runs, but can you re-compile from source?
Re:Apple says they're removing my game because it's more tha... by ithkuil on Saturday April 23, 2022 @05:49PM (#31138955)
As long as you keep your old tool chains and old dependencies etc etc
Re:Apple says they're removing my game because it's more tha... by bagels on Saturday April 23, 2022 @06:00PM (#31139047)
> Systems improve over time.

They at least change over time. Not all of them improve.

Re:Apple says they're removing my game because it's more tha... by hedora on Saturday April 23, 2022 @10:13PM (#31140673)
Thanks to the magic of emulation, some systems keep improving after they stop changing.
Re:Apple says they're removing my game because it's more tha... by voldacar on Sunday April 24, 2022 @02:30AM (#31141761)
there is no reason to assume a priori that systems improve over time. if anything, the opposite is the case. the overall computing experience has been steadily declining for many years, due to the web, javascript, electron, etc
Re:Apple says they're removing my game because it's more tha... by exabrial on Saturday April 23, 2022 @06:14PM (#31139153)
> Systems improve over time

They do, but Apple intentionally harms older systems.

Re:Apple says they're removing my game because it's more tha... by anonymoushn on Sunday April 24, 2022 @03:24AM (#31141963)
code-rot sounds like an appropriate way of describing what's happened to the OS and build tools.
Re:Apple says they're removing my game because it's more tha... by tedunangst on Saturday April 23, 2022 @04:41PM (#31138302)
The longer you leave the yak unshaved, the longer it takes to shave it.
Re:Apple says they're removing my game because it's more tha... by franknine on Saturday April 23, 2022 @05:04PM (#31138536)
Working on games with Unity for nearly a decade, the standard approach is to defer upgrading Unity as long as possible. Generally we stay on the old LTS (Long-term support) version until it’s no longer supported. Latest version and new LTS are very unstable with game crashing bugs on certain platforms that I had to spend weeks to track down and spend weeks to convince Unity QA there is actually a problem then wait for months to get it fixed. It’s better to just stay away from the latest and greatest, having other people do the demining.
Re:Apple says they're removing my game because it's more tha... by Wowfunhappy on Saturday April 23, 2022 @05:05PM (#31138546)
Games aren't like other software. People are still playing Psychonauts even though it hasn't been updated in a decade. Double Fine doesn't have the resources to go in and update the game engine every year.

(I'd argue there's more room for this in non-game software as well, but certainly for games...)

Re:Apple says they're removing my game because it's more tha... by emsy on Saturday April 23, 2022 @05:02PM (#31138513)
My windows is full of bald yaks.
Re:Apple says they're removing my game because it's more tha... by st3fan on Saturday April 23, 2022 @05:25PM (#31138736)
It is already very time consuming to stay up to date with Apples ecosystem. Swift evolves. Xcode changes. The runtime. The App Store. The APIs evolve. SwiftUI is radically different every year.

Throw something like Unity in the mix and now you have even more things to keep up to date.

You can say well that is just nonsense. My app is finished. But is it really? what if you actually need to do a critical bug fix. Or something to be compatible with new hardware?

There is no simple answer here. But one thing I’ve learned is that staying as “standard” as possible is a huge huge advantage. Apples upward path is mostly manageable.

Re:Apple says they're removing my game because it's more tha... by markdown on Saturday April 23, 2022 @04:52PM (#31138426)
> OS update breaks old Unity3D.

I'm still on Mojave because I'd have to say bye bye to Adobe Fireworks if I upgraded.

Re:Apple says they're removing my game because it's more tha... by boondaburrah on Saturday April 23, 2022 @09:04PM (#31140283)
I wonder for how many people Mojave is the last Mac OS they can use simply because Adobe stopped selling software for anything later (you can only rent), and other various 32-bit reasons.

Adobe products are sadly required for industry work.

Re:Apple says they're removing my game because it's more tha... by KennyBlanken on Saturday April 23, 2022 @05:02PM (#31138515)
You've had a decade to find an alternative to Fireworks - a vector graphics program.

It might be time to move on.

Re:Apple says they're removing my game because it's more tha... by Robotbeat on Saturday April 23, 2022 @05:12PM (#31138608)
Imagine if the tools in your shed turned to dust after 5 years. And these are analogue, physical objects. Digital objects if stored in a properly error-correcting medium, can last indefinitely. No excuse for this.

Imagine a library of books where every book over 5 years old is burned.

Re:Apple says they're removing my game because it's more tha... by voakbasda on Saturday April 23, 2022 @05:35PM (#31138830)
You deserve more upvotes, because your analogies are not far from the truth. We are living through a black hole of history, where valuable information is being destroyed at unbelievable rates by virtue of it becoming completely inaccessible through the planned obsolescence of incessant upgrades.
Re:Apple says they're removing my game because it's more tha... by driverdan on Saturday April 23, 2022 @05:35PM (#31138825)
That's not a reasonable comparison. A more accurate one would be something like having a 25 year old 12V battery drill and expecting the manufacturer to still make and sell the NiCad battery pack it used. Sure they could do it but it doesn't make any sense. Technology has moved on and there's no consumer demand for it.

I agree that Apple and other companies are too aggressive about breaking compatibility but it's not the same thing as tried and true physical objects.

Re:Apple says they're removing my game because it's more tha... by ryandrake on Saturday April 23, 2022 @06:07PM (#31139109)
This is not a good comparison. Nobody is trying to use a new battery. They just want old battery to continue working as it has. Code does not rot like batteries wear out. Companies deliberately break compatibility, and then they blame arising problems on “code rot”.

Changing icon should not require a new build. A new build should not require iPhone X support. iPhone X build target should not require Xcode 9. Xcode 9 should not require macOS 10.12. OS update should not break old Unity3D. Upgrading Unity should not break builds.

These are all examples of shitty engineering decisions that throw backwards compatibility under the bus for shaky (expedience, mostly) reasons.

Re:Apple says they're removing my game because it's more tha... by bombcar on Saturday April 23, 2022 @07:18PM (#31139637)
Re:Apple says they're removing my game because it's more tha... by goosedragons on Saturday April 23, 2022 @06:02PM (#31139063)
We basically have that with the way publishers license ebooks to libraries. :(
Re:Apple says they're removing my game because it's more tha... by prewett on Saturday April 23, 2022 @07:00PM (#31139506)
Libraries do cull their collection and sell books that haven't been checked out in N years, though, which is sort of similar.
Re:Apple says they're removing my game because it's more tha... by Wowfunhappy on Sunday April 24, 2022 @12:45AM (#31141365)
Here's the thing though—if I want one of those books that the library removed from their collection, I can do some research and track down a copy from another source.

On iOS, there is no other source. Once Apple removes an app from their store, that's it—unless you bought it already, it's gone forever, no recourse.

Re:Apple says they're removing my game because it's more tha... by Jcowell on Tuesday April 26, 2022 @07:32AM (#31166157)
Couldn’t you do the same and find the author and get the .ipa file?
Re:Apple says they're removing my game because it's more tha... by Wowfunhappy on Tuesday April 26, 2022 @08:52PM (#31175017)
No, you can't sideload on iOS. IPA files are tied to your Apple ID.
Re:Apple says they're removing my game because it's more tha... by andai on Saturday April 23, 2022 @05:08PM (#31138562)
I still use EasyToon, originally published 1998. Then again, I'm on the only operating system that actually values backwards compatibility.
Re:Apple says they're removing my game because it's more tha... by UnpossibleJim on Saturday April 23, 2022 @05:14PM (#31138631)
Yessssss..... come to the Linux community. Become one of us... one of us. There is no better time than now. One of ussssss. =)
Re:Apple says they're removing my game because it's more tha... by arinlen on Saturday April 23, 2022 @06:04PM (#31139083)
> Boss wants to change our iOS game icon. Changing icon requires a new build. A new build requires iPhone X support. iPhone X build target requires Xcode 9. Xcode 9 requires macOS 10.12. OS update breaks old Unity3D. Upgrading Unity breaks build.

* The iPhone X was released on 2018.

* Xcode 9.0 was released on 2017, and 9.4.1 (last release) on 2018.

* macOS 10.12 was released on 2016.

I'm sorry to say, but this sort of setup does not reflect well on anyone working on the project. Apple's call out should be considered a wakeup call.

Also, doesn't Xcode 9 only support iOS releases up to iOS 11? The global market of all iOS versions lower than iOS 11 should lie in the lower single digits.

Re:Apple says they're removing my game because it's more tha... by maccard on Saturday April 23, 2022 @06:57PM (#31139486)
The problem here is unity (which, by the way is one of the most popular game engines, and is often sold as the indie friendly, mobile friendly engine). Standard operating procedure for Unity games is pick the latest LTS engine version as the base for your project, and don't ever update, because the updates are _so_ much work it's untenable to keep up with them. (This was official advice given to us by a unity sales rep at one point in the last 2 years).

These aren't like node updates, these are closer to Firefox removing legacy extensions, except happening quarterly. There's no guarantee that something that is "stable" in your version will work the same way in a newer version. Unfortunately, the engine is tied to specific iOS SDK versions, so in order to use a more recent iOS SDK you're forced to upgrade your unity version alongside it...

Re:Apple says they're removing my game because it's more tha... by howinteresting on Sunday April 24, 2022 @03:09PM (#31147203)
The idea that Unity (market cap $22 billion) should put in the work to stay compatible while Apple (market cap $2.64 trillion) should not is deplorable.
Re:Apple says they're removing my game because it's more tha... by maccard on Sunday April 24, 2022 @03:47PM (#31147633)
I'm certainly not making the claim you accuse me of, however Apple's compatibility is substantially better than Unity's. Apple's reasoning for breaking backwards compatibility is often sound; reducing the attack surface of misused APIs. The alternative is what you have on Android right now, a bunch of applications that still ask for the sun and moon and stars for permissions because they can. Unity's path is more of a scorched earth policy in my experience.
Re:Apple says they're removing my game because it's more tha... by howinteresting on Monday April 25, 2022 @02:14PM (#31158632)
I don't see why API misuse is an issue for an indie game with no online component.
Re:Apple says they're removing my game because it's more tha... by michaelt on Saturday April 23, 2022 @06:47PM (#31139411)
You do realise the tweet you're replying to is from 2017?
Re:Apple says they're removing my game because it's more tha... by kazinator on Saturday April 23, 2022 @03:57PM (#31137887)
If you set warnings to errors, and upgrade your compiler from time to time, you're asking the compiler people to help find hitherto undiscovered issues in your code using the latest diagnostic tools that they have come up with.

If you don't want to be informed, then don't do that. But those issues could be real bugs.

For instance, one fine day GCC got the ability to diagnose situations when the indentation of an nested if statement is deceptive compared to the actual precedence of the clauses. So if someone had warnings as errors, and had such a statement, then their build stopped. If that was a real bug, they were grateful.

Re:Apple says they're removing my game because it's more tha... by gnubison on Saturday April 23, 2022 @05:13PM (#31138618)
Please, please, please don’t do this for end-user compiled software, because someday they’re going to be using a more modern compiler than you and their build is going to break because of new warnings that you couldn’t anticipate.
Re:Apple says they're removing my game because it's more tha... by kazinator on Saturday April 23, 2022 @07:12PM (#31139596)
There is a sane alterantive: keep your code free of warnings, so that they stick out like a sore thumb, so that you then take them seriously in order to ... keep your code free of warnings. Disable anything you don't intend to fix; don't leave it littering your build output.

A clean build looks like this

   CC foo.o
   CC bar.o
   CC parser.o
   parser.c:42: warning: new thing found here (-Wnew-thing).
   CC lexer.o
   ...
you hide all the details of the compiler command line so the diagnostics stand out.

Warnings-as-errors is just a kind of negotiating hammer that is useful in team situations, when the developers have gotten used to ignoring new warnings, usually because they are hidden among reams of ignored old warnings.

Also, in a compiler that has a GCC-like interface, you can turn specific warnings into errors, which is useful. If there is something you don't tolerate in the code base, and it happens to be diagnosable as a warning, then you can error it.

GCC turns some required ISO diagnostics into mere warnings, like say assignments between incompatible pointer types. That kind of thing may be worth turning into an error.

Re:Apple says they're removing my game because it's more tha... by slavik81 on Saturday April 23, 2022 @06:07PM (#31139108)
I've had to remove deprecation warnings because downstream users enabled warnings as errors in their releases. They could fix newer versions of their software, but being able to build old versions on new dependencies was a requirement.

The solution was to introduce a deprecation message that wasn't technically a warning, and warn about the upcoming depreciation warning.

Re:Apple says they're removing my game because it's more tha... by kazinator on Saturday April 23, 2022 @07:13PM (#31139604)
The solution with a compiler that has a GCC-like interface is to use -Werror=<specific-thing>. Not -Werror globally for all warnings that currently exist and that will exist henceforth.
Re:Apple says they're removing my game because it's more tha... by lolinder on Saturday April 23, 2022 @05:59PM (#31139036)
Is there any reason why the user in question couldn't turn off warnings at that point if they don't want to bother with it?
Re:Apple says they're removing my game because it's more tha... by hedora on Saturday April 23, 2022 @10:18PM (#31140703)
The best approach I've seen is to make it easy to toggle Werror, but make sure each PR and all automated builds are built with it on. Werror off by default makes more sense if you have more non-developers building it than team members.
Re:Apple says they're removing my game because it's more tha... by lupire on Saturday April 23, 2022 @05:21PM (#31138684)
When do end users compile software but don't want to fix bugs?
Re:Apple says they're removing my game because it's more tha... by kadoban on Saturday April 23, 2022 @05:31PM (#31138796)
When the bug they're being forced to fix does not affect them. This can happen when they want to make some other change, or maybe they don't even need changes, they just need a build that doesn't exist.
Re:Apple says they're removing my game because it's more tha... by ploxiln on Saturday April 23, 2022 @05:37PM (#31138843)
New warnings usually do not indicate real bugs. Sometimes they do, but usually they are false positives. -Werror causing a build to fail is strictly worse than the alternative (working roughly as well as before, sometimes slightly better or worse due to new optimizations). This is the direct cause of "software decay" here. The software would not "decay" nearly as much without -Werror.

Often a technical linux user will want to download a source tarball for a particular version of a utility or program, and build it on or for a particular linux distro they're using. They usually do not want ad-hoc modifications done to the source of all the specific utility versions they compile for their system this way.

Re:Apple says they're removing my game because it's more tha... by kazinator on Sunday April 24, 2022 @12:17PM (#31145497)
When that's the only way to just get the software, because there is no binary package. If it doesn't build or run, some users just give up and go onto something else.

Sometimes the package maintainers who make binaries for themselves and others don't want to fix bugs. At most some minor build things, but something actually broken is punted upstream.

You may see behaviors like the program being disabled (unavailable) for some platforms because it couldn't build or tests didn't pass. Or the package will stay on the old version of the program: 1.2.3 isn't building, so we just give up for now and stick with packaging 1.2.1. Maybe 1.2.4 will fix it. In these situations, package maintainers will not always contact upstream; the developer doesn't know unless they go into that distro's site and search the issues for activity related to their program.

Re:Apple says they're removing my game because it's more tha... by verelo on Saturday April 23, 2022 @03:52PM (#31137839)
Sometimes recompiling into a new version of Xcode is required and that can result in very painful edits. While locally you can do whatever, apple often requires you to be using a very recent sdk (sometimes for good reasons like OS security of privacy changes)
Re:Apple says they're removing my game because it's more tha... by SilasX on Saturday April 23, 2022 @05:54PM (#31138994)
I was really upset when I ran into this problem with Docker. Like, I thought the whole point of virtualization was that, no matter how old it is, it will Just Work, so long as the virtualization software works, and it has enough resources. It’s supposed to sidestep the problem having to constantly patch everything that might have changed since.

Then one day, our startup brought some new employees on, who read the README and ran the indicated Docker command … and it failed with a mysterious bug requiring dev resources to debug! The exact thing you try to avoid by freezing the machine environment.

It turned out that Docker had silently pushed a backward-incompatible change in the format of docker-compose YAML files.

Re:Apple says they're removing my game because it's more tha... by seba_dos1 on Saturday April 23, 2022 @08:53PM (#31140235)
That's not what containerization is about as can be easily demonstrated by simply running your container on a kernel that's built without some config option you rely on.
Re:Apple says they're removing my game because it's more tha... by SilasX on Saturday April 23, 2022 @09:25PM (#31140410)
Wait, what? So this isn’t a problem because you can just make a container for your containers that preserves the original API? Then what do you depend on for that container?

It’s like Office Space, “what would you say it is you do here?”

Re:Apple says they're removing my game because it's more tha... by hedora on Saturday April 23, 2022 @10:21PM (#31140716)
Containers standardize user space, and let processes think they're listening on ports that are already taken. They do some resource isolation, and provide similar security guarantees as painting the back of your laptop with snake oil.

They don't help at all with kernel API drift, and barely help with libc drift.

Re:Apple says they're removing my game because it's more tha... by SilasX on Saturday April 23, 2022 @10:49PM (#31140853)
I didn’t say anything about security guarantees. Where did that come from?

You’re saying that using a container — which defines a specific version of an OS — shouldn’t protect against differences between that version and a new OS version? And shouldn’t save any effort whatsoever in reproducing the environment in which I got code working?

The sole purpose is so that I can leave an app configured to talk to port 8000 even though my machine is already using port 8000?

That feels like it falls short of the conventional case for virtualization or containerization.

Re:Apple says they're removing my game because it's more tha... by hedora on Saturday April 23, 2022 @11:19PM (#31141029)
You asked what they do.

One of the main selling points is security. (They don't do much for security, but that sort of thing doesn't matter much to sales).

The most useful feature is they reduce the pain associated having negligently-large build and runtime dependency trees.

They also add a few ulimit style tricks. Think "better than chroot, arguably worse than BSD jails", but with a standardized cross-linux-distro build system (dockerfiles)

Re:Apple says they're removing my game because it's more tha... by SilasX on Sunday April 24, 2022 @02:27AM (#31141744)
>You asked what they do.

I asked for their ostensible justification. A valid answer should not involve making up a justification I never referred to, with the implication I had done so, with you refuting said justification, even if other people proffer said justification.

And the reason that I asked, was because the first reply eye-rolled at the problem I ran into, and then (seriously, as best I can tell) suggested I should have solved it by nesting a VM within the existing VM to control the dependency chain that led to the problem — even though that was what the first VM exists to solve!

To clarify, here is that (dubious) reply again:

> That's not what containerization is about as can be easily demonstrated by simply running your container on a kernel that's built without some config option you rely on.

That is, surrounding the container by a controlled environment would avoid the problem… but I was already controlling the environment by a VM that exists to solve that problem! Hence, (sardonically) wondering what the first one is accomplishing.

> The most useful feature is they reduce the pain associated having negligently-large build and runtime dependency trees.

No, the most useful feature is locking down a machine spec that Just Works. When I have to go and debug things about that machine that suddenly fail, for reasons Docker (not the machine) introduced, I lost the most useful feature.

Sating my desire to have my app point at port 8000 and no other … is way, way down the list.

Re:Apple says they're removing my game because it's more tha... by seba_dos1 on Sunday April 24, 2022 @02:28AM (#31141753)
Justification? For what? Seems like you're the one who feels entitled for something, it's you who needs justification.

> and then (seriously, as best I can tell) suggested I should have solved it by nesting a VM within the existing VM

You were the first to suggest anything like that. My answer did not offer any suggestion for solution at all, read it again.

> No, the most useful feature is locking down a machine spec that Just Works.

That's not a feature Docker ever had or intended to have. Seems you have misunderstood something about what containers actually are. They're very explicitly not "virtual machines lite", and it sounds like you want an actual virtual machine instead.

Re:Apple says they're removing my game because it's more tha... by hedora on Sunday April 24, 2022 @07:45PM (#31149325)
There are things that containers acually do (I discussed those above, and won't repeat), and things they ostensibly do, but do not actually do, such as security sandboxing, or providing a fixed, "just works" environment for your binaries, like a VM would.

As far as I know, the people making the incorrect claims/assumptions are distinct from the people that built commonly-used containerization software.

If you want to understand what containers are, start with the mental model that it is a chroot with /dev, /sys and /proc mounted, and with processes running with uid=0. Their sandboxing isn't quite that bad, but they are closer to chroot environments (or bsd jails) than a VM. Next, package a few things by writing dockerfiles, then deploy them to a raspberry pi or something.

If you still care, then follow up by reading the kubernetes tutorials.

Edit: This message is directed to SilasX.

Re:Apple says they're removing my game because it's more tha... by seba_dos1 on Saturday April 23, 2022 @10:50PM (#31140867)
> shouldn’t protect against differences between that version and a new OS version

What does "should" in this context even mean? They don't, because they're not meant to do that. They can be used to shield you from some differences, and for many use cases that subset is all that matters, but they don't and can't shield you from all of them.

Re:Apple says they're removing my game because it's more tha... by SilasX on Sunday April 24, 2022 @02:33AM (#31141769)
I was asking to clarify what your very confusing sentence meant. Because it seemed to be saying that, if I define a VM to use OS 1.2.3, because I know my app will work with that version, then my app on that VM should cease to work when 1.3.0 is released. And that seems dubious.
Re:Apple says they're removing my game because it's more tha... by seba_dos1 on Sunday April 24, 2022 @02:41AM (#31141807)
You seem to confuse containers with virtual machines. Those are very different concepts that solve different problems.

You can't rely on containers alone if your goal is to ensure that your app will work on future operating systems. That's not something containers do. They only let you provide your own user space to run in a quasi-isolated environment, no more than that. You're still using the host's kernel which can still screw you up in multitude of ways (which is exactly what I said in my earlier comment), and you're still limited by API guarantees that the tools you use to make containers are providing you.

Re:Apple says they're removing my game because it's more tha... by hedora on Sunday April 24, 2022 @07:49PM (#31149349)
This can definetly happen in both directions (kernel too old, app too old).

For example, apache can no longer run with SSL enabled on current synology NAS's docker environments.

Re:Apple says they're removing my game because it's more tha... by ploxiln on Saturday April 23, 2022 @05:39PM (#31138865)
-Werror is your mistake here. You can still fix warnings when you see them with a new compiler, without using -Werror to cause complete build failures except with a specific set of specially accommodated compiler versions.
Re:Apple says they're removing my game because it's more tha... by thewebcount on Saturday April 23, 2022 @10:50PM (#31140861)
LOL! If only. We started out that way and nobody fixed their warnings. The only way to make it happen was to make it so they couldn’t compile with warnings. (And we do selectively turn off certain warnings that aren’t helpful and give false positives.)

To be clear, I’m not talking about having to clean up a few new warnings with a new compiler release. That’s fine and probably a good thing. We really have to have one of our top engineers dive into it for several days to get things in shape. It just seems really weird to me.

Re:Apple says they're removing my game because it's more tha... by erik_seaberg on Sunday April 24, 2022 @12:12AM (#31141240)
A code review tool should display warnings, and reviewers should expect fixes for real problems that show up that way (and suppression of false positives).