the trouble with the razor

One thing you see kicked around quite often amongst technical people is “occam’s razor“, which at its basest form is held that “simpler is better”.  But reading the article which I encourage you to do, actually speaks it to be contrary in that if you recall the latin, pluralitas non est ponenda sine necessitate (“plurality should not be posited without necessity”), some times occurrence does give rise to necessity, and thereby demand a posit.

 

The trouble is that as humans, we’re generally lazy mentally – we seek the comfort of knowns and regularity or at least feeling like we’ve investigated an idea pursuant to a point where we are satisfied that we have achieved a knowledge of that idea that is sufficient.

An example is driving your car.  We always hop in our cars and drive off to wherever we go.  What do we do when we immediately sit down?  We check gas.  We perhaps pump the brake as we’re backing out.  If we have a more expensive car, we merely check if the check engine light is on.  And we trust that that is enough for us to move our 2 ton vehicle at 80 mph swerving through traffic.  That’s

(2 short tons) x 80 mph = 64 887.6586 m kg / s

for comparison, a 50 caliber sniper round has a much lower amount of momentum.  and is hard to obtain such a rifle in california.

(45 g) x 2978 (ft / s) = 40.846248 m kg / s

Of course point of impact is smaller, but getting hit by either will pretty much kill you is what I’m saying.

 

But how often do you check the lug nuts on your wheels?  Did you know that if they are loose they can quickly wobble your tire and zip your tire will fly off when you change lanes?

howabout checking for tears in your tires?

brake fluids level?

did you even know you had a power steering fluid?

 

And such is the real application of occam’s razor.  that we sometimes think we have all the variables under full knowledge – but really we don’t know what we don’t know.  So the easiest option when dissenting variables appear is “occam’s razor!”

 

Where in your life do you take things at face value without attempting to discern what you don’t know?

I am Scott’s old NES

So I was inspired one day by this instructables, NES PC

http://www.instructables.com/id/Build-a-Nintendo-NES-PC/

Written by Hatsuli, who has since passed on to the great workshop where the Maker hacks all things together.
It’s nothing new, but the technology has progressed somewhat since the original inception.

I’ll just post my parts list and challenges I encountered.

This was before I decided to put the fan on the top of the case


Firstly, I took the innards out of his NES.
Then I used my dremel to grind down almost all of the posts that were in the center and back, leaving the 4 posts at the corners to use to hold the box tight. Keep the posts at the front where your power and reset buttons where located – we’ll use these later.

I used the motherboard from this kit:

http://www.newegg.com/Product/Product.aspx?Item=N82E16856107076

When I got it, it was open box and I had a coupon, so it was much cheaper.
It was useful because board height was low, and it had ample fan headers. And I just got a E350 board and that went into this case.

the board is Mini ITX – dual core atom 525 cpu, with an Nvidia ION 2nd gen gpu. If you shave down all the posts, the motherboard sits very nicely against the rear and you can dremel down the rear to install the backplate. I hot glued the backplate down against the rear after marking it out. Always better to shave these too tight then adjust, cause it’s a pain in in the butt add more plastic.

You can put the board flat on the cross.

To mount your hard drive – use a piece of paper. Flip it over and put the hard drive in a corner, and mark where all the screw mount points are. Cut the paper out and use it as a template on the bottom of your NES. Before you drill anything – make sure that your drive will fit where you have chosen AND the associated SATA cable and power. I lucked out when I spaced my drive installation.
You can evidently use the flat screws that are usually used to mount cdrom drives in a computer case- drive them in from the bottom and you will have the hard drive securely mounted to the bottom of your NES case.

The motherboard should fit nicely over this, supported by the cross bottom.

motherboard sans drive, testing the fit

Remember those posts by the front buttons – it turns out that a dual USB case blank has perfect spacing if you take the usb plugs out. Cut off the ends and you should be able to use two screws to bolt the blank into two of them very tightly. (The instructable calls to rewire the buttons and keep the assembly to use as buttons. I kept the buttons so I could run Scott’s NES from a cardboard box).

Then you can take two push buttons from any old case’s reset and power and slot them, reusing the original power an reset buttons. These can be hot glued to your converted blank which is now mounted solidly. There’s a little play but it works. You can also put a red LED and hook that to the motherboard power header.

Do this before you mount your motherboard. Let it dry (important to always let hot glue dry) and then you can put your backplate in and hot glue it. If you put the motherboard into the case, you can use the usb blank as a wedge and it will hold the motherboard tightly in place, which is kinda cool (at least I thought so).

Run your sata cables around the case to your interfaces. If you are going to do the USB in lieu of NES controller plugs thing, you can do it – just take the ones you use for external plugging and you can slot a screw, bolt, and washer through, and cut the case of the usb plug to sit in the upper angled area of the plug port. Tighten the washer down to lock it in and smear hot glue all over it. To get super fancy, make a paper template and use some black plastic to create a perfect plug cover.

First test – everything booted. Playing video to tax the cpu created some pretty high temps (45+ C according to fanspeed)as the case is meant for passive cooling when it houses the usual NES hardware. Instead, I reused a cpu fan and shroud from an old Xeon kit I had, and once again bolted it to the top of the case, this time cutting a hole so air could blow air in and down onto the motherboard and gpu/cpu heatsinks. This let the machine run at a cool 34C while playing Two Towers, so I was satisfied.

bios post

I took a miniPCI wireless ethernet card – el cheapo broadcom chipset, and 2 antenna from a junked laptop- these wires were hot glued around the case and provide decent signal, so that made the NES PC wireless as well.

All in all – pretty cute box –
all my emulators
Dosbox
6 USB ports
4GB of RAM
hdmi / DVI Audio over cable
320 GB HD.
And looks like a NES.

Further plans – put in a fan cover so fingers don’t get snapped up by the fan. I tried making my own by drilling individual holes, but it was a pain.

Also, found a cool guy who sells Nintendo NES conversion kits. Pretty simple to use – disassemble, clean, solder the wires from the controller to the IC board. So now I have a USB controller for emulators.

I dispensed with adding a cdrom - mainly because I didn't want to try to shoehorn it in and my only laptop drive was being used.

I am Nancy’s Nook Color

The Nook color is a pretty cool device, pretty snappy. It’s got decent battery life, and has a good looking and responsive screen.

Much better is when you hack it.

To do so, I used these instructions:

http://nookdevs.com/NookColor:_Nookie_Froyo

And Nancy got a 16GB sdcard from Frys for about 17 after tax and $10 rebate.

I had to format this thing several times – when I was doing the straight dd from ubuntu, I would get really really slow read/write speeds (probably due to bad cylinder sizing). I was pretty unhappy with the 3MB/s transfers when the card was a class 4.

So I ended up formatting it with the HP memory stick formatting tool: This fixed it and I was getting 15MB/s I/O.

http://files.extremeoverclocking.com/file.php?f=197

as Fat32, then using
su dd if=IMG of=/dev/sdb

which wrote about 2gb of data in 4 partitions.

Then open up gparted and expand the SDCARD partition to fill the entire drive.

Using method 2 on here:

http://forum.xda-developers.com/showthread.php?t=917660

you can just sudo cp -R system to /media/system after you’ve mounted the formatted disk.

Now when you boot, voila, you have a rooted nook running froyo and working android market!

I am Alex’s Seagate Dockstar

So I got this dockstar off woot at least a year ago for $25 thinking I would hack it into a cheap easy to use DDWRT server that could be a printserver for my aging HP Laserjet 1012.

But others had more sinister uses for it, which I soon discovered.  Mainly to give me nightmares about debian.  I soon learned this mantra – “This is my Debian device.  There are many like it, but this one is mine.”  This, after I struggled through multiple re-installs and configs to find one that would work, and learned wayyyy more about xorg than I ever wanted to know.

http://hunterdavis.com/archives/843

 

1)  Get your debian boot running.  No, wait.  Find a working flash card that you can boot off of!  Then partition it.  Here’s a hint – if ioctrl can’t write to it properly after you fdisk, it’s probably not going to work.

2)  Go to Frys a lot to find a properly running displaylink usb device.

3)  For sound, I used the USB adapter from my logitech g330 headset.  found it properly in dmesg.

4)  I initially went with Hunter’s install – found a used IOGear USB->VGA device.  Make sure it’s displaylink certified.  I think that’s the key.  Originally went with a cheaper SIIG device, that wasn’t.

5)  Install VNC

6) Install Xorg

7)  apt-get install alsa alsa-utils apmd alsa-oss mpg123

8) go here to continue, but only follow the part up to install the udlfb driver and configure X

9) I used hunter’s install originally with pkg-config, XDM + Fluxbox.

10)  booted into XDM, it showed up on my tv.  Started up VNC on that display.

 

Going to return the displaylink to Frys.  Ordered a Seconds one from EVGA- http://www.evga.com/products/prodlist.asp?switch=20 the UV16-RX.  Cheaper and has its own onboard ram, so it should be snappier.

 

 

Next steps:  configure dosbox, and hook up my usb joystick, replay the wing commander series.

 

Going to be awesome.

 

Edit: totally ran out of space on my 2gb stick for this. I had an extra Adata 16gb class 10 SDHC card lying around, and ordered this: Zeikos USB 2.0 SD/SDHC/MMC Flash Memory Card Reader ZE-SDR5
and plugged it in. WORKS GREAT!

Also switched from XDM to GDM – more usable to me and displays better on screen.

I am Alex’s FlipSlideHD Camera

image

Decided to stop by frys tonight to look for an hdtv ota antenna as it seems Comcast decided to stop running cable into my house.

While there I realized they might have the lens kit I needed to perform the wide angle hack on the Flip. Luckily they did, for about 32 clams I got a series of adapters and a .5x lens.

I used the SunPak CAL-1030 Camcorder Conversion Kit.

Steps to reproduce.
1.  Pick the adapter you will use.  The largest one easily fits and leaves me with a smaller one which could be used on the wife unit’s camera as well.  It was the one on the left.
2.  Clean mounting surface with rubbing alcohol.
3.  Roughen up the mounting surface of the adapter with some sandpaper,  I used some old 80 grit I had lying in the garage from some other project.  Watch me scale.
4.  Find old bottle of krazy glue all solid, realize I have unopened tube of loctite.  And too large a size.  Note to self, buy cyanofloride based glued in smaller sizes next time.
5. Get paper plate and squeeze dab of glue onto it.
6.  Forget that the kitchen is a terrible place to let the glue set as toddler creature might inhale fumes. Place adapter onto Flip and center while tacky, place outside to set.
7. Read more about cyanogen based glued on Wikipedia, did you know you shouldn’t use cotton swabs to apply them as that creates an exothermic reaction and possibly fire? And that such glued work great on plastic melds?
8.  Time has passed, go retrieve less smelly Flip device,  thread lens onto the adapter.
9.  Awesome video recorder gets a wider field of vision.

 

to order:
Sunpak CAL-1030KIT 0.5x Wide-Angle Lens with Step Rings

I am Alex’s Wii

I just refreshed my Wii,  having decided to brush the dust off.

Things not good to do when sleepy and running on the courage of delirium (which makes me very brave,  I assure you)- try to figure out why your Wii ended up with a semi bricked control panel. Oh possibly because of an improper update in the past.

Updated it to 4.3u and voila! I lost my homebrew channel.   Panic.  Oh I try updating wiikey to new firmware, 1.99 beta. And voila, nothing.

Alas now too sleepy to continue, this hack goes into the to be continued….  pile.

I am Alex’s Westell 7501

This is a cute wifi router – sometimes you can get it cheap from the verizon store, for about 7-10 bucks, free shipping.

So there’s a huge tomato hacking scene around this device – what I ended up using it for was to extend my wifi out to my garage.

hacking links here:

from:

http://slickdeals.net/forums/showthread.php?t=1874458

Steps I did to make it an additional access point in case anyone else wants to do it:

1) Plug computer into Verizon router with ethernet cable(any port except WAN).

2) Access admin page at 192.168.200.1. (username: admin password: password)

3) Cancel all the whining about not being plugged into WAN.

4) Go to Advanced–>Public Lan. Uncheck Enable DHCP Server and uncheck Public LAN Enable and Apply

5) Go Wireless Settings–>Basic Security Settings. Change the SSID to match your existing routers SSID. Change WEP key to match your existing wireless router and Apply. Note: If using WPA instead of WEP, click Advanced Security Settings and add the info from your existing router there first.

6) Go to Advanced–>Private Lan. Uncheck Enable DHCP Server

7) Change the VZ routers IP to a free address in the same range as your primary router. (For most that would be something like 192.168.1.254, assuming your primary router is 192.168.1.1) and Apply. This is the address you will use to access the VZ router for any further configuration.

8) Now unplug your computer. Plug ethernet cable into VZ router(any port except WAN) and plug the other end into your network.

and voila – full sonic fusion 14MBps network speed in the garage.