The unwritten rule

While on my quest for more information on .NET oriented ORM solutions, I asked a friend with some years of .NET experience which ORM he uses and if he could provide me some code I could look at. He pointed me to one OSS project he’s involved with, Midgard.

Midgard’s main goal is to become a solid RAD framework for .NET developers. Yet, as you’ve probably noticed, it’s dead since the end of 2006. Why?! – I asked Pedro. He told me that the project failed because there were no contributors. I immediately refuted this fact as being strong enough to stop the development of such project, or even to give up to “open source” it.

Anyway, he’s right! At least from my perspective, .NET developers are generally unaware of the benefits of OSS. I know it’s somewhat dangerous to generalize this kind of behavior, but as a Java developer for some years now, and having knowledge on the .NET area too this is a conclusion I come to. Curiously, I was reading an article about NHibernate Best Practices with ASP.NET where the author, clearly an advanced .NET developer, states the following:

The most common dissenters of ORM technologies, in general, are developers using Microsoft technologies. (As I’ve placed myself squarely into this realm for the past decade or so, I feel quite comfortable bringing us up first!) There seems to be an unwritten rule that “if it wasn’t invented by Microsoft, then wait until Microsoft puts out the right way to do it”.

Well, simply substitute ORM for the technology you see fit and you’ll probably find this to be profoundly true!

Share your experiences, please. Thanks in advance!

Eclipse on Mac OS X is down. Bring on Netbeans!!

Eclipse has been my preferred IDE for a while now, at work and home. I use it mainly for Java development, focusing on Enterprise Edition oriented version 3.3, Europa.

Recently, I installed it over my Macbook running Mac OS X. The problems started right away! I needed to install the Android plug-in so I followed the official instructions. Eclipse plug-in installer kept failing on me complaining about some other plug-in dependencies breakage even that all I did was selecting Android’s plug-in. I tried other plug-ins and even updating Eclipse using the official way (Help -> Software Update), but the behavior was the same.

As a good developer should do, I started looking on Eclipse’s bugzilla and after some wandering I finally hit it. Can you see what the Eclipse developer did? He told me that “Europa is around for some time” and so “they would have run into it”.. WTF? What does this means? That I’m loosing my mind? That the other guy that reported this situation is highly on dope? Come on..

Well, I’m going for Netbeans!

Free Sun training courses

Hi fellow geeks,

Even though I’ve twitted about it, I thought I should blog to inform a more broader audience about some free training courses provided by Sun Microsystems. And here they are:

If you know of some more free trainings by Sun or any other company that you find interesting in the Software Development and System Administration areas, please feel free to reach me. I’ll post the ones of my interest with proper credits 😉

Hardy Heron over Virtualbox on MacOS X, Anyone?!

Hi fellow geeks,

Yep it’s true, I’m a switcher! It happened when I started to lack some features and some hardware issues with my audio production environment on my HP 530. Linux lacks the tools I’m used to, and none of the opensource alternatives satisfied me. Also Windows had these hiccups whenever I surpassed the number 5 in loaded VSTs. Those facts, allied to the fact that someone got me a Macbook Black 2.4Ghz, 250Gb and 2Gb RAM (which I upgraded to 4Gb) made me try more deeply the MacOS X world.

So far, in the overall I’m quite happy! Still, I lack many of my Ubuntu features, namely Gnome desktops and some CompizFusion coolest abilities.

Anyway, I’m also trying to get my Java EE development environment in my new setup. Everything went smoothly.. until I was trying to get Glassfish to run on Ubuntu Hardy Heron over Virtualbox. I installed the Server 32-bit version, but when booting it dies on me right after Grub selection menu, complaining about “this kernel is not suitable for this machine”. I also tried 64-bit without success!

Any hint on this?

Thanks in advance 😉

Sun + MySQL vs Oracle + BEA

Hi folks,

It’s all over the news, Sun to acquire MySQL and Oracle to acquire BEA. Interesting, hun? Can you see a pattern here? Well, I do..

1) Sun provides a Java EE server implementation, aka Glassfish but none enterprise-scale database engine;

2) Oracle provides an enterprise-scale database engine, but none Java EE server implementation;

3) Things between Oracle and RedHat have been spicin’ up because of Linux distrowars, so Oracle, IMHO wouldn’t even try to acquire JBoss.

So, what happens?! ..oh well, pretty obvious, don’t you think?

Eu e o Helpdesk das DeclaraçÔes ElectrĂłnicas..

From: Paulo Pires


Data: 29 de Agosto de 2007

Assunto: Erro Browser + Java

Boa Tarde,

Estou a tentar proceder à execução do vosso programa relativo ao IRS
sem sucesso. JĂĄ testei com Internet Explorer 6, Firefox 2 e Opera 9
(ambos com o plugin Java 6.0) e dĂĄ-me sempre um erro dizendo que a
versĂŁo de Java nĂŁo Ă© a correcta.

Heis a minha versĂŁo de java:

C:\>java -version
java version “1.6.0”
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)

O que se passa?


Paulo Pires



To: Paulo Pires

Data: 10 de Setembro de 2007

Exmo.(a) Senhor(a),

Acusa-se a recepção do pedido de esclarecimento de V. Exa., e sugerimos que
verifique se possui os requisitos mĂ­nimos para proceder Ă  entrega de
declaraçÔes electrónicas. Essa informação estå disponível no sítio das
declaraçÔes electrónicas na internet ( em Ajuda >
QuestÔes Frequentes (FAQ)

O mais comum Ă© nĂŁo possuir o software Java instalado, que pode ser obtido
gratuitamente na Internet em Segue-se as instruçÔes para
instalação e configuração desse software.

Solicitamos que siga as seguintes instruçÔes:

1. Abra o painel de controlo do Windows e aceda a opção Adicionar ou Remover
Programas e remova todas as aplicaçÔes Java que estejam instaladas.
(Caso não tenha aplicaçÔes Java pode seguir para o passo 3)

2. Reinicie o computador.

3. Aceda a pĂĄgina e escolha a
opção Windows (instalação off-line). Verifique o sistema operativo.

4.Na transferĂȘncia de ficheiros seleccione a opção “Guardar o programa no
disco”. ApĂłs terminado o download deve executar o ficheiro para que o Java
seja instalado.

5. Após concluída a instalação, abra uma janela do Internet Explorer e aceda
ao menu Ferramentas (tools) > OpçÔes da Internet (Internet options)

Escolha o separador Geral (General)
– Limpe os ficheiros temporĂĄrios seleccionando Eliminar Ficheiros (Delete
Files), e Eliminar Cookies (Delete Cookies).

Escolha o separador Avançadas (Advanced)
– Java VM (ou Microsoft VM) – todas as opçÔes devem estar desmarcadas.
– “Java (Sun)” – deve ter marcada a opção “Utilizar Java?”

6. Reinicie o computador

7. Aceda ao sĂ­tio e teste se o
mesmo ficou correctamente instalado.


Informamos ainda que também estamos ao seu dispor através da linha 707206707
no perĂ­odo das 9-18h (dias Ășteis).

Com os melhores cumprimentos



Pois bem, que brincadeira de mau-gosto vem a ser esta? Eu disse que jå tenho Java instalado e comprovei-o com o output da consola dum sistema operativo muito conhecido por estes senhores (MS Windows) .. E respondem-me como se nem tivessem lido o meu e-mail com atenção?!

Gostei também da parte que toca a referir apenas o Internet Explorer. Por ventura serão os outros cidadãos que pagam impostos, como eu, e que não usam IE, menos merecedores de terem acesso a este serviço? Se ainda duvidam que tenho Java a funcionar, cå estå uma prova para os mais cépticos: Java VM Test

E as duas semanas entre a minha questĂŁo e consequente resposta? Aposto que se tivesse que pagar algo nĂŁo me davam as duas semanas…

Enfim, Ă© o paĂ­s que temos! Exmos. Senhores da DGCI se precisarem de contratar alguĂ©m que vos implemente um sistema eficiente e independente, rico em qualidade e sem darem origem a dĂșvidas do meu gĂ©nero, por favor, contactem-me. Terei muito gosto em indicar-vos meia dĂșzia de empresas PORTUGUESAS que concerteza se mostrarĂŁo Ă  altura… e por um preço bastante inferior ao que terĂŁo pago pelo sistema actual.

Siafu – An Open-Source Context Simulator

Hi fellow geeks,

Today I’m writing to present you a very interesting project from a friend of mine working at NEC Europe Network Labs (Heidelberg, Germany), which is called Siafu.

According to the website…

“Siafu is a versatile, large-scale Context Simulator written in Java. Download it, create or modify a scenario and fire it up. Your simulated world includes models for agents, places and the context therein. By tweaking these models, you influence the scenario, and can collect the context data for any of your agents.


Siafu can generate its own context and at the same time incorporate the one you obtain from your sensors. The information can then be visualized with a user interface, or you can generate datasets for machine learning. By plugging an application to it, you can test and demonstrate the effects of context changes on it.”

The project page itself is cute, simple and rich in useful information. So if you’re interested in this type of tool go grab it and have fun!


I won’t extend on this subject because my only target was to publicize the thing. As me, probably some of you will find this tool very appealing for some tasks at your job or just for academic purposes but either way it’s a very interesting piece of work.

Grats go to Miquel 🙂

Once the project is open-source you are encouraged to download, modify and distribute it.