Notes From James
Home  |  About... |  Download
Recursive bedtime story Monday, January 5, 2009, 2:42 am

My son wanted a bedtime story. Here it is.

Once upon a time, there was a boy named William. He told his dad that he wanted a bedtime story. "Go to sleep," said his father. "Please?" asked William. "Oh, okay," said his father, "here it is."

Once upon a time, there was a boy named William. He told his dad that he wanted a bedtime story. "Go to sleep," said his father. "Please?" asked William. "Oh, okay," said his father, "here it is."

...

I did it three levels, and he got the idea.

No Comments
Tags: Computers, Fun, Musings
Asbury Elementary School Information Sunday, January 4, 2009, 8:30 pm

Here is some useful information for Asbury Elementary School - Millcreek School District, Erie PA.

Attendance: (814) 836-6110
Fax: (814) 836-6111
Nurses: (814) 836-6108

Check for school closings: 452-2000; enter code 6100 for Millcreek.

Here are a few more useful links:

No Comments
Tags: Erie
Ubuntu: Automatically reconnecting a wireless connection Wednesday, December 24, 2008, 3:12 am

I have an old cordless phone. A phone that, once it rings, causes my local wireless network to go down. Windows seems to repair itself, but Ubuntu just hangs there dead until I manually reconnect it. Here is a solution that checks the network every minute. If there is a failure (30 seconds or so after checking), the network is restarted.

First, make a file called check_network in the /root directory by using 'sudo vi /root/check_network'. In it, put the following code:

wget -q -O /dev/null "http://www.google.com" || ( /etc/init.d/networking restart )

This checks the connection (in this case, against Google). If it doesn't, it causes the network to restart. Now, add this to the root user's crontab file by running 'sudo crontab -e'. The crontab file should look like:

# m h dom mon dow command

  • * * * * /root/check_network

This means, every minute, run the check_network script. I wish there was a better way of doing this. Actually, if there could be a tie-in to the icon that shows the connectivity in the toolbar, that would be an even better solution.

No Comments
Tags: Linux, Technology, Web
Them! Re-imagining Saturday, December 20, 2008, 5:27 pm
them.jpg

One of my favorite movies of the 50's science fiction era was Them!, a movie about giant mutant ants attacking people. This would be a perfect movie to redo with modern special effects. Above is my idea of what would constitute a good remake: lots of flamethrowers, giant ants (of course), all taking place in New York City. New York City is photogenic enough for lots of monster attacks. Another good city would be Paris, due to lots of sewers.

No Comments
Tags: Fun, Sci-fi
The Dregs Friday, December 19, 2008, 2:14 am
dregs1.jpgdregs2.jpgdregs3.jpg

My friend Dave's band The Dregs will be playing January 2nd at the Last Shot. Check them out!

No Comments
Tags: Erie, Music
Important Stuff
Ghofulpo.com
Bike to Work Week

Friends
Sneakatron

Latest Posts

By Date
2006 - Oct
2007 - Aug Sep Oct Nov Dec
2008 - Jan Feb Mar Jul Aug Sep Oct Nov Dec
2009 - Jan

Tags
Art, Bicycling, Blogging, Blue Hawg, Cameras, Camping, Computers, Diabetes, Dns, Environment, Erie, Food, Frets On Fire, Fun, Linux, Music, Musings, Outdoors, Paraquat, Sci-fi, Space, Supernatural, Technology, Third Rail, Travel, Web

Find Stuff
Home
RSS
Index
Admin