Showing posts from April, 2009

Using water to create nanoscale power cells - Ars Technica

Using water to create nanoscale power cells - Ars Technica: "Using water to create nanoscale power cells

Chemists use computational modeling to figure out why a hydroelectricvoltage is generated when water is pushed through a single-walled carbon nanotube.
By Yun Xie | Last updated April 22, 2009"

Image via WikipediaRelated articles by ZemantaBionic Human Coming Soon: Carbon Nanotubes Muscles (

Apache Ant - Frequently Asked Questions

Apache Ant - Frequently Asked Questions: "Why do you call it Ant?

According to Ant's original author, James Duncan Davidson, the name is an acronym for 'Another Neat Tool'.

Later explanations go along the lines of 'ants do an extremely good job at building things', or 'ants are very small and can carry a weight dozens of times their own' - describing what Ant is intended to be."

Dijkstra's algorithm

Dijkstra's algorithm, conceived by Dutch computer scientistEdsger Dijkstra in 1959, [1] is a graph search algorithm that solves the single-source shortest path problem for a graph with nonnegative edge path costs, producing a shortest path tree. This algorithm is often used in routing.For a given source vertex (node) in the graph, the algorithm finds the path with lowest cost (i.e. the shortest path) between that vertex and every other vertex. It can also be used for finding costs of shortest paths from a single vertex to a single destination vertex by stopping the algorithm once the shortest path to the destination vertex has been determined. For example, if the vertices of the graph represent cities and edge path costs represent driving distances between pairs of cities connected by a direct road, Dijkstra's algorithm can be used to find the shortest route between one city and all other cities. As a result, the shortest path first is widely used in network routing protocols,…


Image via Wikipedia"Groovy is like a super version of Java. It can leverage Java's enterprise capabilities but also has cool productivity features like closures, builders and dynamic typing. If you are a developer, tester or script guru, you have to love Groovy.'

Groovy is a relatively new language which emerged in about 2003. It has attracted a large following of Java programmers/developers who appreciate the enhanced, advanced features which extend Java. Groovy is not commercial software but open source software supported by a large community of developers. As indicated above, it is a way to simplify and enhance Java Programming."

Groovy facts:
Since the passage of JSR-241, Groovy is the second standard language for
the Java platform (the first being the Java language)GROOVY “A situation or an activity that one enjoys or to which one is especially well suited (found his groove playing bass in a trio). A very pleasurable experience; enjoy oneself (just sitting around…

Twitter jilts Ruby for Scala

"For this sort of heavy lifting, languages like Java and C++ may be as fast as Scala. But Payne wants more than speed. He prefers Scala because it combines functional and object-oriented techniques. 'Functions are objects, and objects are functions,' he said. 'Scala asks can you have the best of these two worlds together? And you can.'

But he also prefers Scala because it's, well, beautiful. 'It's a fuzzy thing. But we like writing beautiful code, code that you're proud of, code that you can show to non-programmers and they get it.'

When Twitter made the Scala switch, it wasn't using Java Virtual Machines (JVMs). But, Payne argues, the language is that much more attractive if you're already running Java.

'The biggest selling point for certain organizations is that Scala is 100 per cent compatible with your existing JVM code. There's no wrappers. There's no bullshit. You just load up your JVM code and call in to it, and there…

G.M. Conjures Up a People-Moving Pod - Wheels Blog -

G.M. Conjures Up a People-Moving Pod - Wheels Blog - "G.M. Conjures Up a People-Moving Pod
By Jim Motavalli
P.U.M.A. prototype G.M.’s P.U.M.A. prototype in Manhattan.

General Motors may be so short of cash that bankruptcy is among its dwindling options, but the company is still in the business of creating dreams."

Jython Programming

Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.Dynamic compilation to Java bytecodes - leads to highest possible performance without sacrificing interactivity.Ability to extend existing Java classes in Jython - allows effective use of abstract classes.Optional static compilation - allows creation of applets, servlets, beans, ...Bean Properties - make use of Java packages much easier.Making Jython Scripts ExecutableTo make a jython ".py" file executable on a Unix system:Make sure that jython is on your standard PATH.Make the ".py" file executable. Typically, this is done with the command chmod +x foo.pyAdd the following line to the top of the file:#! /usr/bin/env jython
About performance
Because Jy…