More bullshit from another asshole with a blog

Micro$oft thinking
28Dec05

Posted by wafwot

Sometimes we get requests at work that seem easy. Today, a customer wanted to make his log files available via his browser. I did the normal things; disabled anonymous access to the logs virtual directory, enabled directory browsing, etc. However, when I tried to view the log files, IIS kept kicking back a 404 error eventhough I was clicking on the file. “How can I get a 404 error when I am clicking on the fucking file?” I’m a Linuxhead, and I spent too much time on a stupid Windows issue. So, I decided to ask our company “Helpdesk” (which is manned by system administrators). After a brief description of the problem and some specific domain names and URLs (which I edited out for my blog), the following is the conversation I had with our Helpdesk.

<wafwot> You can click on the folder/dir named W4PGC355727236 but when you click on the files in the folder, the server kicks back a 404 error.
<Helpdesk> when i click on the W4PGC355727236 folder, I don't see a 404
<Helpdesk> i see a listing of the files in that dir
<wafwot> Okay... Can you click on the files?
<Helpdesk> ah. the files themselves, no.

I moved onto another issue. About a half hour passed before I got more response.

<Helpdesk> it has something to do with the file extension.
<Helpdesk> renaming the files to anything other than .log makes it so that doesn't happen.
<Helpdesk> compare http://www.example.com/logs/ex050727.txt with http://www.example.com/logs/ex050727.log
<wafwot> Odd.
<Helpdesk> something special is happening for .log files and I can't tell what it is
<Helpdesk> do people normally access their log files via HTTP?
<wafwot> Not normally... but this bonehead requested it.
<wafwot> Guess the answer is NO.
<Helpdesk> yeah. this is turning into a, "sorry, use ftp." i can't see anything in the configuration that treats .log files differently.
<wafwot> We all have better things to do than mess with Windows...
<wafwot> ...even if that's picking our noses with a claw hammer.

Some googling and another thirty minutes later, I found a forum where someone else had the same issue. In that thread, the concensus was to add a MIME type. My first thought was “bullshit.” I added a stinking MIME type, and the problem was solved!

<wafwot> Can you believe it was as easy as adding a MIME type? In IIS, get properties for the domain, click HTTP Headers tab, click the MIME Types button at the bottom of the dialog box, click New, enter "log" for extension and "text/plain" for Content Type. That's it!
<Helpdesk> wtf
<Helpdesk> lack of a mime type should NEVER EVER EVER yield a 404.
<Helpdesk> faggots.
<wafwot> Yeah... I dunno. GDMS.
<Helpdesk> seriously.
<wafwot> I could make the content type "x-application/attachment" and when the file is clicked on, it would open a download dialog.
<Helpdesk> x-asshat/microsoft
<wafwot> lol
<Helpdesk> i'm so pissed a lack of MIME TYPE caused this error.
<Helpdesk> wtf were they thinking?
<wafwot> I don't think they were.

What a long, strange 2005 it’s been
23Dec05

Posted by wafwot

Father Time 2005 Here we are again, at the end of another year. It seems like only yesterday we were all scared shitless about Y2K… now we’re at the halfway point of the decade and the tech industry is booming once again.

Since I’m writing this just a few days before December 25, I thought I would highlight 2005 in a retooled carol of the season I wrote with a little help from Tina. Each day contains a link (or a few links) to something that happened in 2005. I tried to keep most of them to Wikipedia or Wikinews links in order to keep them from becoming dead links in the near future. Enjoy.

On the first day of Kissmyass my true love said to me:
Twelve acquit Jacko
Eleven million voters
Ten bombs al-Qaeda
Nine planets questioned
Eight country rock show
Seven tours for Armstrong
Six Harry Potters
Five months in jail
Four Hurr-i-canes
Three dollar gas
Two Popes make news
and a shuttle returns to flight.

With the world events out of the way, it’s now time to cover what happened in my world in 2005.

I’ve actually been somewhat good about making entries in this blog, so some things may be covered in entries I made during the year. But some events I didn’t write about…

Two thousand and five started out quiet enough. It was status quo for the first two months; wake up, go to work, come home, sleep, wake up, go to work, come home, sleep, wake up… ad nauseam… The weather in January was unseasonably warm, but I didn’t care. I hate scraping frost from the windows of my car. It’s such a time-wasting pain in the ass.

However, my world fell apart in the early morning hours of March 1, 2005. I got a phone call from Arizona saying that my father had passed away. He had been in the hospital for quite some time, being treated for Myasthenia Gravis (MG) and end-stage renal disease (ESRD). In fact, I flew down to Arizona in February 2004 when he was first diagnosed with MG. He was out of the hospital by April of 2004, but by mid-August 2004, he was back in and never made it out before dying on March 1, 2005. What made his death even harder to deal with was the fact I couldn’t afford to fly to Phoenix for the funeral. I was still dealing with court and restitution costs related to my departure from my previous place of employment. To this day (and probably until the day I die) I regret not finding a way to attend the funeral.

By early April, I was in the hospital again dealing with the never-ending saga of pneumonia. Every year since 2002, when the cold of autumn and winter settle in, I get a nagging cough and shortness of breath. Each time, when the symptoms get really bad, I end up going to the emergency room. They put me on oxygen, draw blood for tests, xray my chest, pump me full of antibiotics, give me a prescription for an inhaler, and send me home. While taking all the medication and building up my breathing with a spirometer helped, it didn’t “cure” me. It seems like a big money sink every time. This year is no different. The cough and shortness of breath is back. This winter, I’m going to try not visiting the ER.

In May, two friends/co-workers turned in their resignations where we all worked. They were going to greener pastures and relocating to the “suburbs” of Seattle. This opened the door for me to take over as Hostmaster at work. I’m pretty much in charge of setting up, deleting, registering, and renewing anything related to domains, DNS, and web site hosting at my place of employment. I like the job, even though there are days it’s quite stressful.

By June, we had a stray cat and a litter of kittens at the back door. Mama cat brought us three kittens. Now, with a house of birds, we can’t bring them inside, but we set up a couple of pet carriers for them to live in. When the kittens were old enough, we tried to find them homes. Two of the three kittens were homed with people I work with. It was only a matter of several months before mama cat was back with another litter of kittens. I think she’s part rabbit.

I turned 39 in July, and that’s all I have to say about… umm… what was I talking about? Can I file for Social Security? Anyway, August brought the devistating Hurricane Katrina. Like most Americans, I couldn’t do much but donate money, so I did. In early September, the CTO of the company I work for went to Louisiana to personally help out, while the company matched employee donations to the Red Cross. All told, the company and its employees donated $1,400. Oh, and September also marked the end of my probation stemming from the bullshit my previous employer put me through. It was only a year, and I was a good boy all year long.

October is an odd time to cut off my hair, but that is what I did. After 10 months of letting it grow out, I couldn’t stand it getting in my face and eyes any longer. It was drastic, too. Less than an eighth of an inch. And I’ve kept it that short, too. I kinda like that I don’t have a couple hours of drying time and there’s no need to brush it. Simply run a soapy wash cloth over the head and behind the ears, and you’re done! Tina hates it, though. She likes it long. It’s my head. I win.

As I mentioned earlier, autumn also brought back my respitory problem associated with pneumonia 3 years running. The cough, the phlegm, the shallow breathing — it’s the trifecta of feeling generally shitty.

Well, that’s about it for my 2005 year in review. Hopefully your 2005 was a bit more exciting than mine. Here’s wishing you and yours a Happy 2006. Let’s hope it’s a good one.

OS X for x86 Tweaking
11Dec05

Posted by wafwot

Dashboard I’ve been tweaking OS X Tiger to work better with my x86 hardware. The first thing I did was configure GRUB on the primary drive to dual boot between Debian Linux and Tiger. It’s a lot easier to switch between OSes now, obviously.

I’ve managed to increase the display resolution from 1024×768 to 1280×1024. The main display is sharp and gorgeous, however, it still dithers screenshots and the DVD Player doesn’t recognize a video device. Also, I haven’t been able to get sound to work, and USB flash drives act oddly. If I plug a flash drive in after boot up, it mounts and works perfectly. However, if I boot up with a flash drive connected, the drive is not mounted and won’t mount even if I disconnect it then plug it back in.

So, there are some issues with this version of OS X for the x86 platform, but Apple has done a good job… and I’m sure it will be a lot more stable on official Apple x86 hardware.

More screenshots (each > 1.5 MB): Shot 2 | Shot 3 | Shot 4 | Shot 5 | Shot 6 … and finally, this blog entry was created completely using the Macinto… uhh… OSx86 system. How’s that for a sexy and elegant name? Maybe I should call it Marklar. Sounds better than OSx86 system, don’t ya think?