WeaponsGradeCode

Notes from the field…

mencoder Command Line to transcode VOB to iphone

ffmpeg -i “movie.VOB” -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192k -s 480×368 -aspect 4:3 /Volumes/data/share/temp/3.mov

108 degrees in Carnation, WA

Hottest day ever in Seattle.108 degrees

Here’s s’more Xen HVM and Paravirtualization Notes.

The best write up for lean and mean paravirtualization configuration for Xen Centos 5.3 DomU’s on a Centos 5.3 Dom0 is at: http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

…and for HVM I like this site: http://www.virtuatopia.com/index.php/Configuring_and_Installing_a_Xen_Hardware_Virtual_Machine_(HVM)_domainU_Guest

Never use XFS with Xen on Centos. It will crash Dom0.

This is one of those week or so long learning experiences that you must go through whenever exploring a new technology.

I installed Centos 5.3 and Xen on a hot new piece of hardware with the intention of runnig paravirtualized Centos 5.3 images on it. I’d probably be running a half dozen images at a time and with disk images at > 4GB I thought I’d run XFS as the Dom0 file system to speed the file access/create/delete times.

Big Mistake.

Every time I’d run a DomU guest, the host/Dom0 machine would consistently, but at different time intervals, crash. That’s right, the entire server would crash/hang/freeze. After a week of goofing around I finally tried a guest on a stock ext3 file system and Shazam! everything worked.

Manually controlling bridge networking on Xen

I followed this great article: http://henning.schmiedehausen.org/wingnut-diaries/archives/86

Installing a simple paravirtualized Centos DomU on Centos

A simple challenge: Install a stock Centos 5.3 Xen host/Dom0 and a paravirtualized Centos 5.3 guest/DomU. After weeks of frustration, detailed in another post, I got this going with the help of this guide:

http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

Power Desktop: Late 2008 Macbook Pro, XPS M1730, Inspiron e1705

As I’ll explain in a later post, my e1705 died under warranty. It was the hottest e1705 you could buy at the time (7900GS, 2GB Core2Duo 2.2GHz) so Dell quickly replaced it with an unbelievably hot XPS M1730 (2x 8700, 2.8GHz Extreme, 4GB.) That was too much machine for me so I switched and bought a late 2008 aluminum Macbook Pro 2.53GHz. Here are some pictures of the machines together.

Macbook Pro, XPS M1730, Inspiron e1705 side

Here’s the M1730 and e1705 side by side:

Macbook Pro, XPS M1730, Inspiron e1705 side by side

Macbook Pro, XPS M1730, Inspiron e1705 side again

Got some great legacy Sun Ultra Enterprise 2 and Sparcstation 20 Hardware for Free

The Ultra Enterprise is a Dual 300 and 768MB Ram.

The Sparcstation 20’s got dual 390Z50 and 128MB Ram.

img_3611.JPGUltra Enterprise 2 Nics and GraphicsUltra Enterprise 2 backUltra Enterprise 2 topUltra Enterprise 2 MemoryUltra Enterprise 2 CDUltra Enterprise 2 DrivesUltra Enterprise 2 FrontSparcstation 20

Here’s a good looking blog design…

…I really like the shaded viewing surface:

bdesign.jpg

Found here: http://www.digitalpropulsion.org/

Fixed My BMW E46 Leaking Power Steering Hoses

Get the whole story on this problem here: http://forums.bimmerforums.com/forum/showthread.php?t=124679

Apparently, this is a very common problem that I’ve had a while. The fix is supposed cheap and easy and having done it once, the second time would be very easy. The Job took me about six hours with a lot of frustration the first time. Using these instructions you should be able to get it down to under two hours.

The parts used are:

  • Napa red general purpose fluid hose in 1/2 and 5/8 ID sizes. The box they came in state they support 250 PSI which should be plenty.
  • Four screw type hose clamps.
  • A new P/S resevoir. The resevoir has some kind of filter in it so I decided to replace it too. They’re only about $25 online.
  • One quart of Dextron IV ATF.
  • Dremel.

To get the job done, I had to remove the entire air box/filter and the headlight. Removing the headlight’s a bit dodgy, but made the job possible. Some instructions are here: http://www.e46fanatics.com/how-tos/exterior/bmw_e46_headlight_trim/bmw_e46_headlight_trim.php, I’ve included them and some of my own additions here:

Removing the headlight assembly:

1. Pop the hood and remove your turn signal lens.  This is done by inserting a flat head screwdriver like so and pushing the tab towards the front of the car.
2. Next is removing the trim that runs underneath the headlight assembly.  Start by pushing the tab closest to the center of the car (first picture) and work across removing this piece.  Once you release the tab in the third picture, you are ready for the difficult part…
3. When you get to the tab that connects this piece to the fender, this will be the most difficult part of the procedure.  I used a couple of different techniques to release this tab.  On one side, I was able to sneak the flat head screwdriver behind the tab as pictured and push towards the front of the car to release the tab.  On the other side, that didn’t work so I had to take a small-tipped flat head screwdriver and weasel the tab open from the front side.  If you work with this tab enough, you should be able to get it off.
4. Remove the two screws holding the top of the assembly. Using a ratchet with eight inch extension, remove the screws holding the headlight assembly at the bottom rear, right and left of the assembly.
5. Disconnect the wires and the assembly should fall right out.
6. These headlight assemblies are unbelievably expensive. Put it in a VERY safe place.

Tips on replacing the hoses are as follows:

1. Cover your alternator with rags to keep ATF out of it.
2. Have a bowl hand to catch extra ATF as you dis-assemble the system.
3. Using your Pela oil extractor, extract all the oil out of the resevoir,
4. Disconnect the resevoir from the hoses, you may need the dremel to cut the factory clamps. Keep that bowl and extra towels handy.
5. Extract ATF from the hoses with the Pela.
6. Cut the factory clamp off the P/S pump with the dremel.

Here’s the hard part. On this connection:

Challenging BMW Part.

..you need to dis-engage part 1.

A useless internal schematic is here:

BMW Hydralic Hose Coupling

You really should use BMW tool 5346:

BMW 5346

…and considering you’re saving about $400 over the dealer price by doing this yourself, I’d probably buy it.

Unfortunately, the plastic release collar broke on my car so I cut off the whole thing with the Dremel.

Replace the hoses, fill the system with ATF, turn on the car, turn the wheels all the way right to left a couple/three times, refill and your done.

Next Page »