@cjwirth@mas.to
@cjwirth@mas.to avatar

cjwirth

@cjwirth@mas.to

software engineer at duolingo living in berlin. i speak english, japanese, and a little german. i mostly work on apple platforms. some of my posts reflect that, some are more general or personal.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

cjwirth, to random
@cjwirth@mas.to avatar

I went to the doctor. The response I got was “eat healthy and do more sports”

I mean… yep, yes that’s true but….

cjwirth,
@cjwirth@mas.to avatar

@icanzilb @jsq Yeah, no kidding! I would look for a different doctor, but with public insurance I can’t get an appointment until September.

cjwirth, to random
@cjwirth@mas.to avatar

Jumping into C code is fun because you'll have code that's like:

ct_tsfm(d, n, mp)

and no documentation at the definition to know what these variables are. In fact, the parameter names actually are d, n, and mp.

jsq, to random
@jsq@mastodon.social avatar

It appears that the Xcode file menu option “Resolve Package Versions” is not the same as "xcodebuild -resolvePackageDependencies”.

I need to be able to “Resolve Package Versions” for all targets in a project via the command line.

Is this even possible? Does anyone know how to do this?

Do you have to invoke xcodebuild -resolvePackageDependencies for every single scheme/target?

cjwirth,
@cjwirth@mas.to avatar

@marcpalmer @jsq @NeoNacho yeah, I was seeing this too. I was hoping to add the CLI command in there to regenerate the Package.resolved file, but if Xcode is open, it will still delete the file for some reason I don’t understand.

cjwirth, to Eurovision
@cjwirth@mas.to avatar

brb gotta go install windows 95

cjwirth, to random
@cjwirth@mas.to avatar

I have done very little research — what’s the best NAS to get?

Looking basically for something to replace iCloud, so would be great to have access to the files from my phone. Would be nice if I could use rclone to sync with some online services too.

cjwirth,
@cjwirth@mas.to avatar

@jsq I started getting paranoid* about having all my eggs in one basket, so I wanted to use rclone to sync with other services. Which is great, but I also like how iCloud will offload things to not take up disk space. Well, that makes the syncing more difficult.

So I thought what if my local copy wasn’t on my computer directly, but on something else that could sync with other services.

  • I’ve heard horror stories of lost data, and have had some bugs with iCloud syncing random things
cjwirth,
@cjwirth@mas.to avatar

@jsq Yeah what you have written is basically what I want to do, except use the NAS as the local copy instead of iCloud, and then rclone sync to some cloud services on a cron job.

I could probably also keep some iCloud things stored in iCloud to easily sync with my phone and stuff, but I don’t need the video of my parents wedding in 1988 always taking up space on my local computer.

finestructure, to random
@finestructure@mastodon.social avatar

Folks who squash their #git merges, I’m curious why you are making that trade-off. I’m guessing the pro argument is a cleaner merge graph?

The big argument against it for me is that you lose granularity for git bisect. I've often been able to narrow down breakage (sometimes long past the merge) due to individual commits in the merge. If I'd merged in a giant blob all I'd have had to go by is that giant blob. (1/2)

cjwirth,
@cjwirth@mas.to avatar

@finestructure @fork_dev It makes reverting features easier if they are bad. I don’t remember the exact issue but there is something weird about re-reverting (ie adding the original thing back in after a revert) if you are using merges too.

Bisecting is great, but bisecting to the feature merge and then delegating to the author is often easier, as they have the context that the release manager may not.

cjwirth,
@cjwirth@mas.to avatar

@finestructure @fork_dev And if you really need that history, it’s still all there in GitHub. Yes, git != GitHub but in practice our workflow is so tied to GitHub that it’s a fine assumption that it will be there.

cjwirth,
@cjwirth@mas.to avatar

@finestructure @maxd That’s the great thing - you don’t need to bisect through all of them. The “bad commit” will only exist in one of those squashed commits. So you bisect to find that squashed commit, check out that branch, and bisect again on just the commits on that branch.

Bisecting might even be faster this way because you don’t have to consider all the WIP commits for every merge?

andy, to random
@andy@iosdev.space avatar

Was having dinner yesterday with my friends and the topic of password security came up. I mentioned I started using Passkeys whenever they are available and they don’t understand how it works. Worth noting they are technical people.

I love passkeys but their road to adoption looks grim.

cjwirth,
@cjwirth@mas.to avatar

@jsq @andy Yeah this helped me make the switch too. I didn’t want it to be locked onto my iPhone. And if I needed to use the iCloud Keychain, that’d be unfortunate because everything I have is in 1Password. Then 1Password got support and I was onboard.

I agree that the public perception of them tend to feel too “magical” when it’s really not.

cjwirth, to random
@cjwirth@mas.to avatar

i've been working in parallel on independent changes to the same files, and resolving basically trivial merge conflicts has become a mind numbing and not insignificant portion of my day

cjwirth, to random
@cjwirth@mas.to avatar

To demonstrate how bad I am at seeing simple solutions: I was wondering how they knew showers take less water than baths. They have to know the rate that the water comes out of the shower head and the time taken in the shower. How do they set that up accurately in a lot of different places?

Or you can plug the tub, shower in it, and check the water level in the tub to see if it’s more or less than when you take a bath…

RobW, to random
@RobW@iosdev.space avatar

Just watched a Thor movie and it struck me how wild it is that we’re still making contemporary stories about characters that were created thousands of years ago.
What’s the oldest character(s) we still make contemporary fiction about? Jesus? Are there contemporary stories of Greek gods? Anything older?

cjwirth,
@cjwirth@mas.to avatar

@RobW Thor is kind of special because of Marvel, and so they are regularly bringing in the pantheon.

Hercules shows up in movies, and a while back they had that Troy movie. 300, too, if you count that.

cjwirth, to random
@cjwirth@mas.to avatar

I’ve had a few cups of coffee here at home in the USA and they have all been bad. I have used different beans, different water, different temperatures. All bad. I only have an aeropress here, so I can’t switch and test that, unfortunately.

cjwirth,
@cjwirth@mas.to avatar

To be clear, I’m not a coffee snob. Sometimes the best part of waking up is Folgers in my cup. I just line coffee. But everything has been really bad so far.

cjwirth,
@cjwirth@mas.to avatar

OK after like a week I think I solved the mystery. Water was too hot. I wasn’t using the kettle this time around and was boiling water on the stove. I tried it by taking the water off before it even started simmering and it’s normal tasting today

cjwirth, to random
@cjwirth@mas.to avatar

I move some dependencies from CocoaPods to SwiftPM. It's Apple's first party tooling, so it must be good, right?

I upload the app to App Store Connect.

Apple complains about something about the way those migrated dependencies were integrated.

Thanks Apple.

cjwirth,
@cjwirth@mas.to avatar

@NeoNacho Invalid bundle for the frameworks that got moved to SwiftPM. Was complaining about not supporting the minimum OS version listed in the Info.plist (it does, we are already using it, lol), and also complaining about the version numbers in the Info.plists for them. Which - the Info.plists inside there are different from before the migration.

Idk, I’ll have to look into it more. I’m sure I’m doing something wrong. This was supposed to be a noop change :/

cjwirth,
@cjwirth@mas.to avatar

@NeoNacho Yeah that sounds right. Specifically FBAudienceNetwork, UnityAds and some related ones

cjwirth,
@cjwirth@mas.to avatar

@NeoNacho Aaah wow no kidding. We literally just upgraded to 15.3. Might have to put this on hold and wait for 15.4 to do this then? You don't know of any workarounds?

cjwirth,
@cjwirth@mas.to avatar

@jsq @NeoNacho omg yes this exactly. the 15.3 upgrade just happened at the exact same time that *this *change I'm complaining about happened

cjwirth,
@cjwirth@mas.to avatar

@NeoNacho probably can't downgrade right now, but i can confirm that the app does validate properly if I do it in 15.2, thanks for the tip!

cjwirth,
@cjwirth@mas.to avatar

@jsq @NeoNacho Still failing on 15.4 beta :( Although failing for fewer libraries now.

Now it's just:
https://dl.google.com/googleadmobadssdk/mediation/ios/meta/MetaAdapter-6.15.0.0.zip
https://dl.google.com/googleadmobadssdk/mediation/ios/unity/UnityAdapter-4.10.0.0.zip
that it's failing on :/

Complaining that the version strings in the Info.plists aren't good, because they are 4 digits instead of 3.

cjwirth,
@cjwirth@mas.to avatar

@NeoNacho @jsq Ah ok yeah that makes sense with what was broken and what was fixed in 15.4. And using CocoaPods (or previous Xcodes) it wouldn’t be an issue because that new framework wasn’t being added.

So at this point we gotta get the upstream to make their version numbers work.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • everett
  • magazineikmin
  • InstantRegret
  • ngwrru68w68
  • Youngstown
  • Durango
  • slotface
  • rosin
  • GTA5RPClips
  • tester
  • PowerRangers
  • anitta
  • thenastyranch
  • mdbf
  • osvaldo12
  • ethstaker
  • vwfavf
  • cubers
  • normalnudes
  • tacticalgear
  • khanakhh
  • cisconetworking
  • modclub
  • Leos
  • megavids
  • All magazines