@simonbs@mastodon.social
@simonbs@mastodon.social avatar

simonbs

@simonbs@mastodon.social

Developer and speaker with a passion for #iOS and building developer tools.

Building https://runestone.app, https://scriptable.app, https://retoot.app, https://jayson.app, and https://datajar.app.

Working on a big update to Runestone in order to bring it to macOS.

Aspiring home brewer, brewing beers and espresso.

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

simonbs, to random
@simonbs@mastodon.social avatar

The journey to Chicago and @DeepDishSwift has begun! 🇩🇰 ➡️ 🇺🇸🍕

Train arriving on the platform.

simonbs,
@simonbs@mastodon.social avatar

I aim to post a few stories from the journey and the conference on Instagram. https://instagram.com/simonbs

simonbs,
@simonbs@mastodon.social avatar

@mortengregersen @DeepDishSwift Yes, I’m flying from Copenhagen.

jpsim, to random
@jpsim@hachyderm.io avatar

I was laid off from Lyft today, so I'm looking for work!
If you're hiring remote or in Montreal, hit me up.
12 years iOS experience, 9 years Swift.
I've worked on low level stuff (networking & databases), product stuff (built transit, bikes & scooters into Lyft), tooling stuff, open source stuff and lots of other stuff.

simonbs,
@simonbs@mastodon.social avatar

@jpsim Sorry to hear that! I hope you’ll find something great soon 🫶

simonbs, to random
@simonbs@mastodon.social avatar

I make SO MANY typos after moving from the iPhone 12 mini to the iPhone 14 Pro. I miss the mini 🥺

simonbs,
@simonbs@mastodon.social avatar

@nmn I’ve considered it but if the rumors are right and the mini is dead, I’ll have to make the transition eventually. However, if they launch a new mini to September I’ll likely get it.

simonbs,
@simonbs@mastodon.social avatar

@nmn Since the launch of the iPhone 14 Pro.

simonbs, to random
@simonbs@mastodon.social avatar

Automation experts: Is there an automation service that lets me poll a REST API to see how the response changes over time, and send me Slack message when some conditions are met?

I want to use this to keep track of whether our GitHub Actions runners have been down for a period of time and get notified if that's the case.

simonbs,
@simonbs@mastodon.social avatar

@emadgnia But I need this running on all the time to notify me on Slack when a runner is down.

I think I’ve settled on building something custom on Cloudflae Workers.

simonbs,
@simonbs@mastodon.social avatar

@gahms Thanks! I'll have a look. I've deliberately not looked at traditional uptime tools though, as it's expected that our runners are temporarily offline when they're being recreated to prepare for a new job. Also, we can't ping them through HTTP. Their status is only reported through a JSON response.

simonbs,
@simonbs@mastodon.social avatar

@amby Jeg er ikke interesseret i at se, om min action fejler. Jeg er derimod interesseret i at se, om mine self-hosted runners er online.

tundsdev, to random

Flying to Chicago tomorrow, can’t wait to see y’all @DeepDishSwift 🍕

Who’s going to be there? 🙋🏾‍♂️

simonbs,
@simonbs@mastodon.social avatar
Viditb, to random
@Viditb@mastodon.social avatar

. @simonbs This is so similar to how I got started with computers and iOS.

Childhood MS Frontpage enthusiast here 👋😀

video/mp4

simonbs,
@simonbs@mastodon.social avatar

@Viditb Those were <blink>the days</blink>!

tundsdev, to random

Who’s based in the UK & would be interested in speaking at my workplace app dev meetup? 👀

We still have 1 more slot open & I’d love to meet some of the app dev locals 🫂

My work is happy to sort out any travel needs? 🤝

DM if you’re interested ✉️

Check out App Talks… https://twitter.com/i/web/status/1651504593837125635

simonbs,
@simonbs@mastodon.social avatar

@tundsdev Always happy to give a talk if you are ever looking for someone outside the UK 😄

simonbs, to random
@simonbs@mastodon.social avatar

Just sped up our macOS CI with two environment variables:

HOMEBREW_NO_AUTO_UPDATE=1
HOMEBREW_NO_INSTALL_CLEANUP=1

Am I a fool for forgetting to set these in the first place? Yes.

Am I thankful that I finally recalled that they exist? YES!

simonbs,
@simonbs@mastodon.social avatar

@natik I haven't tried it since shortly after it launched. Back then it was slow, unreliable, and expensive. I like GitHub Actions for several reasons, one of them being that it's integrated into GitHub.

simonbs,
@simonbs@mastodon.social avatar

@jsq Yeah, there's quite a bit of setup needed to build an iOS app on GitHub Actions. To be fair, these two environment variables may be set on GitHub's runners. I'm using a self-hosted runner.

simonbs,
@simonbs@mastodon.social avatar

@sashk We're intentionally not installing anything on our self-hosted runner that isn't installed on GitHub's runners so our workflows remain portable. Should our self-hosted runners be down, we can quickly switch to GitHub's runners.

simonbs,
@simonbs@mastodon.social avatar

With these two environment variables set, the time it takes to install xcodegen when running our GitHub Actions workflows has been reduced from taking 40 - 180 seconds to consistently take 10 seconds at maximum. That's quite a significant reduction.

ChrisLawley, to random
@ChrisLawley@mastodon.social avatar

The red string bit might be the funniest thing I have ever seen on TV. Except for pies in the face, those will ALWAYS make me fall out of my chair laughing.

simonbs,
@simonbs@mastodon.social avatar

@ChrisLawley I always never laugh out loud when watching anything on TV. This time I did. It was hilarious.

simonbs, to random
@simonbs@mastodon.social avatar

I’m volunteering for an organization that applied for the Apple Developer Program on March 7th and their application is still pending a response from Apple. Is it normal to wait this long to be enrolled in the Apple Developer Program these days?

simonbs,
@simonbs@mastodon.social avatar

@NeroWolfe Shoot. Sounds like I need to follow up with someone at Apple. If that's even possible 😬

simonbs,
@simonbs@mastodon.social avatar

@denisdepalatis Shoot. Sounds like I need to follow up with someone at Apple. If that's even possible 😬

simonbs, to random
@simonbs@mastodon.social avatar
simonbs,
@simonbs@mastodon.social avatar

@sallar Unfortunately not. It's at high on my todo list to add logs to the app. I just haven't had the time to do it yet. I hope I can get around to it within two weeks.

Just to be sure -- are you running the virtual machines? Each virtual machine is responsible for registering itself as a runner and the runners will not appear in your organization until you run a virtual machine.

simonbs,
@simonbs@mastodon.social avatar

@sallar Okay. Then it's failing to boot the virtual machine. The logs would have been great to have now 😄

This could be an indication that your GitHub organization is not configured properly in Tartelet's settings. Prior to starting the virtual machine, Tartelet will ask the GitHub API for the URL to the latest version of their runner script.

Other than that, it'll create a few files on the file system but it's unlikely that should fail.

simonbs,
@simonbs@mastodon.social avatar

@sallar I don't see any reason it shouldn't be possible but I don't know much about Docker. Tartelet is using Tart for virtualization which in turn is using Apple's Virtualization framework. You might find the answer to your question if you research either Tart or the Virtualization framework.

simonbs,
@simonbs@mastodon.social avatar

@sallar Glad to hear you found the issue! Maybe that's something I'll need to elaborate on in the documentation. (Honestly, I don't even remember if it's mention 🙊)

simonbs,
@simonbs@mastodon.social avatar

@sallar That shouldn't make any difference. If the GitHub Actions runner is running in the virtual machine, then you should see something like this. Is that the case?

simonbs, to random
@simonbs@mastodon.social avatar

New post on the blog! 📝👀

In early 2022 I started introducing the Composition Root pattern in my Swift codebases and I have found it to be very useful. In this post I explore why I started using the pattern and how 😃 https://simonbs.dev/posts/introducing-the-composition-root-pattern-in-a-swift-codebase/

simonbs,
@simonbs@mastodon.social avatar

@alexito4 Yep, exactly. Because in unit tests your object graphs are usually tiny as you inject mock components and those usually don’t have dependencies.

simonbs,
@simonbs@mastodon.social avatar

@alexito4 Thanks! I typically don't use a Composition Root in my unit tests but after adopting dependency injection and ensuring you can compose your graph through a Composition Root, your components should be designed such that they are fairly straightforward to use in a unit test. E.g.

let movieRepository = MockMovieRepository()
let movieService = MovieService(repository: movieRepository)

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