2. archives


byuu2019-12-05 06:56:13

My official Twitter account handle is byuu_san, and I've been active on Twitter since June 2015. I use Twitter mainly for social media outreach: announcing new software releases, seeking help with difficult technical issues I'm facing, communicating with friends, and occasionally just tweeting about interesting aspects of my life and things I've found interesting.


Given that my views evolve over time, I prefer to not keep around every tweet I've ever sent, and so I've set up this page to capture any interesting tweets so that they can continue to be referenced even if the original source tweet is no longer available. I'll also include a few amusing anecdotal tweets for good measure.

This archive starts from October 2019.

= Typhoon Hagibis = 2019-10-11


One of the largest typhoons in decades hit Japan during my visa stay here, Typhoon Hagibis.

Although it caused a lot of damage, the area I lived in was thankfully able to avoid most of the fallout. Many folks reached out to me to offer their support, for which I am most grateful!

= 15 Year Anniversary = 2019-10-14


I began developing bsnes on October 14th, 2004. And on the 15th anniversary of the project starting, I was able to solve perhaps the longest-standing technical issue, serialization with cooperative threading.

= Run-Ahead Support = 2019-10-15


Proper serialization allowed for the implementation of deterministic (stable) run-ahead support in bsnes. This technique allows the elimination of whole frames worth of input latency, closing the one major benefit that real hardware and FPGAs held over software emulators.

= FPGAs and Emulation = 2019-10-16


The debate over whether FPGA implementations are hardware emulators or something else is regrettably controversial, but something worth stressing is that this is really just a red herring; something seemingly significant that only serves to detract from what's truly important: preservation.

= Weak Coffee = 2019-10-24


Sometimes in Japan, English meanings get lost in translation. A particularly humorous example is here: "American Coffee" is translated as "Weak Coffee" on this coffee shop menu. They are likely referring to "Americano Coffee", although the Japanese is written as just "American" here.

= AMD Ryzen CPU Bug = 2019-10-29


A serious bug with AMD Ryzen 3000-series CPUs caused its hardware random number generator to malfunction.

As damaging as that is, the systemd workaround for this ended up being almost as impressively disastrous. Which for anyone paying attention really shouldn't be all that surprising, but all the same.

= Markdown = 2019-10-30


I find Markdown to be a rather flawed syntax. All too often symbols such as * and / come up naturally in text, such as with mathematical expressions or inline single-line programming code examples.

I ended up devising my own markdown-like syntax to run my own websites that do not require backslash escaping for these characters, which I call DML, for Document Markup Language.

A nice part about this is that as my site grows and more features are needed, I am able to extend DML to support new functionality.

On that note, my CSS is similarly generated using CML, or CSS Markup Language, which extends CSSv3 with variables, a less terse syntax, server-side includes, and other niceties such as automatic expansion of CSS properties to browser-specific extensions such as -moz-* and -webkit-*.

= SNES Bug: Shin Ikkakusenkin = 2019-11-03

bsnes emulator false bug report

A bug report was submitted to my GitHub issue tracker concerning Shin Ikkakusenkin for the SNES.

While playing this game on an emulator with good speakers, a very low-frequency buzzing can be heard during gameplay. This tends to not be heard on older CRT televisions due to them having less expensive speakers that end up unable to reproduce the low frequencies.

It's an interesting edge case because you might at first think it's an emulator bug, and even though in practice it actually isn't, it makes you wonder if it would be a more authentic emulation to implement a high-pass filter to cut out these lower frequencies.

It's an interesting proposition, and a proper audio mixer is something I've wanted to implemented into bsnes for a long time.

= Activating Windows = 2019-11-06

byuu activating Windows

I recently reconfigured my computer setup and moved my copy of Windows 10 to a newer DeskMini 310 box. Doing this of course required re-activating Windows.

It seems a rather silly prospect to demand entering a 25-digit product key onto your computer, then calling an 800-number, reading a 56-digit code to a real person, and then hand-entering a 72-digit confirmation number. Surely all of this could be done through one's internet connection. And surely that many digits of entropy are unnecessary. It isn't as if anyone is going to guess the codes through brute forcing even if they were one-third this length.

= scp (SSH file copy) = 2019-11-09


Legacy backward compatibility is a nasty corner of computer programming, wherein we have to release software to get initial feedback on what works and what can be improved. But once we've released software, people begin to integrate it into their workflows, idiosyncracies included. This becomes a real problem when flaws are found, but fixing them will risk breaking existing workflows.

You end up with cases such as scp having different escaping rules for both the source and destination filenames, neither of which are exactly the same as the native cp (copy file) command.

This builds up over hundreds of applications written over many decades, and it all contributes to a rather inconsistent and difficult-to-use environment for beginners, which feels like a real shame.

This is an issue I've faced in my own software development, such as with outdated and incomplete Game Pak manifests.

= Next Page

Page 2