Apr 6 2008

Sean Stevens is the bomb.

Every time I hang out with that kid I come out of it feeling rejuvenated and with a renewed faith in our ability to bring some measure of sanity to this benighted ball of rock. Plus he’s pretty hot.


Apr 3 2008

trivial NAT with virtual interface

I’m very spoiled by the virtual interface feature of Linux, and routinely have quite a few IP addresses associated with one virtual interface.

I’m building a cluster now, where all the machines have only private interfaces save one; obviously, I’d like the internal machines to be able to do their own updating, etc.

So I need to put in some sort of NAT. The problem is, iptables doesn’t recognize virtual interfaces, so you can’t NAT using the source/dest interface as your trigger. So here, then, is the simplest way I’ve found to set up SNAT on a virtual interface, assuming all your IP addresses are on eth0 and you are using a 10 network (in the example, 10.23.0.x) as your internal network:


cat 1 > /proc/sys/net/ipv4/ip_forward
iptables --table nat --append POSTROUTING -d !10.23.0.0/24 -j MASQUERADE


Dec 11 2007

machines: they own my very soul.

So. Today was good as a client signed off on some really fun work that means I can relax about January being my Doom. It is bad in that I have finally sliced my wrists off with the bleeding edge; there’s some interaction between my ldap server, dns resolution, smtp server, and virtual machine environment.

Remind me never to stick essential services in a virtual environment without extensive testing for load-based failure modes.

At any rate, mail will be back up in a few hours, I hope. 


Jul 18 2007

y kant bash spel

so ok, if I typo and do “aptitude uipdate”, should it not know what I mean?

In the case that arguments or their values have a finite set of valid inputs, it seems like one could readily have the correct version printed as a “did you mean this? if so, press enter, if not, press n” instead of saying “unknown command”.

Maybe I can implement this – bash completion seems to do something similar already, so either this feature is available and I don’t know how to use it, or i can use its completion libraries to do the similarity search.


Nov 11 2005

An existing indoor composter

Nature Mill makes an indoor composter. It makes me think that an indoor gas-generation device could work.


Nov 3 2005

Frybrid mentioned as good SVO kit

Kevin Kelley’s tremendous Cool Tools pointed out that Frybrid sells a very nice diesel-svo conversion kit.


Oct 3 2005

Oh lord, won’t you buy me a Mercedes Benz

It appears, despite someone’s claim of old Mercedes being a horrorshow for parts, that I’m not the only one who is fond of old Mercedes diesels. Though now that I read the entire thing, he claims similar status for them. As Vika’s lovely Carolla edges ever closer to 200k miles, I get more and more excited about the prospect of an old diesel that I can run with biodiesel/vegetable oil.

Anyway, it doesn’t have to be a Mercedes … I need to do some research on what the lowest maintinance old (non-TDI) diesels are.


Jul 19 2005

Today was a day I’m not very proud of

I had class at 2pm instead of 10 today, because I asked to cancel the Hope High class after no one showed up on Thursday. So I had plenty of time to prepare for today’s lesson: Frog Dissection. I got up on time, and got to the computer, but instead of preparing for the lesson I spent the morning fiddling with my ‘productivity system’ (Hah!) and preparing photos for uploading from our honeymoon.

I don’t get really started on a worksheet until 1300, and I only get through the first part by the time I have to race to class to show up 2 minutes late.

Class itself was OK, I felt, and I’ve now a much better idea how much we can do in how much time. I was called into the office afterwards, something that never fails to fill me with dread no matter how many times it happens. My boss explained that I needed to be there for the whole class, that I needed to make sure my materials were copied/prepared, provide better instructions to the volunteers, and grilled me on how the rest of the class was going to go.

It reminded me of how fucking angry I was at my BIO 102 professor for never photocopying the notes he handed out to us before class – which means class always started 30 minutes late. Whenever I find myself doing something that really pissed me off when someone else did it, I feel a strong combination of anger and shame. Being embarrassed reminded me of the last time I was embarrased, when I stumbled through an inarticulate description of the nature of complexity in front of some very understanding high school students. My slide show failed to transfer to the laptop, so I just talked off the top of my head. No wonder they didn’t bother to show when I said I’d take them on a field trip.

The morals are clear.

I should have at least one class in the can at all times.
Teaching a class is like writing a column. I should have all materials written/created, inventory requirements drawn up for at least three classes into the future.

I only get until midnight.
All of my materials for the next class must be accounted for before the day of the class begins.
Don’t waste people’s time
Both the kids and the volunteers are giving their time to me. I need to give them explicit instructions occupying the entire time they’re working with me.
Don’t trust machines
Always have one printout of whatever I’m doing.
If I don’t know, I ask
If I am unsure about dates, times, budget, anything, I keep asking people until I get a firm date.
Write It Down
Any time someone says something relevant to the logistical aspects of my class I need to record the date, location, who is telling me this, and the statement.