Older blog entries for sye (starting at number 407)

29 Mar 2012 (updated 29 Mar 2012 at 14:06 UTC) »

http://www.librarything.com/wiki/index.php/CueCat_Guide.

a conversation I had that made my day.

20 Mar 2012 (updated 21 Mar 2012 at 04:51 UTC) »

My friend's yahoo email is being 'hijacked' ( not exactly once I paid a bit more attention. They were doing the simple spoofing trick of swapping letters) . I called her and find out that she is not traveling in Spain. Also her gmail account is having problem as well. I suspect the scammers are originated from China and targeted circle of Chinese friends emails.

http://advogato.org/person/whytheluckystiff/diary/42.html

http://psroc.phys.ntu.edu.tw/main/7-1.html

29 Feb 2012 (updated 29 Feb 2012 at 19:32 UTC) »

Apache Cassandra/Hadoop vs. Lucene/SOLR, what SEO problems are for these two pairs to solve?

btw, liked this banner at local friend's meeting place 'There is no way to peace. Peace is the way'.

planet moodle ? why all these different names for the same old PHP crowd?
19 Feb 2012 (updated 20 Feb 2012 at 04:23 UTC) »

had a lot of fun just now going through 'Higher-order Perl' by Mark Jason Dominus. Damian Conway, co-designer of Perl6 wrote his 'Praise for Higher-Order Perl...':

"It raids the deepest vaults and highest towers of Computer Science, and transforms the many arcane treasures it finds - recursion, iterators, filters, memoization, partitioning, numerical methods, higher-order functions, currying, cutsorting, grammar-based parsing, lazy evaluation, and constraint programming - into powerful and practical tools for real-world programming tasks, file system interactions, HTML processing, database access, web spidering, typesetting, mail processing, home finance, text outlining, and diagram generation.

Along the way it also scatters smaller ( but equally invaluable ) gems, like the elegant explanation of the difference between "scope" and "duration" in Chapter 3, or the careful exploration of how best to return error flags in Chapter 4.

this and that & that could be useful to me as well. thanks

I love mathieu in 'Rois et Reine'. Happy Valentine's Day.

selected from 25 fav quotes on journaldev by PANKAJ

* A good programmer is someone who always looks both ways before crossing a one-way street. (Doug Linder)

* Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. (Martin Golding

* Programming is like sex. One mistake and you have to support it for the rest of your life. (Michael Sinz)

* Deleted code is debugged code. (Jeff Sickel)

* Walking on water and developing software from a specification are easy if both are frozen. (Edward V Berard)

If debugging is the process of removing software bugs, then programming must be the process of putting them in. (Edsger Dijkstra)

* Software undergoes beta testing shortly before it’s released. Beta is Latin for “still doesn’t work. (Anonymous)

* Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

* It’s a curious thing about our industry: not only do we not learn from our mistakes, we also don’t learn from our successes. (Keith Braithwaite)

29 Jan 2012 (updated 29 Jan 2012 at 00:53 UTC) »


xinput -list --short
synclient touchpadoff=1 ( turn off touchpad entirely)
synclient touchpadoff=0 ( turn it back on)
15 Nov 2011 (updated 29 Jan 2012 at 00:53 UTC) »

From Philip Wadler's 'Java Generics and collections'


Part II provides a comprehensive introduction to the Collections Framework. Newton is reputed to have said, “If I have seen farther than others, it is because I stand on the shoulders of giants”. The best programmers live by this motto, building on existing frameworks and reusable code wherever appropriate. The Java Collections Framework provides reusable interfaces and implementations for a number of common collection types, including lists, sets, queues, and maps. There is also a framework for comparing values, which is useful in sorting or building ordered trees. (Of course, not all programmers exploit reuse. As Hamming said of computer scientists, “Instead of standing on each other’s shoulders, we stand on each other’s toes.”)

Thanks to generics, code using collections is easier to read and the compiler will catch more type errors. Further, collections provide excellent illustrations of the use of generics. One might say that generics and collections were made for each other, and, indeed, ease of use of collections was one of the main reasons for introducing generics in the first place.

Java 5 and 6 not only update the Collections Framework to exploit generics, but also enhance the framework in other ways, introducing interfaces and classes to support concurrency and the new enum types. We believe that these developments mark the beginning of a shift in programming style, with heavier use of the Collections Framework and, in particular, increased use of collections in favor of arrays. In Part II, we describe the entire framework from first principles in order to help you use collections more effectively, flagging the new features of Java 5 and 6 as we present them.

Following common terminology, we refer to the successive versions of Java as 1.0 up to 1.4 and then 5 and 6. We say ‘Java before generics’ to refer to Java 1.0 through 1.4, and ‘Java with generics’ to refer to Java 5 and 6.

The design of generics for Java is influenced by a number of previous proposals—notably, GJ, by Bracha, Odersky, Stoutamire, and Wadler; the addition of wildcards to GJ, proposed by Igarashi and Viroli; and further development of wildcards, by Torgersen, Hansen, Ernst, von der Ahé, Bracha, and Gafter. Design of generics was carried out under the Java Community Process by a team led by Bracha, and including Odersky, Thorup, and Wadler (as parts of JSR 14 and JSR 201). Odersky’s GJ compiler is the basis of Sun’s current javac compiler.


I am undecided on The PROTECT IP Act (PIPA) (S. 968)

398 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!