HowTos

A common practice for handling small online forms is to simply e-mail the form content to someone. This is usually done for simple forms that will not receive much load. Note that I am not referring to using "MailTo" in the form action, but actually having the server send an e-mail.

I was recently asked to write one for my company with one minor caveat... They wanted the ability to upload a file with the form and attach it to the e-mail sent.


Lately I've been transfering a lot of the files that I download to or work with on my fileserver to other computers on my network. Why? 2TB raid array, and it's already 95% full. I blame Al Gore. Trying to stave of the inevitable, I've been shoving my newer crap any place I can fit it!

I've been moving so many files at a time, and so often, I decided to simplify the process the bit. This time around find and touch come to the rescue! (With a little help from xargs and sed).


You just can't beat the flexibility and power of the command line tools available to you in linux. Say you wanted a nice little text file with a list of all the music albums saved on your computer? My music is already organized by a Genre/Artist/Album hierarchy in the file system (although a Artist/Album hierarchy would work fine too), so this is pretty easy. Using a few common command line tools I was able to do it with just a little one-liner.

In this snippet, I'm going to take advantage of find, sort, cut, and sed.


This is the first of a multi part series that will cover designing and building a blog backend from the ground up. The goal of this series is to have a fully functional (albeit simple) blog backend as the final product of the series. We will focus more on good programming technique and design and less on the actual coding of the blog, writing just enough to make a functional example.

This series is not about creating the next MySpace, or Drupal, or any other CMS system. Instead I hope to use this to teach good database design and programming technique.


Today while surfing I stumbled onto this site:

Stripe your tables the OO way.

After reading it, I realized that it was hopelessly overcomplicated for what it needed to do, so I thought I'd write a better one. I borrowed the style sheet and table from his page, and wrote the following javascript:


We have all seen it, you surf to your blog and find comments posted advertising god knows what to your readers. Not only is it a hassle to keep your comments clean, it also makes your blog look bad.

For the past year or so, Captcha's (Having a message hidden in a scrambled image) have become the defacto standard of protecting your comments from spam. However, they are annoying, sometimes hard to read, and build a barrier between you and your reader.


I love Azureus. I don't have to dick around with a GUI, I don't have to keep it running on my computer while people leech their asses off, I don't even have to remember to go back and find that great torrent all over again when I'm away from my computer at home, and even more importantly, I don't have to explain to my little brother how torrenting works. I just tell them to save the damn file to my import folder, and Azureus auto-magickally handles the rest for me.


if you're like me, you're a little clumsy. this means you probably trip on the sidewalk, have a random assortment of small bruises from bumping into walls or chairs, and are stain-prone. while i can't help you with your general clumsiness, i can help you remedy the effects of being stain-prone.