Saturday, November 25, 2006

Hmm?

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 ...

Posted by André Restivo at 19:49:28 | Permanent Link | Comments (0) |

Friday, June 23, 2006

Generic Observer Pattern with AspectJ

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.

Read more...
Posted by André Restivo at 01:54:02 | Permanent Link | Comments (1) |

Friday, August 13, 2004

Perfect?

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).
Posted by André Restivo at 14:44:55 | Permanent Link | Comments (0) |

Wednesday, July 14, 2004

PHP 5

... is out.
Posted by André Restivo at 10:57:01 | Permanent Link | Comments (1) |

Saturday, July 03, 2004

PHP 5

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.
Posted by André Restivo at 01:39:32 | Permanent Link | Comments (2) |

Tuesday, May 18, 2004

Dive into wordpress

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.
Posted by André Restivo at 20:19:23 | Permanent Link | Comments (0) |

Monday, May 17, 2004

Nice security system

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.
Posted by André Restivo at 07:43:36 | Permanent Link | Comments (2) |

Monday, May 10, 2004

Formsess

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.
Posted by André Restivo at 13:43:48 | Permanent Link | Comments (6) |

Thursday, March 18, 2004

Groovy

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.
Posted by André Restivo at 21:03:12 | Permanent Link | Comments (0) |

Java meets Python

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!
Posted by André Restivo at 21:00:43 | Permanent Link | Comments (0) |
1 2 3 4 5 6 7