As part of looking into ways to improve my experience with Xcode, I came across a great talk by Stefano Mondino from Swift Heroes 2020.
The main concept behind the talk was to use various command-line tools to automate an Xcode project.
Firstly, how you can maintain an environment with things like a Makefile, Gemfile, Brewfile, etc. Then various other tools for more specific Swift/Xcode enhancements.
XcodeGen to manage the Xcode project, dependencies, targets, to link frameworks, etc.
SwiftGen to generate Swift code to map to project resources, such as images, colours, string, etc.
SwiftFormat to automate reformatting Swift code to follow a certain style.
SwiftLint to further enforce a style and conventions. (Which can be represented in Xcode as you code)
I use SwiftFormat and SwiftLint already. However, XcodeGen and SwiftGen are completely new to me. So I’ll definitely be playing around with these for a while!
I’m not totally sure why Harry Potter is the thing that works for me, but I assume it’s down to a few factors. It has a nostalgic effect, the music is great, and I find it to be rather relaxing. The full effect comes with the various videos you’ll find on YouTube where you’ll get a scene from the movie (or an adaptation), a mix of the music, some slight movement in the scene, and also a few atmospheric sound effects.
The best way to describe it would be that you’re immersing yourself in a distraction-free environment, where you can fully focus on a single task. What I typically do is connect my MacBook to my external monitor, and keep the MacBook screen solely for one of these videos. It seems to keep one half of my brain occupied, so I can use the other half to do something productive.
It’s something I would suggest that everyone tries, although you may find that Harry Potter isn’t right for you. I’d suggest searching “ambient music” or “ASMR room” on YouTube, and having a look through them. I’ve also found some great ones based on The Hobbit which are quite nice too.
There were no suitable unicode symbols I could find to represent external links, so I’m using one from font awesome that I think does an acceptable job at indicating that the title link is to an external source.
After the hype of the finale, I decided that I would finally give WandaVision a go. I had seen some early clips and decided it wasn’t for me, but I had nothing to do today so I thought I’d binge the whole series in one go.
Without including spoilers, here are my overall thoughts of each episode:
Painful
Painful
Slightly less painful.
I think this could actually turn out to be quite interesting.
Interesting but weird.
Still weird, but I’m increasingly intrigued.
The weirdest so far.
An interesting turn of events. Things are starting to make sense. Probably the first time I became fully invested in the series.
What an incredible episode.
Here were my thoughts after 7 episodes:
After the first three episodes, I was constantly questioning whether something was a joke or not
The first episodes were dull, and I think could have been reduced to 5 minutes.
Because the early episodes were so weird, I was on edge for the rest of the series.
I’m not a fan of the cheesy and cheery type of show that I think it’s meant to be mimicking, so this could be a reason why it didn’t click that much with me early on.
There are moments where I think it could get interesting, but they’re surrounded with so much filler.
But episode 8 was when it really kicked into gear. That’s when I started to find it really interesting, and I was actually gripped for once. And episode 9 was absolutely incredible. These two episodes made up for everything I found boring in the first 7.
I’m actually now excited to see where the storyline continues.
This may be taking it slightly too far, but along with refactoring the way title case formats work in Text Case (more rule-based and therefore much clearer to define), I also added four new standards. Which means there will be 9 total title case formats.
It’s not exactly a world class photo, but I keep looking back at this one I took yesterday. The curves in the wood seem to make it feel a bit trippy, like the whole photo is being twisted.
The 25 years of Pokémon celebrations make me want to watch the anime series from scratch again. It’s already well over the 1000 episode mark, but it would be pretty fun! 👀
I didn’t think that at 28 years old I would have just watched a virtual concert with Post Malone, celebrating 25 years of Pokemon. My younger self would be proud.
I went on a trip to Ashridge forest earlier today and took a ton of photos. I was very lucky with the light, so I think these are the best photos I’ve taken!
As much as I use the command line, I’m still a lazy person. And therefore, even if I have to write a short command, I’ll still revert to tapping the up arrow until I find it in my history instead of typing it out manually.
I think I’ve convinced myself today that I’m going to start looking for a remote role at some point in the near future.
So I think it’s about time I read a few books and properly bring myself back up to speed with everything.
My only problem with finding a next job is that I’m an iOS developer, and I want to keep it that way. However, at my current job, I’ve been working on more server-side stuff for the past 6/9 months. Although I have been building Text Case at the same time. 🤷
I’m really starting to think that I want to work at a remote company for my next job. Not just working from home, but actually being in a company that is built around being remote. Doist and Automattic are ones that come to mind.
I was thinking about social networks in the context of local communitites earlier. It made me wonder if a type of “scope” could be added to a network like Twitter, where you could determine how localised you wanted it to be.
You could have a scope of the entire world, a country, city, or even a much smaller community. And I think it could be good if you could set a scope when composing a tweet, viewing tweets, or also globally per account.
For example, if you select a scope when composing a tweet, then that tweet will only appear in the timelines of people that fall into that scope. Anyone would be able to go to your profile and read it directly, but you could set who gets it in their timelines?
If you’re reading content, you might want a way to only view content for a specific scope. Not just get a list of trending topics from an area, but actually read a live stream of tweets limited to a particular scope.
I don’t know how many people would even use such a feature, I’m not even sure how much I’d use it. But I do think that one problem the world has with social media is that it makes everyone part of one worldwide discussion. Now that may be a good thing, but I don’t think all discussions need to be held at that scale.
Sure, humans are sociable creatures, but I don’t think we’ve managed the step between having small communities and then suddenly being connected at a global scale very well. And I’m not sure we ever will.
I can’t quite say if this is a temporary phase I’m going through right now, since I’ve done something similar before. But recently I’ve been slowly reducing the ways in which my devices can interrupt and distact me.
I experimented with email services to help distinguish important emails, forwarded them all to the one address, and created some basic filtering/sorting rules. On top of that, I’ve turned off notifications for email and decidew to check it only a couple times a day, if that.
With social media, I haven’t switched off notifications completely, but I do have some filters on those. They seem to be working well, although I can see myself tuning that a bit in the future.
As for other notifications on my devices, I have a system where if I receive a notification that annoys me, I turn them off for that app entirely. Similarly to what I did when experimenting with my email system, by reducing the number of annoying and distracting notifications, they become much more useful, and have a bigger signal to noise ratio.
I’ve also been leaving do not disturb on for long periods of time, and purposely leaving my phone somewhere so I’m not distracted. I must admit, I’ve found it to be rather refreshing.
Maybe this is just a temporary phase I’m going through right now, but when I think about it, I do think there is a value in treating your phone (and other devices) more as tools, and not a life support device designed to be attached to you at all times.
I’ve been making some improvements to my blog theme again. This time focussing on the post template, adding a better design for tags, an author bio, and also a note about my newsletter.