@SmileyKeith@hachyderm.io
@SmileyKeith@hachyderm.io avatar

SmileyKeith

@SmileyKeith@hachyderm.io

devx at Modular, maintainer of bazel's iOS support, creator of the Mobile Native Foundation, LLVM & Swift contributor. Previously Principal Engineer at Lyft, Core Team @CocoaPods

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

schwa, to random
@schwa@mastodon.social avatar

deleted_by_author

  • Loading...
  • SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @schwa I still feel good about this one 😛https://hachyderm.io/@SmileyKeith/112343573349352990

    schwa, to random
    @schwa@mastodon.social avatar

    deleted_by_author

  • Loading...
  • SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @schwa hey at least if it's trained on the actual source maybe we can get somewhere!

    SmileyKeith, to random
    @SmileyKeith@hachyderm.io avatar

    Looks like the new swift-testing framework is being used inside Xcode 15.3 beta 1. It isn't included for public use yet, but you can find it in Contents/SharedFrameworks/Testing.framework

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @tonyarnold I think it'll just be a normal swift package and the fact that it's in Xcode will always be private

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @tonyarnold ah yea, did you try it in this beta? I assume they'd like that for their use too

    ctp, to random

    I realize none of them are incentivized to do this, but I really need app functionality notifications to be a separate thing from app marketing notifications.

    Doordash, I’m looking at you: I need notifications on to know about order and delivery status. But you don’t get to badge on my home screen to tell me I haven’t ordered from Passage to India for a while.

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @danwr @schwa @ctp fwiw Apple requires this (and enforced that in our case)

    drahardja, (edited ) to iOS
    @drahardja@sfba.social avatar

    I finally have benchmarks for Mergeable Libraries! Here are the results on my iPhone 14 Pro. I took app startup measurements with 0–100 small frameworks in three batches: plain old dynamic frameworks, directly merged dynamic frameworks, and using one intermediate framework to merge the frameworks. See the results for yourself. The second image is a close-up near the origin.

    The results are measured from the time the app begins running (the process is created) to just before the UIKit initialization signpost. Process creation time varies wildly, but typically ranges from 100–400 ms.

    Blog post here: https://www.humancode.us/2024/01/02/measuring-mergeable-libraries.html

    EDIT: Added measurement using static frameworks instead of dynamic.

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @drahardja I would be interested to see raw static libraries (or static frameworks) on this chart. I imagine it would be the same as the green line though.

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @drahardja I am interested in how much margin of error the "about" is covering there

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @drahardja @ileitch awesome! I assume that blip at the end is noise because I would definitely be surprised if they were different.

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @drahardja @ileitch kinda bad if that line is true because that implies you would be better off with static libs once modularized enough

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @drahardja @ileitch definitely. What I was most interested in was debunking people who think they need to switch to this over static libs just because it's new. Or if they already have a solution for dynamic fws for development and static libs for release.

    christianselig, to random
    @christianselig@mastodon.social avatar

    I really hope Fujifilm releases an X100V successor in 2024, I want one so bad 😭

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @christianselig used Leica Q2 prices have come down a lot 🙊

    SmileyKeith, to random
    @SmileyKeith@hachyderm.io avatar

    Wanted: a macOS calendar app that just replies "maybe" to all invites

    SmileyKeith, to random
    @SmileyKeith@hachyderm.io avatar

    Beeper Mini lasted longer than I expected

    jsq, to random
    @jsq@mastodon.social avatar

    deleted_by_author

  • Loading...
  • SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @jsq if I use a fork am I good?

    SmileyKeith, to random
    @SmileyKeith@hachyderm.io avatar

    I constantly forget the Package.swift syntax, what's the best quick reference guide for it?

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @schwa yea, unfortunately I agree. I had high hopes

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @sudo_bash @schwa I think some more-data-oriented format like rust's Cargo.toml file https://doc.rust-lang.org/cargo/reference/manifest.html

    mergesort, to random
    @mergesort@macaw.social avatar

    Was absolutely wrecked by jet lag for most of our time in Amsterdam, but on the plus side without that we wouldn't have a chance to bike 25 miles through the charming Dutch countryside.

    Bicycles standing in front of nature
    The town of Zaandam
    Three windmills in Zaanse Schans

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @mergesort nice! We were just there too. I hope you got the same great weather we did!

    christianselig, to random
    @christianselig@mastodon.social avatar

    Silly question: in Xcode I lost the option to set version and build number for extensions in the app (eg: widgets). I thought this was because they'd be synced automatically, but if I try to build the app I get a warning that their CFBundleVersions don’t match. Do I really have to go into the widget's Build Settings each time and find the line in there to modify now?

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @christianselig idk how Xcode expects you to do this but previously we did this by setting a project-scope variable with the base version, and inherited that from all relevant targets

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @t0rgh @christianselig we also did this in a xcconfig so it is easy to sed out to bump from a script

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @christianselig @t0rgh to the variable by itself. We split the root version and build number, potentially not required though depending on how you version

    SmileyKeith, to random
    @SmileyKeith@hachyderm.io avatar

    It's not in the release notes but looks like Xcode 15 betas added _EXPERIMENTAL_SWIFT_EXPLICIT_MODULES

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @tonyarnold theoretically enables https://forums.swift.org/t/explicit-module-builds-the-new-swift-driver-and-swiftpm/36990 which ideally means faster builds in some cases and IMO ideally fewer issues with the module cache and the need to clear derived data, but either way in the alpha state it's in now I imagine it's not worth flipping unless you want to test something specific.

    christianselig, to random
    @christianselig@mastodon.social avatar

    I don't know why, but "Siri" instead of "Hey Siri" is such a nice quality of life improvement on iOS 17

    SmileyKeith,
    @SmileyKeith@hachyderm.io avatar

    @christianselig I didn't expect this but I totally agree. Somehow it makes it feel so much easier

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