Archive for the 'General' Category

Standalone GPSD MySQL Logging Daemon - geoHist 0.2 released!

Thursday, July 3rd, 2008

Well, I am happy to announce the release of version 0.2 of my standalone GPS logging software, geoHist. This version actually makes geoHist useful: you can export the data from the MySQL database into a GPX format. From there you can use a program like Google Earth to display the tracks it records on a map (Note: Google Earth doesn’t work for all tracks… I’m not quite sure why yet, but I’m probably going to change things around to dump to KML format soon).

You can find out more about geoHist at its page: http://www.virtualroadside.com/geoHist/

Validate GPX file in Linux

Monday, June 30th, 2008

The website describing the GPX standard describes a way to validate your GPX file in windows, however it does not mention a way to do it in Linux. So heres how you can validate your files (one way of many, I’m sure). The program you use is called xmllint, and in ubuntu, the package that contains this is libxml2-utils …

GPX 1.0:

xmllint --noout --schema http://www.topografix.com/GPX/1/0/gpx.xsd testfile.gpx

GPX 1.1:

xmllint --noout --schema http://www.topografix.com/GPX/1/1/gpx.xsd testfile.gpx

Hope that saves you some time!

The Answer to Infinite Loops

Sunday, June 29th, 2008

Programmers, we should make our infinite loops more exciting! A lot of times in C or other languages, you see infinite loops represented by things such as

while (1) { /* do stuff here */ }

Or perhaps by

for (;;) { /* do stuff here */ }

Thats so boring! Why not be more creative in your work? I propose that we use the following construct instead

while (42) { /* do stuff here */ }

Now you might ask, why use while() instead of for() or do.. while()? In my opinion, its cleaner (the while part, not necessarily the number part). while() seems like the correct options, since (in my mind, at least) for() implies some set amount of iteration, whereas while() implies keep going until some condition is false. Of course, I do realize that they all do the same thing and each different one can do the same things as the others with some modification.

Yes, that was a rather useless post, but I had to get it off of my chest :)

True Best Buy Experience

Tuesday, March 11th, 2008

So… everyone hates blonde jokes and such, but this actually happened to someone I know, and its quite amusing:

friend: so i went to best buy to grab smash bros brawl
friend: and by the mac section some blonde was talking to the sales guy
friend: he was telling her about it and how the browser it uses is called Safari
friend: she asks, “is it the same internet?”

Sometimes, reality is far more amusing than fiction. Priceless. :-D

Museum Of Bad Art

Sunday, March 2nd, 2008

I have very mixed feelings about art. I can appreciate good art (though, not some ‘modern’ art) to some extent, but usually its just easier to make fun of it. Today I took the opportunity to go visit the Museum Of Bad Art… which had some really god-awful art in it, but was definitely quite amusing, and was a delight to make fun of. They are dedicated “to bring the worst of art to the widest of audiences”. It was only a short drive from where I’m located at, and was definitely worth the visit.

Of course, I simply HAD to take some pictures (though, they have pictures on their website as well) that I could share with you:

(more…)

Moved to Boston

Monday, February 11th, 2008

So I got a job at BBN Technologies in Boston, MA at the beginning of January, and moved my stuff out here in a giant 26-foot U-Haul (despite having very little stuff… ) on the 31st! Which, that was a lot of fun. Been adjusting to having a ‘real’ job for a week now, but the people there are pretty cool.

However, its been an interesting adjustment for me. Boston is such a huge place with people all around at all hours of the day.. I mean, you don’t get stuck in traffic at 11PM in Kalamazoo! And of course all the streets are going in a million different ways.. though in many respects, it feels like you’re driving on a racetrack sometimes, which is really fun.

One thing that I’ve really come to dislike is the huge amount of full-serve gas stations around here… its so annoying. I’m not 100% sure why, but I hate giving my credit card to people (though, you could argue that waitresses and such do the same thing, and it doesn’t bother me). Anyways.. its weird, but I’m enjoying myself. More later.

Black Friday: Rearranging my desk

Friday, November 23rd, 2007

I went shopping this morning at around 5am… and after awhile, I ended up with this (just the monitors are new, actually):

new_triple_monitor_setup.jpg

I’ve had triple monitors setup for quite awhile now (going on around 5 years or so), but I’ve always had CRT’s. Now, I have three 17″ widescreen LCD  panels. Pretty awesome, and reasonably cheap too! :)

OWS Analysis of traffic to previous post

Sunday, November 11th, 2007

Looks like I’m getting a lot of traffic to my previous post about the MBR love note, which is pretty awesome. Heres a screenshot of the traffic so far in my open source website traffic analysis tool, Obsessive Website Statistics (I’ll update it later tonight, be more interesting). Its definitely eclipsed any of my other recent traffic…

Edit: this was the pre-digg screenshot

ows_ss.png

This is the post-digg screenshot. I bet you can’t tell when the page was on the front page of Digg AND Reddit.. 

ows_ss2.png

Lack of blogging

Wednesday, October 31st, 2007

Hey, I’ve been doing a TON of stuff lately, but haven’t had time to blog. And of course, Wordpress caused some trouble when I upgraded last.. so there will be more blogging soon! Just trying to graduate… :)

If you want Google to buy you, play the lottery instead

Thursday, October 18th, 2007

This is a great quote:

” There are more people that win $5 million in the New York lottery than get acquired by Google (BusinessWeek.com, 10/22/07). ”

Not quite sure why the date is post-dated, but it was in there anyways. Interesting article though.

Link