holalouisliu
This is home base. I build things, write things, and syndicate the rest.
Featured work
All →
Labpaiapiaproof
Use photos and timestamps to prove the exact status of everything in the moment, making handovers dispute-free.
Latest dev log
All →I’ve finally fixed that annoying bug where the notes would vanish into thin air after typing out a sum. To save space, I’d originally crammed the amount and the note onto the same line, but whenever a user entered a long calculation like "1000+2000+3000", the amount field would balloon, shoving the notes off the screen entirely and even making the buttons disappear. I’ve now split them into two separate lines and set the display area to adjust its height automatically based on the text. No matter how long the sum gets, the notes won't be squeezed out anymore. I’ve also added some automated tests, just in case I manage to break it again later. Once the layout was sorted, I noticed the test suite was throwing a tantrum, with red lights everywhere. It turns out the sample data I’d written had the date hardcoded to 2026, so as time marched on, the data fell outside the "last 90 days" window, making the tests think the system wasn't picking anything up. I’ve updated the logic to calculate dates based on the first of the current month, so the tests won't expire just because time keeps moving forward. Finally, I tackled two sync tests that kept failing. I’d tried using tags to filter out environments that didn't need a server connection, but I’d missed a crucial line in the config file, so the tags weren't doing a thing. I’ve been staring at those red warning lights every day, which just made it harder to spot the actual problems. I’ve now set the default to "skip," so unless I manually specify that I want to run a server connection test, they won't get in the way of my workflow anymore.
Latest note
All →I’d never heard of hyperthyroidism before, so it hadn’t even crossed my mind to look into what it actually was. It wasn’t until I was working out with some friends that I realised just how much it can mess with your exercise. If you’re not careful, you could end up in a spot of bother. My friend’s wife was just having a gentle stroll on a treadmill set to an incline. It was only 40 minutes—hardly a marathon—but her heart rate hit 160-plus, and she felt properly dizzy afterwards. I had to suggest she knock the exercise on the head for now and go back to the doctor to see if they could get her heart rate under control with some medication before she tries to get back into a routine. The irony is that hyperthyroidism speeds up your metabolism, so losing weight is usually the only silver lining. It’s a shame, really; my friend started exercising because she wanted to slim down, and while she’s managed to experience every other symptom of the condition, the weight loss hasn't bothered to show up yet.
