
I just received a new mail with an address in it.
Guess what, gmail added a google maps link on the right of the message! Freaky!

// simple namespace like ExtJs
Project = {
name : "joe"
}
// a bit like java package but with underscore
com_company_project = {
name : "joe"
}
// java package style
com = {
company : {
project : {
name : "joe"
}
}
}
// Yahoo style
// var X = YAHOO.util.Dom.get();
PROJECT = {
core : {
Functionality : {
name : "joe"
}
}
}
function display() {
console.log("namespaces");
console.log("root: " + Project.name);
console.log("unscore: " + com_company_project.name);
console.log("nested: " + com.company.project.name);
console.log("yahoo: " + PROJECT.core.Functionality.name);
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Javascript</title>
<script type="text/javascript" src="namespaces.js"></script>
</head>
<body>
<h1>Javascript</h1>
<h2>consoleLog</h2>
<div id="consoleLog">
<input type="submit" value="console.log" onclick="javascript:display();"/>
</div>
</body>
</html>
| Release | Date | Platform version | Projects |
|---|---|---|---|
| Eclipse 3.0 | 28 June 2004 | 3.0 | |
| Eclipse 3.1 | 28 June 2005 | 3.1 | |
| Callisto | 30 June 2006 | 3.2 | Callisto projects |
| Europa | 29 June 2007 | 3.3 | Europa projects |
| Ganymede | 25 June 2008 | 3.4 | Ganymede projects |
| Galileo | 24 June 2009 | 3.5 | Galileo projects |
"Do I really need to update so many things?! I'm pretty sure something will break..."I think it would be better to hide it or group things in big categories like "update eclipse (core)", update spring plugin" etc...

...writing good multi-threading code is hard. Very hard. So why bother? Why not use a language that handles multiple threads more gracefully?
Need a nice web-based user interface? Why not use Ruby on Rails via JRuby
It's all about choosing the right tool for the job and leveraging it correctly.
XPath: //category[@name='abc'] is equivalent to Sql: select * from category where name ='abc'XPath: //category[contains(@name, 'abc')] is equivalent to Sql: select * from category where name like '%abc%'