Canon EOS 400D/Digital Rebel XTi

Wow! Quite amazing, Canon has just announced their followup to their entry level DSLR, the 350/Rebel XT. The new 400D/Rebel XTi is amazing! A few of the major differences is that the XTi is now 10 mega pixels versus the XT’s 8 and the LCD has gone from a mere 1.8″ to an astonishing 2.5″! Here are just a few specs:

Sensor 10.5 million total pixels
Sensor Size 22.2 x 14.8 CMOS
Output Formats RAW, RAW + JPEG, JPEG
Sensitivity (ISO) 100, 200, 400, 800, 1600
Shutter 30-1/4000 sec (0.5 or 0.3 EV steps)
Continuous 3 fps up to 27 JPEG/10 RAW frames
LCD Monitor 2.5″ TFT LCD, 230,000 pixels
Dimensions 127 x 94 x 65 mm

For more info, you can see DP Review’s initial release. Here’s the best part, the XTi will debut at $100 less than the XT! I would think this is going to piss off some 30D owners…

A Day Out at Lake Mercerd

So Andrea and I decided to take Bella for a nice walk around Lake Merced this past weekend. Here are some pics from the ~5 mile excursion around the lake.

The rest of the pics can be found at this link.


This is probably the most walking Bella has ever done in her life, part of the trip, me and Andrea had to carry her. All in all it was a nice day, not too cold sun and clouds here and there.

MacBook Pro (5 Month Review)

Time for a long term review of the 15 inch MacBook Pro. So I’ve had the MBP for 5 months now and I must say that I still very much like it. The Intel Core Duo processors are wonderful. At times I find myself spoiled and not realizing it until I’m using an older Mac. And by older, I’m not referring to G3s, but PowerBook G4s, PowerMac G5s, etc. Occasionally I get friendly reminders of how fortunate I am. For example, recently, my friend at work was griping about how slow Adobe CS2 is on his Titanium Book. I told him, “I know how you feel.” His response was: “No you don’t know how I feel. If I had your MacBook, I would be in Heaven right now.” Continue reading MacBook Pro (5 Month Review)

Apple MacPro and New Xserve

Apple just released the MacPro, a dual-core Xenon processor powerhouse, at their Worldwide Developer’s Conference (WWDC). This thing looks beautiful! They also revamped their Xserve to house the Xenon processors also.

Our campus might get a few of these for our Academic Success Center (ASC) that is slated to open with the “latest and greatest” in technology.

Here’s the link to the new Xserve, a quad Xenon 64-bit…nice!

GalleryEmbedded Please Read Before Posting

Please note that I did not write this. This is reprinted from GalleryEmbedded written by Aylwin. The only thing that has been changed is formating, all else is exactly as the author written. This is here for my personal reference.

This is reprinted from the GalleryEmbedded “Please Read Before Posting” advice that I found very, very helpful in implementing Gallery2 into my custom design.

Theme optimization guide (UPDATED: 2006-07-03)

This guide aims to standardize how we integrate the WordPress and Gallery themes. It’s applicable to all existing and new WPG2 installations. If you have any theme layout or XHTML validation issues, I recommend that you first follow the instructions described in this thread before posting your problem.

IMPORTANT: It’s highly recommended that you follow this guide if you’re using WPG2 2.0.

The following instructions are mostly taken from this article.

Before you begin:

  • if you need to modify the header.php file of the WordPress theme to suite your needs, try to do this before proceeding
  • it’s recommended that you use a Gallery2 theme which is optimized for WordPress integration, like the WordPressEmbedded Gallery2 Theme for Gallery 2.1 or the WordPress Gallery2 Theme for Gallery 2.0.x.

Create wpg2header.php

  • make a copy of your WordPress theme’s header.php file and name it wpg2header.php
  • open wpg2header.php and look for:
    <head profile="">
  • below this line, add:
    <?php if (isset($g2data['headHtml'])) {
    list($g2_title, $g2_css, $g2_javascript) = GalleryEmbed::parseHead($g2data['headHtml']); foreach ($g2_css as $css) { echo "$css rn"; } foreach ($g2_javascript as $javascript) { echo "$javascript rn"; } } ?>
  • look for a line like:
    <title><?php bloginfo('name'); ?><php wp_title(); ?>
  • in the line, replace
    <php wp_title(); ?>
  • with
    <php echo $g2_title; ?>
  • at the end of the file look for something like:
    <div id="content">
  • If the code doesn’t exist, no problem. It’s probably in the index.php file.
  • replace it with or add:
    <div id="wpg2content">

Update the style.css file

  • open style.css and look for something like:
    #content {
  • create a copy of this block called #wpg2content:
    #content {
    #wpg2content {
  • in most cases, the width of #content is the width of your theme minus the sidebar. Usually, we don’t include the WP sidebar in the embedded gallery to have more space for the photos. So, we can make #wpg2content as wide as the theme:
    #wpg2content {

Note: The above code for #content and #wpgcontent are just examples. The actual code will depend on your particular theme. Also, other parameters (like padding or margin) may need to be tweaked.

Add the WPG2 alignment classes

  • at the end of style.css, add:
    /* WPG2 alignment classes */
    .g2image_normal {
    margin: 4px;
    .g2image_float_left {
    float: left;
    clear: left;
    margin: 4px;
    .g2image_float_right {
    float: right;
    clear: right;
    margin: 4px;
    .g2image_centered {
    display: block;
    margin-left: auto;
    margin-right: auto;


  • go to WordPress Site Admin and click on the WPG2 menu

* * * THAT’S IT! STOP HERE! * * *

IF you are using WPG2 version 1.0 (with WordPress 1.5.x & Gallery 2.0.x), then continue:

Only for WPG2 version 1.0:

Modify wp-gallery2.php

  • open wp-gallery2.php and look for (around line 73):
    echo $g2data['headHtml'];    //Include the gallery header
  • replace this line with:
    if ( $g2_option['g2_externalheader']=="No" ) {
    echo $g2data['headHtml'];    //Include the gallery header

Activate the custom header

  • In WordPress’ Site Admin, go to Options -> Gallery2 -> Style Options
  • Set ‘Use WP Custom Header’ to ‘Yes’ and click ‘Update Options’

How To Install Yahoo DSL without CD

Please note that I did not write this. This is reprinted from The only thing that has been changed is formatting, all else is exactly as the author written. This is here for my personal reference.

When you receive your Yahoo! DSL self-install kit, you’ll find a CD. Don’t be tempted. Setup is easier, faster, and better without the CD. The compact disc installs complicated spyware and a customized browser, which do little or nothing for your Internet experience. Included here are instructions for a direct setup. No CD makes for better setup!

If your equipment is the 2Wire HomePortal

  1. Plug in the HomePortal (per the supplied instructions), connecting directly to one computer.
  2. Start a web browser and enter (you must include the https:// part). Alternately, try If you get a web page, skip to step #7.
  3. Enter as a web address homeportal (without any other characters). If this brings you to a status screen, you’re doing great — you can connect to the router, skip to step #5.
  4. You are now in trouble, sorry. Either your cables are bad, or you need to set up a local area network. Chances are this won’t work out for you. If using Windows, go to “Settings->Network and Dialup Connections”, then make a “Dial up” connection to the Internet via a “LAN”. Skip the automatic proxy configuration, skip the email step.
  5. Enter as a web address homeportal/setup/cdless.html. You should see a screen like the one below. You need to enter a “keycode” into the Home Portal. A list of keycodes can be found at For SBC Yahoo! DSL enter “522p 22p4 6262 22at f2nv“. Click accept.
  6. Enter temporary login information into the Home Portal. For SBC Yahoo DSL use a login name of “” with password “sbcyahooreg“. Your DSL connection should now spring to life.
  7. Now you need to register and get a permanent login name and password. Visit ““, and enter your personal information (usually your DSL telephone number). Mozilla and Linux users note that you might have trouble entering your phone number, due to bugs in the SBC web page. Try a different browser.
  8. Repeat step #6, except with your permanent username and password.
  9. That’s it. You should be live. Run a speed test over at to be sure you’re getting all the speed you paid for. You can visit to access all the Yahoo/SBC premium content. Visit the SBC website for instructions on setting up email.

If you have trouble, you can visit the secret management page on the 2Wire Portal — “homeportal/management”. Your HomePortal takes care of everything: it is an all-in-one box that functions as a DSL Modem, broadband router, firewall and home networking hub with WiFi, USB, PhoneLine and Ethernet. Some of that functionality is hidden in the management pages (for example, the control that lets you lower the transmit power for 802.11b wireless WiFi networking). Note that the 2Wire registers itself, transmitting certain personal data (such as how many connected computers you have) directly to SBC and 2Wire. SBC and 2Wire can dial into your router for tech support. Big brother? Maybe. But also useful.