Older blog entries for robhudson (starting at number 29)

VNC

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.

Note to self:

    in Perl: (.*?)
    in Vim:  \(.\{-}\)

Finishing up The Fellowship of the Ring and ordered Secrets and Lies: Digital Security in a Networked World by Bruce Schneier. Applied Cryptography would have been way over my head, and I enjoy reading about cryptography so I thought this would be a good holiday reader. Last year I read The Code Book by Simon Singh (after Cryptonomicon) about the same time of year. That was a fun book too.

Been playing with Tastybrew.com lately. I've finally got most of a working site for homebrewers. I recently added a diary entry similar to here. We'll see if homebrewers will use it as much as programmers. If they're any homebrewers here, check it out. Feedback is always welcome. :)

Wrote linux.com a while ago after finding this quote on their site (here):

    Code powering the Linux.com site is available under the GNU Public License. Please email dev at linux.com for more information.
I'll have to try again as I never got a response. It would be cool to see some of the tricks they use there, since I'm mostly coding websites in PHP and MySQL these days.

Grabbed Galeon 0.12.3 a bit ago after hearing lots of good things about it. I compiled it and ran with it about a day before 1.0 came out. It's pretty rock solid and blazingly fast.

Mulad: About the web/database interface to mp3s. Take a look at Andromeda. I haven't used it but did play with it a bit. It's an all in one php file (including the images, which are inlined arrays). Pretty cool stuff, and it looks really sharp with themes. I'd be interested in how it goes b/c I'm thinking of doing the same thing on my network.
Bad Joke

A friend and I were talking about compilers and such and I came up with this bad joke. I still tell it to people, though...

Q: What did the compiler say when it ran out of stack space?
A: I haven't got a char in the world.

Open Source in the classroom

sej I would love to see a class like you mentioned. I've recently had privy to see a closed-source package that is being sold commercially that was originally written by a newly graduated CS student. That software (C++) is horrible and uses things like a custom built string class, a home grown binary database library, etc. Some of the elements are probably pieces of code he had to write for a class, no doubt. While I don't question his skills as a programmer, I do think that using the string class that comes with C++ would have been a much better choice.

I'm sure if students had to take a class like this, they would 1) no more about the open source world and what's out there, and 2) understand that code re-use can save lots of time and headaches. I wish that curriculum was around when I was taking classes!

Cloudy Sunday

Sitting at the keyboard, sipping a Rogue Dead Guy Ale on a cloudy, lazy Sunday afternoon. A kernel compile scrolls by in the window behind my browser as I hope that the nvidia 1541 drivers will work with the ac8 patch. Things have been pretty normal in the world of magnetic ones and zeroes. Meatspace has been more exciting lately. Recently bought a house, am planning a wedding in Peru in January. It will be a great time to spend Christmas, New Years, Wedding, Honeymoon, and birthday in another country. Off to pop some popcorn and watch a movie...

Work, er, uh...

Discovered xgalaga. Ditched work.

20 older entries...

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!