Simo Virokannas

Writings and ramblings

Author: Simo

  • Google site-kit plugin for WordPress update mayhem

    I recently did a blanket update for all plug-ins for a WordPress site (good idea security-wise, bad idea, turns out, otherwise). This revealed a surprising three problems within the whole ecosystem. Here they are in descending order of importance: fixing the first makes the other two non-issues, fixing the second removes the third issue, fixing…

  • Compiling Pixar’s USD natively on Windows 11 / VS 2022

    If you’ve tried it, you’ve probably run into the endless catch-22 that is getting everything to behave when trying to compile the Universal Scene Description on a newly setup Windows machine. NOTE: if there’s any way for you to avoid this in your life, don’t look back, rejoice. Prerequisites You’ll need to install at least…

  • Out of the Box Software site is up

    The completely-renewed OOTB site is now up. You can find it either by clicking on a link in the sidebar (statement that might not be future-proof) or here: https://outofthebox.software

  • Gitlab-runner, MacOS 12

    If you’ve tried setting up a gitlab-runner on MacOS 12 you may have run into the same problem I did – even when you follow all the manual setup steps, it just won’t start (unless you run it in interactive mode). Note that this probably doesn’t apply to running it using homebrew. It might work…

  • Totally Arcade Controller

    With the A500 Mini finally out, it revealed a screaming void no one seems to be filling: a proper controller. Almost everyone I ever knew to own an Amiga 500 had one or two TAC-2 controllers by SunCom. It was undoubtedly the best game controller ever made, never to be repeated on any platform. This…

  • Compiling Pixar’s USD natively on Apple M1

    This is in no way meant to be a “standard, do it this way” kind of a solution, but just one way of making it happen. I don’t like how homebrew and alike plug themselves into default locations and potentially taint your environment, so I default to Python-centric virtual environment handlers like miniconda. With the…

  • A new design pattern for MMXXII

    Over the past decades designing an application has gone through several overhauls. Of course whether this affects you or not depends on if you’re into doing the latest thing or if what you already have can in itself withstand the changes in computing landscape. But if you’re like me and at least like to entertain…

  • Adding resizing and resizable subviews to NSView

    If you’re adding a subview programmatically, you may run into having to constantly set all the resizing behaviors and/or anchors manually when all you really want to do is fill the whole available area based on two options: “stretch me to fit this box” or “stretch this box so I can fit”. This happens especially…