Saturday, June 23, 2012

Alan Turing

Alan Mathison Turing, OBE, FRS (/ˈtjʊərɪŋ/ tewr-ing; 23 June 1912 – 7 June 1954), was a British mathematician, logician, cryptanalyst and computer scientist. He was highly influential in the development of computer science, providing a formalisation of the concepts of "algorithm" and "computation" with the Turing machine, which played a significant role in the creation of the modern computer.[1][2] Turing is widely considered to be the father of computer science and artificial intelligence.[3]

Sunday, June 17, 2012

Windows 8 Release Preview on ASUS R2H

ASUS R2H takes on Windows 8 Release Preview!

Installation not much different from before:

Pleasant first impressions, it’s probably the fastest Windows I’ve seen on the unit – scrolling Metro is fluid enough (fingernail obviously, the unit doesn’t do finger touch), desktop / Explorer UI generally responsive even with high CPU usage with background work.

Windows 8 Release Preview - ASUS R2H - Metro
Windows 8 Release Preview - ASUS R2H - My Computer
Windows 8 Release Preview - ASUS R2H - System Properties
Windows 8 Release Preview - ASUS R2H - Performance Rating

Thursday, June 7, 2012

JBoss 4.2.3 – Empty work directory on shutdown

A common problem I’ve had with customer installations at testing stage is that as they get updated .ear versions, they won’t see the changes made to .jsp pages until someone will manually remove the contents of the jboss\server\default\work directory.

That is because JBoss compiles the JSP pages into class files and persists them in the work directory, with the gain of not having to recompile them on next start. Problem is that it doesn’t seem to recompile them if there’s a timestamp difference between the source jsp and the .class file… Obviously a solution is to pre-compile JSP pages in your application and ship the .class files with your .ear.

But at the same time, an easy solution is to configure JBoss Web deployer to destroy the contents of the work directory at shutdown through configuration.
  <!-- Flag to delete the Work Dir on Context Destroy -–>
  <attribute name="DeleteWorkDirOnContextDestroy">true</attribute>