A Novel Idea

June 23rd, 2009 by almiteycow

books

I think it would be interesting to send an objectively good novel which no one has ever read to 5 different random email addresses. Set it to be delivered 2 years in the future, a paragraph per message. Would the receiving users recognize the greatness? Or would it be one of the great lost items of our world when it’s treated as spam?

Alternatively interesting would be to bury it in a time capsule and never reveal the locations. How long would it remain undiscovered? What kind of impact would it have when it was?

This is the sort of thing that keeps me up at night.

ICH9R RAID with Windows 7 or Vista

June 20th, 2009 by almiteycow

This problem starts with the beta release of Windows 7. I was using XP, going along fine, but figured 7 looked great, and hey why not give it a try. Little did I know the huge headache this would cause me. Twice.

So, let’s start with specs related to this problem, for those of you who are looking for help for similar problems:

Abit IP35 Motherboard
ICH9R SATA controller
Western Digital Raptor Drives x2

Now, this may help people with a various range of equipment. I think it applies to a good portion of the Intel ICH series SATA controllers, and I bet it’s not just limited to my motherboard or hard drives. Leave a comment if it this helps you, so other people searching can find the answer as well. Read on for more information.

Read the rest of this entry »

WordPress SFTP

June 16th, 2009 by almiteycow

Note: This post has been superseded by a newer post. Read it here.

wordpress-logoI don’t like to use FTP at all when I can help it. It’s an old protocol and doesn’t hold up in regards to security. I could use FTPS, which is a Secure Sockets Layer over FTP, requiring a key exchange, but frankly, that sounds like too much work for me. Since I already use SSH and SSH has file transfer capability, I usually use that to manage things. It’s commonly called SFTP. Unfortunately, this breaks many apps that expect you to be using FTP, such as WordPress.

Little known to me was that this wasn’t the fault of WordPress; those glorious developers had already added ssh file transfer support to it some time ago. What was lacking was communication between PHP and SSH. When I researched online, I found instructions on how to get them talking to each other, which kicks in the SFTP support in WordPress. I’ll detail them here for reference. (Note, this is on Ubuntu Hardy, and I’m using Apache 2 and PHP5.)

user@computer:~$ sudo apt-get install libssh2-1-dev php-pear
user@computer:~$ sudo pecl install -f ssh2
user@computer:~$ sudo nano /etc/php5/apache2/php.ini

Find the section titled “Dynamic Extensions” and below, add:

extension=ssh2.so

Save it and exit, and then just do an Apache restart.

thanks to [Kevin van Zonneveld]