Archive for December, 2007

Perl Tip Of The Day: “uniq” an Array

Monday, December 17th, 2007

I can across a great snippet of code, posted on DZone, that provides a two line solution to uniq an array while maintaining order:

# Input: @list
# Output: @uniqed
 
my %seen;
my @uniqed = grep !$seen{$_}++, @list;

#From TMtm on DZone.com

My New PC

Sunday, December 16th, 2007

I just realized the other day that I’ve never posted about the new system I put together. Towards the latter part of summer, lightning stuck near our home blowing out our garage door opener, A/C, TV, and my desktop PC’s motherboard. The strike was strong enough to leave a scorch mark on my [...]

I’m In The News!

Saturday, December 1st, 2007

I’m always up for a great deal, especially when it comes to computer upgrades that I need. So, on Black Friday I decided to go to the local Staples for their deal on an external 500gb HDD. While waiting in the slowly growing line, a reporter from the Herald Banner came by, with [...]

Better Not Write Bad Reviews

Saturday, December 1st, 2007

Earlier this year I posted Better Not Bash Your Advertiser about an incident where a Editor-In-Chief of PC World had resigned because the CEO of PC World wouldn’t allow him to publish his article, “Ten Things I Hate About Apple”. In that instance I went into some of my personal feelings about that, and [...]

Spam User Accounts?

Saturday, December 1st, 2007

I’ve recently noticed a sharp increase in new user registrations, all of which do not appear to be users genuinely interested being a “registered user”. Most of these accounts with involve random characters the names, end with the Russia country code (.ru), or contain other common spam words. While they do all seam [...]

  • Recent Comments

  • Tags

    AACS Adobe Photoshop Elements 6 Apple Apple Lossless C++ C/C++ CNN Customer Service Dell Digikam DRM Firefox FLAC Fortune Fortune-Widget Fortune File Ghosts I-IV Giga-Byte Google Google Analytics Hack Internet Explorer Kernel Kubuntu Lingo Linksys SPA2102 Linux Mandriva Microsoft Nine Inch Nails OpenSuse Parody PC World Performance Perl Plugin Pre-Installed Linux Quote of the Day Restaurant Software Engineering Ubuntu VOIP Widget Wordpress YouTube
  • Stack Overflow

    Gravatar
    Jason Mock
    591r
    39
  •  

    December 2007
    S M T W T F S
    « Nov   Jan »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • Archives

  • Categories

  • Books I'm Reading

    ISBN: 0385504225 ISBN: 020161622X ISBN: 0596100469 ISBN: 0321344758