Sunday, 12 January 2025

Mechanical Keyboards, Part 2: Customisation

Sometime back I wrote about choosing a mechanical keyboard (MK for short). This post is a sequel about customising my MK – both hardware (switches and keycaps) and software (using Autohotkey which is a free, open-source program). The MK posts are rather dry and technical, so feel free to skip them. I mainly wrote them for my own future reference; if they happen to help someone who is actually interested in MKs and facing some of the same choices that confronted me, that's a happy bonus.

Part 1: Hardware customisation

1.1 Switches

The photo below shows keycaps (green and white) and switches (red) which sit below the keycaps.

Let's talk about switches first. On hot-swappable keyboards, a switch can be removed and replaced in a matter of seconds, using a simple tool that usually comes for free when you buy an MK or a set of switches. This is helpful if a switch is damaged or worn. Or if you want a different typing experience, you can swap them out for another type of switch.

This page goes into more detail, but in short, there are three main types of switches: blue (tactile bump and audible click), brown (tactile bump but no audible click) and red (neither bump nor click). I tried out my friend's keyboard which has blue switches, and various other switches at retail stores. My current preference, as you can see in the photo above, is for linear red switches (the least noisy type).

1.2 Keycaps

Since my previous post, I now have not one but two MKs – one for home and one for work.

My work keyboard has white keys. Keycaps come in a variety of colours, materials and profiles. I found this set of "bamboo forest" keycaps online that I liked the look of, but when they arrived, I realised that the white keys are in fact off-white, while my keyboard base is pure white:

This discrepancy bothers me (possibly more than it should), so I went back to the white keys.

Truth be told, the white keys have kind of grown on me. I do wish they had used some other font (what we have here is a stencil font with open counters; come on guys, keep it simple!) and I could have done without the F-key inscriptions (it's fairly obvious that 2 doubles up as F2, for example). But on the whole I like them, especially the way they light up.

For my second (home) keyboard, I searched long and hard for one whose base colour would match my bamboo forest keycaps, and miraculously I found one which is a perfect match. Here's my home keyboard with its original keys:


...and with the replacement keycaps:

The only (slight) downside to this keyboard is that it's wireless; I prefer wired keyboards because I don't have to worry about charging or replacing batteries. But I can live with that.

While we're on the topic of keycaps, I should note that key sizes can be different, depending on your keyboard configuration (my previous post, under Size, goes into more detail on configurations). For example, the key sizes for a typical 65% (68-key) keyboard like mine are shown in the image below (unmarked keys are 1x, and larger key sizes are denoted by a multiple thereof).


But in a full-size (100%) keyboard, some of the keys are sized differently – for example, the right Alt, Fn and Ctrl keys are 1.25x, and the right Shift key is 2.75x. A complete set of keycaps should have multiple variants of certain keys, to cover the more common So when choosing a set, it's worth checking that it has all the right key sizes for your keyboard type.

1.3 Stands

I guess this is also a form of customisation, albeit of the homebrew variety. My white keyboard has little fold-out stands, but my green keyboard doesn't. So I made stands from rubber pieces, cut to size.


Part 2: Software customisation

2.1 Keyboard layout

Qwerty is by far the most common layout, but there are alternatives such as Dvorak and Colemak, whose proponents claim they are faster and cause less strain. (Incidentally, I love how this alternative layouts page, in the list of reasons why people fear switching away from Qwerty, has listed "fear of ridicule".)

I stick to Qwerty, but with some minor modifications (see the "AutoHotkey" heading below). I considered learning Colemak because I like trying new things, but in the end I figured the time spent in getting up to speed with a new layout would vastly outweigh the gains (if any). And even if I did, I would then have a hard time typing on other keyboards with Qwerty layout.

This tool analyses various keyboard layouts, including user-defined custom layouts, on the basis of typing effort (though effort is of course subjective). And this page, about the lesser-known Workman layout, has a nice graphic showing the "the approximate amount of difficulty/strain" in reaching for or pressing various keys.

If switching from Qwerty to a whole new layout is a bridge too far, one option is to switch just a few keys. Carpalx lists the five most effective keyswaps. Apparently the first swap (K and E) alone reduces effort by 13.4%. But I haven't tried this myself.

2.2 AutoHotkey

Although I opted not to change my keyboard layout, I made various modifications using this wonderful free, open-source program called AutoHotkey (currently available for Windows only; other operating systems may have similar tools, but I haven't looked into them).

The AutoHotkey website has a comprehensive tutorial, and even though it might look intimidating if you're not a coder, it's actually not that hard. (I figured it out on my own, and I have minimal coding experience.) In short, you have to download AutoHotkey, then create a script which can be edited in Notepad. This script can then be used to change the behaviour of keys, effectively customising what they do. The final step is to make sure that the script runs automatically on startup.

Incidentally, regedit (Windows Registry Editor) can also be used to remap keys, but for most users, AutoHotkey is a better and more flexible solution (their own site lists some of the pros and cons of each approach).

My AutoHotkey script makes quite a few customisations, which I have iteratively tweaked to my personal taste over a period of months. You can see the whole script by clicking the link below:

Show/hide script

...but here are a few examples in a more human-readable form:

1. Shortcuts for symbols, such as:

  • For (n-dash), I press Right-Alt. (My Right-Alt otherwise gets very little use, since I almost always use Left-Alt.)
  • For (m-dash): Ctrl+Alt+-
  • For ° (degree-symbol): Ctrl+Alt+D
  • For Γ― (i with diaeresis, as in naΓ―ve): Ctrl+Alt+I

2. Program-specific customisations, such as disabling the aforementioned Ctrl+Alt+I shortcut in Affinity Photo, because that combination is used for Image size.

3. Some customisations to speed up typing. For example, I mapped my ; key to ! because I use the latter much more frequently. It's therefore convenient to have ! within easy reach (right pinky) and not have to press Shift+1 each time. My Caps Lock is mapped to ;, so I can still access it easily. To actually activate Caps Lock, which I seldom need, I press Ctrl+Caps Lock.

4. A 65% keyboard like mine doesn't have F keys; instead you have to press the Function key plus the corresponding number key (for example, Fn+1 for F1). I don't use that many F-keys anyway, but for the few that I do use, I set up workarounds which are faster than Fn plus number keys:

  • For F2 (rename file): long-press Esc
  • For Alt+F4 (close program): Ctrl+Alt+W
  • For F5 (refresh browser): Right-Ctrl+←
  • For Shift+F3 (change case in MS Word): Right-Ctrl+↓
  • For F11 (full-screen): Right-Ctrl+↑

5. Shortcuts for launching programs, such as Win+N for Notepad, Win+W for MS Word, and Win+A for Affinity Photo (I take care not to reassign any useful defaults, such as Win+P for Project Screen).

6. Mouse left-button plus wheel up/down to increase/decrease volume.

7. Windows key and various numbers for commonly-used emojis, such as Win+2 for πŸ˜….

8. Long-pressing ] generates my email address, to save me having to type it out in full.

9. Remapping some of the navigation keys, most notably right Shift to Home (I always use left Shift, and it's nice having Home and End on either side of the Up Arrow key).


In the process of customisation, I discovered a few helpful principles:

1. Try to make shortcuts easy to remember, because otherwise they fall out of use and are forgotten. For example, Ctrl+Alt+D for ° (degree symbol) is easily memorised.

2. Make sure shortcuts don't conflict with other commonly-used functions. For example I initially used Ctrl+Alt+M for × (multiplication symbol) but that is also the shortcut for Insert Comment in MS Word. I then switched to Ctrl+Alt+X, which is also easy to remember.

3. Long press is a nice way to assign additional functions to a key, but don't assign long-press to a key if there is a chance you'll hit that key and another key in quick succession, because then the order gets reversed. For example, let's say you assign some long-press function to T. Now if you press T and H in quick succession, which we often do, e.g. when typing the, you'll get hte instead. I have long-press enabled for ], because I rarely hit another key very quickly after.

Truth be told, it's likely that I spent more time on customisation than I will actually save, even in the long run. But to me, the process of customising and optimising is inherently satisfying. For example, I love tinkering with my Fuji X-E4 camera, customising the various buttons and shooting menus to suit my personal preferences and shooting style. As dustypomerleau puts it in his page on alternative keyboard layouts, "efficient processes feel better than inefficient ones, even when the end result is the same – they improve our emotional well-being and quality of life."

Tuesday, 7 January 2025

2024 New Things List

I've never done a year-end wrap type of post, but I was thinking back on first-time experiences and new things that I tried in 2024. I wrote about some of them already, like mechanical keyboards, dengue and kombucha (surely the first time that these three things have featured on the same list), but here are five more.

Eating durian by the roadside

I've eaten durian many times before, but not freshly-cut-open durian by the roadside. Since moving to Singapore, I'd sometimes see people eating durian at roadside stalls, usually at night, and it always seemed like a Cool Thing to Do. In 2024 I tried it not once but twice – first with my friend Muzi, I think at Wonderful Durian in Geylang:

...and later with three other friends at a stall in my own neighbourhood. It's every bit as fun as it looks. They give you plastic gloves because durian has a very strong smell (famously, it's not allowed on Singapore buses).

The durian experience with Muzi was right after we watched a fire-dragon dance at a Taoist temple (where I took this photo). It was also my first time watching a fire-dragon dance.

Crying in English

This one's a bit more sombre than eating durian.

Last summer, one of my close friends was diagnosed with stage IV cancer (she is still doing okay, and I'm an optimist – we both are – so we will see).

The day after her diagnosis, I was doing a publicity shoot for a contemporary dance company run by my friends Chiok and Guofeng. I'm friends with the other dancers too, and photoshoots are always lively and fun. But that day, during a break, I was sitting quietly on my own. Chiok asked me what happened. I told her, and she gave me a dramatic hug.

I think this is the first (and so far only) time that I cried in English. I don't cry much in general, and when I do, it's often on my own. I've occasionally cried with other people, but they happened to be Bengali, so I would be talking (and crying) in Bengali too.

Anyway the photos turned out well, and Sigma (the dance company) used them for their ongoing production, Streams Where Deer Drink.

Videography

It was also thanks to Sigma that I got into videography. It's a long (and somewhat amusing) story which I won't get into here, but in the space of one week, I went from someone who used his camera exclusively for stills and knew next to nothing about video, to shooting the dance trailer for Streams Where Deer Drink. And using a gimbal, which was also a first for me.

I then went on to shoot the trailer and some rehearsal footage (screenshot below) for another Sigma show, and I have some more video projects lined up in the next couple of months. Fun times.

Mini PC

I had a desktop computer in college. Laptops were expensive back then (or seemed that way), and I only bought mine after I got a proper job. Since then, I only used laptops.

My current laptop, an Asus Zenbook, is over nine years old. It's still fine for work (which is document-based), emails and browsing, but it struggles with photo editing, and video is virtually impossible.

I was initially thinking about getting a replacement laptop. Desktop computers, in my head, were either big and clunky, or petite but relatively expensive like the Mac Mini. But then I discovered the world of Windows mini PCs – a development which I was completely oblivious to. You tune out of the PC world for ten years, and look what they come up with. I feel like Rip Van Winkle awakening to a new world order.

I immediately went down a rabbit-hole of research, as one does, and emerged with a Beelink Series 5 Max.

I already had all the peripherals, but in my home setup, I used to plug them into my laptop. The Beelink, which sits under my riser, takes up even less space, and is more than enough computer for my needs. I can edit videos in DaVinci Resolve or large multi-layer images in Affinity Photo, all while listening to Spotify and with multiple browser tabs open. Ryzen 5 processor, 16GB RAM, 1TB SSD, pre-installed Windows 11 – all this in a device the size of four CD cases stacked on top of each other. The future is here.

Pickleball

Finally, 2024 was the year I got into pickleball.

My friend Li Ling, pictured above, introduced me to a group which plays every day (though we go about once a week). I've never played sports in a group that has so much age diversity – we have people of all ages, from teenagers to retirees, and they are a fun, warm and welcoming bunch. We played with a guy in his twenties who used to be on the national badminton team, and a woman who is 74 but has a fearsome forehand smash. I might also start playing with another group in a different part of town.

Blog note: Last year I wrote that 24 blogposts a year is a good number to aim for. This year I wrote 44, which is the most since 2012! Still I will keep my targets modest. Once again, I would be happy with 24 posts in 2025. Happy new year!

Thursday, 26 December 2024

Near-Perfect Contentment

There's a Calvin and Hobbes strip where Calvin says "Happiness isn't good enough for me! I demand euphoria!" I like happiness and euphoria too (who doesn't) but perhaps what I aspire to even more is contentment.

In my final year of college, I experienced a moment of near-perfect contentment.

I was standing on the balcony of our hostel (dorm), looking out. I had a job offer (frankly, a very desirable job offer – although I quit a few years later, but that's a different story), I felt part of a community (my college friends who I hung out with almost every day), and my days were full and fun. At the same time, I was aware that this period of my life was about to end, and the community that I loved so much would soon disperse. But perhaps this sense of transience – mono no aware – is also a necessary part of near-perfect contentment.

Anyhow, I resolved to try and remember that moment. Since then, I have had three or four such moments – I mean, moments when I experience near-perfect contentment, and consciously try to remember it.

One such moment was when I was living and working in Tokyo. It was a weekend or a public holiday. I was having breakfast (I had a serviced apartment with a complimentary breakfast buffet – that was the life), reading a very good book (Underground by Murakami), and looking forward to a day of exploring Tokyo.

Another was more recently, in Singapore. I was in a mall – Lucky Plaza, which is one of the older malls (I have a soft spot for older malls, and Lucky Plaza is a cute name) – and I was waiting for two friends whom I was meeting for lunch. From where I stood, I was overlooking Orchard Road, a prime spot for people-watching. I had headphones on – I even remember the song I was listening to: Tantra Practice by Emily Lind (it has the line "Twenty bucks for lucky weed," which now always reminds me of Lucky Plaza). I was looking forward to the lunch – Filipino food, and the friends I was meeting are two of my favourite people in the world – and also to a contemporary dance performance which I was going for afterwards. I enjoyed the dance show too.

In my last post I was reflecting on final thoughts: "whether I'll want to be fully present in the moment, or perhaps, drift off as I relive a happy memory." I still don't know the answer, but if I were to relive a happy memory, one of these near-perfect contentment moments would be a good option. However, I think I have an even better candidate.

Since I graduated from college, I have mostly lived in other countries. When I go back home to Kolkata, I often have afternoon tea with my parents – milky tea with biscuits (Britannia Marie Gold or cream crackers). I haven't consciously "recorded" a moment of near-perfect contentment during teatime with my parents – they kind of blur into one – but in the moment, I feel happy, grounded and loved. Winter-afternoon light filtering through the windows, my mum telling us about some bird she saw that morning, and biscuits dipped in chai.

Tuesday, 24 December 2024

Final Thoughts

Cloud Atlas by David Mitchell – one of my all-time favourite novels – has two scenes where people who are about to die relive happy memories. In the first, Sonmi-451, who is a fabricant (a type of clone) is giving her final interview. She is – spoiler alert – executed for rebellion, but in a post-apocalyptic future, she is revered as a god.

The interview has some zingers:

Archivist: But if you knew about this ... conspiracy, why did you cooperate with it?
Sonmi-451: Why does any martyr cooperate with his judases? He sees a further endgame.

The interview, and the chapter, ends with her final request:

You can switch off your silver orison now, Archivist. My time is short and I claim my last request.
Very well... name it.
The use of your sony and access codes.
What do you wish to download?
I wish to finish viewing a film I began watching when, for an hour in my life, I knew happiness.

Cloud Atlas consists of six nested stories spanning multiple geographies and timelines. In San Francisco, 1973, Joe Napier, a security man, wants to retire to his mountain cabin and a life of fishing. But he tries to help his friend's daughter, journalist Luisa Rey, in a corporate crime investigation, and eventually dies trying to protect her. He is shot by Bill Smoke, a henchman, who leaves Napier for dead, and turns his attention to Luisa Rey. But Napier summons the last of his strength, and reaches for his gun:

The trigger resists his index finger – then a blaze of incredible noise spins Bill Smoke backwards, his arms flailing like a marionette's.
In the fourth to last moment of his life, Napier fires another bullet into the marionette silhouetted by stars. The word 'Silvaplana' comes to him, unasked for.
In the third to last moment, Bill Smoke’s body slides down the cabin door.
Second to last, an inset digital clock blinks from 21:57 to 21:58.
Napier's eyes sink, newborn sunshine slants through ancient oaks and dances on a lost river. Look, Joe, herons.

I've occasionally thought about what my final moments – and final thoughts – might be like. Whether I'll be alone or have people around me. Whether I'll be conscious of the fact that my time is up. And if I'm conscious, whether I'll want to be fully present in the moment, or perhaps, drift off as I relive a happy memory.

I'll ponder some more, and write about it in my next post.

And I'll try not to die before that – which would be ironic, but also one hell of a cliffhanger.

Sunday, 1 December 2024

Balestier Buildings 3: Sim Kwong Ho Shophouses

The two previous posts in this series were realistic drawings, but now for something a bit different.

I recently went to an event at a local library which had a booth by Drool Stamps. There was a selection of lovely stamps to try out, and blank bookmarks which you could customise.

I chose a shophouse stamp for my bookmark, and then painted it at home.

The colours were loosely inspired by the Sim Kwong Ho shophouses, but I took some artistic liberties.

Friday, 29 November 2024

Thanksgiving

My friend Abbi's 3-year-old nephew made this Thanksgiving Turkey – or rather his mom filled it in for him, but he told her what to write.

It says water bottle, my guitar pick, snacks, new baby sister, Aunt Lisa, zoo, Daddy, Mama, Aunt Abbi, Uncle Nate.

I asked Abbi about the guitar pick and she said, "My mom found one and gave it to him (he loves music and has a little pretend guitar). But he lost it πŸ˜‚"

Anyway, I love guitar pick and water bottle – that he is thankful for objects – and cheap, everyday objects at that. It got me thinking about cheap, everyday objects that I am thankful for.

I recently got these plastic drawers which were only S$5 each (you can see them on the shelf below the typewriter).

I used to keep my art supplies in my storeroom, but now that I have them in my study, in neatly organised drawers, I use them more.

I'm likewise thankful for my cotton bedsheet, a pair of sneakers that I got for a steal (secondhand but unused), and a mint-blue retro-style toaster which I found abandoned in our recycling bay.

In my previous post, there's a photo of Chiok (who made the pomelo kombucha) and our mutual friend Emiri. Emiri is Japanese, and said itadakimasu before drinking. Chiok's partner Guofeng asked her what it means, and Emiri said it's a way of saying thanks.

Guofeng: Like thanks to Chiok, for making the kombucha?
Emiri: To everyone. To Chiok, to the farmer who grew the pomelo, the people you bought ingredients from, and also to the pomelo.

Sunday, 24 November 2024

Purple Kombucha and Other Developments

In last month's post I talked at length about homebrewed kombucha, but I forgot to say – and I will just put it out there without false modesty – it's really good. Or as the kids say, my kombucha slaps. A few people have independently told me that it's the best kombucha they ever tasted.

I continue to experiment with different flavours. The bottle on the right is plain kombucha, but the one on the left has blue-pea tea (my neighbour got dried blue-pea flowers from an organic farm in Thailand, and gave me some to try).

My blue-pea kombucha is purple because anthocyanin, the pigment in blue-pea flowers, is a pH indicator. It's blue in water, but if you add an acid – like lemon juice or kombucha – it turns purple.

I still do kombucha-tastings with Chiok and Guofeng, who, like me, got their SCOBY from my friend Violet. Pictured below is Chiok's grapefruit and pomelo kombucha, which also slaps.

I also started making water kefir (below left) which is another fermented drink. Also tasty, and easier than kombucha – shorter fermentation time, and only needs sugar (not tea). But to me, it's not as delicious and complex as good kombucha.

The jar on the right is kombucha-pickled cherries, flavoured with cinnamon and star anise. These turned out okay – nothing special. But you ideally want fresh cherries, and I could only find frozen ones here in Singapore. If I find fresh cherries, I might try it again, because the recipe looks promising.

Sunday, 10 November 2024

No Fighting!

A house on my street is being renovated. There are various notices on the gate, including a cute and unexpected "No Fighting!"

My friend Abbi said, "Maybe we should have that notice everywhere."