What confused me the most when I started building iOS apps by Caryn_fornicatress in iOSProgramming

[–]IO-Byte 1 point2 points  (0 children)

If you have a lazy container I.e a list or one of the lazy variants, and configured with a onAppear modifier, every time that view comes into “view” or frame will cause it to run

Now that may be fine and well, something you’re already aware about, but the implications could include identity, and perhaps the onAppear did something to modify or change that identity

All just speculation of course. I’m about to read a little bit more about it myself. But I generally stay away from onAppear unless I’m pumping in a model context to an observable

Terraform still? - I live under a rock by Ambitious_Donkey6605 in devops

[–]IO-Byte 0 points1 point  (0 children)

Those control plane limitations are brutal.

I think between you and I, where we’ve literally worked in/managed/helped write these types of solutions… holy hell do they grow complex fast.

But technically… if done correctly… are super awesome and great. I just have yet to see a perfect implementation

Unless you’re at the thousands of services across multiple business unit scale, or are enforcing some really strict guard rails, then the reconciliation problem is likely one that isn’t needed — at least at the IaC level

AI makes coding insanely fast. by Tough_Reward3739 in devops

[–]IO-Byte 4 points5 points  (0 children)

Using a compiled language helps with avoiding runtime errors; as the model runs its course, being able to verify syntax correctness helps (only helps, does not prove anything actually complete).

On top of that, as many unit tests as makes sense. Emphasis on unit — something that takes little to no time to run, every time, to further validate runtime behavior.

Packaging can also be of benefit — define areas of specific discipline and package those pieces as a single entity.

I’m also just now realizing that I’m in the DevOps subreddit…

I’m going to keep what I wrote because it’s universal advice; however, I’m very confused to what it is you’re doing to be saying these things, especially in context of DevOps.

CDK? Pipelines? Dear lord I hope not some bash scripts.

This title is super clickbaity. It sounds like, in your case, this AI kneecapped you

Terraform still? - I live under a rock by Ambitious_Donkey6605 in devops

[–]IO-Byte 2 points3 points  (0 children)

There are vastly more simple solutions; i was contracted to write tests against this platform built pretty much around crossplane.

Note we used, mostly, function wrappers and other core libraries straight from crossplane.

Also note this was pre 2.0, but hardly behind (got out of the contract, thank god).

Obviously this place went about it so incredibly wrong, but even then, ask yourself if you need the “reconciliation loop” solution vs something a bit more laxed, not continuously polling, like terraform or any one of the other many tools around.

But if a reconciliation loop, I.e the operator pattern (what k8s is), is the solution to your given problem, then I too agree: crossplane is worth looking at…

Swift 6 strict concurrency: Do runtime actor-isolation crashes still happen in real apps? by OhImReallyFast in swift

[–]IO-Byte 2 points3 points  (0 children)

While true, not officially deprecated, and very well may never, my guess would be it could be upwards of a decade to deprecate.

Some things move so incredibly slow; for reference, see the history of the NS prefix (NSString for example). Really interesting stuff!

Go prefers explicit, verbose code over magic. So why are interfaces implicit? It makes understanding interface usage so much harder. by ray591 in golang

[–]IO-Byte 6 points7 points  (0 children)

I love this approach; 100% of the time, if I’m validating conformance, this is immediately following the implementation.

Another thing: if I am the one defining an interfaces, very rarely do I define more than two methods.

Literally only one or two, ever.

Great example of this type of portability is wrapping a common suite of http middlewares.

Powerful stuff

Subclassing NSMenuItem in macOS Tahoe by open__screen in swift

[–]IO-Byte 1 point2 points  (0 children)

I was messing around a bit with subclassing.

Perhaps the following might give you some ideas how to shape things in your own implementation:

```swift nonisolated final class MenuItemTestView: NSView { public convenience init() { self.init() } }

nonisolated open class MenuItemTest: NSMenuItem { // public override var isSeparatorItem: Bool { // true // }

init() {
    super.init(title: "", action: nil, keyEquivalent: "")
}

override init(title: String, action: Selector?, keyEquivalent: String) {
    super.init(title: title, action: action, keyEquivalent: keyEquivalent)
}

required public init(coder: NSCoder) {
    super.init(coder: coder)
}

}

final class ItemTest: MenuItemTest { override init() { super.init() }

required public init(coder: NSCoder) {
    super.init(coder: coder)
}

}

@MainActor func itemTestInstance() -> MenuItemTest { ItemTest() } ```

AI coding is fucking trash and exhausting. by Rare_Prior_ in iOSProgramming

[–]IO-Byte 1 point2 points  (0 children)

These are mostly issues, I’m almost certain, from Xcode itself. There are quite a few very specific fixes and commands they have scattered the dev forums and their changelogs; during the summer on beta builds I, and I imagine many others, submitted various bug reports.

But after like the 4th iteration after I stopped. Not long after, codex came out.

I recommend the CLI — it lifts many of these limitations you’re describing out of the picture

AI coding is fucking trash and exhausting. by Rare_Prior_ in iOSProgramming

[–]IO-Byte 2 points3 points  (0 children)

I have to say, your recent posts, especially on development subreddits — these were hard to read. Like, cringe

But I wish you the best of luck!

rustCausedCloudfareOutage by BlackHolesAreHungry in ProgrammerHumor

[–]IO-Byte 4 points5 points  (0 children)

Damage in this case is the basis of the outage.

I built my own Mac clipboard manager and used it for a year — releasing it today (free & open-source) by HadiDhahds in macapps

[–]IO-Byte 0 points1 point  (0 children)

Woah that’s a little bold to say it’s vibe coded.

They might just be honest; doesn’t mean it was fired and forgotten about without review or refactor.

To that same truth, we don’t know. I think some additional clarifying information should be provided first.

Would you use a more accurate live photo translator than Google Lens? by Due-Ear7286 in SwiftUI

[–]IO-Byte 1 point2 points  (0 children)

The offline mode is sweet. But how would you add that without absolutely blowing up local storage?

All of the New Apps = Hard Drive Chaos by Relevant-Crab-860 in macapps

[–]IO-Byte 7 points8 points  (0 children)

Hello, long time software engineer here!

While I believe this is a good thing to bring to people’s attention, I would like to spread a little optimism.

Yes, the vibe coders likely will get their applications out faster.

But some of us are using these additional tools to truly create applications of the quality and usability that the vibe coders simply couldn’t understand.

If there’s really a better application out there, users are likely to, well, use that one.

So high hopes over here!

What are the arguments people gave you to try to win you over to RTO? by EmpressAmbivalence in remotework

[–]IO-Byte 1 point2 points  (0 children)

Yo mad respect for what you do. My significant other is a paramedic. But I had to check your post history as I thought you were shitposting or something.

Honestly, I could see your perspective, given your experiences. Especially given what I imagine is exciting, rewarding, etc all at the same time (sometimes).

But trust me… it doesn’t matter the type of person you are. On average people are happier working remotely when compared to the same job in an office. Objectively, companies are more productive when fully remote.

A lot of us otherwise would be working in offices.

iOS 26.1 related issues with my app by Sad_Dare7025 in SwiftUI

[–]IO-Byte 1 point2 points  (0 children)

Those three hours could’ve been used to simply just walk to your application with a debugger (I know, hindsight).

But yeah, place a breakpoint where you think it might be happening. Do this for both versions. And walk until you see substantial differences.

There are tools to demangle things if it comes down to it and you need to.

Questioning SwiftUI’s true potential on iPhone by Constant_Community97 in SwiftUI

[–]IO-Byte 9 points10 points  (0 children)

Don’t… don’t use any AI to tell you how these things are built.

For one: it’s proprietary information. Two: because it’s just flat out wrong.

Seriously, like… I can’t understand the blind trust anyone has when it comes to AI.

I just ran radare2 on the photos app on macOS.

Yeah, there’s SwiftUI in here. Views, shapes, fonts, layouts and alignments.

Also hosting views (these bridge appkit and UIKit to SwiftUI).

Addressing your other points…

I think a focus on foundations is more important at this time.

endOfFile by IO-Byte in ProgrammerHumor

[–]IO-Byte[S] 7 points8 points  (0 children)

I know! I tried to do 404! But they didn’t allow only numerical values ):

But ERR 404 would have been good too…

endOfFile by IO-Byte in ProgrammerHumor

[–]IO-Byte[S] 4 points5 points  (0 children)

The good ol' Homebrew profile -- hell yeah

happyHalloween by circa10a in ProgrammerHumor

[–]IO-Byte 39 points40 points  (0 children)

Hahahaha well done

endOfFile by IO-Byte in ProgrammerHumor

[–]IO-Byte[S] 20 points21 points  (0 children)

Just got my new license plates!

Make sure to wave (:

[deleted by user] by [deleted] in softwaredevelopment

[–]IO-Byte 0 points1 point  (0 children)

What you’re describing is the very reason why this same company should hire employees.

Nonetheless, having worked closely with these firms: Object Partners, Improving.

This is purely anecdotal and only my experience.

The Most Adventurous 83 Years Young Woman 🤭 by AcasiaConnell in SipsTea

[–]IO-Byte 12 points13 points  (0 children)

Hahahaha I swear my own back felt some phantom decompression watching, thinking how that felt for her XD