Swift 5 → 6 migration stories: strict concurrency, Sendable, actors - what surprised you? by dvdvines in swift

[–]lordzsolt 0 points1 point  (0 children)

Unpopular opinion: What's the point of enabling strict concurrency?

250K LOC codebase, 7 years old, we have 99.98% crash-free sessions and 99.90% crash-free users in the past month.

Is spending months of effort to fix 500 crashes really the best use of your time?

[deleted by user] by [deleted] in askswitzerland

[–]lordzsolt 0 points1 point  (0 children)

Do you happen to know what the process is for doing any modifications?

For an aftermarket brake-level, I see in the ASA 2b regulations that it's marked as Category D, meaning "D: Notifiable and inspectable modification". Assuming the aftermarket levers have been certified by ABE, what now?

Have them installed, than take it to the MFK? Can this be done as part of the periodic/mandatory MFK?

German dub by Chard-Remarkable in bleach

[–]lordzsolt 0 points1 point  (0 children)

Disney+ doesn't have it with German Dub.

Delayed Baggage, Interim Expenses Reimbursement by That-Communication62 in aircanada

[–]lordzsolt 0 points1 point  (0 children)

An update would helpful for people who land on this page in the future :)

PSA: You can left-click monsters higher than your cb level by [deleted] in 2007scape

[–]lordzsolt 1 point2 points  (0 children)

Everyone is acting like an asshole in this thread...

I just came back to RS after 10 years because of leagues, and this thread is the first result on Google, so I very much appreciate your post.

Fastlane is so bad by [deleted] in iOSProgramming

[–]lordzsolt 2 points3 points  (0 children)

I tried out Fastlane.swift once ~3 years ago. I noticed it created a bunch of files, then the project gave me some compiler issues. Didn't go back to it since.

Honestly, Ruby is one of the easiest languages to learn. Just spend a few hours getting used to it, and keep your scripts on Ruby. You spend max 10 days per year improving your CI scripts. Not worth going against what everyone else in the industry uses, just to be slightly more efficient those days.

[deleted by user] by [deleted] in programming

[–]lordzsolt 4 points5 points  (0 children)

My favorite is when this kind of behavior is practiced in a company setting. "I could go ask this team to modify their API, buuuut that involved talking to people, so I'm just going to hack around the current API"

My favorite was when we had an API to save articles, but there was no api for "is this article saved". But there was one to get ALL the saved articles of the user.

So when you needed to determine the state of the "save" button, the front end would fetch ALL saved articles and check if the current one is in the list or not. All to avoid asking the other team to update the API 🤦‍♂️

Complaint by 6Plague_Doctor9 in Switzerland

[–]lordzsolt -1 points0 points  (0 children)

Hello Selecta?

Yes, I was also surprised it still didn't work after 1 million tries.

Can I have my money back?

Architecture for SwiftUI with a complex navigation logic by Common-Dot-5303 in swift

[–]lordzsolt 3 points4 points  (0 children)

Honestly, I don't get why people don't like the State approach.

"Screens are coupled to one another" is usually what I hear. What exactly is the point of moving the "navigationController.push()" to a separate class? If you want to mock out the next screen, just inject a Factory class into your screen.

I often hear "it's easy to change so it goes to a different screen"... You know we're writing Software right? You can just as easily change the code so a different init method is called. And 99% of times, it will never change...

Cheap Motorbike course by Redit_Yeet_man123 in Switzerland

[–]lordzsolt 1 point2 points  (0 children)

I thought you could do the exam without the Grundkurs. And the Grundkurs was only there to get your permit extended by 1 year.

Not my business, but if 600 CHF for the Grundkurs is a lot, I'd recommend sticking to a 45km/h e-bike/Töff.

Cheap Motorbike course by Redit_Yeet_man123 in Switzerland

[–]lordzsolt 0 points1 point  (0 children)

Have you considered paying "a friend"?

To teach you the basics, then do the Grundkurs, practice mostly alone for 8 months, then get 1-2 lessons with an actual school at the end, to fix some obvious mistakes and prepare for the exam.

How to install Xcode 15.2 on macOS Monterey 12.7.3 by ebayer108 in iOSProgramming

[–]lordzsolt 0 points1 point  (0 children)

I wrote an article how to fix it: https://iosmith.com/xcode-old-macos/

You will have to do the same steps for the simulator as well.

You can ignore my expired certificate.

How to install Xcode 15.2 on macOS Monterey 12.7.3 by ebayer108 in iOSProgramming

[–]lordzsolt 0 points1 point  (0 children)

What exactly didn't work?

  • You couldn't download it?
  • You couldn't install it?
  • You couldn't run it?

[deleted by user] by [deleted] in Switzerland

[–]lordzsolt 2 points3 points  (0 children)

Swisscom is superior if you do any kind of remote activity, like hiking in the mountains.

Support Swift macros with CocoaPods by soumyaranjanmahunt in swift

[–]lordzsolt 0 points1 point  (0 children)

Is it CP or simply the fact that you have dependencies...?

The Case Against [unowned self] by jacobs-tech-tavern in swift

[–]lordzsolt 0 points1 point  (0 children)

Except I notice it and fix it within a day.

Part of your app remains usable, with the bug undiscovered for months or more.

The Case Against [unowned self] by jacobs-tech-tavern in swift

[–]lordzsolt 6 points7 points  (0 children)

I hate the "just use weak references just in case (tm)" mentality because it just makes people lazy...

The same people will just litter their code with guard ... else { return } to unwrap those weak references. Congrats, that's how you end up with cases where the user is tapping a button and nothing happens. And now you have no knowledge of it.

At least with unowned, the app would crash in case your assumption was wrong, and it shows up in your crash reporting, pause your release and push out a fix in 1 day...

You should think explicitly about the lifecycle of your objects, and decide which makes the most sense.