Algorithimic Complexity Cheatsheet

I had a customer recently ask me why some things we are doing at work are better than other traditional methods. I explained in a lay sense why our approach was more effort up front but over time would greatly reduce the effort to support the system and greatly reduce the time it would take to solve various issues. Later though I realized I could have explained the problem as Algorithmic Complexity or the definition of a function that explains the complexity in time (number of steps needed to run) and complexity in space (memory needed to run). So I decided a needed a refresher in figuring out algorithmic or computational complexity and found this useful cheat sheet here. I also found this article pretty useful. While in my case it’s to help explain how a specific approach to a problem is more scalable than another there are common questions for computer programmers and engineers in job interviews and I suspect that both the chart and article are good resources for interviewing for positions.

Posted in Uncategorized | Leave a comment

Step by Step Mosquitto install on Windows

Posted in Uncategorized | Leave a comment

Atom disappears from screen even though its running on Windows


I had an odd issue recently. I was editing some code in Atom and ended up closing my laptop and setting up somewhere else. When I opened my laptop I could see Atom running but when I clicked on the app it would not show it. I tried alt-tab etc and still no luck. I tried restarting and the same issue. I tried to uninstall and reinstalling and the same issue.  What ended up working was this:

Open the Windows Task Manager.
Select Atom and click on it which will expand it to show a subprocess. Right Click on the sub-process, and then select Maximize.

Now I can see the editor 🙂

Posted in programming, Uncategorized | Tagged , , | Leave a comment

More info on Mubai Attacks

Evidence of Terror Group Chief’s Part in Mumbai Attack ‘Available in Pakistan’

Posted in Uncategorized | Leave a comment

Numba — Great tool for speeding up Python

I’ve been doing a lot of machine learning proof of concepts with Python and occasionally it’s pretty clear Python won’t perform. One way to potential increase performance is Cython but one very cool thing about Numba is that you can use it not just to compile down to C or leverage it’s JIT but make it use multiple processors, auto generate parallel processing code, or compile it for GPUs. For me this is a lot better and a heck of alot easier than using Thank or TensorFlow (although they are great too and have their place.) Anyways Numba is super easy because it uses simple decorators to allow you to select how you increase performance. Checkout it out.

Posted in Uncategorized | Leave a comment

Meditations by Emperor of Rome Marcus Aurelius

A timely classic 🙂 Project Gutenberg has The Meditations in multiple formats including Kindle and epub

Posted in Uncategorized | Leave a comment

Using drones to support tankers

Maersk Tankers – Flown out by drone

Posted in Uncategorized | Leave a comment