08.08.09
nice c libraries
these c library turned out to be pretty easy to use
(in trying to convert a visual c++ project (winhttp, xmllite, jpeg) to c++ in cygwin, using eclipse CDT)
http handling: libcrul http://curl.haxx.se/libcurl/
xml parsing: libxml2 http://xmlsoft.org/
(going to try jpeg library in cygwin)
04.17.09
difference between ClassLoader.loadClass and Class.forName
http://blog.bjhargrave.com/2007/07/why-do-classforname-and.html
03.06.09
how big is the maximum int in java
01.17.09
ClassCastException
I saw a ClassCastException when I was working on something with user class loaders. I immediately thought this had something to do with the class loader, but it turned out that I was wrong. It is something like this:
Vector<String> vector = new Vector<String>(); String[] array = (String[]) vector.toArray();
12.30.08
JFileChooser super slow
JFileChooser is crazily slow when there is a large ZIP file in the the opened directory. This is an old issue and a very very annoying problem. I just cannot believe that Sun refused to fix it – or they just cannot?
12.03.08
MVC pattern
08.22.07
software quality
“Our experiments to date suggest that by far the biggest quality factor in software remains the developer’s ability, and, in most experiments, analysts regularly record variations of a factor of 10 or more in the individuals’ performance. This appears to have little to do with any technology or even languages they might use.”
- Les Hatton, Kingston University, “The Chimera of Software Quality”, IEEE Computer, August 2007
P.S. This has not much to do with the above quotation, but I have to mention it. Quoted from the same paper: “I am a computational fluid dynamicist by training, …” That is really cool and encouraging to me. Don’t ask why.
08.19.07
it is a fact, not a shame
The program itself is the only complete description of what the program will do.
– P.J. Davis
algorithm
“In many applications, algorithm plays almost no role,
and certainly presents almost no problem.” – C.A.R. Hoare
This was quoted in the Millo paper.
program verification and mathematics
”Social Processes and Proofs of Theorems and Programs”
This 1979 paper by Millo et al is a great reading for programmers. Here is a PDF file.
“mathematicians publish 200,000 papers every years. A number of these are subsequently contradicted or otherwise disallowed, others are thrown into doubt, and most are ignored. Only a tiny fraction come to be understood and believed by any sizable group of mathematicians.”