7 Sep 2001 ignatz   » (Journeyer)

Had a very bad experience today with online testing. Was interviewing for a job using go ol' PHP, which is a language that while I am sick of, still consider it one of my strong suits, not that that says much about me.

So, I'm interviewing for this job with PHP and they ask me to take a test using proveit.com.

My favorite question:

Which expression does not result in $a = 5?

  1. $a = ($b = 5);
  2. $a = $b = 5;
  3. $a = 4; $a = ++$a;
  4. $a = 4; $a = $a++;
  5. $a = 5; $a = $a;
I don't want to know the answer. Anybody writing this sort of code should be taken out, tarred, feathered and put at the head of the St. Stupid's Day Parade. (I'm sure everyone took one look at that and said "D of course" and went back to smoking their bubble pipes.)

No questions about solving problems, or any sort of task that would demonstrate that you can program your way out of a paper bag. Just bizarre hell code language braindead trivia. BLEACH!

I can only imagine what sort of hell code they can come up with for perl. It's perfect for these sort of test companies looking to make sure that only mindless robots pass these tests.

Nice response from O'Reilly about the license of Jason Hunter's Servlet Book re my earlier rant that I attached to an email that I sent :

To: ignatz@sieve.net
Subject: Re: Possible error on Java Servlet Programming
In-reply-to: Your message of "Mon, 03 Sep 2001 16:07:59 
X-KB: n
X-By: chriso
Date: Tue, 04 Sep 2001 10:19:13 -0700
From: "O'Reilly Book Support" <booktech@oreilly.com>

Hi Chris,

Thanks for pointing that out! We appreciate it.

Jason Hunter wrote the com.oreilly.servlet package, and he decided on his licensing terms. We can't insist on our authors to make their code available as open source.

Thanks again for pointing out the error.

Chris Olson O'Reilly & Associates, Inc. O'Reilly Book Support booktech@oreilly.com

> Hi, > > Page 61 of Jason Hunter's Java Servlet Programming, 2nd edition > > in the code block: > > while (e.hasMoreElements()) { > GuestbookEntry entry = (GuestbookEntry) e.nextElement(); > name = entry.name; > if (name == null) name = "Unknown user"; > email = entry.email; > if (name == null) email = "Unknown email"; > > I believe that the final line should be: > if (email == null) email = "Unknown email"; > > > Great book! > > I only wish that the com.oreilly.servlet classes had a > more traditional open-source license so that they didn't > appear tainted to developers who would want to use them > in open-source projects. Since O'Reilly seems to be such > a champion of Open Source I'm surprised that they don't > practice what they preach. This is coming from a > developer that owns at least 30 different O'Reilly > books. For the last company I worked at when asked what > sourt of books we should buy for a company library, I > just said buy all of the O'Reilly books. I even bet that > having open source code in you editions is something that > your marketing department could use as a selling point.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!