Is this an advantage of a linked list over an array?

8 September, 2008 (00:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

Since a linked list is composed of references, it doesn’t have to maintain spatial locality like an array does. This leads to more efficient memory allocation.

Cutting Emissions

7 September, 2008 (21:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m very much in favour of cutting emissions but I found the headline of this article
http://www.smh.com.au/news/environment/light-bulbs-ban-to-slash-emissions/2007/02/19/1171733685061.html

to be somewhat inconsistent with its own facts
The Federal Government estimates replacing the old bulbs with compact fluorescents in homes could cut greenhouse gas emissions by as much as 800,000 tonnes a year in 2008-12. Australia’s emissions in 2004 totalled [...]

What is a real world use for using a method local inner class?

7 September, 2008 (12:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I am studying for 310-055 and I understand the rules for a method local inner class. But I was wondering what is a real world usage for this type of inner class?

–Todd

Cutting Emissions

7 September, 2008 (09:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m very much in favour of cutting emissions but I found the headline of this article
http://www.smh.com.au/news/environment/light-bulbs-ban-to-slash-emissions/2007/02/19/1171733685061.html

to be somewhat inconsistent with its own facts
The Federal Government estimates replacing the old bulbs with compact fluorescents in homes could cut greenhouse gas emissions by as much as 800,000 tonnes a year in 2008-12. Australia’s emissions in 2004 totalled [...]

Regex not matching an expression

7 September, 2008 (06:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

Hello, I’ve just started using regular expressions and I have a question: I’ve wanted to create a regex which matches all strings starting with <!– and possibly ending with –>, with the exception that the string –> cannot appear…

Cutting Emissions

7 September, 2008 (03:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m very much in favour of cutting emissions but I found the headline of this article
http://www.smh.com.au/news/environment/light-bulbs-ban-to-slash-emissions/2007/02/19/1171733685061.html

to be somewhat inconsistent with its own facts
The Federal Government estimates replacing the old bulbs with compact fluorescents in homes could cut greenhouse gas emissions by as much as 800,000 tonnes a year in 2008-12. Australia’s emissions in 2004 totalled [...]

Child classes with an unknown number of dimensions and Generics

7 September, 2008 (00:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m trying to write a class for representing datapoints (Unimaginatively called “DataPoint”). This will be used as a super class to different types of data. Different child classes will have a different number of dimensions.

Cutting Emissions

6 September, 2008 (21:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m very much in favour of cutting emissions but I found the headline of this article
http://www.smh.com.au/news/environment/light-bulbs-ban-to-slash-emissions/2007/02/19/1171733685061.html

to be somewhat inconsistent with its own facts
The Federal Government estimates replacing the old bulbs with compact fluorescents in homes could cut greenhouse gas emissions by as much as 800,000 tonnes a year in 2008-12. Australia’s emissions in 2004 totalled [...]

How come the JRE uses == to compare Strings?

6 September, 2008 (12:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I was looking through the source of javax.swing.plaf.basic.BasicComboBoxUI and came across this:

        public void

Cutting Emissions

6 September, 2008 (09:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I’m very much in favour of cutting emissions but I found the headline of this article
http://www.smh.com.au/news/environment/light-bulbs-ban-to-slash-emissions/2007/02/19/1171733685061.html

to be somewhat inconsistent with its own facts
The Federal Government estimates replacing the old bulbs with compact fluorescents in homes could cut greenhouse gas emissions by as much as 800,000 tonnes a year in 2008-12. Australia’s emissions in 2004 totalled [...]