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
Read More
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 […]
Read More
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
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 […]
Read More
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
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
For some recent prototyping work, I needed access to an arbitrary precision arithmetic library that would run on ARM. Specifically, I was using an STM32F4 Discovery Board (STM32F429I-DISC1) and wanted to try out the GNU MP Bignum Library on ARM Cortex M4. The following steps and simple project I put together shows how to cross […]
Read More
If you are building (cross platform) applications, its good to know how to check linkage/dependencies of applications and libraries. Here are some simple examples for various operating systems. Linux – ldd The ldd command prints the shared objects (shared libraries) required by each program or shared object specified on the command line. [frank@localhost ~]$ ldd […]
Read More
When it comes to building cross platform C++ applications, I have had pretty good experience with CMake. Below shows the general steps in building your CMake structured app, once you have CMakeLists.txt defined. mkdir build cd build cmake ../ make or nmake What may change are options passed to CMake such as -DBOOST_ROOT=”/usr/include/boost” or -DCMAKE_BUILD_TYPE=Debug […]
Read More