Adding to the long litany of Bush embarrassments, world leaders snubbed lame-duck President Bush at a G20 photo-op by refusing to shake his hand. Watch video of the pariah-in-chief filing... The bar for entry into CodeSOD is pretty straight forward: professionally-developed code that elicits that certain What The— reaction. Though there have been a few exceptions over the years, generally speaking, student code, hobbyist code, and amateur code need not apply. That said, I'd like to try something a little different today. Today's example is not technically professionally-developed, it's a Stupid Coding Trick.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Stephen Colbert is getting into the holiday spirit with "A Colbert Christmas," a musical celebration of all things Colbert set to air on Comedy Central. Watch a video clip of Colbert...
Brought to you by James' Bond, the world's most exciting financial guide.
My Grandmother just turned 84 last week. I sent her a birthday card with a check for $10 in it.
How come when a man talks nasty to a woman, it's sexual harassment, but when a woman talks nasty to a man it's $3.99 a minute?
All statues are of people riding a horse, and waving a sword. In the future will all statues be of people in cars, waving a sword?
My dog's daily planner1. Sleep2. Sit on human's face to wake it up 3. Lick own genitalia 4. Sleep 5. Poop....a lot. 6. Sleep 7. Bark at nothing 8. Poop in the house 9. Lick own anus. 10. Stare at human until it gives me food 11. Poop 12.Sleep |
|
|
|
|
|
Written Wednesday, Dec 31 by 105%-O-Matic
from Bucks County Community College
|
Check out our Editorial Cartoon Gallery featuring the week's best political cartoons. New this week: cartoons on Obama's new puppy, lame duck Bush, Obama inauguration plans, Sarah Palin's blab fest,...
"...While we were on the farm, my grandparents, mother, and I would take two weeks out of the summer to go on family vacations. I can still remember my first trip out of Florida. It was to the state of Florida. My first grade year we went to the grand canyon, my first grade teacher rode down it on a mule. My first grade teacher was Mrs. Maphles. I was the brightest in my class when it came to math and numbers…"
"There was a little confusion at the meeting there at the White House when President Bush was told that Obama was coming. He said 'Oh, you mean we caught him?'"...
The Iraq war has finally ended! George W. Bush has been indicted for treason! Those were some of the headlines blaring from a fake edition of the New York Times...
One of the lesser-known facts about Barack Obama is that he possesses a wicked sense of humor. Witness this video making the rounds from a 2005 roast of Rahm Emanuel,...
A roundup of late-night jokes about Obama's victory and the 2008 election outcome: "Ladies and gentlemen, Barack Obama is our new president. And I think I speak for most Americans when...
Watch Jon Stewart call the election for Obama as part of The Daily Show and Colbert Report's special live coverage of Indecision 2008. Stewart choked up after he announed to...

Lottery tickets offer us the dream of escaping to a different life. Often I find myself wondering what it would be like if I didn’t have to work full time. I always imagine spending more time on my open source software projects, getting in better shape and doing some freelance consulting to pay the time.
About ten years ago I got to see my parents make the transition from working full-time to retirement. It wasn’t an easy switch for them. There was some sadness, a lack of motivation and a lonliness as they lost the human contact the workplace gave them each day.
For the past two months I’ve gotten to experience what it’s like not to work every day. I was laid off from my previous job with severance. While I money wasn’t tight, there wasn’t enough to jet set off to Europe or go on any big vacations other than the ones I already had planned for the summer. I was stressed out most of the time until I found myself a new job. After I accepted the job offer, I gave myself a big window until I had to start so that I could relax and enjoy my time off.
This was the longest stretch of time I had booked off; it has been 14 years since I’ve had that much time to myself all at once. When I was working, I imagined all the web projects I could do if I didn’t have to go to work. The reality of the experience was quite different. Once you have the freedom to do anything you want with your day, sitting in front of the computer is the last thing you want to do.
For the first few weeks I found myself irritated by 3pm every day. I quickly realized that it was the lack of structure; if I got myself out of the house the feeling went away. So time was spent walking around the city, going to the library and reading in coffee shops. The beautiful weather really helped. Why stay inside on a sunny day if you don’t have to? Part of it was a desire to be around real people, instead of the virtual people I usually associate with if I’m stuck on a computer.
There was a definite priority shift. With the freedom to do anything I wanted with my day, it made so much more sense to focus on those long term, important but not urgent goals. Organizing things around the house. Getting a new family doctor. Renewing my passport. Getting new contacts. Removing clutter from my house and my life. I had to laugh one day when I found an old to-do list from 2006. There was stuff on that list that was important to my life and my well being that I was finally getting around to.
I found it amazing how much clearer it was to process my task list and choose the most important tasks for the day. Because I felt no urgency in any of my tasks, I was able to make much better decisions about what was important vs what wasn’t even worth doing.
I’m about to enter the workforce again, and I hope I can take some of the clairity I currently feel with me.


I’m one of those cogs who uses Apple mp3 players simply because I feel they do really good job. I tried to fight iTunes for the longest time, but I eventually gave into it because, like Microsoft Outlook, it’s the default music program that everyone uses and every 3rd party application supports.
I’ve been using a couple of 3rd party application to enhance my iTunes experience. I use last.fm to keep track of what songs I’m listening to so that I can display them on my Facebook/FriendFeed profiles. It also does a good job of suggesting new music to me based on my listening habits. What last.fm can’t do is generate random playlists based on the music I already have in my library.
I had been using software from the Filter for generating random playlists. Unfortunately, since I updated their software I can’t find the “create playlist” feature anymore. That made me pretty excited about the announcement today that iTunes 8 will support generating random playlists using a new feature called “iTunes Genius”.
I’ve been an iTunes_iPod user for four years. In the past month I picked up an iPod Shuffle because I usually leave my 60 GB iPod at the office, and I wanted something more portable and more suitable to an active livestyle. I’ve been really impressed with the batterly life and the portability of my iPod Shuffle.
What I’ve enjoyed the most is the “Zen of Shuffle”. Since the shuffle only selects and plays random lists of music, I’m having more and more occassions of “wow, I love that song! I haven’t heard it in so long!!” instead of listening to the same 10 albums I’ve been listening to for the past month.
Of course, the big gotcha with Apple’s new iTunes Genius feature is that you have to sign up for an iTunes Music Store account. At first glance, you might think this means you have to give away your credit card information, but click the None button to make that all go away.
Keep reading if you don’t see the “None” button.
A lot of people don’t bother turning on the iTunes Music Store because it requires a credit card. Actually, there’s a couple of ways of bypassing the credit card requirement. The most common method is:
I got my free redeem code by following this link. Another option is to pick up a cheap iTunes gift card at a local electronics store.
If that code doesn’t work, then try this search to find a new one:
http://www.google.com/search?q=itunes+free+redeem+code
The first time you try to use Genius, it’s going to take a while. Especially if, say, you try to use it with a 100 GB music library on the day the Apple iTunes music store opens up for the first time. I’m guessing it’ll take around an hour to scan your library, so you don’t want to try it for the first time while sipping a latte at the local coffee shop.
It took an hour for my library to scan so that I could start using Genius.
Play a song and click on the atom icon at the bottom right hand corner to start using Genius. Unlike TheFilter, you can only use one song to “seed” a random playlist. Playlists can be saved, but they aren’t saved automatically. The playlists are named with the name of the song you used to start the playlist.
Genius playlists are limited to 25, 50 or 100 songs in length. They can be refreshed to get new tracks.
The good news is that you can create even larger smart playlists based off of multiple genius playlists. This could be a great way to build a large constrained random playlists for your iPod Shuffle.
Unfortunately the playlists are stored in your iTunes metadata file, so there is no easy way to access them from your Xbox 360. Sounds like a good idea for a new freeware app. :)

I’ve been browing through my local photographers looking for family portrait photographers and wedding photographers. As someone who is very familiar with the web, I’m always struck at how poorly some people do their web portfolioes.
Like anything, the most important thing about a photography site is how it ranks on google for location + keyword searches.
I’m sure that ottawaportraitphotographers.com does quite well when it comes to new clients finding them via Google.
I chose my wedding photographer because he uses a blog to display his pictures. The pictures are big enough that I can see the quality, there isn’t anything hiding the images, and enough pictures load all at once that I can get a good indication that I want to see more without having to click on each individual photo. Blogs also have the added feature where I actually can tell that the photos are recent work. With some sites only the hairstyles give any indication of when the photo was taken.
There were a few Ottawa wedding photographers who use this approach of having both a blog and a flash-based gallery, and I have to say I was impressed with all of them.
The blogs are photo galleries all on their own. None of them mix personal blog posts in with the photos.
One of my biggest pet-peeves with photo gallery sites is having to click on each individual photograph to load it. It isn’t so bad if I can middle-click on them to open them in a new tab to look at later, but with some flash- or javascript-based sites it takes forever! I have to click on each individual picture, wait for it to load, look at it, then click again… it ends up taking 20 times as long to view the entire gallery vs a blog-based sites.
If you use a flash-based site for displaying your photos, it has to be FAST. Use something like SimpleViewer instead of coding it yourself.
Another pet-peeve is when the pictures aren’t big enough to see the photo in detail. Thumbnails are great for overall navigation, but it’s very hard to tell photo quality when the picture takes up less than one fifth of my screen.
One of the worst things I’ve seen is watermarks embedded in the image. We all understand that you don’t want other people to steal your livelyhood, but much like how digital rights management shouldn’t prevent people from watching a DVD, the embedded watermark in a photo shouldn’t prevent your potential customer from seeing how good your pictures are. I can’t appreciate a photo when the writing on top of them is too distracting.
Of course, it’s even worse to have blurry photos in your portfolio. Thank you, but if I wanted an out-of-focus shot I could do it myself.
I hope if there are any amateur or semi-pro photographers in the audience they can learn a few things about what customers are looking for.


Google Chrome has been public for all of about 30 minutes now. I am very impressed with how fast it downloads and installs, with almost no need for user prompts (except to close your web browser so it can import bookmarks/passwords). It’s fast as fast can be.
I can’t get over how fast it is. If you type “about:memory” into the address/search bar you’ll see a memory comparison between Chrome and any other web browsers you’re currently running. It uses so much less memory than Firefox.
Lifehacker has a good round-up of what’s “new” in Chrome, as well as ways to tweak Firefox to get the same features. But I can’t switch to Chrome because of my dependency on multiple profiles and my Firefox extensions.
Multiple profiles let me log into Gmail with different user accounts at the same time, and keep my browsing history and bookmarks separate from my girlfriend who shares the computer with me.
Heck, I keep my blogging related bookmarks separated from my Joe Public bookmarks for my day-to-day email, Facebook, and job related stuff so I can be more productive.
There doesn’t seem to be any RSS auto-discovery in Chrome. I hate how painful it is to subscribe to feeds in Google Reader using Internet Explorer, it looks like it’ll be even worse in Chrome.
Chrome looks very cool, but I think anyone who has been reading Lifehacker for the past few years is going to find they’re missing too much of what is “essential” to them. It’s really too bad, because I’d love to run some Greasemonkey scripts inside of Chrome with it’s better memory debugging. I’m hoping that one of the big brained Googlers figures out a way to transparently run Greasemonkey userscripts so we don’t have the same Firefox vs Opera vs Internet Explorer vs Safari development sinkhole.
On the other hand, Chrome might be the best thing ever for people who use Internet Explorer and aren’t co-dependent on all of Firefox’s wonderful extensions.


Much like how doctor’s get bombarded with medical questions, being the alpha geek in any family or group of friends means you’ll get asked questions about computers. There’s only one way to stay sane: get everyone you know to run the same software.
Case in point, I’ve had to support Microsoft Outlook for over a decade now even though the last time I used it was in 1997. Even though I switched from Outlook to Thunderbird, and then Gmail I’ve had this albatross of questions hanging around my neck. If I could convince everyone I know to switch to gmail I wouldn’t have to worry about problems like:
For me the main advantages to using gmail instead of a desktop based client are:
There are many instructions on switching from Outlook to Gmail using special software like Gmail Loader (or gExodus), by temporarily setting up a mail server to importing into Gmail using IMAP, or using POP. With that last method, you can transparently use gmail while keeping your old email address.
I love Firefox because of all the ways I can extend it with Greasemonkey and because of ad-block plus. Internet Explorer isn’t as bad as it used to be, but you’ll still run into strange headaches like how much more difficult it is to subscribe to an RSS feed using Google Reader in Internet Explorer than in Firefox.
I was a long time Azeurus bittorrent user, but I’ve found it hard to explaining to anyone else how to use the program, not to mention how poorly it performs. uTorrent is so much simplier to use, and it is so much easier to explain to other people how to use it. These are the uTorrent settings I use to work well with Rogers Canada.
uTorrent see