Archive for April, 2010

I think I have a tinkering addiction…

Wednesday, April 14th, 2010

… I mean, a newly rekindled one.

I’ve always liked to pull shit apart, and every now and then neglect to put things back together. But lately, I’ve been pulling so much crap apart it’s not even funny – yesterday was the fridge, today the lawn mower… my paintball gun is in pieces (though admittedly I’m going to have a go at home anodizing at some point in the future, and I’ve got a lot of work to do to get it ready to play with this summer), there’s a dead Gorilla Amplifier on my desk and there’s not one but two dead treadmills in our room.

Thankfully I’m little by little re-acquiring the tools needed to put some of this crap back together. I have a 10 item eBay watch-list and a shopping list on Mouser for all the stuff needed to restore my paintball gun to it’s full glory – when I’m done with it, it’ll be a jet black anodized, custom electronics, low-pressure blow-back paintball gun. Wooh!

I bought a lot of probes for my multimeter which should be here sometime this week, along with a bunch more RJ-45 heads… we’ve been buying them from Lowes’ as we need them for about 50c a piece (~$5 for 10 of them) and I picked up a lot of 100 on eBay for ~$3, so I can’t wait till those get here.

I still have a nice soldering iron on my list of things to buy, but that’ll have to wait until after Duncan gets here and we see how our finances are. :(

Ice-Maker Fail :(

Tuesday, April 13th, 2010

We were in Lowes’, picking up a replacement cartridge for our water filter, when we happened to walk by the section selling tubing. When we moved in, we had to push our fridge through the window because it was too big to fit through any of the doors. Unfortunately, this tore the tubing that feeds the ice maker, so we never got around to hooking it up.

So I saw that the tubing for it (1/4″ O.D.) was only about 9c per foot, and I thought that reconditioning the ice maker on a 20+ year old fridge would make a pretty decent article for Hungry Hacker. We picked up the line, and the rest of the stuff to hook it up to the water.

I came home, hooked it all up… and… it won’t make ice, and the water won’t stop dribbling. I tore the solenoid out and messed with it a bit while it was apart – it functions (the coils aren’t open) but the rubber bits are all mangled. I’m theorizing the mangled bits of rubber are probably stopping the water valve from closing, and the Ice valve appears to be seized shut. I started looking for part numbers, but most of them are illegible. I found one “kmls2208” but a cursory Google search didn’t turn up anything.

I did manage to find some of the entire solenoid assemblies that “look like they’ll fit” (and probably can be made to, with a little redneck ingenuity), so I’ll probably just buy the complete solenoid on ebay – looks like it’ll run me around $25. That’s a little more than I’d like to spend, so I may still try and free up the rubber parts, or try to find just that particular part rather than the entire assembly, but so far no such luck.

About four years ago I rebuilt the auger motor so we could dump bought ice into the ice bucket and have it dispense it… looking at Ice maker parts I’m glad I did that rather than just buy a replacement, because they’re about $100!

I’ll probably post more, and an entire Hungry Hacker article, complete with pics, when it’s all working. Unless I can’t get it working, in which case I’ll delete this post and pretend I never tried – I hate admitting failure. :(

Trevor’s Bumps… Mark II

Monday, April 12th, 2010

We spent the better part of yesterday putting Trevor’s bumps back in his vehicle. His first vehicle was a 1985 Ford F-150, which was severely lacking in the “tunes” department, so he put in some cheap Xplod head unit, and then later a 12″ sub in some tiny choked out box he and his friends built.

Trevor's Subwoofer - Test fitAfter it didn’t perform so great, he commissioned me to build a new enclosure, which can be seen to the left. Sitting directly behind the single bench seat in the tiny cab of an F-150, this thing would shake your teeth out – not bad for a sealed enclosure!

Fast forward about 9 months or so, and he wound up getting a much better job and trading the F-150 in for a 1998 S-10 Blazer. The factory stereo was “acceptable”, so all the stereo equipment lay in his room unused until yesterday. Our initial plan was to use a speaker level to line level converter to steal RCA outputs from the factory head unit. I thought it’d make a really good Hungry Hacker article, so I took photos and documented everything.

I’d spent about two days doing research beforehand, so I thought I knew everything going in… apparently my research wasn’t quite good enough, because it turns out despite what it says on the box about “adding a subwoofer to a factory stereo system” the line level convertor (Scosche FAI-3A, for what it’s worth) wouldn’t exactly do what we wanted. No, as near as I can tell, it’s only any use for adding an aftermarket head unit to a vehicle with the “monsoon” style audio – where each speaker had it’s own mini amp and the “speaker” wires from the head unit carried line-level audio.

The reason being that the FAI-3A, when placed between the head unit and the speakers, reduces the speaker output to line-level as well. The signal still comes out, just really quiet. Aside from the above scenario I can’t really see what use it is for adding a sub to a factory audio system.

So we wound up tearing the factory head unit out, I busted out the soldering iron and we put the Xplod head unit in. A quick trip out to Bluffton to pick up an enclosure for the head-unit and we were putting things back together in short order.

The other trivial mistake I made was reversing the “battery” and “accessory” wires – I’m not entirely sure how I did that, but his head unit won’t hold memory for more than a few seconds of ignition-off… I’ll probably wind up fixing that on Thursday – hopefully this mistake doesn’t drain his battery, because he doesn’t have roadside assistance, he gets off work at about midnight and we have to be up for a doctors appointment at 6 tomorrow. :(

On Thursday the subwoofer should go in as well, assuming we can find a suitable place in the incredibly cramped firewall to safely run some 2ga cable through. Anyone who’s ever done a clean installation of a subwoofer in a second generation S-10 is welcome to email me with their ideas!

Paintball Yesterday

Sunday, April 11th, 2010

Yesterday we went out to play paintball in the woods, for the first time in about 2 years. My Spyder‘s still in pieces, so I borrowed Trevor’s 98… which wasn’t fun at all. Trevor’s had an A5 for years now, and it’s in tip-top shape – but the 98 is in desperate need of a rebuild.

Even though with the baby due any day, we’re forced to cut back on toys… I’ve been looking at the parts necessary to get my Spyder up and working again. I’m going to buy an aluminum clamping feed neck, because I’m sick of breaking the stupid clear plastic ones that Spyder thought would be a good idea. Then I just need to pick up the stuff from Mouser to drive the solenoid from my MSP-430EZ, and I’ll be able to finish writing the firmware for my custom trigger board and I’ll be in business.

As to how it went yesterday, it actually wasn’t bad. Usually when we play Paintball in Indiana it consists of me going out there after not having played in 12 months… running around for about 20 minutes until I think I’m going to die and then spending the rest of the day recovering.

Yesterday, we were severely lacking in people so we only got two games in, and despite trying to run my ass around the entire woods to flank Trevor… I felt pretty great. Perhaps keeping up with the karate is finally paying off!

I hate the flash on my Camera…

Friday, April 9th, 2010

Seriously, there’s massive design flaws on our Sony DSC-H3 camera, and it’s starting to piss me off. We mainly bought the thing because it performed really well with macro photography, and despite it being a point-and-shoot you could attach extra lenses to it to better that affect (as well as other things, like a polarization filter for photographing aquariums)… considering that at the time, DSLRs were much more expensive (though within about 6 short months they’d fallen down into our price range, boo!) it was a pretty good deal.

Except that with some shots, the flash is obscured by the lens housing itself. It’s not uncommon at all for many of our shots to have elliptical dark patches covering the bottom border of the image.

The flash is so high, it’s really hard to take tight-spot shots like the inside of electronic devices too. Just today I decided to do a little work on Hungry Hacker and update my article on DVD player repair – I think it’s still relevant and it’s still a popular article despite the fact that they just about give DVD players away in promotional bags at trade shows these days… heck, it costs more for an HDTV converter box than it does for a DVD player, and they have no moving parts!

So anyway, I decide that the old image taken with a crappy USB webcam just wasn’t going to do, so I opened up our old faithful DVD player – the one that just happened to be used for the original article and is now pushing a decade old – and took some real nice macro shots. Except that in almost all of them, some parts of the image are completely dark because the flash is so damn high on top of the camera.

I like to think the final result isn’t a terrible picture, it just makes me grumpy to think how much better it probably could have been. :(

More RetroHive Pimping!

Friday, April 9th, 2010

So because our California DC is still full (desperately waiting on more racks to come online), RetroHive’s been sitting semi-idle. That is, Ryan hasn’t been peddling any more Digg submissions to try and keep arigeitsu from having to work too hard.

Thanks to copious amounts of SEO, back-links and directory submissions, it’s getting a fair few amount of organic hits… but most organic hits are pretty easy for a webserver to handle. With the exception of very specific circumstances (say, a football fan-site around the time of a big game) organic hits usually come in in the form of a constant trickle, compared to the tidal wave of an article reaching the front page of Digg.

We did as much in the way of optimization as is about possible, with arigeitsu being good for about 2,000 concurrent hits at a time. I could probably unleash Apache further, because the load is still quite low serving up all this content (particularly with aggressive caching from WP-SuperCache et al) but because arigeitsu serves dual-purpose of a part-time web server and also hosts Mumble clients, I’m more worried about port saturation.

If we fill up our port for even brief periods, during those brief periods Mumble will be pretty well unusable. That means, per Sabrienix/MumbleDog’s SLA, I hand out a ton of credit. We just don’t want that to happen.

When the new machine dedicated for RetroHive comes online, I suspect we’ll be looking at around 6-7,000 concurrent hits without issue… but that’s really just a guess because I’ve never had to optimize a server for such traffic – the only high-traffic optimization I had to do was when I helped admin a download mirror for a PlayStation emulator and all we had to do was push out raw data. :(

So I’m excited to see how well we can tune this new box to take multiple Digg/Reddit/Slashdot attacks and maintain 100% uptime!

Spring’s here!

Thursday, April 8th, 2010

Fuck what the calendar says, spring isn’t really here until I have to mow the lawn… and that day was yesterday. Our lawn mower’s pretty beat up – my brother in law managed to hit a piece of metal pipe with it, couldn’t get it running right again, so did what any responsible teenager would do: He shoved it in the garage, called it “winter” and reasoned to tell me about it next spring.

I dug it out of the shed, put some fresh gas in it and got it running… sort of. The governor’s off quite a bit and it shakes like crazy. I’m going to try and track down a cheap place to buy a new blade for it rather than trying to balance the old one back out, and then once it stops shakin’ I’ll see if I can fix the governor to get it to run at a reasonable, stable speed.

It did the job though – I tampered with the governor spring a little to bring the revs back down to a sane level which stopped most of the shakes. It was good enough to mow the entire half-acre, though some portions were extra thick and still a little moist so it was tough going, and I had to take the recycler off for those parts.

Another year’s probably going to pass where we don’t get to build our deck – I’ve planned the thing out about four or five times now, and something always seems to come up in the way. Summer in our back yard is fantastic – sitting in the shade with a laptop and that almost-ever-present mid-western wind blowing in is much better than being cooped up upstairs in front of a desktop.

So I’m thinking a reasonable sized deck to cover the nasty area behind the laundry, with an awning, some outdoor rugs and some patio furniture would be a fantastic way to work all summer. Alas, it’s probably not to be – I’ll be stuck in this nasty old patio chair under a leaning tree with the laptop sitting on my lap and the bugs jumping out of the grass onto my feet. In fact as soon as the rain goes away I might go spread some bug killer powder out to stop that last bit.

WordPress 3.0 in Beta

Thursday, April 8th, 2010

So I’m playing around with the 3.0 dailies of WordPress and… well.. it’s a little underwhelming. I’m not sure what entirely is going on under the hood that might be spectacular, but the only ground breaking stuff I’ve seen so far is the new default theme.

Sure, “Twenty Ten” is a pretty nice improvement. Kubrick is like a squirrelly little emo kid, albeit a little pretty but overall skinny and poorly justified. “Twenty Ten” is more like a meat head pumping human growth hormones and then hitting the gym – a glistening specimen of themely manliness if ever there was one.

Alright, I’m getting just a little carried away… but the new default theme is a pretty good improvement and will give beginning bloggers a great launchpad to get them started – simply throw away the header image and replace it (easy enough, with the new header editing features) with something more to your style and your blog will reek of your own personality. Not so with the original Kubrick, I’m afraid… Even if you edit up the image to something custom, it’s still going to look like it’s Kubrick. :(

On the whole though, I really don’t see 3.0 so far being worth a “major version bump” – it looks more like 2.10, but then again if you’re used to versions being a decimal number, that’s probably vastly more confusing. Decimal version numbers mean there’s pretty well nowhere to go but 3.0. :(

I’ll write more on 3.0 later as I play with more stuff on it. Don’t forget to check out Hungry Hacker and let me know if there’s anything broken on it (besides lots of 404s).

FreeBSD + pf(4) + miniupnpd

Wednesday, April 7th, 2010

So I thought I’d get around to posting some articles to my Hungry Hacker website (which I moved the WordPress-powered one over to the main hostname, hopefully motivating myself to update it more often), one of which is my article about getting UPnP working with pf(4) on FreeBSD.

I figured it might come in handy for someone, because I’m sure there’s a few FreeBSD geeks out there who want to play console FPSes with snotty teenagers with acne on the neck, and making your PS3 happy seems to be voodoo as far as the MiniUPnPd forums is concerned.

Duncan’s almost here

Wednesday, April 7th, 2010

We’ve got so much crap that still needs doing. :(

We got the office all sorted out, it’s got nice carpet and our computers are all hooked back up again. We had some real issues with cabling somehow, so I had to re-run a bunch of cat5 anew, and I ran the TV cable at the same time. We’ve got an HD converter box, and it was nice to sit around and watch the TV again, even if nothing’s on. We don’t miss the ads for phone chat lines, weight loss supplements and those god-damned bump-its, but hey… it’s free!

Our Linksys WRT54g died, so I spent a couple of days fixing up an old FreeBSD machine to act as a router… finally it seems like it’s working about how I want it to.

So now it’s time to turn the attention to the bedroom… :( Duncan’s crib is still full of his clothes, I need to finish Duck’s filter while I have the time. We still have a few things we need to pick up (mostly little stuff, nothing terribly important) and I have to go put the car seat in the car yet.

The clock’s ticking too, we’re full term now and he could come any day now.