July 8, 2016 Lightning
These are the first lightning photos in several months. It was a good electrical storm but the lightning wasn't so photogenic.
Raspberry Pi 3 Mini Cluster
I recently constructed a mini cluster consisting of 3 Raspberry Pi 3s. I am planning on using these machines for various little projects. I've installed some services on one of the nodes. Currently that node hosts Redis and RabbitMQ instances. I'm sure that I'll have other services to install in…
Odd Behavior in Python 2.7
I was tinkering around with replacing the print statement with the print function in a Python 2 script when I ran across this peculiar oddity. >>> from __future__ import print_function as print File "<stdin>", line 1 from __future__ import print_function as print ^ SyntaxError: invalid syntax >>> from __future__ import…
Saving Console Messages in JavaScript
Have you ever encountered a situation where it would be beneficial to save whatever is written to the console across browser sessions? If you have, you know there are not many solutions. I recently decided that localStorage would be a good candidate to implement a solution to this problem with.…
Raspberry Pi 7" Touchscreen Unboxing and Thoughts
This week I ordered and received the official Raspberry 7" touchscreen ($60). I've been tinkering with some ideas for it (some car based projects) and wanted it on hand to try out. Opening the Box The screen is packaged and presented really well. It comes with all that you need…
Bringing the Internet to Mars and Beyond
With the exploration of space and the eventual colonization of Mars humanity needs to establish a method for improving internet connectivity for people on the surface. One method of achieving this is to place one or more satellites in high orbit around the planet. These would use interplanetary internet(delay tolerant)…
You're Too Close
Have you encountered the following scenario? You are trying to solve a problem (or helping solve a problem) and know or at least think you know the solution. You are in the middle of implementing it when someone else looks at it and says, "why don't you do it this…
Python Logging – Best Practices
The python logging module offers a wide variety of logging options and handlers. One thing missing from the documentation is when to use each level. A quick foreword You really should familiarize yourself with the logging package. How to create new loggers (I find creating them by module very useful). …
Creating Web Workers From Functions (No File Needed)
So, you want to create a web worker from a function, the problem is all the examples examples show creating a web worker using a separate JavaScript file or from embedded JavaScript source. There is a way to do it and that is using Blob URLs. In the example below,…