-
Web Development in Rust and Insanity
Sometimes, too many choices drive me insane. -
shapeless-blog is getting rusty
I originally created shapeless-blog in Go, which was simple and fun. Although not having any performance issues, I was not satisfied that Go is fundamentally a garbage collected language, which means I don't have full control over the memory management. Since the end of 2022, I have been planning to port shapeless-blog into Rust. And after a few monthes of silence, now is the time. -
Writing Swift in Emacs
I have been using Emacs for almost everything. I stubbornly want to use Emacs in some inappropriate situations, like writing iOS apps. This blog talks about how to write Swift within Emacs, and more importantly, SwiftUI, which is a lot more complicated. -
Preparing Swift development environment on Arch Linux
I want to write a SwiftUI app for personal use, which can be run on my iPhone and iPad. Writing Swift code on macOS is simple, but my main desktop machine with dual monitors is on Linux. I want to edit code on it too. Therefore, I would like to install the Swift Toolchains on Linux. I am running Artix Linux, which is not officially supported by Apple. It currently only supports Ubuntu and CentOS. The power of Arch-based Linux is the AUR. Normally, a package like this can be installed via AUR. -
Fuck guix
Gnu guix is a Linux distro that focus on reproducibility. Similar to NixOS. I have been interested in guix for a while. mainly due to its use of guile, a scheme language, and Emacs being the first class resident in guix. I was quite satisfied with my current build, which is Artix Linux. Everything works fine. I thought guix would be better and decided to switch. I brifely tested guix on a qemu instance, the iso works well, but I was failed to update due to running out of ram. I thought it was not an issue, since if I install it on bare metal, I would have enough ram. I wiped my hard disk and installed guix. It turned to be a disaster. -
Touch Typing
I have been touch typing for a long time. Occasionaly, I suffer from wrist pain. I am not a programmer. And I do not type very fast, (although I type faster than anyone I meet in real life). I like tinker with computer, but I am a doctor. Here are some thoughts on typing as a whole and how to avoid injury. -
Emacs lsp clients comparison
This blog post investigate the difference between lsp-mode, eglot, and lsp-bridge in Emacs. -
Legacy define-key and global-set-key in Emacs
I ate my words, I cannot publish a blog post per week. I am having multiple interesting long posts in the process, but none of them have reached my standard of publishing. This is a short post. -
Install Artix Linux (Armtix) on Raspberry Pi
This guide is very similar to my last post. But with a few very annoying parts to deal with. -
Install Arch Linux on Raspberry Pi
This post is a step-by-step guide of installing Arch Linux on Raspberry Pi. -
First impression on raspberry pi
I recently got a Raspberry Pi. I don't need it. I bought it because it was at a good price. It would be fun, I thought. -
Rustup Rabbit Hole
I always like to try out different programming languages. This time, Rust. I have long been a fan of manual memory management, which enable you to squeeze every single performance from the hardware. However, installing Rust is not as simple as I think. Here is some weird things I encountered. I am not talking about programming in Rust, but solely installing the Rust toolchain. -
Emacs Installation Tutorial
There are a lot of ways of installing Emacs onto your computer. This post would discuss about the benefits of different approaches. -
A New Start
Why I delete all the content and start over a blank new blog?