• Not Scraping 豪州産牛肉.com

    For private purposes, it would be nice to automate my monitoring of 豪州産牛肉 (Aussie Beef). It would be nice to implement a process to automate and do efficient market analysis, something like this: Batch server request scripts - mechanize There are common packages that can issue server requests. In Ruby...


  • KVM On WSL2

    Replacing VirtualBox with KVM inside of WSL2. Compile a new Kernel. KVM needs to be enabled in the WSL kernel variant. This post gives the details: https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ A few key points: Microsoft’s kernel is here: https://github.com/microsoft/WSL2-Linux-Kernel/. The default config is in Microsoft/config-wsl You update the config to enable KVM and...


  • A Simple Example app in Vue3+Typescript

    Vue3 Vue3 is the latest iteration of the Vue framework. The attraction of this framework is: Component based development. Each component can be encapsulated in a single (.vue) file that encapsulates: the presentation (Templated HTML), view logic script (JavaScript or Typescript), style (SCSS). A model can be built outside of...


  • Docker and GitHub Actions for Embedded Compilation

    Using Docker and GitHub actions to build an embedded project. These scripts have been added to to the modern C++ RISC-V blinky project to implement build on push. Dockerfile docker_entrypoint.sh action.yml .github/workflows/main.yml The general flow is: The github/workflows/main.yml has a trigger on push, this invokes an action in action.yml. The...


  • C++ Co-routines

    A key feature of C++20 is co-routines. I’ve spent lots of time using python coroutines, greenlets and SystemC threading. Co-routines should allow a general model of event driven asynchronous programming. However, in C++ they are not easy at all… These references are critical: Lewis Baker’s “C++ Coroutines: Understanding Symmetric-Transfer” -...