Categories
General

Hotmail – can you really take it seriously?

So Microsoft, MSN, Hotmail – are playing catch up, promising share holders to catch up to Google in no time. Advertising-wise they are doing a great job (Facebook is an MSN advertising property), but Hotmail, is not.

Hotmail upgraded its interface, increased storage size, but its core is still the same old silly service that you left behind and use only because you occasionally use MSN / Windows Live Messenger. Case in point: Junk mail filter. My mailbox is set to standard filtering, which says:
“Most junk e-mail is sent to the junk e-mail folder.” Nonetheless, it appears the f- word, f-buddy, and Viagra are all not obvious words for Hotmail’s junk mail filters.

Not sure if there is a Windows port for it, but Spam Assassin is free and the fine women and men of Hotmail will be smart to change their spam filters to use it. Until then, it is the same dinky silly webmail site that you used to use but never do anymore.

Share
Categories
General

Best songs ever

At present, I think of these as the best songs ever. I am fickle. This may change tomorrow. Order does not count.

  • Soundgarden – Jesus Christ Pose
  • Helmet – In the meantime
  • Cypress Hill – How I could just kill a man
  • Gin and Juice – Dr. Dre / Snoop
    Anything on ‘The Chronic’ is the best song ever, really
  • The Boss – James Brown
  • Thunder Kiss ’65 – White Zombie
  • Live for this – Hatebreed
    Nothing is more intense.
  • Blues from a gun – The Jesus and Mary Chain
    ‘Automatic’ used to be perfect. Impossible to be more perfect than ‘The Chronic’
  • 100 Miles and Runnin’ – NWA
  • Movin’ on up – Primal Scream
    My first choice for a song to get married to. Inappropriate, really.
  • Sweet Potato Pie – Domino
    Pop rap perfection. Domino never reached anything near this.
  • Harry – Melvins
    Guitars too thick to waste words on.
  • MDMA – Love 666
    Also thick with noise, anthem style
  • Monster Magnet – Negasonic Teenage Warhead
  • CNN – Young, White, Stupid
  • Ice Cube – Wicked
    The one truly remarkable song he ever put out. Flea in the video was cool, too.

My taste. Not your taste.

Share
Categories
PHP Web Development

PHP: Headers cannot be sent or why is headers_sent() incorrect?

Working with PHP, trying to warm up to PHP 5 with all its object-oriented glory, or at least step forward compared to PHP 4.

When you redirect browsers in PHP, you do it raw, without niceties of objects, by sending the HTTP header to the client with a call like:

header(“Location: “);

For some odd reason, this kept on failing, with an error message telling me that the header cannot be sent. Furthermore, PHP even told me through its header ‘detection’ method php headers_sent() that the headers were indeed sent.

Googled and found this article that infers that the issue may have something to do with file encoding. The file that was causing the issues for me was copied from a Windows machine (I am developing on a Linux VM now). It had the Windows line separators (\r\n). Apparently this made Apache and PHP on Linux very very uneasy and made them think that the headers were sent out.

Resolution: Copy the contents of the file to another file that was born on Unix and uses its line separators (\n). Ugly moments in coding.

Share
Share