Feed the frog…

Hint: Click on the frog’s screen to give him little bugs.

Source:
http://abowman.com/google-modules/tree-frog/
http://okozo.com/interactive/abowman-tree-frog/

Do I Have Big Ears?

I sure do. Or at least I have them at work. As the summer progresses, I’m always amazed at how these elephant ears grow so large from nothing each year. I’ve always meant to get a photo before Fall hits them. Took advantage of lunching out with a couple of iPhoners. I stood among the ears to give a sense or proportion.

jeb-elephant-ears-1.jpg

Photo by iNicki

CCode and TCode MT4.1

One confusing part of upgrading to MT4 is all that all the new templates and my old templates end up all mixed together. I created a “Temp41” blog from scratch just to have a reference set of code to help sort out the mess.

I missed that the javascript template is now “mt.js” instead of “mt-site.js” and that both were still being generated. Since this is where I store the CCode/TCode javascript (anti-spam), it was important to retire mt-site.js and get the obfuscator function into mt.js.

CCode and TCode works in before saving spam feedbacks to MT system. CCode/TCode makes it very difficult for spam-bots to guess tb URL and the required ct input fields. Target ct/tb URLs to send spams are calcuated from unrevealed entry/trackback data and obfuscated by Javascript.

Steps to install CCode/TCode in MT4 (vs. MT3.)

  1. Download MT4 version.
  2. Remove old plug-in code and add new plug-in code in MT system.
  3. Place obfuscator.js code into: mt.js template:
    mt41:default_templates:javascript.mtml
  4. Refresh mt.js in each blog to bring it in.
  5. Install the tag into the Comments Form template. This is an improvement because the new sub-template approach means only updating one sub-template vs. multiple templates under MT3. Put it under this line:<input type=”hidden” name=”entry_id” value=”” />
  6. Republish individual archives.

SMTP Inbound on Domino

Exact settings to allow SMTP inbound Internet Site document to work. (The host name will need to go to i.p. with R7.)

Descriptive name for this site: SMTP

Organization: FiveForks

Host names or addresses mapped to this site: gandalf.netcentrix.net

Domino servers that host this site: *

AutoMySQLBackup (Monthly)

The contents (text) of mac5 are all stored in a MySQL database. I use a script called AutoMySQLBackup to run daily, weekly, and monthly backups of the contents. These “dumps” are then copied over every night by Retrospect to a backup server (currently Mac17’s external Seagate drive.)

I routinely check these to make sure they are running by inspecting the contents of a recent dump. I noticed in the monthly set that besides “fivefor1_mtfiveforks” was another database “mysql”. Went on a wild goose chase looking under the /etc/periodic/monthly script and couldn’t even find AutoMySQLBackup. Turns out the monthly (and weekly) runs are all addressed in a single daily script under /etc/periodic/daily. Oh. Right. Set it up 3 years ago… who can remember.

Turns out I had not noticed an extra “advanced” setting that had a default database “mysql” in it, and so I was backing up a default, empty database every day for the past several years. Not much space, and easy enough to correct. While there decided I should add the gallery2 database (which holds photo titles, descriptions, and comments.)

So on OZ in

HD2:private:etc:periodic:daily:automysqlbackup.sh are two lines:

DBNAMES=”fivefor1_mtfiveforks gallery2″

MDBNAMES=”fivefor1_mtfiveforks gallery2″ <-under advanced settings

Snap Shots (revisited)

I wrote earlier about adding Snap Shots to Mac 5. It will enhance any external link by giving you a small preview of the destination web page. I think it is most useful when it defines a word or phrase using Wikipedia. But it can also be neat to see a preview.

Recently, Snap Shots started doing something I considered invasive. It scanned for phrases it our posts and decided to attach links to them. I could also see that ads now appear under the Snap Shot previews, so this was about making money (fine) by randomly picking out key phrases in our posts (not fine.) I noticed it when posting the witness I gave at Dad’s funeral. I sure didn’t want to be randomly selling things in a eulogy!

Turns out, I can create an account and control that new phrase-link option. I turned it off. I turned on charitable contributions so that a portion of the ad proceeds will go to the International Red Cross.

So I’m still sold on Snap Shots.

DSL Speedtests 5-20-2007

After a couple of weeks of outages and a terrible last weekend, turned in a trouble ticket with dscga.com, and they had Bellsouth do some signal tests. A problem was spotted between our house and the phone company (not sure where) and a technician was dispatched (but we didn’t see him) and whatever happened, we’ve had good connectivity for a week now. Record download speeds based on past logs.

Continue reading