Night Photography

I’ve been reading a lot lately about how to take photographs at night, mainly of the moon.

So, the other night, thinking I finally knew what I was doing, Christine and I went out and tried to take some pictures of the moon.   They didn’t come out right, and apparently I had my camera’s settings all wrong.

I’m going to try again once the moon’s full, and clear.

I did, however, get some cool shots with a long shutter speed of passing traffic.   I’ll upload them eventually, when I remember to do it at home.

I love my camera, I just wish new lenses and accessories weren’t so expensive.

Thank You Harmonix

I’ve been waiting for the day that Harmonix would realize that releasing a Dream Theater song for Rock Band is a good idea.   That day came yesterday, via downloadable content (not to mention that there’ll be a Dream Theater song on the disc for Rock Band 2, according to the website.)

As any good Dream Theater fan would (I’ve got 30+ of their CDs), I immediately turned on the XBox 360 when I got home from work last night, and began feverishly downloading the new track pack (as I do most every Tuesday.)

My cockiness got the best of me: “I can do this on Expert, no problem.”   After all, John Petrucci’s only one of the best guitar players on the planet. No problem.

Fail.
Saved by the wife.
Fail again.
“I can’t friggen do this, I gotta practice it.”
Quit.

Dream Theater – Constant Motion is not for the faint of heart.   If you download it, good luck.   If you’re not a full time Rock Band pro, don’t bother trying expert on any instrument.   It’s not happening.

Why did Harmonix make some of the new downloadable songs so difficult? Simple.   Because they can.   Making songs that are extremely difficult, that don’t impact the outcome of the actual “career” mode of the game, make people strive to be better without making the game impossible to beat.

Well done, Harmonix.   I look forward to Rock Band 2.   Oh, and please hire my wife for the Production Assistant job she interviewed for.   Thanks.

Looking back on life

I feel I’ve come a long way in life, and I’m pretty proud of what I’ve accomplished in it.   I’m not sure many people on the cusp of turning 30 (next year), can say the same.

I’ve taught myself how to build websites, fix electronics, work with computers, and countless other things that I’m proud of.   I sometimes feel like I’m too hard on myself, always striving to be better at things, and I get angry when I fail.

I’ve started thinking about these things lately, not sure why. I just look back on all the years that have come and gone, and wonder where they went.   Time really does fly.   Christine and I are about to celebrate our 5th anniversary.   It’s been an amazing five years, and I can’t even imagine how it went by so fast.

Time really does go by faster when you’re an adult.   I’m not complaining, having time go by faster has helped me make it to Thursday of this week already.   Though, now that I’m looking at the clock, the time’s ticking by, minute by minute by minute.

Ripping More Music

So I splayed out all the CDs we own on my desk, and have been dropping them in my CD burner, as I’ve sat at my desk watching movies on my computer.

I learned a valuable lesson: Windows Media Player rips music much easier than iTunes.

With iTunes, you have to drop the CD in, wait for it to get recognized, then click the “Import” button, or click “Yes” on the “Do you want to import” dialog.

With Windows Media Player, you just drop the disc in, and close the drive. As long as you’re on the “Rip” tab in your player, it auto-rips the disc, and ejects it when done.   Then you grab it, and drop the next one in.

I did about 200 discs while watching The Incredible Hulk and Harold and Kumar Escape from Guantanamo Bay over the weekend.

I’ve still got a ton more to go, but it’s a start.   I wish I could remotely rip discs from work, to home. That’d be a big help, but I don’t think technology’s that advanced, yet.

So far, we’ve got about 39.5 gigs of music on the new terrabyte drive (aptly named “music”), with I’d guess another 100 gigs to go.   Good thing I bought a big drive, we buy a lot of music.

The Importance of Backing Up Your Site

Working for a fairly large webhost, I often see people who got “hacked”, and their websites destroyed.   I often laugh, because people don’t often get “hacked”, but often simply have their password guessed, which gives the “hacker” full access to your site, account, and files.

98% of the time, that’s the case.   Given, there’s always the chance that someone got root access to your server, and really did “hack” you, but that’s very rare in today’s day and age.

So, I often laugh, until it happened to me back mid-June.   I noticed I couldn’t load the stats pages for any of the sites in my hosting account (of which there are quite a few), so I contacted my host.

Their response was “The page won’t load because it’s 0kb”, a file size of zero? That stats package has worked for years on some of my domains, I thought that was odd.

So I uploaded a new version, and went on about my business.

Hours later, I realized I should go through FTP, and look for other files that had been modified recently.   Sure enough, every index.html and index.php file, in every domain, in every subdirectory had been modified.

The “hacker” (read: bored kid in some random European country) added some code to all my pages that was supposed to redirect a visitor to a spam site.   Luckily, he did it wrong, and none of my visitors were affected.

Needless to say, I was bullshit.   I spent a few hours going through, and removing all of the code, by hand.   I got annoyed, and finally asked one of the guys who works for me, for help.   He wrote me a nifty little bash script that I could run.   Luckily, my host gives me SSH access, and I managed to run it against my entire account, and clean out the rest of the modified files, without issue.

The reason I got hacked? Simple. I had a stupid, easily guessable password.   Exactly what I laugh at our customers for.

So, I panicked.   I went in, and first changed my hosting and FTP passwords.   I then thought about how to change my MySQL password.

The problem with that is complex, but follow me.   If I change the password on the MySQL server, my sites will go down, until I update them one at a time.

If I change my password in the sites, they’ll go down until I change it on the server.   Follow?

So I opted to create a new MySQL user, with a new password all together.   I then (using the same find and replace code from earlier) updated my username in all my scripts, then my password, and voila, back up and running.

I then began thinking about how to protect myself, should this (or something worse) happen again.   I looked for scripts that I could run on the web server, to backup my sites and databases, but couldn’t find anything that would work.   I then stumbled upon HandyBackup, which runs on my computer at home.

It simply connects to your account via FTP, and downloads all of your files to your computer.   This is great, assuming you’ve got storage space to keep all those backups around.   If you upgrade, you can also have it burn to DVD automatically, but that’s costly, and not very effective.

So, each night of the week, I have the application connect, and download all of my changed files.   On Saturday night at midnight, it connects and downloads all of the files (changed, or not).   So, at worst, I’m a week out from a complete restore of files.   And any file that’s changed, I’m only 24 hours (at most) out from a clean working version.

It takes up quite a bit of space, because I host a lot of sites, however I think it’s worth it.   It’s also helpful for when you accidentally break some code on a page, and didn’t think to save a copy right then.   You just jump to your backup, and voila.

If you run any website that you “make money” from, or that “is my business!!”, you should take it upon yourself to do the backups, and not rely on your host to do it.   While most hosts do it anyway, some charge you to do the restore. (My company doesn’t, but the company I host with, does.)   You know what they say, if you want something done right, do it yourself.