Feed on
Posts
Comments

Alternator replacement

alternatorAfter 170,000 miles the alternator in the truck finally decided to go south. At low (300-400) RPM after coming to a stop, the ammeter would start to droop and the engine would die. I’d have to keep my foot on the gas to keep RPM up. Otherwise while driving and idling it was fine. Fortunately I replaced it before it stranded me somewhere.

I suspect it’s been dying for a while. Last summer I noticed I’d have a weak idle with similar symptoms whenever sitting at a light and the A/C compressor would kick on.

I went by A-Line and bought a remanufactured AC Delco unit. Swapping it was quick and easy, took less than an hour to do. Which was good, because it was 36 F outside.

Web 1.4

wharrgarblI finally got around to joining 2002 by using a CMS. For the past eight years I’ve been using a text editor to maintain this site. The goal is to make the content more accessible and see what happens to search engine rankings.

A website with in-line images, comments, RSS feeds!  It’s gonna be big!  This is the future of interwebs!

Dusting off old hardware frozen in time:

Mar 5 07:23:33 aeris shutdown[26974]: shutting down for system halt

I just discovered a horribly annoying problem with the IPv6 firewall in the Airport Extreme. It doesn’t operate as “let these addresses have access to devices on the home network” (the source). It operates as “let the world access X service on this IPv6 address on my home network” (the destination). After beating my head on why I couldn’t ssh to my closetserver, I carefully re-read the Extreme’s setup dialog to realize this gem. The other half to this, if my external IPv4 address ever changes, I have to go re-edit my IPv6 firewall rules to account for the new 6to4 address.

I also discovered the holy grail, a Rolling Stone shoot that has Blake Lively and Leighton Meester together. This soothes the Airport anger for now.

[root@nicky bin]# /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:3E:69:8E:99
          inet6 addr: fe80::216:3eff:fe69:8e99/64 Scope:Link
          inet6 addr: 2a01:348:0:6:5d59:506a:0:1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

I turned off IPv4 completely on nicky and suddenly realized a few things:

  • NTP: There’s no v6 NTP servers in the rhel.pool.ntp.org pools. Wound up using Sixxs.net’s pool.
  • CentOS repositories: There’s not many v6 mirrors out there, but enough to successfully run a yum update.
  • RPMforge/dag repo: There’s no v6 rpmforge/dag mirrors that I fould find at all.
  • snmpd: snmpd hates me. I added the com2sec6 bits to my VACM configuration, and udp6:161 to my snmpd.options file. I know the request is making it because I see a “connection received from” entry in my log file for v6 addresses. Interestingly, the exact same snmpd.conf works on tifa with v6 requests, which still has v4 enabled.

IPv6 connected VPSes

Being the annoying IPv6 evangelist I am at work (I turned up our first dual-stack and v6 load balanced “hello world” webserver last week), I wanted more viewpoints of native IPv6 connectivity to play with. Turns out there’s only three or four peeps that sell virtual private server (VPS) with native IPv6 connectivity in the 45 seconds of Googling I did. Verio is quite proud of their VPS product, being nearly more expensive than a managed physical server. No idea if Amazon Web Services offer up any v6 VPS, but they seem expensive too if they did.

The internets had good things to say about Goscomb in the UK. I figure if I’m getting one to play with v6 connectivity, get something that’s not in the US. Their VPS is only £10/month, which is reasonable. Within 18 hours of filling out their web form, my CentOS VPS was released to me after settling the bill. Interestingly my IPv6 address is just my IPv4 address mapped into a /64, which gives me ideas. Uninterestingly, the IPv6 world is pretty small. Traceroute6 between nicky and tifa is only eight hops, all of which is over Hurricane Electric’s network. Those guys are everywhere!

IPv6 Certification Badge for mrunixSpeaking of, I’ve passed Hurricane Electric’s “Sage” level IPv6 certification. I highly recommend it. Watch out for RFC 4291, the difference between “mapped IPv4” and “IPv6 compatible IPv4” is a tricky one. I should totally put the Sage badge on my resume, next to the “persuing CCIE written” bulletpoint.

It’s the small victories that make life interesting. I’ve been writing a couple of web tools at work that run off to do a bunch of SNMP polling of a device and display the results. On big devices, particularly overseas, this can take several seconds to finish. In the meantime the browser throbber is throbbing away in front of the user. I can use Mason’s $m->flush_buffer to flush output as I go, but I wanted a solid indicator as to when all the heavy lifting was finished.

I found this on Adrian Ber’s blog that demonstrates a simple CSS+javascript progress bar. While neat, it wasn’t immediately obvious to me how I could push progress counters from my web app to the Javascript to manipulate the div tags since I’m not a web app pro. There were other pure CSS examples out there, but they depended on absolute positioning on a page. This easily gets in the way when layout changes or text is added/removed. I also didn’t want to do client-side polling because that artificially increases overall render time, nor does the client know how many rows are coming. Then it finally dawned on me I could call <script>setPercent();<script> in my page output between groups of table rows.

Using Ber’s CSS, a quick example in Mason looks like:

% for ( my $i = 0; $i <= 100; $i+=5 ) {
<script>setPercent(<% $i %>);</script>
%  $m->flush_buffer;
%  sleep 1;
% }

The end result is here: the hurr durr meter. If you want really fancy Apple-style progress bars, throw in an animated .gif from ajaxload.info and you get: this.

On edge

Two surprising developments. First, I’ve never been a fan of scary movies. I don’t really care one way or another since I know they’re entertainment designed to elicit a response. You know, like calling your mom a whore. Last night I watched Paranormal Activity with Brady and Suzanne. I thought it was a good movie, would recommend to others. It seemed like all the drama happened around 3:14 AM, so I kept hoping there’d be a slight nod to pi by something happening at 3:14:15 but this never happened.

What I wasn’t expecting was what happened later at night as I was laying in bed half-asleep. In my mind I kept playing over and over the end of the movie where the girl gets drug out of bed by the foot then later is all “it’ll all be ok baby”. Then at 3 AM my phone starts going off because of some angry cron jobs emailing me because of the daylight savings time rollback. Not cool.

The other is that I have developed a new appreciation for coffee. I’ve never really been a fan. While I was working at Telecity I started hitting the koffie after I ran their Nescafe machine out of hot chocolate. Otherwise I’d drink it every now and then, it’s just never been a favorite. Usually because it’s so nuclear hot when it’s served and I have to wait fifteen minutes until I can drink it. Tea at least cools a little during steeping.

Then we got a Keurig single-cup coffee maker at work. For giggles I brewed a cup of Green Mountain “tres-intense, extra bold” to try it. I liked it, a lot. I discovered it gave me one hell of a kick compared to a pot of tea. Courage to get stuff done, in full “NOT NOW CHIEF, I’M STARTIN THE FUCKIN’ REACTOR” mode. Now I forego my usual iced tea in the morning in favor of coffee, or I’ll go as far as to drink both. I go through about 3-5 cups a day now, really putting a dent in our K-cup supply. Last week I figured out coffee is a great appetite suppressant, which is great in itself! Hooray coffee!

Now I have a new 10-cup Mr. Coffee machine at home. Fancy coffee need not apply, I like mine black, strong, no cream — motor-oil, NASA engineer grade. I hear next I need to take up smoking, since nicotine is an even better stimulant and apetite suppressant.

Imaginary work

This morning between 4 AM and 6 AM I dreamed I was on a conference call with one of our more, ahem, detailed and involved, clients. I’m pretty sure it was a full two hours worth of troubleshooting because I woke up mentally exhausted. When’s vacation?

New apartment

I’m finally all moved into my new apartment in Riata. It’s taking forever to get the last of the stuff put away. I like this place a lot more than I did the other one. Oddly enough it doesn’t “feel” new. I guess I’m into my daily routine so much that the “where” is inconsequential. I could be coming home to a Motel 6 or a shipping container and it wouldn’t be any different.

« Newer Posts - Older Posts »