notes & musings
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