robhudson is currently certified at Journeyer level.

Name: Rob Hudson
Member since: 2000-12-15 03:19:12
Last Login: N/A

FOAF RDF Share This



Currently I'm a web application slash database programmer for ORCAS. There I have a trusty Debian workstation. I'm mostly skilled at Perl and PHP, but I know a little C/C++ and need to get back into playing with those more. I've been studying Python and have written a few articles on what I'm learning. I've also started development on a website written in PHP. My intent is to create a site with user submitted homebrew recipes and a good community feel. The sites out there now are either not searchable, or are not very user friendly. I've gotten pretty far along with the backend, but the further I get, the more I want to do with it. :)

Free Software:

I only have one official Free Software release of my own:

  • Email Reminders

    I'm horribly forgetful, so this was my way to remember things. It's a PHP set of scripts, plus a Perl one that does the actual emailing, keeping the reminders in a MySQL database until they are mailed. I use it all the time.


Recent blog entries by robhudson

Syndication: RSS 2.0
MySQL tips

I've been studying recently for the MySQL certification test and have discovered a few tricks along the way. One of my favorites is the combination of using pager and vertical output.

To set your pager to use less:

mysql> pager less
PAGER set to less

Now when you perform a select which returns more rows than rows on your screen, the pager will allow you to paginate through the results.

To get MySQL to display results vertically instead of in columns horizontally, end your SQL with "\G" instead of with the semicolon (or "\g")...

mysql> SELECT * FROM mails WHERE LENGTH(txt) < 300 lIMIT 300,1\G
*************************** 1. row ***************************
  msg_nro: 3068
     date: 2000-03-01 23:29:50
time_zone: +0200
mail_from: Monty
  mail_to: "Thimble Smith" <>
      sbj: UTF-8
      txt: >>>>> "Thimble" == Thimble Smith writes:

Thimble> Hi. I think this is a good idea. Is anyone familiar with UTF-8 Thimble> or Unicode? Otherwise, I'll put this on my TODO list and see what Thimble> happens.

Yes, please do that.

Regards, Monty file: inbox-jani-1 hash: 190402944 1 row in set (0.09 sec)

Hacking Unwanted Marketing

I just read a little article on things to do to annoy telemarketers and junk mail senders. Some were pretty funny and creative so I thought I'd share:

  • Return ads with bills: When a company sends you ads along with your monthly bill, send those same ads back with your check. Let them throw away their own junk.
  • Return unwanted applications: When a credit card company (or other company) sends you those "pre-approved" applications, they often include a return envelope with free postage. Those envelopes only cost them if they are used. So rip the application in half, and send it back to them, costing them money. While you're at it, why not include some extra junk mail and push the weight over an ounce to cost them more!
  • Hold, please... When a telemarketer calls and asks for person X, ask them to hold on. Don't hang up and set the phone down and walk away. When the phone makes those annoying beeps, you know the telemarketer has hung up and you probably wasted a good minute of their time.

I've got a Linux workstation as my primary box at work, and a Windows computer on my left side. So, I've got two keyboards and two mice and two monitors. I was looking for a way to switchbox my keyboard and mouse. Ended up finding x2vnc.

Now, I move my mouse to whatever edge I designate, and it starts sending my mouse and keyboard output to my windows computer (with a listening VNC session). Very slick and very useful.

QT & C++ Programming

I've been really wanting to learn C++/QT Programming and finally got around to playing with it. A few months ago, I wrote one console based program which was a conversion of a perl script from a friend that analyzed the folding@home output and gave statistics on the work unit times. I successfully converted it and got a refresher course in C++ at the same time.

Recently, I started playing with QT-designer, a GUI based GUI builder (RAD tool?). My first attempt took 2 numbers and added them together and spit out the result.

My 2nd attempt was much more interesting as seen by this screen shot. It is a batch sparge or no sparge homebrewing calculator. I found a spreadsheet that had the calculations layed out and just GUIfied it. It was a fun exercise and should actually be useful. There is some stuff I need to clean up (like having the program not segfault when you want t close it) but other than that it works well. Maybe I'll keep going and make a suite of homebrewing calcs. <g>

Unix-based Wireless Access Point
    I'm doing research this morning into how to set one of these things up. I just ordered 2 prism based wireless PCMCIA cards for about 30 USD each. I've got an ISA to PCMCIA adaptor. So I'm building my own WAP soon. I've got an old 486 I'm thinking of using and will probably go for FreeBSD as the OS, as I think the prism2 support there is a little better. This should be a fun little project and hopefully not too frustrating. Found lots of docs this morning on these, so it looks like I'm in good hands.

27 older entries...


robhudson certified others as follows:

  • robhudson certified sethcohn as Journeyer
  • robhudson certified kbob as Master
  • robhudson certified epcraig as Apprentice
  • robhudson certified scandal as Master
  • robhudson certified Phoon as Apprentice
  • robhudson certified wcooley as Journeyer
  • robhudson certified rasmus as Master
  • robhudson certified Simon as Journeyer
  • robhudson certified merlyn as Master
  • robhudson certified Telsa as Apprentice
  • robhudson certified ajt as Master
  • robhudson certified mobius as Journeyer
  • robhudson certified Kyrgan as Apprentice
  • robhudson certified tunesmith as Apprentice
  • robhudson certified chromatic as Journeyer
  • robhudson certified jarod as Apprentice
  • robhudson certified acme as Master
  • robhudson certified jono as Journeyer
  • robhudson certified nosinut as Journeyer
  • robhudson certified larsu as Journeyer
  • robhudson certified fxn as Journeyer
  • robhudson certified kgb as Master
  • robhudson certified sej as Journeyer
  • robhudson certified julian as Master
  • robhudson certified freetype as Master

Others have certified robhudson as follows:

  • kbob certified robhudson as Journeyer
  • sethcohn certified robhudson as Apprentice
  • Kyrgan certified robhudson as Journeyer
  • rybolov certified robhudson as Journeyer
  • mobius certified robhudson as Journeyer
  • naturedarren certified robhudson as Journeyer
  • fxn certified robhudson as Journeyer
  • jono certified robhudson as Journeyer
  • jarod certified robhudson as Journeyer
  • ottawaDave certified robhudson as Journeyer
  • ks certified robhudson as Apprentice
  • tunesmith certified robhudson as Apprentice
  • larsu certified robhudson as Journeyer
  • bgeiger certified robhudson as Apprentice
  • const certified robhudson as Journeyer
  • chakie certified robhudson as Journeyer
  • hiddenpower certified robhudson as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page