The AOLserver Wiki is now MediaWiki-powered!

As much as I hate to say it, I’ve finally caved in: tonight, I switched the AOLserver Wiki from the Tcl and MetaKit based WiKit over to the latest MediaWiki 1.5.0 which is implemented in PHP and uses MySQL. It still runs under AOLserver (yes, you can run PHP applications under AOLserver), but it would have been nice to continue to run wiki software that’s written in Tcl — however, it’s hard to pass up on all the nice features built into MediaWiki, and implementing them all in WiKit is just too much work for me at this point.

To let everyone know about this change, I sent this message to the AOLserver mailing list. Lets see what folks think about the change!

It’s official: AOL now owns Weblogs, Inc.

It’s finally official (after Rafat Ali at PaidContent.org said yesterday) that AOL has acquired Weblogs, Inc.!

I wonder if this means WIN properties will start linking into AOL content more. Regardless, it’s a good move for AOL and I hope Wall Street gets it, too.

Goodbye, Samsung i330 with Sprint PCS. Hello, PalmOne Treo 650 with Cingular.

Back in August of this year, I finally got to upgrading our two-year old Samsung i330 cell phones, serviced by Sprint PCS, replacing them with brand new PalmOne Treo 650‘s, serviced by Cingular. Why the switch? Mostly because one phone went dead again and paying the $50 deductible to get it replaced again through the lock\line insurance just didn’t seem worth it, considering I’ve wanted to get rid of the i330’s for over a year already. So, this was a good opportunity (and excuse) to finally get a new set of phones.

I really wanted to get away from PalmOS-based phones after being utterly disappointed by the i330’s, but I wanted to stay with a PDA-based phone, since it serves more as a mobile calendar and rolodex than a phone for me, most of the time, otherwise I might have seriously looked at the Symbian-based smartphones available. Unfortunately, the only non-PalmOS PDA-phone that I was really interested in was the HP iPaq h6325 but after seeing how badly HP handled the previous version, the iPaq h6315 (see Gizmodo and Engadget to understand what I’m referring to), I just wasn’t willing to take that risk for the ridiculous price the h6325 is selling for. After much teeth-gnashing and indecision, I finally decided to bite the bullet and go for the Treo 650. I figured if someone like Jamie Zawinski thought it was worth the risk and wasn’t saying bad things about it non-stop (which, I’m sure he would have, if it were total crap), I could give it a try. (Turns out Brad Fitzpatrick ended up getting a Treo 650, too.) After all, if it’s PalmOS, there’ll be less data migration headaches moving from the i330’s to the new 650’s, right? Haha. Yeah, right, what was I thinking?

Overall, it’s a really nice phone with lots of good intentions, but as I had feared, PalmOS 5 still sucks, badly. The design of this phone is just horrible: the phone can be configured to automatically engage the “keypad lock” when it goes to “sleep” for power-saving mode, which would be a really nice and convenient feature, except to “wake” the phone up out of sleep mode, you have to press a button on the phone to do so. No big surprise, right? Yeah, except the phone actually processes the button-press and acts on it, then tells you that the keyguard was engaged and to press the center button to unlock it! Hello?! Is this not just flat-out broken? Isn’t the whole point of the keyguard to prevent any keys pressed while its engaged from having any effect on the phone until the keyguard is disengaged? Stupid, stupid, stupid. What’s worse is that all the keys that you can press that’ll wake the phone up all disrupt whatever you might have been doing on your phone when you engaged the keyguard. The only button that doesn’t seem to do that but will still wake up the phone is the red “hang-up” button on the phone. Pushing this button while you’re on a call will hang up the phone, naturally, but at any other time, it’s a great way to just wake the phone to disengage the keyguard. Of course, using this button works great until you end up accidentally hanging up on an incoming call that comes just as you are about to press the red hang-up button to wake up your phone to look at your calendar or something. If the timing is right (or, wrong, in this case), you’ll have just sent that incoming caller directly to your voicemail. Ugh! All of this is made worse by the fact that, while in the phone’s “Preferences” I have told it to “Auto-off after: 3 minutes,” the phone turns itself off far sooner — sometimes even after just a dozen seconds of inactivity or so. It’s pretty damn cruel to taunt me with a preference setting which the phone happily ignores.

There’s also no end of amusement in watching the phone crash and automatically reset itself. What’s even better is having the phone hard-hang (requiring a manual soft reset of the phone). When the phone’s hung, it doesn’t ring with incoming calls, or alert you to new incoming SMS messages or voicemails; when your phone stops being a phone, it’s pretty much useless. There’s no greater joy than having someone complain about you not answering your phone, responding to the SMS they sent you, or calling them back in response to the voicemail they left you hours earlier. That’s when you pull the phone out of your pocket, press the red hang-up button to wake the phone up to check it out, and find out it just won’t wake up. Sigh.

Overall, the older PalmOS on the Samsung i330’s is certainly more stable and reliable than the new Treo 650’s, but the old phones aren’t as feature-full as the new ones are. Having the Bluetooth capability in the new phones is nice, especially if Bluetooth DUN (Dial-Up Networking) actually works as advertised. Having a built-in 0.3 megapixel camera is convenient but even the cheapest digital cameras will take better pictures. Being able to run PalmOS 5-only applications could be a nice plus, too, since the i330’s ran a really old PalmOS 3.5.3. In the end, I wonder if upgrading to the Treo 650’s (and locking into a 24-month contract with Cingular) was really worth it, but I just couldn’t bear spending any money to get yet another Samsung i330.

I wonder if it’s worth trying to sell the old i330’s on eBay, since I still have one that works, plus a few USB cradles and batteries. I wonder if anyone is still buying them.

Back from another vacation, this time at the Club Ocean Villas II in Ocean City, Maryland

I haven’t posted anything new for the last two weeks because I’ve been incredibly busy. After our week of vacation in the Poconos back in August, we also went on a week of vacation to the Club Ocean Villas II in Ocean City, Maryland from September 17th through the 24th. The past week was spent recovering from our vacations (phew!) and getting back on track with life schedules and catching up with work. Throw in a quiet celebration of our sixth wedding anniversary and you can see why I haven’t had a chance to post until now.

We spent the week down in Ocean City, Maryland, in a timeshare called the Club Ocean Villas II, which is located at 105 120th Street in Ocean City, on the bay side. Our unit, #271, was on the “water” side, which meant we had to park the car and walk around the building to a little wooden boardwalk with no railings to get to the stairs up to our suite. Needless to say, having two very spirited and fearless young girls walking along what felt like a six foot wide boardwalk next to open water with no railings made me nervous, but they survived and we didn’t have to fish anyone out, not even once. The unit had its own private hot tub, which the girls enjoyed swimming around in when we weren’t at the beach or relaxing inside. (Yes, I know, I’m in trouble — even at this early age, my girls have a fine appreciation for hot tubbing. God, help me.)

I have to say, taking a beach vacation in September after school has resumed was a great strategy. We drove all the way down to the end of the Garden State Parkway to the Cape May/Lewes Ferry on a Saturday morning, making great time (took us just around three hours). It was great fun to ride this big boat for an hour, stretch our legs, and have some ice cream while we looked out across the water. Then, it took us another hour to drive from Lewes, Delaware, down to Ocean City, Maryland. I can’t imagine how grueling this drive must be in the heat of the summer with miles of traffic backing up all over the place, but at the end of September, it was a pleasant ride.

We spent a lot of time on the beach with the girls playing in the sand and splashing in the ocean. Luckily, the girls have my complexion so they tan rather than sunburn, but my wife — oh, does she burn — the first day at the beach, with no sunblock, turned her a nice shade of red lobster. We also decided to go to an amusement park called Baja Amusements (excuse their horrible Flash-based website, I’m just linking to it for posterity’s sake) on the other side of the Route 50 bridge towards Assateague Island. Speaking of Assateague Island, we also drove out there one day and saw the wild horses, which is special because we have a book about the “Assateague ponies” that we’ve been reading to the girls at bedtime for a while now, so it was nice to actually show them the place that the book is about.

Anyone who knows me well enough knows that I really don’t care for sightseeing. When I vacation, I vacation with my stomach — it’s all about the food. We went to the Embers restaurant for dinner one night, enjoying their all-you-can-eat seafood and prime rib buffet. Nothing like filling yourself up with mounds of snow crab legs and a hunk of beef. But, the best meal we had all week was had at Nick’s House of Ribs where we had a full rack of ribs and a steak. The girls really love their ribs; you can tell by the amount of barbequeue sauce they wear on their faces when they’re done. The food at Nick’s was fantastic, and Geoff, our server with the deep Keanu Reeves-like surfer voice, actually provided us the kind of speedy service that reminded us of New Jersey. (Oh, you never realize how spoiled you are about the speed of service you get in New Jersey until you leave it behind. You grow old waiting around at restaurants in Maryland.)

My girls, making silly faces for the camera on the boardwalk in Ocean City, MD.

Here’s a quick snap of the girls striking a pose on the boardwalk in Ocean City towards the end of our trip. The wife filled her craving for funnel cake — of course, the girls indulged themselves with only the powdered sugar on top. No sugar binge is complete without cotton candy, too. It turns out that Suzie (the younger daughter) really likes the Cup and Saucer carnival ride they had set up. She refers to it as the “cup and teapot” because she rides in a cup and there’s a big teapot in the center of the ride. I don’t know if she’s going to be as much of an adrenaline junkie as her older sister.

As you can tell, it was a very fun-filled week. No, it was jam-packed with fun and we were constantly on the move. We were thoroughly worn out by the end, ready to head home. I think we’ll definitely be going back to Ocean City again for a future family vacation.

JMS announces Babylon 5 scripts will be available in published book form, October 2005

J. Michael Straczynski (of Babylon 5 fame) recently posted a message to rec.arts.sf.tv.babylon5.moderated announcing that there could be a new series on its way, and that he’s making the Babylon 5 scripts available for purchase in published book form.

According to JMS, there will be 14 books each containing 7 scripts. A bonus 15th book will be available for those who purchase the whole 14-book set. The whole thing will cost anywhere from $420 to $560. Go to babylon5scripts.com — currently, you can only sign up to receive an email alert, but when the scripts become available, this is the site to go to.

UPDATE: The scripts and other B5-related items are now available for sale in Joe’s CafePress store. Thanks ukbab5!

Tags:
,
,

Panty-raiding cokehead arsonist? This wasn’t in the brochure …

I forgot to post this entry two weeks ago when I saw this originally, but better late than never, right?

Cops: Butler man set fire after stealing underwear
Toilet paper rolls used to start blaze at woman’s apartment
BY PEGGY WRIGHT
08/27/05 – Posted from the Daily Record newsroom

BUTLER — A part-time doughnut shop worker has been charged with breaking into an acquaintance’s apartment, stealing 27 pairs of her underwear and setting fire to her home by igniting rolls of toilet paper with a cigarette lighter, authorities said Friday.

Kenneth G. Morgan Jr. of Gifford Street, Butler, was first charged Thursday with breaking into the woman’s apartment at Butler Gardens around 2 a.m. Tuesday and stealing her panties and a bathing suit. While being held on burglary and theft charges in the Morris County jail, Morgan also was charged with committing aggravated arson at the same time he allegedly broke into the apartment.

[…]

On Aug. 18, five days before the fire, Morgan was charged by Butler police with possession of two grams of cocaine. He was released into his own custody after the drug arrest.

(via Topix.net: Butler, NJ)

Yes, even in the sleepy suburban town of Butler, NJ, we have a panty-raiding cokehead arsonist. Fantastic! Was that the sound of my house value dropping?

My ego feed found Samantha Burns and her crazy rants.

I stay pretty “plugged in” to the flow of information with the help of ego feeds, feed aggregators, real-time searches, etc. I generally look for places where I can get involved in conversations, but periodically I find a new voice who decides to either quote me or mention me by name or with a link. Recently, I’ve discovered The Crazy Rants of Samantha Burns and while her blog doesn’t have a biographical page that tells us a lot about her, she’s a prolific writer judging from the number of entries in the 3 months her blog has been up, and a well-written one judging from the quality of her entries.

The reason her blog showed up in my ego feed? She has my blog in rotation on the “random blogroll” section of her left-hand nav. Clever idea on her part, I have to admit. I have a feeling that while her blog is new, she’s not a newbie to the web publishing space and we’ll continue to see more clever stuff happening on her blog.

I just hope I can get her attention before one of the larger professional blog network guys snatches her up. We’ll see.

Modular exponentiation in Tcl for DSA signature verification using mpexpr

(Originally, I wrote this up on the Tcl’ers Wiki but wanted to post it to my blog, too.)

In struggling with implementing DSA signature verification (aka FIPS 186-2), I discovered that math::bignum::powm is slow. Using this algorithm for modular exponentiation (i.e., x = a^b mod y), it yielded a slightly faster implementation:

proc _modexp_bignum {m e n} {
    set p [fromstr 1]
    set zero [fromstr 0]
    set one [fromstr 1]
    set two [fromstr 2]
    while {[gt $e $zero]} {
        if {[eq [mod $e $two] $one]} {
            set p [mod [mul $p $m] $n]
        }
        set m [mod [mul $m $m] $n]
        set e [div $e $two]
    }
    return $p
}

However, this is still quite slow for large values. So, I converted the inner-workings to use mpexpr and the speedup is tremendous:

proc _modexp_mpexpr {m e n} {
    foreach v {m e n} {
        set $v [mpexpr [tostr [set $v]]]
    }
    set p [mpexpr 1]
    while {[mpexpr $e > 0]} {
        if {[mpexpr $e % 2 == 1]} {
            set p [mpexpr $p * $m % $n]
        }
        set m [mpexpr $m * $m % $n]
        set e [mpexpr $e / 2]
    }
    return [fromstr $p]
}

Here’s my script that I used to benchmark performance:

package require math::bignum
package require Mpexpr

set g [math::bignum::fromstr 0x626d027839ea0a13413163a55b4cb500299d5522956cefcb3bff10f399ce2c2e71cb9de5fa24babf58e5b79521925c9cc42e9f6f464b088cc572af53e6d78802]
set u1 [math::bignum::fromstr 0xbf655bd046f0b35ec791b004804afcbb8ef7d69d]
set p [math::bignum::fromstr 0x8df2a494492276aa3d25759bb06869cbeac0d83afb8d0cf7cbb8324f0d7882e5d0762fc5b7210eafc2e9adac32ab7aac49693dfbf83724c2ec0736ee31c80291]

# contains ::dsa namespace with _modexp_bignum and _modexp_mpexpr inside.
source dsa.tcl

set start [clock seconds]
puts "math::bignum::powm  [time {math::bignum::powm $g $u1 $p} 5]"
puts "dsa::_modexp_bignum [time {dsa::_modexp_bignum $g $u1 $p} 5]"
puts "dsa::_modexp_mpexpr [time {dsa::_modexp_mpexpr $g $u1 $p} 5]"
set end [clock seconds]

puts "Total elapsed: [expr {$end - $start}] seconds."

Here’s the output:

math::bignum::powm  55341757 microseconds per iteration
dsa::_modexp_bignum 56942386 microseconds per iteration
dsa::_modexp_mpexpr 311979 microseconds per iteration
Total elapsed: 563 seconds.

As the timings show, the math::bignum::powm and _modexp_bignum are comparable, but the _modexp_mpexpr trashes them both.

I hurt. I want to cry. I quit smoking today.

Today has been the hardest day in many, many years. It’s been incredibly hard to concentrate. I’ve had this dull throbbing in the back of my head all day. Once in a while, I want to just hold my head and cry, but when I do, nothing happens. My chest feels tight and I’m having a hard time taking deep breaths. I feel my body temperature sporadically jump and I start to sweat, just sitting still. My stomach feels like it’s tied in a knot. I can’t stop chewing the tips of my fingers. I have no fingernails left. I find myself biting my lip to distract myself. My sinuses won’t dry up so my nose won’t stop running. My eyes are puffy and swollen and itchy. Sometimes, I just want to bang my head against my desk until I pass out.

Today, at 1:00 PM, I quit smoking.

Lets see how long my willpower holds out. If tomorrow is anything like today, I don’t know if I can take another day like this one. I’d rather bite off my tongue and swallow it and choke to death, that’s how bad this feels.

Update: Ah, I just realized that this posted after midnight, so as clarification: I quit at 1:00 PM on September 6th, not on the 7th.

Is Socialmarks just another del.icio.us or Yahoo! My Web 2.0?

While looking over my blog’s referrer log reports, I spotted some hits from ping.socialmarks.com, which I didn’t recognize. Apparently, Socialmarks is a new project by Matt Kaufman which seems to be in an invite-only beta right now. (I submitted my email address, perhaps I’ll be offered an opportunity to give it a test-drive while its still in beta.)

Looking over the brief dsecription on the Socialmarks site itself, and eyeballing the screenshot, I still can’t figure out what this service is going to be. Is it just another del.icio.us shared bookmarks site, or more like Yahoo! My Web 2.0 which has more focus on social networks of bookmarks? There’s mention of feeds so perhaps it will be a bit like Bloglines, too.

Whatever it is, looking at the screenshot, at least the user interface design is pleasant and clean, so if there are useful features, I’m really looking forward to trying it out.