notes & musings
The chicken story and morals.
The chicken story is a story about a hen and a chicken who go to eat nuts. She dies and the world goes to shit.
Fri, 18 Sep 2020 21:31:04 CDT
Baking bread is a series of small adventures.
Every time I bake bread, it is a series of of unknowns.
Thu, 16 Apr 2020 09:16:30 CDT
Strange times indeed.
Just some random observations as London prepares for lockdown.
Thu, 19 Mar 2020 20:28:02 CDT
Building tensorflow 1.14
Tensorflow moves fast, and part of the upgrade from 1.14 to 2.0 involves upgrading to 1.14. This is a summary of the build instructions that are getting hard to find.
Thu, 09 Jan 2020 11:52:02 CDT
Random statements about running experience.
Wed, 08 Jan 2020 13:28:14 CDT
Developing an Android app for discerning colors.
Spitting an image into three for an andoid device, for distinguishing colors.
Sun, 29 Mar 2020 12:42:28 CDT
The week before a big race.
I'm setting out on my longest run yet. This is a post about running from the perspective of the week before.
Mon, 16 Dec 2019 03:25:35 CDT
Starting off with Eigen
This is a short test to try out eigen, and create some notes.
Tue, 08 Oct 2019 08:06:21 CDT
Cycling with the tractor
Training rides I used to do in the Gambia.
Tue, 27 Aug 2019 05:14:21 CDT
Taxing the full production chain.
We need to account for all of the costs associated with making, using and disposing of a product.
Tue, 30 Jul 2019 10:11:29 CDT
I am a bit fascinated by the outrage the travellers feel when they're offered inflated prices while travelling abroad. Do we owe more?
Tue, 25 Jun 2019 08:15:39 CDT
Changing the rewards of capitaism.
In the world today, corporations and companies are rewarded by destroying the environment while pushing junk onto consumers. It paints a poor picture for capitalism. Don't *we* decide what the capital is though?
Sat, 11 May 2019 15:46:21 CDT
The seeds of life.
How long did it take to nucleate life here? What if sending just the seeds of life, then we could set another planet on the way to having a life form, somehow compatible with ours.
Mon, 08 Apr 2019 14:00:49 CDT
Simple openjfx examples for compiling and running javafx apps.
New to java 9 is the module concept. OpenJFX is now distributed as a module.
Thu, 14 Mar 2019 06:14:08 CDT
Python numpy performance using ufunc or numba.
With numpy arithmetic a complicated expression can lead to many calls and loops when one loop and call would suffice.
Thu, 13 Sep 2018 06:19:32 CDT
Setting up local environments two ways. Anaconda or virtualenv and pip
On my mac I am using anaconda and on various linux computers I am using virtualenv and pip. I think, although I don't know, that anaconda is using virtualenv under the hood.
Fri, 26 Jan 2018 11:43:47 CDT
Art type physics
I was inspired to attempt a transfer, and now I wonder if I could create a model that produces similar results.
Sat, 30 Dec 2017 17:27:52 CDT
I need a centos environment for building an app running on a legacy server.
Thu, 14 Dec 2017 06:00:04 CDT
Creating a time lapse with ffmpeg and a webcam
This describes three basic steps to creating a stop motion from a webcam in linux using ffmpeg.
Tue, 28 Nov 2017 04:27:35 CDT
Days of Unemployment
I made a timelapse.
Fri, 03 Nov 2017 12:27:15 CDT
Ducks at the pond
I saw a 'family' of ducks
Tue, 01 Aug 2017 03:34:11 CDT
Emoticons I use.
So I don't need to google search to copy/paste.
Wed, 12 Oct 2016 05:25:57 CDT
Git log commands for creating a formatted output
I needed a formated output for time sheets.
Fri, 15 Apr 2016 15:20:48 CDT
Deploying an open source project to eventaully be used by maven central
I am trying to release a library on the central repository via OSSRH
Wed, 06 Apr 2016 12:20:31 CDT
Adding a certificate to java.
I couldn't download my website using the java url connection using https. I had to add my certificate provider as a trusted provider.
Sun, 27 Mar 2016 15:04:46 CDT
Some ffmpeg commands I use.
Mon, 06 Jun 2016 02:57:36 CDT
Maven round 1: with a clear volume example
This describes the very basics of a maven project. How to compile, run and make a library if necessary.
Wed, 27 Jan 2016 10:22:19 CDT
Bash substrings and Gnuplot commandline arguments.
I have a directory full of files that I want to analyze, so I loop all of the files in a bash script, extract part of the name and pass it to a gnuplot script. The gnuplot script recombines the name, and alternate names for output files.
Sat, 21 Nov 2015 10:30:42 CDT
Regular Expression example with grouping.
This is a short java program that uses a regular expression to change unicode escape characters into their corresponding char value.
Thu, 22 Oct 2015 08:24:26 CDT
Opening a firewall port on fedora
Easy to do, but I always find myself looking it up.
Mon, 13 Jul 2015 07:35:35 CDT
Building a GLFW project
Quick reminder of how I build a GLFW project.
Wed, 08 Jul 2015 10:43:23 CDT
Setting up an OS X remote backup on linux.
I setup a network share on a linux device, Fedora 20, and used it to host a time machine volume for OS X Yosemite.
Fri, 15 May 2015 15:10:20 CDT
Java 8 Stream examples
A collection of stream examples that I will build up, and improve, over time.
Sun, 24 May 2015 13:22:02 CDT
Walk through Golders Green on Hanukkah. Setting up new blog.
This post includes some pictures from the last night of Hanukkah in Golders Green. It also shows how I am using google to host my images now, instead of locally.
Sat, 03 Jan 2015 13:28:25 CDT
Basic Reference Examples in c++
In C++ items can be passed by reference and passed by value. This includes a short example, and some descriptions of why it works. Disclaimer: This is for my notes as I am also only learning C++.
Thu, 09 Oct 2014 05:17:25 CDT
An improved example of how volatile in java helps
I present a short example concerning the usage of volatile that is better than the example given in the JLS because it actually shows a result.
Wed, 05 Aug 2015 14:08:09 CDT
Creating a TGA file reader in java and c++
My goal was to create a TGA reader for c++ to use in OpenGL applications.
Thu, 13 Feb 2014 15:38:10 CDT
OpenGL 3 texture example
A bare bones example of using opengl 3 and apply a texture. The whole program is in one file and uses GLFW3.
Mon, 11 Nov 2013 10:30:20 CDT
The reason to use a buffered stream in Java.
If you use an input/output stream with a buffered output stream can greatly improve performance.
Fri, 20 Sep 2013 04:20:01 CDT
Compiling gnome 3.8 with jhbuild on Ubuntu 12.04
Gnome 3.8 came out and somebody said it would be easy to build using jhbuild.
Sun, 31 Mar 2013 19:45:39 CDT
Windows 7 file permission fix
My external hdd was not viewable by me so this lets you set the permissions bulk style.
Fri, 05 Oct 2012 14:12:51 CDT
New Laptop - Inspiron 13z
What it takes to get this nice little laptop working with ubuntu 12.04.
Sun, 23 Sep 2012 12:36:22 CDT
Building Unison 2.27
There are a bunch of small patches that need to be done to build unison 2.27 on ubuntu.
Fri, 20 Jul 2012 15:21:40 CDT
Grub and HDMI with Ubuntu or Mint
I have and AMD/ATI video card and the kernel like requires radeon.audio=1. This explains how to properly set the /etc/default/grub file so that the line is added to new grub entries too.
Mon, 14 May 2012 21:10:23 CDT
I hope they died painlessly.
I've always wondered.
Mon, 05 Mar 2012 18:06:03 CDT
Mint for the first time
I am documenting a few features of mint.
Sat, 10 Dec 2011 23:54:16 CDT
Why Judge Comm Scott is a biased judge.
Judge Com Scott
Wed, 23 Nov 2011 11:34:45 CDT
Spam Email Subject Lines
The subject lines for spam emails have become increasing coherent and base.
Thu, 08 Sep 2011 10:32:23 CDT
Picking Random Numbers From Discrete Distributions
Given an arbitrary discrete distribution of numbers, this is a way to pick random numbers from the bins starting with a standard random number generator.
Tue, 02 Aug 2011 11:37:35 CDT
Threading the EDT - Where to go.
Takes a look at the currently generated code, isolates some problems and uses some built in features to create the features that we want. Namely a single threaded program with a GUI front-end.
Sun, 19 Jun 2011 23:33:06 CDT
Threading the EDT - how to get away
This describes the very basics of starting a thread so that we do not execute long running tasks on the edt.
Wed, 15 Jun 2011 21:51:29 CDT
Threading the EDT- introduction
This discusses how to create an application that works with a swing gui.
Wed, 15 Jun 2011 21:33:54 CDT
I was exploring a question about threads and graphics and I wrote this simple test case.
Fri, 03 Jun 2011 16:17:04 CDT
Basic Game Gesture
I have implemented a simple gesture algorithm.
Mon, 23 May 2011 13:03:06 CDT
Game Sprites with Inkscape
I have started a small video game and I've been using Inkscape to do the art, this is a brief collection of resources and accomplishments.
Mon, 23 May 2011 12:52:15 CDT
Web pages for desktop I
One of two: Choosing what gui to use can be a tough, and then when you are done it can be a challenge to share. By using a CherryWSGI, a lightweight wsgi server, you can create local web pages.
Tue, 03 May 2011 07:18:21 CDT
This is a short story, it an un-edited satire.
Fri, 22 Apr 2011 12:21:31 CDT
I made a simple little gst streamer metronome.
Wed, 20 Apr 2011 21:09:46 CDT
TestCase: example of a TreeSet with a Comparator
A simple example of a Comparator and a TreeSet to show what gets inserted and how the ordering works.
Thu, 10 Feb 2011 10:59:26 CDT
The simplest burrito
I was having trouble getting a burrito on the east coast, so I decided to show how I make a simple, veggie burrito.
Tue, 18 Jan 2011 07:43:05 CDT
Wesnoth the GPL, and the iPad
This is a big turning point for "app store" software.
Wed, 22 Dec 2010 20:01:29 CDT
This is a review for the Elive linux distribution. Small lightweight and very practical. This breaths new life into my old laptop.
Thu, 09 Dec 2010 12:07:39 CDT
Eye of Gnome lanch Gimp plugin.
Eye of Gnome (eog) is an image viewer for Gnome, it is the default view with ubuntu. Gimp is an image editor, this plugin allows you to open gimp with the current image from eog.
Sun, 19 Sep 2010 11:08:54 CDT
Plight of the Navigator
This post discusses the difficulties I have getting Ovi Maps 3.0X onto my Nokia E71x phone.
Wed, 14 Jul 2010 11:57:52 CDT
Snow Crash: Avatars
Sci-Fi often predicts technology. One place that seems to have been overlooked is our online 'avatars'.
Sun, 20 Jun 2010 11:46:37 CDT
CherryPy behind apache
In brief how-to run cherrypy behind apache on a small orange.
Tue, 18 May 2010 15:06:01 CDT
java3d: java.lang.IllegalArgumentException: adding a container to a container on a different Graphic
How to get around
java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
Mon, 12 Apr 2010 14:24:20 CDT
This is just a post for some pictures and a bit of what happened yesterday.
Thu, 11 Feb 2010 19:08:58 CDT
QThread connecting across threads
This is a demonstration to connect a thread such that its slot is executed in a separate thread. The program has three different connection techniques.
Mon, 11 Jan 2010 20:55:31 CDT
The rest of my rare glimpse
In a way its a pity, I had 10 days, and I only got so little. I spent too much time in a hotel or a lab. It really led me to appreciate what the peace corpes offered me.
Thu, 07 Jan 2010 23:02:56 CDT
Traveling West to the East
This is a brief outline of my trip west with some images.
Thu, 31 Dec 2009 19:59:32 CDT
WSGI and http authentication
I took the cherrypy wsgi server and setup a basic and digest authentication scheme. Works great.
Tue, 27 Oct 2009 18:48:38 CDT
Sumbit Java Condor Jobs
Shows a procedure for submitting a condor job that runs a jar file with different command line arguments, reads a file and writes the output to a file.
Thu, 08 Oct 2009 09:31:44 CDT
These are a couple pictures from our trip to niagra.
Sun, 04 Oct 2009 22:57:18 CDT
Python Fork Bomb
This is a quick example of how to avoid creating thousands of processes using python and the multiprocessing module.
Mon, 24 Aug 2009 07:05:14 CDT
Samba setting up a shared space
This outlines what I had to do to get a windows computer to find a linux computer. I had 3 main errors and Ill include the links I used to fix them.
Wed, 12 Aug 2009 18:37:52 CDT
Java 3D Objects and surfaces
This is a small project that I have started out to display 3D data, such as diffusing points and moving surfaces. The idea is that this is something of an abstraction layer for creating simple scenes to display in 3D.
Sat, 25 Jul 2009 14:55:45 CDT
PyQt4 QWebView with flash plugin
Step one get PyQt 4.5 and Qt 4.5
Step two Enable plugins
Sun, 21 Jun 2009 08:35:40 CDT
VTK and Java
Getting VTK up and running with the java wrapper.
Sat, 07 Mar 2009 09:40:47 CDT
PyQt4 and VTK toolkit
This a is PyQt4 example that implements the VTK toolkit and produces Cone.py
Mon, 02 Mar 2009 22:58:19 CDT
PyQt4 svg renderer
I found that PyQt4 Svg rendering is very nice so I felt I should post a snippet of the code.
Fri, 27 Feb 2009 06:27:05 CDT
VTK and Python
VTK has python wrappers I encountered a simple problem.
Wed, 18 Feb 2009 14:03:19 CDT
QImage from a numpy array
How I am making a QImage from a numpy array
Fri, 30 Jan 2009 07:44:06 CDT
Improved QThread example
This is a PyQt4 implementation of a "swing worker" style thread.
Tue, 27 Jan 2009 13:26:01 CDT
J2Me .JAD file from JAR
the java WTK only seems to work with jad files and not jar files, but phones only need the jar file. So I think the information is found in the MANIFEST.MF so I wrote a script that converts the manifest to a .jad file. It has to add two lines.
Fri, 09 Jan 2009 20:03:35 CDT
Here are a few recent pictures from bethlehem.
Sat, 20 Dec 2008 09:11:50 CDT
Here is a short example of how to unpack a 24bit RGB color stored as an integer using bitwise operations
Sat, 15 Nov 2008 10:21:34 CDT
PyQt solid background
This is a concise and correct way to set a background color of a widget.
Wed, 05 Nov 2008 11:30:49 CDT
PyQt4, QThread example
This is a short example to show how to use a PyQt4 thread for starting non-qt processes without your application waiting.
Thu, 16 Oct 2008 06:56:45 CDT
python 2.5, email, py2exe
In using py2exe I have encountered a problem with the email module, here is a beggining work around.
Fri, 10 Oct 2008 16:18:40 CDT
This is two techniques to get to print.
Fri, 26 Sep 2008 07:39:24 CDT
Simplest no featured web browser
It doesn't get any simpler than this, no forward backward book marks address bar. Nothing. Just a browser window.
Wed, 24 Sep 2008 15:56:56 CDT
PyQt4 dev notes
These are some reference notes I've made along the way in creating my graphical database tool.
Thu, 18 Sep 2008 06:38:59 CDT
python sqlite terminal
This is the simplest...raw_input() based terminal, but I use it.
Fri, 05 Sep 2008 07:52:28 CDT
LXML simple renderer
This is a simple lxml/xml rendering program
Fri, 05 Sep 2008 07:04:06 CDT
Storyboard is using AJAX techniques, Here Ill post some techniques that pop up and I can't book mark.
XHR request, Hidden Iframe Trick.
Sat, 30 Aug 2008 10:12:17 CDT
Story Board Development
This post is in regards to the development of my webpage "storyboard". Storyboard is going to be a tool for viewing/sharing images and ideas over the internet. It will be interactive.
Wed, 20 Aug 2008 09:34:27 CDT
New Jeresey Beach
These are a few pictures from the Beach this weekend.
Sun, 17 Aug 2008 13:29:21 CDT
Pittsburgh Trip II
The rest of the pictures. I figured that I should separate it for those of use with low bandwidth.
Mon, 04 Aug 2008 08:25:46 CDT
Pittsburgh Trip I
A photo alblum of pictures from my trip to pittsburgh
Mon, 04 Aug 2008 08:03:38 CDT
This is a very short article on a way to implement CherryTemplate. It includes a short example for including a path that is not in your 'python path' before runtime.
Wed, 23 Jul 2008 07:51:51 CDT
Considering a 1-d walk, methods of calculating variance. Especially finding the diffusion coefficient.
Wed, 02 Jul 2008 12:24:18 CDT
Gnuplot with Python
This started as a command line script, and I made a class that I use with other scripts for producing large numbers of graphs quickly.
Fri, 04 Jul 2008 12:24:08 CDT
CSS with variables
I will describe a setup on Apache to use CherryTemplate for serving CSS style sheets with variables.
Fri, 27 Jun 2008 09:11:11 CDT
These are a few of the pictures I collected from the trip.
Mon, 16 Jun 2008 08:35:29 CDT
Python and PHP cookies
I use some python cgi's and I use PHP for templating quite a bit. This is a way to make them communicate together.
Thu, 12 Jun 2008 14:24:07 CDT
This is a short summary of my current pause results before I proceed. I want to make sure whether the results make sense.
Tue, 10 Jun 2008 10:21:22 CDT
Here are some graphs to show the changes that occur when there is a higher probability of phosphate to be released at the tip.
Tue, 10 Jun 2008 09:48:18 CDT
These are some pictures of the new york city subway on my way back home from china.
Sun, 01 Jun 2008 20:02:36 CDT
This is the phase transition that occures when a chinese girl eats airport food.
Sun, 01 Jun 2008 10:49:24 CDT
1-D walk comparison
This compares two methods of evaluation for a 1-D. The Gillespie algorithm is used and a discrete step evaluation is used.
Wed, 28 May 2008 15:15:50 CDT
HTML escape strings
PHP has some easy functions for using html escape strings. You can use it to make a reference, or formatting output.
Thu, 01 May 2008 12:16:34 CDT
This is not an entry. This is a test for comment development.
Thu, 01 May 2008 12:17:07 CDT
Send Mail via python
This describes how I send e-mail through python. This techinique will be implemented in a .cgi file for blog
Sun, 27 Apr 2008 13:45:49 CDT
line integral to solid angle
This page shows the derivation of changing a line integral to a solid angel.
Wed, 23 Apr 2008 13:12:54 CDT
This is my quest for setting up a CherryPy Implementation behind apache.
Mon, 21 Apr 2008 10:14:35 CDT
Python cmd line MPG player
This mpg player is based on curses, threading,subprocess and pygst. It uses gst to play the music. Threads, and curses for controls. I use it to ssh in to a computer and play music. I recently changed it to take file names from the command line and to
Sun, 25 May 2008 11:00:19 CDT
This is a python program that acts as a proxy. It is in development. It is for sniffing headers and protocols on programs I run. It needs revision.
Sun, 06 Apr 2008 12:12:23 CDT
This is a homemade blog that features image uploads, links, references and pre formatted text. It is designed around a technical market.
Wed, 23 Apr 2008 13:26:52 CDT
Blog development. It took me 20 minutes to transfer this blog to my webserver. In this article I outline what I did and how I can improve it.
Thu, 11 Jun 2009 13:02:31 CDT