Category Archives: computing
Swig is broken in Ubuntu 16.04 (xenial)
If you’re building a swig Python module and encounter errors like:
1 |
AttributeError: 'Foobar' object has no attribute 'this' |
where Foobar is some class that is being wrapped, then you are encountering a swig-3.08 bug. Unfortunately this is still the official package in Ubuntu 16.04. You can … Continue reading
Building jEdit from scratch
I’ve been using jEdit for decades as it provides a nice text editor with similar feature set as something I used at Raytheon called SlickEdit: easily records a macro of all actions in the editor easily playback the recorded macro … Continue reading
P5js player widget in pure javascript
Okay, so I got really excited about p5js, checkout their examples page. But I struggled a little bit to include a sketch on my wordpress blog, the canvas was showing up at the bottom of the website as I discussed … Continue reading
Embedding p5.js processing sketches in WordPress posts
Yesterday I discovered the p5.js project by watching this video series. I got excited and wrote my first sketch “bouncing points,” a classic that I once wrote as a java applet back in the 1990’s. Very simple to do with p5.js. I look … Continue reading
Ranking Photos With Python
Photo Ranking With Python What is this? This is a tool that uses the Elo Ranking System written in Python using: Matplotlib Numpy exifread Features: Auto image rotation that the camera recored in the EXIF meta data Persistent state from … Continue reading
Listening to Gravity Waves with Nsound!
Gravity Wave Signal Processing With all the excitement about LIGO and gravity waves, I’ve downloaded the raw GW150914 detection data for from here. The file I downloaded was 32 seconds sampled at 4096 samples per second. Next I reviewed some of … Continue reading
Nsound + Biquad + JSON
I’ve stared using github to host the nsound source code here. I’m currently working on porting some of the code in this paper: High-Order Digital Parametric Equalizer Design I’ve ported most of the MATLAB code to Python and have made … Continue reading
How to clone Linux disk of different sizes; large HDD to smaller SSD
WARNING: MISUSE OF THE COMMANDS IN THIS TUTORIAL CAN CAUSE DATA LOSS! BACKUP YOUR DATA! YOU’VE BEEN WARNED! Step 1: Clone original HDD to larger, spare HDD 1.1. Connect SRC and DST disk to computer 1.2. Disconnect external drives that … Continue reading
How To Use Macros And Blender
I wanted a way to perform a “Repeat Last Action” command in Blender. I found an easy way to do it on Ubuntu Linux with a little tool called xmacro. Xmacro is a simple keyboard and mouse recording utility. It … Continue reading