Author: Frank Singleton

  • Romsey Tech Night

    We are now hosting Romsey Tech Night every Thursday evening at 7pm at the Romsey Mechanics Institute.  The current focus is Learning Python. Bring your laptop and come on down if you want to join us. Date: Every Thursday Time: 7pm – 8pm Venue: Romsey Mechanics Institute, 122 Main St Romsey  

  • PyAudio – Numpy – SciPy – DSP EXample

    Its always fun to do some side projects to stay sharp with particular tools and methodologies. This post will talk about a prototype CHU FSK decoder that I have recently started working on. It may end up being ported to C++, but I definitely find Python / Numpy / Scipy / Matplotlib / Octave allows…

  • Julia – Symbolic Math and Matrices

    Started porting some Octave code over to Julia. Nice to see the SymPy package working nicely. This short post shows how to create a 2 dimensional Array, containing symbols. Here is a small snippet that creates a 3×2 Array of symbols with the appropriate subscripts. ie: Array{Sym,2}. Notice the similarity to Python’s List comprehension syntax.…

  • Emacs external code formatting in Python

    One of the nice things with Emacs is its extensibility. You can write some Emacs Lisp to add some new functionality, if it does not already exist in MELPA. There are times however when writing an extension in another language might be useful (eg: Using C, C++, Perl, Lua etc). Recently I was writing some…

  • C++ Game on STM32F4

    Recently I spoke about cross platform C++ development and provided an example project to help folks get started. At the other end of the scale, I introduce a C++ game for STM32F4 target. Specifically, I demonstrate how to write a simple game for the STM32F429I-DISC1 board. Most of the same principles apply when targeting embedded…

  • hp50gshell

    Prototype shell for interacting with HP 50G from a Linux machine. I find myself most productive when I don’t have to keep reaching for the mouse to drag and drop resources or interact with a program. This is the motivation for developing hp50gshell. It uses the awesome cmd2 package to allow me to create a…

  • Make Tags for AVR-GCC projects

    For embedded development, Emacs and AVR-GCC are my goto tools. I develop embedded code on Mac/Linux, and appreciate being able to search and navigate Tags in C/C++ code. This might be looking up the definition of OSCCAL or TCCR0A on an ATtiny85 project for example. Anyway, this would normally involve invoking gtags for example on…

  • Cross Platform C++ Game Development using SFML

    I often hear new developers discussing the challenges of cross platform development. There are a few obstacles that must be overcome. Some of the main ones are: Game Logic Presentation (UI) Multiple Target (OS) support (Both run-time and build-time) Build strategies. So, I created a project on BitBucket to illustrate how one can approach the…

  • Simple UTC Clock for Mac

    Here is a simple UTC clock for Mac. It was designed using FLTK and C++ as proof of concept during a cross platform GUI development exercise. Feel free to download and try it out. Currently developed and tested on macOS Mojave (10.14.5), but was compiled with -mmacosx-version-min=10.12 so 10.12 or later should be ok.  …

  • Fedora 28 and Git/SSH issues with Bitbucket

    This is just a quick post for those that may be having problems using git client to say clone or pull from remote repos. I noticed that my Fedora 28 VM recently started to complain when I issued git commands towards Bitbucket. An example is shown below. Using openssh-clients-7.8p1-3.fc28.x86_64 gives the following error. ✔ ~/repos/missile_run…