automating zoneedit updates

I don’t guess I need this anymore, since with Speakeasy I am on a static IP address. But in case it’s useful to anyone else . . . .

<makeconf.sh: this derives the current IP address assigned to a given interface and makes a template file.>
#!/bin/sh
cd /usr/home/paul/bin/zoneclient
rm www.tmp
ifconfig xl0 | grep "inet " | awk '{ print $2 }' > www.tmp
head -1 /etc/resolv.conf | awk '{print $2 }' >> www.tmp

www.tmp contains this:
72.1.134.183
paulbeard.org

If I was really clever (and needed it) I could start with the values in rc.conf, since a change to the external network interface — xl0 in my example — could mess things up. A little sed(1) magic would be helpful here.

Once I have learned the IP address assigned to me, I run this:
<zoneclient.sh>
#!/bin/sh
cd /usr/home/paul/bin/zoneclient
./makeconf.sh
./zoneclient.py --optfile ./optfile --acct ./acct

(See zoneclient’s usage message or docs for the contents of those files.)

zoneclient/zoneedit has been trouble-free so far (touch wood), and should work for anyone who has to work with a dynamically assigned address.
Continue reading “automating zoneedit updates”

make money fast

rebecca blood :: bloggers on blogging :: matt haughey, june, 2005:

People can make money with their blogs if they’re in a special situation:

  • You have to have loads of traffic
  • You have to carve out a niche that makes you the expert on whatever you talk about
  • You have to talk about a single thing
  • That single thing has to be something companies compete for sales over
  • You have to offer a service to your readers (application, membership, features)
  • You need a dedicated ad sales person to score deals

You don’t have to do all of these, but all the successful blogs I can think of hit almost all of these.

Oh. Well, that explains it 😉

I never could specialize.
Continue reading “make money fast”

tale of two circuits

My Speakeasy circuit is ready, after a minor snafu — there was something that needed to updated on their end and the tech did that today (some database update) — and I plan to cut over Real Soon Now.

Dsl

At the tech’s suggestion, I checked the link speed: seems odd that my upload speed is higher than my download speed . . . .

And of course look at Comcast cable: it’s a bit disconcerting to see the difference in speed. Of course, I don’t know that I ever see that kind of throughput. A Java applet shoving packets around is only a rough approximation of a real user’s activities. It’s the reliability that has driven me away from Comcast.

Cable

[composed and posted with ecto]

meditations on faith and its practice

The Deep North » Faith of our Fathers:

Trudging up the glen, one comes gradually upon a little limewashed house clinging to a fold in the hills. Back in the sixth century, Christianity essentially came through St Columba’s Iona. The processes of history created a situation in which this unpretentious farmhouse was, so to say, a second Iona; absolutely everything which was continuous about the Catholic faith in Scotland passed through it. Brave men, living on oatmeal, nettles and salt herring. Even if you personally feel you can take religion or leave it, a place like Scalon is a reminder that although ‘fanaticism’ is a dirty word, people can go to extraordinary lengths of personal heroism for a religion – without, moreover, feeling the need to blow anybody else up.

[composed and posted with ecto]

behind before you start

The Seattle Times: Education: Today’s latte can add to tomorrow’s debt:

The consequences of latte-larded law-school debts are worrisome for the legal profession, she said, insidiously tilting career paths toward jobs that pay more but satisfy less.

“The amount of money you owe directly affects the professional choices you have,” [Erika Lim] said.

This whole article is interesting, but the meat of it is excerpted above (and of course, appears at the bottom of the piece): leaving aside the questions about good judgment and business sense the article raises, the real issue is creating a new class of indentured servants, as we saddle professionals who should be motivated to work in the public’s interest with so much debt that they are obligated to compromise those ideals to pay it down.

The student featured in the article would save a bundle by buying a good espresso machine: judging by this calculator, even those Francis Francis! machines (@ $800) look like a bargain. At $4/cup (including tip), 1 cup/day over 250 days and 3 years works out to $2812.50: invested at 6% interest, it grows to $2,984.62.

I’m all for socializing and networking — a big part of why one goes to a good school rather than just take the same classes anywhere — but I wonder of these young professionals know what choices they’re really making?
Continue reading “behind before you start”

making ecto behave a little better

I noticed that when ecto would post, it would insert it’s tagline at the end of the entry text, meaning that if the entry had some extended text, it was broken by the tagline. Silly, I thought. And easy to fix, as I found out.

Just edit ~/Library/Application Support/ecto/scripts/Posted\ with\ ecto.scpt as follows.

tell application “ecto”

set _draft to document 1
tell _draft

set _mode to edit mode
if _mode is false then

set edit mode to 1

end if

set _text to “<p style=\”font-size:10px;text-align:right;\”>[composed and posted with <a href=\”http://ecto.kung-foo.tv\”>ecto</a>]</p>”
set extended entry to extended entry & return & _text

if _mode is false then

set edit mode to 0

end if

end tell

end tell

You just want to change “entry body” to “extended entry.”
Continue reading “making ecto behave a little better”