Close

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. […]

Read More

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 […]

Read More

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 […]

Read More

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 […]

Read More

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.   […]

Read More

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 […]

Read More

Git – What are you telling me?

Ok, so this is more of a humorous post, aimed at Git users everywhere. Let me describe the backdrop. You are burning the midnight oil, some new feature branch is almost ready for prime time. You sit back in your chair feeling pretty good. Feature seems to work, and unit/functional tests concur. Code coverage edging […]

Read More