Recently while browsing Xianyu (闲鱼) looking for BYK-series chips (Sinowealth 8051 MCUs) for another project I'm working on, I stumbled across something peculiar: a device claiming to bypass STM32 RDP1 (Read-Out Protection Level 1) on F0, F1, F2 and F4 series chips. As it turns out, there's a whole market for these if you search for "STM32解密" (STM32 decryption). a picture from one of the…
As you might have seen from my previous post , my RPi cluster is housed in a racknex UM-SBC-209 case. It's a great case that I utilized to the max by setting up my RPis with poe+ hats, custom hats that I made to expose i2c via two qwiic (jst sh) connectors and an additional 5v fan header that I use to connect to Noctua NF-A4x10 5V fans. I had made keystone holder for a tiny OLED display and…
It's time I wrote an update on this project again! Since my last update , I've been working on bootstrapping a development toolchain and producing a minimal firmware where I could initialize and test the core features of the SH68F90A along side of booting back into the ISP bootloader (otherwise the keyboard will become unprogramable via USB). I am happy to say that I managed to do that,…
Not too long ago, I got a NuPhy Air60 keyboard. I got it because I think it looks great! It has a mostly aluminum body, low profile switches along with low profile keycaps, switch sockets so that they can be removed without soldering, 2.4G wireless alongside Bluetooth, and RGB backlighting (yay?). Great right? I think so. What's not great about it is its software and its firmware. NuPhy has a…
As previously mentioned in my last post , I've been using nixos to run my raspberry-pi k3s cluster. Things have been working great and managing these machines has never been this pleasant, except for one thing - the cooling fans which come with the PoE+ hats refuse to work out of the box with nixos. These fans are enabled without any extra configuration under Raspberry Pi OS , so I know that…
I recently decided to move most of my meager server workloads from the cloud back to my own home. If you're asking "why???" Then I would have to ask you to settle down and inform you that it's much more a "why not???" situation. I wanted to try and learn nixos and k8s (through k3s ) and I like the idea of owning and having control over my hardware, that's pretty much the whole…
I've been using this setup for over 2 years now and it saved me from a large number of small to medium headaches that used to haunt me every so often. Because of this, I think it's worth talking about in a blog post. So what am I talking about? § Ever had to commit a file only to realize that you got the capitalization wrong? I've certainly been in that situation. Well you'd…
Like any other year the new Xcode GM came out and everybody started rushing to submit their apps. This year, I was also one of these early adopters. Things were going relatively smoothly, except for a weird issue with xattr when trying to export archives. Regardless, I uploaded the build and was ready to see it processed... And then... The Problem § Invalid Bundle - Disallowed LLVM…
Well it's been awhile, but I'm back to doing my own projects again. Prelude § So lately I've been feeling left out of the gaming world and thought to myself: "Hey why not build a sweet new gaming rig and jump right back into all of the fun?". Well, knowing myself I knew that after playing a couple of games, I would get bored and this rig won't see much use after that. To…
Ever since Swift 1.0 was released, I have been struggling with finding a way to introduce some proper dependency injection into my code. The previous methods that were popular in objective-C like Swizzling or property overloading no longer works or require far too many changes to your code to make them actually worth it. Natasha Murashev posted some nice ideas about dependency injection through…
Intro § I've been doing some work with a fair amount of crypto for an my upcoming application. Now as you all probably know, the go-to for doing any crypto is with OpenSSL . I'm not much of a hipster, so I immediately went with that. The Good § x2on 's OpenSSL-for-iPhone is an excellent tool of convenience. It downloads the latest version of OpenSSL, builds both libssl and libcrypto…