Archives for 2004

don’t throw out your manager just yet

As a long-time fan and practitioner of Extreme Programming (a lightweight or “Agile” software development methodology), I ran across an excellent article in Software Development magazine entitled You’re Still Needed (free registration req’d) by Esther Derby and Diana Larsen.

Esther and Diane do a great job of describing specific ways a traditional “manager” in a software development team can (must?) change their role and activities to best mesh with an Agile team. For anyone who’s a manager in the field now who’s feeling threatened by the whole Agile movement, I strongly suggest you read this article.

need more wool for those eyes?

Living in New Jersey, I try and keep abreast of timely issues. What’s hot right now? Governor James McGreevy came out of the closet as a homosexual and announced his resignation.

What I find funny (or, perhaps sad) is the reaction and response to this from the general public. The LGBT groups have jumped on the bandwagon worshipping him as another “out” public figure. The media has been busy working up the scandal of his alleged affair with Golan Cipel. But, that’s all just a load of wool and the public’s eyes have been covered, it seems.

Steve Yuhas wrote an article that comes close to the real issue, but misses the point, too.

So, what is the point? What question should we be occupied with? In Socratic style, I’ll start with a question:

What will become of the position of Governor in NJ?

McGreevy hasn’t resigned. He has only announced his resignation. Quoting the CNN article linked above:

His resignation will take effect November 15, and State Senate President Richard Codey, a fellow Democrat, will serve the the remainder of his term, which ends in January 2006.

If McGreevey’s resignation had taken effect before September 15, state law would have required a special gubernatorial election on November 2.

Essentially, the Democrats get to appoint Richard Codey as NJ Governor through January 2006 without the chance of an election. How convenient. So, what of this Codey fellow? Here’s a statement he made following the McGreevy announcement. Here’s a quote from an interesting blurb about him:

[…] Codey is extremely knowlegable about both harness and thoroughbred racing and has backed racing related legislation in the past.

Codey’s brother, Don, is the general manager of Freehold Raceway in New Jersey.

The common element here is both McGreevy and Codey using their positions to protect their personal interests. What about serving the State of New Jersey?

I’m no fan of our former Republican Governors like Christine Whitman, but we need someone who will work to bring more big businesses into New Jersey and create real jobs in big companies instead of just upgrading folks from welfare up to minimum wage jobs. After 9/11, I wouldn’t be surprised if companies are more seriously considering NJ for their offices over instead of Manhattan. Lets make NJ really attractive to them so their decision becomes trivially easy to make.

microsoft inbound connection limit nazi says: no connection for you!

So, I put together a Win32 binary release of AOLserver 4 and decided to do some benchmarking on my Dell C840 laptop running WinXP Home.

To my surprise, I discovered that Microsoft has imposed an Inbound Connections Limit in Windows XP! Of course, this is nothing new — Microsoft introduced this back in 1996 or thereabouts with the release of Windows NT 4.0 Workstation. I found a good article by Tim O’Reilly about it. In his article, he indicates that only inbound connections on “reserved ports” (those below 1024) are supposed to be limited, but my tests on WinXP Home show that even port 8000 is being limited.

In these Microsoft KB articles it seems that the limit may be controlled by a registry setting:

Check to see if the server was configured by upgrading a computer running Windows NT Workstation to Windows NT Server. If it was, the following registry parameter may need to be increased from a hex value of 0xa (10) to 0xFFFFFFFF:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\Users

However, twiddling that setting doesn’t seem to make any difference — I bet the value is baked into one of the DLLs that the non-Server versions ship with.

So, the bad news is that unless you’re running one of the “Server” versions of Windows, your going to be hurt by this foolish inbound connection limit. This means that running a web server on your non-Server machine may flake out if your application that you’re developing initiates many requests quickly — things like Web Services-like traffic in an IFRAME or hidden DIV come to mind.

Perhaps Microsoft could release a “WinXP Developer” edition that’s the same price and feature set as WinXP Professional but without the connection limit. Production servers should still use the Server edition, but at least this way folks can do development and testing without paying the ridiculous cost of a Server license for their desktop machine!

spammers go away

OK, early this morning I had the pleasure of finding that some blog spammers blessed me with 150 new comment spams. Took me almost a whole 5 minutes to delete them all …

What does this mean? I’ve gone and disabled the MT comment script, so you can’t leave comments (nor spam) anymore. When I get some time, I’ll implement a better comment system and then everything will be back to normal. But for now, there’s more folks leaving spam in my blog than real comments, so — I’m turning it off.

alcohol + SUV = Grand Theft Auto sim?

Apparently someone got liquored up, hopped in his GMC Yukon SUV, and went on a rampage, smashing up 17 cars and doing a bunch of property damage.

Police arrested Matthew Lyman, 24, on suspicion of driving under the influence and multiple counts of hit-and-run driving.

Witnesses said that the destruction began some time after 2 a.m. Tuesday when a dark GMC Yukon SUV began smashing into parked cars. The driver went north on Mission Boulevard, turned east on Turquoise Street, south on Bayard Street and then headed back toward the beach on Tourmaline Street. All along the way, he smashed into cars parked at the curb, demolishing many of them.

Someone posted a series of pictures in an excellent photo-essay: How many cars can you hit in one night???.

One fire hydrant, one flower shop, one dog, and nineteen cars, not including his own (I omitted pictures of four cars with minor damage).

And people say New Jersey drivers are bad …

go go gadget thumbs!

So, it appears that people actually try to set records for sending text messages on cellphones. There’s even a $17,500 prize for the winner, Kimberly Yeo. She managed to press those little mini-chicklets fast enough to type this 160-character message in 43 seconds:

“The razor-toothed piranhas of the genera Serrasalmus and Pygocentrus are the most ferocious freshwater fish in the world. In reality they seldom attack a human.”

But, who ever would type a message like that, anyway? The real question is: how many seconds does it take to text “hey u wanna mak hot fuk after skool”?

archetypus, an enigma

Thinking of places to go and hang out in New Jersey, I remembered a place I used to go in my youth: Cafe Enigma, in Edgewater. Of course, it’s been many years since it was known as Enigma (and I’m sure most folks today who know about the place don’t even know it was once called Enigma), and it’s no longer where it used to be in Edgewater (it’s moved a few buildings down the same street), but the decor has slowly been reconstructed but this time in a much larger space, and with what seems to be a much larger budget.

Today, the place is known as Cafe Archetypus (map, directions), located on 266 River Road in Edgewater, NJ. However, with recent construction (recent being the past 5 years or so), Edgewater has split River Road onto a newly paved road and left the original River Road as Old River Road. Archetypus may be on Old River Road, although even their website doesn’t mention this.

Anyhow, if you’re in New Jersey and are looking for a place to simply hang out with friends, talk and examine some really creative uses for plaster and lighting, definitely give this place a visit. You might just find me there, one night.

aolserver, php and stack size

Today, Cristian Andrei Calin asked on the AOLSERVER mailing list (and here’s my final response containing the solution outlined below) about getting PHP working under AOLserver. Specifically, trying to get phpBB2 working, which was causing AOLserver to crash. So, being the ever-so-eager-to-help self, I decided to download the latest phpBB2 code and try and install it.

After lots of walking of stack-traces of core dumps in gdb, it dawned on me: I should check the per-thread stack size in AOLserver! Duh. Yes, I had it set to the default of 128KB. Increasing it to 1MB made everything work perfectly.

To check what your server’s current stack size is, connect to the control port (aka “nscp into your server”) and issue the command:

  nscp> ns_config ns/threads stacksize
  131072

There, it’s telling me that the stack size is 131,072 bytes (or 128KB). Increase it by modifying your config .tcl file like so:

  ns_section "ns/threads"
  ns_param stacksize [expr 1024 * 1024]    ;# 1MB

For sites that run a lot of PHP, you may want to increase it to 4MB or even larger, depending on your needs.

hail to the chief

On May 20, the official announcement went out that I am now the project leader for AOLserver.

What is AOLserver? It’s a highly scalable, multi-threaded web server that powers many large web sites across the Internet. Like Apache, it is also free and open source. Tcl is the primary scripting language for building applications that run on AOLserver, but support for Java, PHP, Python and others are being added or made better every day.

I’ve posted a roadmap up on the AOLserver Wiki which should give everyone an idea of what my goals for the project are in the next couple of months of 2004.

I welcome everyone who’s interested in AOLserver to join the AOLSERVER mailing list (archives). I hope to see you there!

live, or memorex?

Apparently, Andy Kaufman has come back from the dead on May 16th, 2004, 20 years after he “died.” He’s so alive, he’s even got his own blog.

Do I think he faked his death? Yes, it’d be an ultimate performance that few others can try to even out-do. However, it’d be even more surreal if people firmly believe that he faked his death, but he really did die back on May 16th, 1984 — that’d almost be more Andy-like than him faking his death and coming back 20 years later … living a life such that when he died, people would readily believe he faked his death, only to, sometime in distant future, learn that he really did die that day. Joke’s on them, and Andy’s getting the last laugh, as usual.

Do I think it’s really his blog? Sure — why not, if he truly is still alive. Some folks would believe he’s dead and the blog is a well-timed hoax. Some would say “see, I told you he faked his death and he’s still alive, and this blog is proof!” Idiots. Blogs claiming to be owned by someone else are not proof of that person’s existance. There have been plenty of people who invent fictitious people and start a blog as them and convince many people that they are a real person, then reveal a terminal disease which they subsequently die from, and watch as (gullible) real people weep for them.

“There’s a sucker born every minute.” — David Hannum

Now, before you complain about me mis-attributing that quote and that it was P. T. Barnum who said it, read this first. Only fitting that the most appropriate quote to describe Andy Kaufman’s hoax is itself related to a great hoax about the Cardiff Giant.

Update: Looks like Snopes has a good write-up of the hoax status now. Here’s the link.