Archive for February, 2007
Java Type’s Weak System
Engineering Humor
Two engineering students were walking across a university campus when one said, “Where did you get such a great bike?” The second engineer replied, “Well, I was walking along yesterday, minding my own business, when a beautiful woman rode up on this bike, threw it to the ground, took off all her clothes and said, [...]
logback
Successor to log4j? It has an interesting pedigree though I’m not sure it will (or should) supplant log4j any time soon. But I’m not convinced it won’t either. It still uses that printf-style API which I find so repugnant (just like log4j), though it seems to have some minor refinements. Worth keeping an eye on.
My First Jython Patch
More JSR 311
JSR 311
JSR-311 Java API for RESTful Web Services Ummm, OK. Good in concept, but considering the, er, mixed quality coming out of JSRland I’m not sure I’m keen on this. Sidebar: Is ‘random quality’ a less disparaging term? I could enumerate reasons to be uneasily concerned about the outcome, but others have already done the job [...]
Jython patch for os.path.normcase
Jython bug 1648449 Problem is javaos.py always unconditionally loads javapath Line 31: import javapath as path This despite the comment at the top Line 6: – os.path is one of the modules posixpath, ntpath, macpath, or dospath To ‘fix’ aka to make os.path act like the native underlying OS-isms, rather than ‘java-isms’, replace the unconditional [...]
JSR 310
Finally. Gee. Ummm, yay. Sorry, yes it’s a good thing, but I just can’t get excited about it. This is a decade later than it should have been, and should have happened in 1.5 consdering all features stolen from C# evolved from experience in Java and the industry. At least Joda-Time can be used until [...]
DST 2007
Qote
What is Qore? Qore is a modular, multi-threaded, embeddable, SQL-integrated weakly-typed scripting language with procedural and object-oriented features, powerful and easy-to-use data types, structures, and operators, perl5-compatible regular expressions, and a clean and easy-to-learn/read syntax (at least for programmers already familiar with C, C++, Java, and/or perl).
“Unordered Associated Containers”
C++ TR1 doesn’t call them ‘hashtables’: Austern explained changes in function libraries, built-in random number generators, and hash tables, which are now called “Unordered Associative Containers.” “That [wording] was mildly unfortunate, but it was necessary,” Austern said, heading into some detail on the new regular expression model that’s built into TR1. Probably to avoid name [...]
“Deprecated”
A little dated, but useful nonetheless. ISO wasn’t pleased with Microsoft’s hubris: In the beta version of Visual C++ 8.0, one well-known C++ expert reported, the use of a common std::copy() call generates a warning that std::copy() has been deprecated. According to Danny Kalev, doing so is a violation of the C++ standards, because the [...]

