There is nothing more frustrating for me than inextensible software, where one has to fight to add a feature. Evolution be damned, get it 99% right the first time is what I feel. Pragmatically, this may not be possible, but then again make sure that your design can extend to that 99%!
This is a really useful post on Slashdot Developers. This guy has taken the pains to benchmark Linux and other OS’s. There is also a useful talk about Scalable network services.
This is a nice article I thought, extremely personal and intelligent, not about techie stuff but simply about an extraordinary accidental revolutionary.
The Question is, the Ultimate Question about the Life the Universe and Everything. It’s the question that was asked to the mega-computer that is actually the Earth in Douglas Adam’s the “HitchHikers Guide to The Galaxy” where the Earth is basically part of a large experiment run by mice. Humanity happens to be part of the large experiment, but only believe that they may experiment on mice since they are more intelligent. It’s actually the other way around.
To Quote the Wikipedia:
The answer to the Ultimate Question of Life, the Universe and Everything, as given by the supercomputer Deep Thought to a group of mice in Douglas Adams’s comic science fiction series The Hitchhiker’s Guide to the Galaxy, is “42”. According to the Guide, mice are 3-dimensional profiles of a pan-dimensional, super-intelligent race of beings. They built Deep Thought, the second greatest computer of all time and space, to tell them the answer to the question of life, the universe and everything. After seven and a half million years the computer divulges the answer: 42.
“Forty-two!” yelled Loonquawl. “Is that all you’ve got to show for seven and a half million years’ work?”
“I checked it very thoroughly,” said the computer, “and that quite definitely is the answer. I think the problem, to be quite honest with you, is that you’ve never actually known what the question is.”
The computer informs the researchers that it will build them a second and greater computer, incorporating living beings as part of its computational matrix, to tell them what the question is. That computer was called Earth and was so big that it was often mistaken for a planet. The question was lost minutes before it was to be outputted, by the Vogons’ demolition of the Earth, supposedly to build a hyperspace bypass. (Later in the series, it is revealed that the Vogons had been hired to destroy the Earth by a consortium of philosophers and psychiatrists who feared for their jobs should the meaning of life become common knowledge.)
Anyhow, coming back to the question, the answer to the question is “42”. However, there are certain basic traps here. The “Ultimate Question” is extremely vague and omnipotent. For example, the philosopher might ask, “what is the meaning of life?” or I might ask “is there a pattern behind the universe?”, or as Franky and Benji mouse (from the book) might ask “what is the fargin question that deserves 42 as an answer?”.
Franky and Benjy mouse are the only survivors after Earth blows up and were conducting the “Experiment” (to determine the Ultimate question AFTER they found out that the answer to that question was “42”).
Arthur Dent happens to be the only survivor of humanity and part of that experiment. So the mice propose to dice his brain to extract the answer. However, Arthur manages to escape Unscathed. To quote Wikipedia:
Already booked for a round of talk-show appearances to reveal the Question, the mice become desperate to discover it. During a meeting with Arthur Dent and his companions on the planet Magrathea, Frankie and Benjy mouse reveal a plan to extract the ultimate question from Arthur’s brain. Since this involves removing and dicing his brain, Arthur is unwilling to go along with the plan. He manages to escape from them unscathed.
Lacking a real answer, the mice proposed to use “How many roads must a man walk down?” as the question for talk-shows (having rejected the question, “What’s yellow and dangerous?” – actually a riddle whose answer, not given by Adams, is “Shark-infested custard”).
At the end of the book The Restaurant at the End of the Universe (volume 2 of the Hitchhiker’s trilogy), Arthur Dent (as the last human to have left the Earth before its destruction, and therefore the portion of the computer matrix most likely to hold the question) attempts to discover the Question by extracting it from his unconscious mind, through pulling Scrabble letters at random out of a sack. The result is the sentence “WHAT DO YOU GET IF YOU MULTIPLY SIX BY NINE”.
“Six by nine. Forty-two.”
“That’s it. That’s all there is.”
Since 6 x 9 = 54, this being the question would imply that the universe is bizarre and irrational; on the other hand, there is no proof that this was the actual question. After all, Arthur Dent comprised only a minuscule fragment of the vast and complex computer matrix that was the Earth, and besides, it was stated that the computer’s run had not finished when it was destroyed. In addition, Arthur and Ford realized that the original ape-like inhabitants of Earth were displaced by the Golgafrinchans, which could account for the irrational nature of the question in Arthur’s mind (as he himself is a descendant of the Golgafrinchans).
However, it was later pointed out that 6 x 9 = 42 if the calculations are performed in base 13, not base 10. Douglas Adams was not aware of this at the time, and has denied that base 13 has anything to do with it.
Now let’s look at the answer, lot’s of people have construed the answer to fit many explanations, one explanation has already been offered above (base 13, 🙂 13 diners at the last supper, Google, Deep Thought, blah blah). Douglas Adams has denied it ALL. He say’s it WAS A JOKE goddamit. He never intended it to be anything with significant meaning, he just wanted to write his book.
Which brings us back to the question, which can now be (finally) conveniently phrased, Is Life, the Universe and Everything else part of a big JOKE? Yes, you know the rest…
Performance Bicycles at Overlake have given me an Upgrade instead. I took the defective Head-Lamp to thier shop, they gave me a $10 upgrade to a Cat-Eye head and tail lamp for free.
I chose not buy the same Head/Tail Lamp from GI-Joes since it used a combination of LR-03 (AAA) & LR-06 (AA) Batteries. I wanted something that used just AA.
Methods return booleans to indicate pass/fail had better be doing something very simple. When In doubt throw the Exception instead :).
Added this today (Oct 15th)
Exceptions over Status returns, a well-thought out argument
I don’t agree with Joel Spolsky on Exceptions, he prefers a true/false/null/Error Value scenario?
The library should throw the IOException all the way up so that the application can do something with it (rather than allow the underlying library to dump the exception to the log repeatedly)
I don’t know why you would want to hide the exception after all? What if the connection that caused the exception had to be reset. Fundamentally, confused is the function of the library and the fact that managing connections is the responsibility of the application. Thats what happens when your stream is embedded so deep into a stack trace of several method calls in a library. Bah humbug.
I am very dissapointed with the Head & Tail Lamp I purchased from Performance Bicycles. It took me an hour and a half to get to Overlake and buy the Parts. The head lamp turned out to be defective. 🙁
I wish I didn't have to go back. But I guess I have no choice…