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