notes & musings
Sapiens short review from a long read.
Review of "Sapiens a Brief History of Humankind.
Fri, 12 Mar 2021 16:39:35 EDT
The actual conspiracy behind covid.
So many people feel there is some grand conspiracy behind covid, but I feel the conspiracy is happening right before our eyes.
Wed, 16 Dec 2020 22:40:55 EDT
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 EDT
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 EDT
Strange times indeed.
Just some random observations as London prepares for lockdown.
Thu, 19 Mar 2020 20:28:02 EDT
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 EDT
Random statements about running experience.
Wed, 08 Jan 2020 13:28:14 EDT
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 EDT
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 EDT
Starting off with Eigen
This is a short test to try out eigen, and create some notes.
Tue, 08 Oct 2019 08:06:21 EDT
Cycling with the tractor
Training rides I used to do in the Gambia.
Tue, 27 Aug 2019 05:14:21 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
I need a centos environment for building an app running on a legacy server.
Thu, 14 Dec 2017 06:00:04 EDT
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 EDT
Days of Unemployment
I made a timelapse.
Fri, 03 Nov 2017 12:27:15 EDT
Ducks at the pond
I saw a 'family' of ducks
Tue, 01 Aug 2017 03:34:11 EDT
Emoticons I use.
So I don't need to google search to copy/paste.
Wed, 12 Oct 2016 05:25:57 EDT
Git log commands for creating a formatted output
I needed a formated output for time sheets.
Fri, 15 Apr 2016 15:20:48 EDT
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 EDT
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 EDT
Some ffmpeg commands I use.
Mon, 06 Jun 2016 02:57:36 EDT
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 EDT
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 EDT
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 EDT
Opening a firewall port on fedora
Easy to do, but I always find myself looking it up.
Mon, 13 Jul 2015 07:35:35 EDT
Building a GLFW project
Quick reminder of how I build a GLFW project.
Wed, 08 Jul 2015 10:43:23 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
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 EDT
I hope they died painlessly.
I've always wondered.
Mon, 05 Mar 2012 18:06:03 EDT
Mint for the first time
I am documenting a few features of mint.
Sat, 10 Dec 2011 23:54:16 EDT
Why Judge Comm Scott is a biased judge.
Judge Com Scott
Wed, 23 Nov 2011 11:34:45 EDT
Spam Email Subject Lines
The subject lines for spam emails have become increasing coherent and base.
Thu, 08 Sep 2011 10:32:23 EDT
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 EDT
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 EDT
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 EDT
Threading the EDT- introduction
This discusses how to create an application that works with a swing gui.
Wed, 15 Jun 2011 21:33:54 EDT
I was exploring a question about threads and graphics and I wrote this simple test case.
Fri, 03 Jun 2011 16:17:04 EDT
Basic Game Gesture
I have implemented a simple gesture algorithm.
Mon, 23 May 2011 13:03:06 EDT
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 EDT
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 EDT
This is a short story, it an un-edited satire.
Fri, 22 Apr 2011 12:21:31 EDT
I made a simple little gst streamer metronome.
Wed, 20 Apr 2011 21:09:46 EDT
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 EDT
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 EDT
Wesnoth the GPL, and the iPad
This is a big turning point for "app store" software.
Wed, 22 Dec 2010 20:01:29 EDT
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 EDT
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 EDT
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 EDT
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 EDT
CherryPy behind apache
In brief how-to run cherrypy behind apache on a small orange.
Tue, 18 May 2010 15:06:01 EDT
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 EDT
This is just a post for some pictures and a bit of what happened yesterday.
Thu, 11 Feb 2010 19:08:58 EDT
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 EDT
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 EDT
Traveling West to the East
This is a brief outline of my trip west with some images.
Thu, 31 Dec 2009 19:59:32 EDT
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 EDT
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 EDT
These are a couple pictures from our trip to niagra.
Sun, 04 Oct 2009 22:57:18 EDT
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 EDT
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 EDT
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 EDT
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 EDT
VTK and Java
Getting VTK up and running with the java wrapper.
Sat, 07 Mar 2009 09:40:47 EDT
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 EDT
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 EDT
VTK and Python
VTK has python wrappers I encountered a simple problem.
Wed, 18 Feb 2009 14:03:19 EDT
QImage from a numpy array
How I am making a QImage from a numpy array
Fri, 30 Jan 2009 07:44:06 EDT
Improved QThread example
This is a PyQt4 implementation of a "swing worker" style thread.
Tue, 27 Jan 2009 13:26:01 EDT
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 EDT
Here are a few recent pictures from bethlehem.
Sat, 20 Dec 2008 09:11:50 EDT
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 EDT
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 EDT
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 EDT
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 EDT
This is two techniques to get to print.
Fri, 26 Sep 2008 07:39:24 EDT
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 EDT
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 EDT
python sqlite terminal
This is the simplest...raw_input() based terminal, but I use it.
Fri, 05 Sep 2008 07:52:28 EDT
LXML simple renderer
This is a simple lxml/xml rendering program
Fri, 05 Sep 2008 07:04:06 EDT
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 EDT
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 EDT
New Jeresey Beach
These are a few pictures from the Beach this weekend.
Sun, 17 Aug 2008 13:29:21 EDT
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 EDT
Pittsburgh Trip I
A photo alblum of pictures from my trip to pittsburgh
Mon, 04 Aug 2008 08:03:38 EDT
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 EDT
Considering a 1-d walk, methods of calculating variance. Especially finding the diffusion coefficient.
Wed, 02 Jul 2008 12:24:18 EDT
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 EDT
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 EDT
These are a few of the pictures I collected from the trip.
Mon, 16 Jun 2008 08:35:29 EDT
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 EDT
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 EDT
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 EDT
These are some pictures of the new york city subway on my way back home from china.
Sun, 01 Jun 2008 20:02:36 EDT
This is the phase transition that occures when a chinese girl eats airport food.
Sun, 01 Jun 2008 10:49:24 EDT
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 EDT
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 EDT
This is not an entry. This is a test for comment development.
Thu, 01 May 2008 12:17:07 EDT
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 EDT
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 EDT
This is my quest for setting up a CherryPy Implementation behind apache.
Mon, 21 Apr 2008 10:14:35 EDT
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 EDT
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 EDT
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 EDT
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 EDT