Skip navigation.
Home

procrastination...

38

Created by OnePlusYou




I'm also 62% geek... whatever.

More Install Pictures

iPod Screen: The stereo controls for the iPod are amazing.  100% what I wanted.  Works very well (and quickly!).  I can do exactly what I do on screen just as fast as if I was playing with the scroll wheel.  Very good. iPod Screen: The stereo controls for the iPod are amazing. 100% what I wanted. Works very well (and quickly!). I can do exactly what I do on screen just as fast as if I was playing with the scroll wheel. Very good.
Bezel: mybimmer.net Bezel... unbelivable quality. Bezel: www.mybimmer.net Bezel... unbelivable quality.
Headunit and Bezel: Headunit Headunit and Bezel: Headunit
Installed: Installed Installed: Installed

"21" and Monty Hall

runs = 10000;
sw = 0;

clear r;

for i=1:runs
    f = 0;
    x = floor(rand*3) + 1;      %first guess
                                %car behind door 1
                                
    r(i,:) = [0,0,0,0,0,0];
    r(i,x) = 1;                 %set col 1-3 as 1;
    
    if x == 1                   %guessed car, need to reveal goat
        y = floor(rand*2) + 1; 
        if y == 1
            %reveal door 2
            if sw == 1
                f = 3;
            end
        elseif y == 2
            %reveal door 3
            if sw == 1
                f = 2;
            end
        end
    elseif x == 2               %guessed goat 2, reveals other goat (3)
        %opens door 3
        if sw == 1
            f = 1;
        end
    else                        %guessed goat 3, reveals other goat (2)
        %opens door 2
        if sw == 1
            f = 1;
        end
    end
    
    if(f == 0)                  %final is original guess
        f = x;
    end
    
    if(f == 1)                  %final guess is correct (door 1)
        r(i,6) = 1;
    end
       
end

r

win = sum(r(:,6))

prob = win/runs
            
 

... heh, it works.



Without Switching:

prob = 0.3325

With Switching:

prob = 0.6670

2002 BMW 325xi Headunit Upgrade

I updated my 325xi Stock Professional Stereo to Kenwood's DNX-5120 Double DIN GPS Nav, DVD, iPOD, Bluetooth and Satellite Radio unit.

(Click on thumbnails for larger views and some description).

PartsParts
Here you can see most of the parts of the Kenwood receiver.
.
.
.

PartsParts
Here are the rest of the Kenwood parts, the HVAC relocation console, the PAC SWI-JACK and the BMW wiring harness.
.
.
.

RemovalRemoval
Take off the trim by inserting a small flathead screwdriver between the trim and the dash near the passenger side door. Work your way in and pull it towards you. Unscrew the trim the holds the radio bezel in. Remove that trim. Unscrew the radio, unplug and remove. Reach above the HVAC controls and down behind them and pop them out. Unplug and remove. Remove the lower console by pulling up on the shift boot, unscrewing the window switch panel, removing it, pushing up and in on the compartment, removing it and unscrewing the lower console.

HVAC RelocatedHVAC Relocated
Remove the control strip and lighter for the new relocation console (you will need a torq wrench for the control strip.)
.
.
.
.

Seating HVAC Relocation ConsoleSeating HVAC Relocation Console
Insert the top first, then rotate down and in. Don't forget the lighter connections.
.
.
.
.
.
.
.

HVAC Relocated and Screwed InHVAC Relocated and Screwed In
.
.
.
.
.
.
.
.

Re-Install Window Switch PanelRe-Install Window Switch Panel
.
.
.
.
.
.
.
.

Secure Window Switch PanelSecure Window Switch Panel
.
.
.
.
.
.
.
.

HVAC Relocation Kit InstalledHVAC Relocation Kit Installed
.
.
.
.
.
.
.
.

Crafting New Stereo BaseCrafting New Stereo Base
.
.
.
.
.
.
.
.

Crafting New Stereo Base IICrafting New Stereo Base II
.
.
.
.
.
.
.
.

Stereo Base InstalledStereo Base Installed
.
.
.
.
.
.
.
.

Installing the HeadunitInstalling the Headunit
.
.
.
.
.
.
.
.

Installed (Temporarily)Installed (Temporarily)
.
.
.
.
.
.
.
.

Test: DVDTest: DVD
.
.
.
.
.
.
.
.

Test: Video Podcast from iPodTest: Video Podcast from iPod
Gotta rep Diggnation
.
.
.
.
.
.
.

AppleTV Upgrade

I finally successfully upgraded my AppleTV hard drive. The 250GB Western Digital Drive is more than 6 times the original size, and I paid about what I would have paid if I upgraded to an 80GB drive through Apple. I followed one of the online walk-throughs (http://www.macworld.com/article/57079/2007/03/appletvharddrive.html or http://www.engadget.com/2007/03/23/how-to-upgrade-the-drive-in-your-appl...)

It should be noted that you almost definitely need access to a Mac running OS X 10. I tried numerous windows and linux utilities to modify the Partitions and GUID Partition Table on the HFS+ filesystem that the AppleTV uses but couldn’t find one that quite worked.

Linux Utilities I tried that didn’t work:
-- GParted (LiveUSB)
-- PartedMagic (LiveUSB)

Windows Utilities I tried that didn't work:
-- Acronis Disk Director 10.0d
-- Norton Partition Magic 8.05
-- MacDrive 7.1.0
-- Norton Ghost 14.0

So I gave in, and borrowed a friends old PowerBook G4 with OSX 10.4. After some problems powering the hard-drive and enclosure off a single usb port, (since the PowerBook G4's usb ports are on opposite sides, I had to use a USB extension cable from the other port, I suppose two laptops next to each other would have worked too.) Finally, OS X recognized the disc and I modified the GPT successfully, reformated, installed back in the AppleTV, restored from Factory Settings, and voila 250GB.

EDIT:
I just reinstalled ATVFiles and Perian and while logged in with Putty I started wondering if it would have been possible resize the partition (of the active disk) through Putty, rather than having to get a mac. Just a thought...

Apple TV Hacking

I got my AppleTV in yesterday. Its pretty wild. I only got the 40GB model since I wanted to upgrade the HD anyway and 100 bucks for an extra 40GB to make it 80GB is just too much. I ordered a 250GB for $120 and that arrives tomorrow. While I still have my warranty, I wanted to figure out the steps to hack the Rev2 firmware (Take 2) from various sites. A ton of the sites have you doing stuff through a Mac, but I use PCs. I ended up stumbling across a great resource ATV4Windows (www.atv4windows.com) that has everything you need, including an up-to-date wiki and youtube instructional videos!

I hadn't even finished loading Perian (the codecs) when I donated to the guy. Its great stuff.

I've been going back and forth between the trialware version of DivX converter (http://www.divx.com) and the free AllToAVI (http://alltoavi.sourceforge.net). DivX is more straightforward and automated, it also allows you to combine more than one file into a single divx .avi. AllToAVI has a ton more options that are kind of confusing but nice to have, and it seems a lot faster when transoding. I really only am converting .wmv files so comparing the two based on acceptable input files isn't really something I did.

iRobot's Mission

  • Build Cool Stuff
  • Deliver Great Product
  • Make Money
  • Have Fun
  • Change the World

www.irobot.com

HOWTO: Use one Drupal Installation over multiple subdomains (GoDaddy)

I spent the better part of 3 days trying to sort through the different ways of eliminating the need to install multiple versions of Drupal, host multiple databses, or at least multiple tableset prefixes, and still allow for subdomain customization. I finally did it.

I am using GoDaddy's Deluxe Hosting service, so many of the ways mentioned on other sited have you adding virtual hosts entries into the httpd.conf file or other apache configuration files. Some even needed shell access. I didn't need to do any of that.

Here's how I did it:

Syndicate content