Matt's Blog

Michael Kwan and Ed Lau are Giving Away 2 iPod Nanos

August 6th, 2007 at 9:02 PM by Matt Freedman

Michael Kwan, he does freelance writing, and Ed Lau, he’s got a personal blog, have decided to start up a hockey blog… but they need a name.. So, them being lazy (j/k 😛 ), they decided to give away a Black 8GB iPod Nano to the person who suggests the winning name for the blog. Also, they’re giving away a Blue 4GB iPod Nano to a random person who enters into the contest.

All you need to do is think up a .com hockey related domain name, and follow their simple rules.

Pretty sweet, huh?

Harry Potter and the Order of the Phoenix: The IMAX 3D Experience

August 6th, 2007 at 12:17 AM by Matt Freedman

Harry Potter and the Order of the PhoenixI went to see the latest Harry Potter movie, Harry Potter and the Order of the Phoenix, (the 5th) the other day. I decided to go see it in IMAX, since the last 20 minutes or so were in 3D.

The movie was actually pretty good. Wasn’t exactly the same as the Book, but it was pretty close. Some nice special effects in there too. In this movie, you really notice how much older the main actors and actresses have been. In real life, the dude who plays Harry Potter is 18, in this movie, he’s supposed to be 15. By the time they do the 7th (and last) movie, he’ll be like 20 or 21. But, Harry is only 17 in the 7th book.

The 3D wasn’t exactly as good as I thought it was going to be. They really only took advantage of the 3D in a little bit of the 20 minutes. Like, when they were flying on a broom towards you (wasn’t it supposed to be on those bird-like things that only people who have seen death can see?). They should’ve made it so spells and stuff were flying at you… Now, that would’ve been cool. It seems like the 3D was more of an after-thought.

But, seeing it in IMAX was pretty cool. Movies are usually better on an 8 story tall (and even wider) screen, 12 000 watts of sound and on Canadian technology (yes, IMAX is Canadian 😀 ). 😉

Overall, it was a great movie!

WordPress 2.2.2 Released

August 5th, 2007 at 7:25 PM by Matt Freedman

WordPressWordPress 2.2.2 and 2.0.11 have been released. Anyone running older versions should upgrade immediately since they include security patches. Plus, they include some minor bug fixes.

I’ve upgraded, have you? If you haven’t, don’t wait or procrastinate, upgrade now, or you might regret it… 😀

Tip of the Week: Backup

August 4th, 2007 at 11:46 PM by Matt Freedman

There’s one very simple thing that a lot of Webmaster’s don’t do, to Backup their sites. And, it can cost them. Many things can happen and your site will be gone forever, such as your server crashing and files being deleted, your site getting hacked, etc. Now, you don’t want that to happen, do you? I didn’t think so. There’s a ton of ways you can backup your site.

Yes, your host probably does make daily, weekly and/or monthly backups. But, these are usually for their purposes. Such as if a server crashes and all data gets erased, they’ll restore it from one of their backups. But, they don’t usually let you use their backups, and if they do, they might give you a retrieval fee to pay first.

First of all, FTP. You can use FTP to download your sites files to your computer, but it’s not particularly fast. A better way to Backup your site’s files is to use, if provided, a web hosting control panel. For example, cPanel has it’s own built-in Backup feature. You can download a full backup (all files + databases) or a “home directory backup” (all files). cPanel 11 even has a simple wizard to help you make a backup.

If your sites uses any databases, you should also back those up. Again, cPanel has a backup feature for this purpose. It’s on the same page as the file backups.

If you upgrade your site daily, I’d recommend doing a backup every day. But, if your site doesn’t get changed much, a weekly or monthly backup secudule might fit you better. If you have a Blog, and it’s updated everyday, you should backup the database everyday, and maybe the files every week. If you use WordPress, you can use the plugin WordPress Database Backup to have the database be backed up and emailed to you everyday, week, etc. automatically.

This has been the second Tip of the Week!

Tip of the Week: PHP Shorthand

July 26th, 2007 at 11:31 AM by Matt Freedman

And here starts a little series, “Tip of the Week”. I’ll post a little tip each week. Or, at least, until I decided to stop. 😛 (PS: I changed this to Week, instead of Day… 😛 )

To save time and file size, you can use “shorthand PHP”. To use this, this must be enabled in your php.ini (turn short_open_tag to on). Although not recommended for distribuatable code (since the user might not have shorthand PHP enabled), it’s great when you need to write something quickly. You can use <? and ?> for PHP opening and closing tags. You can even use ASP-like opening/closing tags, if asp_tags is set to on. You would then be able to use <% and %>. There’s also a shorthand for echo. <?= and <%= is equivalent to <?php echo. The previously noted options must be set to on to use the shorthand for echo, respectively. For example, <?='Text';?> would do the same thing a <?php echo 'Text'; ?>.