November 25, 2006 - Posted by André Restivo - 0 Comments
Sorry about the stupid post. To understand this one you have to be understand Portuguese, know SQL and watch a certain comedy sketch show.
CONNECT aldeia;
SELECT * FROM pessoa
WHERE altura =ALL
(SELECT MAX(altura) FROM pessoa);
So much time without a single post and this was all I could come up with. Sad …
June 23, 2006 - Posted by André Restivo - 1 Comment
Been playing around with AspectJ and just made my first, not so simple, AspectJ code and it works like a charm. There are still some things that I don’t fully understand but it’s late so maybe tomorrow I’ll get it.
Follow the read more link to see the source code for my Generic ObserverPattern implementation.
August 13, 2004 - Posted by André Restivo - 0 Comments
Anne van Kesteren has a nice description of the perfect weblog system:
The perfect weblog system
If I’m ever going to write a weblog, or someone else is going to write one I’m going to use, here is an outline of what it should (or must) have. Inspiration comes from an article of Henri Sivonen: Outlining the Ultimate Blogging Server and various people: Asbjørn Ulsberg, Mark Wubben and Robbert Broersma. I was going to use a definition list, but dropped that option in favor of the unordered list, since that seems to be used for this kind of things. I hope your screen is wide enough.
I liked this idea the most:
People who comment should be allowed to edit their comments one time within ten minutes, based on a cookie. Their original comment should be stored and a diff may be made available to the user (optional).
July 3, 2004 - Posted by André Restivo - 2 Comments
I didn’t take it for a spin just yet but here’s an interesting read about it. I don’t know how I missed this article as it probably was in every development blog that deserves to be called a blog.
May 18, 2004 - Posted by André Restivo - 0 Comments
Really nice article by Mark on the freedom of open source software. Mark changed from MT to Wordpress after checking MT 3.0 new feature$. I don’t always agree with what Mark says but this time he is 100% correct. This one quote is great :
dive into mark
Movable Type is a dead end. In the long run, the utility of all non-Free software approaches zero. All non-Free software is a dead end.
May 17, 2004 - Posted by André Restivo - 2 Comments
In Portugal there’s this one sports website where you can access it between 8h and 20h. Outside that schedule you either have to pay them or use their ISP.
Well, guess what? Just turn javascript off and you’re set to go.
May 10, 2004 - Posted by André Restivo - 6 Comments
Teaching is a two way flow. Most of the times you teach your students something new, but sometimes they teach you.
This one was found by a student during one of my classes. He was looking for a form generator and was displeased with the ones PEAR provides.
Formsess is a form generator built to work with Smarty, the PHP template engine I use. Much better than using PEAR’s HTML Quick Form, Smarty Renderer and its unexistant error control methods.
March 18, 2004 - Posted by André Restivo - 0 Comments
Following the previous post I have to check this language when I have some spare time. But it seems… well, groovy!?!
Groovy : a powerful dynamically typed language for the JVM - Groovy is a new agile dynamic language for the JVM combining lots of great features from languages like Python, Ruby and Smalltalk and making them available to the Java developers using a Java-like syntax. Groovy is designed to help you get things done on the Java platform in a quicker, more concise and fun way - bringing the power of Python and Ruby inside the Java platform. Groovy can be used as an alternative compiler to javac to generate standard Java bytecode to be used by any Java project or it can be used dynamically as an alternative language such as for scripting Java objects, templating or writing unit test cases.
March 18, 2004 - Posted by André Restivo - 0 Comments
So, remind me again why do we have all those brackets and semi-colons?
Russell Beattie Notebook I ran across Joel-on-software’s comments on Python (boils down to “I don’t know jack about the language, but the indentation thing is cool!”) and I thought about Java doing the same exact thing. Change nothing else but make indentation count. Suddenly Java looks really clean!