Since starting to use Linux, I’ve been hearing more about window managers, and especially tiling window managers. I started to play around with them on my Linux install (I’m now using Kubuntu), and after some getting used to the keyboard shortcuts, I found it to be really useful to quickly be able to rearrange windows, and also have everything visible at once.
That’s why a few days ago I tried to see what I could achieve on my Mac. I’d tried BetterSnapTool recently, but wanted something with a bit more control. After watching a to of demos on YouTube of people’s setups, it seems as if yabai was the most popular option. I was starting to get the feel of it, but it never felt stable. Sometimes as I was typing in Safari’s address bar, the windows would attempt to readjust as if I’d moved something. But it just resulted in a bunch of flickering. Add on that you need to disable SIP before installing yabai, it never felt like a great choice.
But, I looked a bit more, and I discovered another option, Amethyst. I checked out the website, and it looked reasonably simple to grasp the basics of, while also offering an absolute ton of options. This is what I wanted ideally, as I want to be able to use it straight away, but I didn’t want to be stuck with a really restricted experience.
By default, it has over 50 different actions that are configured with keyboard shortcuts. Right now, I’m using about five of them regularly, and I already feel faster on my Mac.
There are a few default layouts, and you even create them yourself, but I’ve been using the “Tall” layout the whole time, and I think it’s certainly enough for now. That basically means that there’s one window to the left, and all other windows are in a vertical stack to the right.
Here’s an example of how my Mac usually looks:
On the left, I have the “main” window, this is usually a web browser or text editor. Then on the right, there’s usually at least one terminal window, and maybe a few extras.
How I’ve been using the right side is that I’ll have a handy terminal window to perform quick commands, like managing a git repository, but also windows that I might want to occasionally check out. So if I’m writing code, I might have a terminal to the right for git, and a web browser while I’m looking at how to do a certain task.
There are times where I’d like a full-screen app, for example when I’m writing, I like to have just Ulysses open, or if I’m reading a long web page, I might want to also have that as big as possible. For this, I usually use a different desktop. Amethyst does have a bunch of shortcuts for managing desktops, but I’ve not got the hang of those yet.
As for the shortcuts that I do use, I can adjust the width of the focussed window, by using SHIFT + OPT + L to make it bigger and SHIFT + OPT + L to make it smaller. And if the window you have focused is in a vertical stack, then they are all resized at the same time.
To move focus between windows, you can cycle through them clockwise with SHIFT + OPT + K, and clockwise with SHIFT + OPT + J. Most of the time I do this via the trackpad, but the shortcuts can be useful.
But I’d say the most useful is SHIFT + OPT + RETURN, which swaps the focussed window with the “main” window. Essentially making it the big window on the left of my display. It becomes key when there are three or more windows on the right, and I want to quickly make it bigger. Then when I’m done, I can just focus on the previous window and make that the main window again.
There are definitely some drawbacks to using a tiling window manager. The main one is that you can’t have two big windows, with one behind the other. This has forced me into multiple desktops, but also hide or quit applications when I’m finished with them.
The only thing I’m not sure about is how it will deal with multiple monitors. Maybe I’ll try that out soon.
For now, I’m enjoying how fast it feels to navigate between windows on my Mac, and hopefully, I’ll get the hang of some more shortcuts soon.
There's certainly a lot of opinions about TikTok, and technology that originates from China in general. But putting aside cultural and political differences, I've been reading about the rules that Douyin (China's version of TikTok) have put in place for its younger users, and to be honest, I'm a fan.
I've got a pretty strong opinion that in general, social media isn't a good thing for children. But I'd have to admit that it does have its benefits. Especially given how intertwined social media is with the modern world.
For the last three years, official media has been warning that the growing amount of time young Chinese people are spending on the internet is having an impact on their physical and mental health.
I'm sure it isn't a surprise to most people that young people's physical and mental health can be affected by the internet, and in particular, social media. But I can't think of any other platform that has actively tried to combat the effects.
As for the rules and differences that apply to Douyin's younger users, here are a few:
Under 18s require consent from a legal guardian to use the platform.
More educational content is being produced, which will target younger users.
Under 14s can only access the platform between 06:00 and 22:00.
Under 14s can only use the platform for a maximum of 40 minutes per day.
The restrictions for under 14 year olds is known as "Youth Mode", and it requires what they call "real-name authentication", so I'm assuming that some form of identification is necessary, which would certainly be a controversial topic in the west.
However, I still think it's good to see that at least one social media platform is putting the health of its younger users before engagement metrics.
If you're a developer and use macOS Monterey, then you may have come into issues when using ports 5000 and 7000 on your local machine. And seeing as these are pretty common ports, I can imagine that this will affect quite a few people.
It turns out, what's using these ports is the new AirPlay Receiver functionality added in Monterey.
You can find this in the Sharing pane of System Preferences. And if you don't care about having it enabled, then you can just uncheck it, and the ports will be free.
However, if you do want to make use of AirPlay Receiver, then all you need to do is first disable it, run your local server, and then enable AirPlay Receiver again. It will then use a different port.
Since first trying Ghost, one of the best things about editing my theme is the ability to host on Github. Through a simple integration I can easily edit my theme to make changes from almost anywhere. If you want to do this too, this guide should help you out.
I've just run through this guide myself, and the theme for this blog now automatically updates whenever I push changes to my repository. This is going to be so much better than using scp or sftp to manually upload changes.
Specifically, I wrote about how I write code, track features, and release new versions. So if you're interested in reading about that, Bulba in general, or just want to see what sort of website Bulba is currently capable generating, check out my development blog.
Apple today announced Self Service Repair, which will allow customers who are comfortable with completing their own repairs access to Apple genuine parts and tools. Available first for the iPhone 12 and iPhone 13 lineups, and soon to be followed by Mac computers featuring M1 chips, Self Service Repair will be available early next year in the US and expand to additional countries throughout 2022. Customers join more than 5,000 Apple Authorised Service Providers (AASPs) and 2,800 Independent Repair Providers who have access to these parts, tools, and manuals.
The initial phase of the program will focus on the most commonly serviced modules, such as the iPhone display, battery, and camera. The ability for additional repairs will be available later next year.
My immediate reaction on Twitter to this was that I thought that this is a good idea, and benefits both Apple and consumers. Because this will surely be good for Apple's reputation, and they'll now gain more control of the iPhone parts market. And that means for consumers, they will have access to official parts that they can trust, and also be able to perform repairs themselves.
I'm not too sure Apple are doing this purely for the benefit of consumers though. I'm starting to wonder if they're introducing this program so that they have a counterargument to the right to repair people.
I'm super curious to see how this is received by people on both sides of the right to repair argument. Will people who support right to repair see this as a win or an empty gesture distracting from their real concerns? Will people who have argued against right to repair because it would mean bulky products be annoyed because this shows that's not really the case?
Even though I'm sure that Apple will be very restrictive to what parts they sell, and what they "allow" you to repair. I would find it incredibly amusing if Apple find a way to support reasonably priced repairs for batteries, screens, cases, etc. Because right now, the only manufacturers I see that are even thinking about this kind of stuff are making big phones that look ugly. And the excuse that "it's repairable" won't hold up as much.
Ever since Material You was announced, I've been a fan. I'm not sure if I could pick a winner between Material You and the design language Apple have used in iOS and iPadOS because I think they are born from different perspectives, and both have their own pros and cons.
The best way I can articulate the design differences, is that Apple's design feels clean and precise, while Material You looks much more personal. Both are valid choices, but they're still different, and I think that's great. Because more choice can only be a good thing.