Archives for 2005

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.

Quit smoking by smoking … lettuce? Bravo Smokes for smoking cessation.

On my lengthy commute, I tend to listen to a lot of radio. The other day, I heard a radio ad for Bravo Smokes, advertised as an alternate way of quitting smoking. Highlighted in their advertisement and echoed on their site is the fact that their faux cigarettes are made of lettuce:

BRAVO® is made from the leaves of pure fresh lettuce, processed and treated with enzymes and flavored pleasantly with organic herbal extracts.

Now, I’m a smoker. I love smoking. I don’t just mean that I’m addicted to nicotine. I mean, I love smoking. I love the ritual of it, the taste and after-taste, the social aspects of it, the physical and physiological effects of it, everything. But, I also realize the many proclaimed negative side-effects of smoking, so I’ve begun the process of quitting, for the sake of my health, my wife and kids and our finances. So, this ad drew my attention and got me curious, so I had to look into this new Bravo Smokes product.

At first glance, it sounds like a great idea: smoking cessation through a tobacco-less and nicotine-less smoking substitute. Actually, it really is a great idea, but what about the cost? Today’s prices for a pack of name-brand cigarettes in New Jersey hovers around the $6-range (yes, and people whine like little babies about the cost of gasoline, give me a break). There’s very little benefit in buying cigarettes in 10-pack cartons, maybe saving a few dollars overall. According to the NJ Taxation website, as of May 2005, state tax on cigarettes is $2.40 per pack — this is state cigarette tax only. According to the RJ Reynolds website, there’s an additional $0.39 per pack of federal excise tax. So, before sales tax, on a $6.00 pack of cigarettes in New Jersey, $2.79 of that is pure taxes. In other words, the retail price of the cigarettes before taxes is a much more reasonable $3.21 per pack. Got that?

Back to the Bravo Smokes product, according to their online store, the “Heavy Smoker’s Survival Kit” — regardless of state you’re ordering from, because there should be no state or federal cigarette tax since these aren’t cigarettes — costs $92.50 as of this writing. What do you get for your money? Eighteen (18) packs of Bravo Smokes along with a how-to guide on quitting smoking. Assume for a moment that the how-to guide has no value, in which case they’re charging $5.13 per pack of their Bravo Smokes. What is wrong with this picture?

Okay, fine — I’ll concede that the how-to guide and other included literature have some non-zero value. So, how much do they need to be valued in order to “break even” with 18 packs of pre-tax cigarettes? $3.21 * 18 = $57.78. $92.50 – $57.78 = $34.72. Any smoker reading this who thinks that the non-smokable literature is worth nearly $35, raise your hand. I didn’t think so. The reality is, lettuce has to be cheaper to grow and farm than tobacco, so they should cost less than real cigarettes anyway, which means the implied value of the literature is even higher.

This is exactly the problem with the entire smoking cessation product industry — they realize that smokers are willing to pay exorbitant prices to feed their tobacco and nicotine addictions, so they jack the pricing on their products to match. What’s forgotten is that unless the smoking cessation products are made cheaper than the costs of the actual smoking itself, it just doesn’t make sense to use them and quit — in the short term. Of course I realize that the long-term cost savings of not smoking at all outweigh the recurring costs of cigarettes, but that’s not how these kinds of decisions are often made. If we avoided spending money on short-term luxuries because of their long-term costs, think about how few things people would actually ever spend their money on. I wonder what the guys behind Freakonomics have thought about this and what they might have to say.

On a positive note, through sheer will-power alone, I’ve reduced my smoking habit from just under a pack a day (roughly 18 cigarettes a day) down to between 6 to 8 cigarettes a day. I’ll do this for a few months, until I don’t feel quite so on-edge when I’m actively resisting the urge to smoke, and then I’ll probably cut it down to 3 to 4 cigarettes a day or maybe less. Then, eventually, I’ll just quit smoking cigarettes altogether …

… but it would have been nice if a pack of Bravo Smokes cost $1.50, because then I’d just keep smoking those, instead. :-) Oh well!

Update: Found this interesting document from the owner of Bravo Smokes: Statement by Puzant C. Torigian, President, Bravo Smokes, Inc., Hereford, Texas Before Committee on Commerce of the United States Senate. It’s an interesting read, if nothing else.

Going offline, on vacation, at the Split Rock Resort in the Poconos of Pennsyltucky

Earlier this month, we went on a family vacation, staying at the Split Rock Resort up in Lake Harmony, PA, in one of their Westwood Villas through an RCI timeshare swap. The accomodations were adequate — two bedrooms each with their own queen sized beds, a reasonably sized kitchen and living area with a TV with a combo VHS/DVD player. The Split Rock Resort, itself, actually does a good job at offering activities that really young children can enjoy, such as affordable mini-golf, a lakeside beach, an indoor pool, bowling lanes and a movie theater. At the end of the week when we were there, they were showing Charlie and the Chocolate Factory, which we took the girls to see, so that was lucky.

Overall, it was a good vacation in Pennsyltucky which, for our family, is unusual since the last four of five times we’ve tried to vacation there, we’ve had nothing but bad luck. I mean, we’d experienced things such as horrible illness that sets in after we arrive like explosive diarrhea, or our older daughter experiencing night terrors for the first time on the night we arrived, which prompted us to just pack up and leave that same night, or finding out that the resort’s indoor pool was closed for maintenance, leaving us very little to do in the off-season. Of course, people try to tell me that “it has nothing to do with Pennsylvania,” but we’ve vacationed in New Hampshire, Virginia and Massachusetts and we’ve only had these experiences when we go to Pennsylvania. So, yes, correlation is not causation, but when does it stop being mere coincidence?

What surprised me the most about this trip was that even today, in 2005, the best network connection I could get was dial-up. Yes, I do realize this is still Pennsyltucky after all, but I was naively hoping that the Poconos, being as close to New Jersey as it is, might have finally caught up with the times. I was hoping for some form of broadband connection, either wired Ethernet jack somewhere in the Villa, or at best, some Wi-Fi. I would have been glad to settle for having to sit my laptop down in some cheesy office in the main building in order to get connectivity, but it seems even that was too high-tech. Hell, when I asked the front desk about my inability to find some form of broadband connectivity, the person looked back at me as though I was an alien from another planet, speaking a language they didn’t understand. The notion of anything other than dial-up was completely foreign to these people. Come on, folks, it’s time to retire the buggy whip, already.

I guess the one comforting thing about this is that it’s exactly places like good old Lake Harmony, PA, completely oblivious of anything other than dial-up Internet access, that will keep companies like AOL in business for many years to come as long as they continue to offer some reasonable form of narrowband product.

ActiveState Adds Expect for Windows to ActiveTcl

Jeff Hobbs writes to the Tcl-announce mailing list that ActiveState has added Expect for Windows to ActiveTcl (Press Release). From the announcement, you can now go and download ActiveTcl 8.4.11 (for Windows) with Expect for Windows, for free.

Typically, only Unix system administrators have known about Expect and it’s ability simplify routine tasks through automation. Now, their Windows-laden counterparts can hopefully start to enjoy the same benefits. I’m hoping this will create an increase in the number of people learning the Tcl programming language, which happens to be one of my favorites. Maybe it could even lead to more folks getting interested in AOLserver again.

According to the announcement, ActiveState’s Expect for Windows is based on Expect 5.43, and “ActiveState will be working with the community to open source Expect for Windows in the near future.” This is great news — ActiveState has always maintained a strong committment to support and maintain its involvement in the open source community. Once those changes are integrated back into the open source version of Expect, I’m hoping a new build of Tclkit for Win32 won’t be far behind.

I’d like to take this opportunity to thank all the folks at ActiveState and in the open source community who have collectively made this all possible. It’s great to be a part of something so wonderful.