Monthly Archives: March 2006

Won the Burnout Revenge Contest

So this past Saturday, I went over Justin’s house and we started playing Burnout Revenge on the Xbox 360 over there.  I have an xbox live account and nobody there does, so we loaded my account on the xbox 360 and started playing online.

Checked my email today and noticed I received an email from  Apparently there was some Burnout Revenge 21 Days of Carnage Sweepstakes that was going on.  If you played a certain track on xbox live, then you would be entered into an hourly contest.  Looks like I won the contest.  I won a Burnout Revenge  branded Plantronics headset for an Xbox 360.  Guess when I eventually get a Xbox 360, I’ll have a nice headset to use.

Warning about ATI Radeon Mobility X1400 on Linux

So here’s the issue, I bought the Inspiron E1705 with the upgraded video card option, which was the ATI Radeon Mobility X1400.  I also got the upgraded monitor, so the resolution on the monitor is 1920×1200.  Looks great in my opinion.  The issues are that there is currently no support at all for the video card in linux.  You can use the vesa drivers, which will give you a resolution of 1600×1200, which really does get annoying seeing things stretched.  The open source radeon drivers do not work with this chipset, and for some reason ATI has not released any linux drivers for this video card.

I’m going to keep a lookout for solutions on getting this video card working at the correct resolution in linux.  If you are a linux user, I would recommend that you try to get an nVidia card instead of an ATI if at all possible.  nVidia has already released linux video drivers for it’s newest mobility chipsets.  If I had that option when I got this laptop, I would definitely taken that option.

E1705 Showed Up, Linux Installation Started

Well, the Dell Inspiron E1705 I bought showed up yesterday.  Only showed up two weeks before they said it was.  No compaints on this end.  Pretty nice laptop, all in all.

I’ve already started to install Gentoo Linux on the E1705.  Been taking notes what I do along the way.  With all new hardware, this is going to take a little bit to get everything working.  At this time, I have a somewhat stable system running.  I’m still trying new things constantly, so I haven’t gotten to the point to write a good guide to follow as of yet. 

For example, I have just gotten the Intel 3945ABG wireless network card to work, but to do so I’m using the mm-sources kernel tree (linux-2.6.16-rc6-mm2).  I have gotten xorg to work using the vesa drivers, but I am having issues with the ati-drivers (not sure if they will even work at this point).  I think I might stick with this kernel though since it did end up having a lot of nice things added, card reader support and a scheduler for multi-core systems.  I think by the end of this week I’ll have a nice guide up though.  I’ll put the lspci output up now though.

There is also one more issue I might need to solve first.  When trying to install my Windows XP Professional that I had got from school, I always get a blue screen of death during the installation.  Something about the pci.sys is causing trouble.  Still looking into that issue, but it was using a Windows XP Pro installation disk that did not have any service packs.

New Laptop Ordered (Dell Inspiron E1705)

Decided to get a new laptop.  I’m going to give my old one, Inspiron 6000, to my wife to use since it is a lot better and nicer than her old laptop.  One of the main reasons for the upgrade is because my laptop is the laptop that I use at work, and I really could use a larger screen with a higher resolution.  The purpose of that is so that I can see more things at once: development screen, debugger, testing screen, etc.  Really helps out.

The new laptop I’m going with is another Dell.  I know I said I would not do another Dell, but after looking everywhere for the exact laptop I wanted, Dell was the only one that offerred the screen / resolution that I wanted.  Really came close to getting an HP, but even though they had the size screen I wanted, they didn’t offer the resolution.  The new laptop is an Inspiron E1705, which I think is basically the home edition of the Inspiron 9400.  I have no idea why two different Dell departments named the same exact laptop the same.

Once I get the laptop, I will be installing Gentoo Linux on it.  This time around I plan to write the documentation on how to install it correct WHILE I’m installing.  On the Inspiron 6000, I would do it then try to remember what I did which didn’t work out well at all.  Look for that in April, since the laptop is not supposed to be delivered until then.

Here’s the specs:

Processor: Intel Core Duo T2300 (1.66 GHz / 667 MHz FSB)
Memory: 1GB, DDR2, 533MHz 2 Dimm
Monitory: 17 inch Ultra Sharp TrueLife Wide-screen WUXGA (1920 x 1200)
Video Card: ATI Mobility Radeon X1400 HyperMemory 256MB
Hard Drive: 60GB 5400 RPM SATA
Optical Drive: 8X DVD+/- RW Drive
Wireless: Intel PRO / WIreless 3945 a/g Mini Card


PHP, SSL, File Output and Internet Explorer Error

While working on a project, everything was working on our beta site just fine.  Once we moved the project to the production site, we ran into an issue on a page that exported a csv file of information inline.  The only difference was that the production site was running SSL.

The basic situation is as follows.  A script written on PHP, running on Apache, through a SSL connection is dynamically generating a file (in our case a csv) and then sending it to the client.  This works correctly through Firefox, but returns an error in Internet Explorer.  The error returned is:

Internet Explorer cannot download <url of link>

Internet Explorer was not able to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later.

Here’s a hint, no matter how many times you try again later, it will not work.  I started with this code:

header("Content-type: application/csv\n");
header("Content-Disposition: attachment; filename=\"$filename\"; size=$size");

After much research, I found the way to fix this is through the Pragma header, making sure it’s anything BUT off-cache.  Once I add a new header, it worked fine through both Firefox and Internet Explorer:

header("Content-type: application/csv\n");
header("Content-Disposition: attachment; filename=\"$filename\"; size=$size");
header("Pragma: turn-off-cache", true);

I just changed it to turn-off-cache, but anything typed in instead of off-cache would work fine.