Comments

Comments is a small demo I wrote to play around with three.js and socket.io. It gives you a procedurally-generated practically infinite world for you to roam about in, and you can leave comments for other players to see.

Both the client and server are written in pure JavaScript. Comments are stored in a MySQL database, because it’s faster than the pure node.js sqlite3 database I was using before. The client only uses the server for retrieving comments: everything else – movement, world generation – are done clientside. The world is generated by using a simple 8-octave OpenSimplex noise algorithm.

Check it out at https://csnxs.uk/comments.

Themes

Jetpack has decided they’ll be dropping their mobile theme in March, which sucks – I used it to have decent themes on both desktop and mobile. Unfortunately there aren’t really any other responsive themes I like as much as Twenty Ten, which I use for desktop – Twenty Twelve is nice, and is responsive, but I like Twenty Ten the most. So I just modified Twenty Ten into Twenty Bean, which is responsive. Surprisingly not that difficult, though I might have to adjust some padding, as there’s a bit too much whitespace on mobile. Despite that, it looks pretty good, I think.

New server… sort of

Earlier today I largely finished migrating my server from an old and crusty Ubuntu 18.04 Linode – which had seen many Ubuntu upgrades – to a new openSUSE Leap 15.1-based Linode. I’m quite partial to openSUSE, I run Tumbleweed on my desktop and find it to be one of the best KDE desktop setups I’ve ever experienced. openSUSE Leap on server is also pretty cool and seems to be handling Firestick and everything else I host well.

The old server has been turned into a 80 GB ext4 disk image living on one of my hard drives, ready for me to mount and get data off of should I need it. I wanted to use btrfs on the new machine but I think ext4 will do fine; I don’t particularly need any of the fanciness btrfs offers anyway.

I still need to finish setting up Munin and a few other things though, and I’ve noticed PHP is slightly slower on this new machine. Either I’ve missed some caching and performance options, or maybe it’s because it uses PHP 7.2 instead of 7.3. Either way, it runs well so far.

Wii U update

USB storage

My previous Anker SD card reader broke – it would think all full-size SD cards inserted into it were write-protected, even though they weren’t – so I ended up buying a UGREEN SD card adapter instead. It works fine and is fast enough. It still requires that I use the full-SD slot though, I assume the Wii U only accepts the first drive presented via USB, which happens to be the full-size SD slot.

LAN adapter

I ended up buying a LAN adapter because, you know, it’s a Nintendo product, the Wi-Fi is awful. I bought the adapter for £5 + £1.50 shipping from CeX, and got some Chinese clone – but who cares, it works well.

And more modding

I installed Coldboot Haxchi on my Wii U. Haxchi is basically an exploit that turns a Virtual Console DS title into a custom firmware launcher, and Coldboot Haxchi is another exploit that sets that DS title as your Wii U’s boot title (instead of the Wii U menu). So now I don’t have to deal with the web browser whenever I want to use CFW. Also, I can brick my system by deleting a DS game! Woo!

It requires a legit VC DS game from the eShop to work – and interestingly, I apparently already owned Dr Kawashima’s Brain Training, despite never having bought it. Interesting. But it worked, so I guess that means my Wii U technically boots into Brain Training. Neat.

That’s basically all that’s happened with my Wii U so far, I’ve been playing a lot of Splatoon (of course) and some Wind Waker HD every now and again. Maybe I’ll play some of the other games I downloaded sometime… Also, really wish it supported full-range RGB, but whatever. I’ll have to live with everything looking washed out.