
Duke Luau Style, under public domain. Source: duke_lual.svg.

Duke Luau Style, under public domain. Source: duke_lual.svg.

| Programação I Aniversário Casa Brasil – Vila União | ||||
| De 10/07 – 11/07 | ||||
| Horários | Quinta-feira | Quinta-feira | Sexta-feira | Sexta-feira |
| 09:00 – 10:00 | Abertura: – Apresentação do Projeto Casa Brasil. – Cordel Apresentando Casa Brasil – Vila União (Crianças da Sala de Leitura) Local: Auditório | Oficina: Grafite (CB-Granja Portugal) Facilitadores: Cristiano (Selo) Local: Auditório | ||
| 10:00 – 11:30 | Oficina: Informática Educativa Facilitador: Wellington Leão Local: Telecentro | Oficina: Gênero e Economia solidária. Facilitadora: Meiry Coelho (CB-Meniná Meninó Local: Auditório | Oficina: “Fazendo o Som†Facilitador: Abraão de Alcântara (CB-Meniná Meninó) Local: Telecentro | |
| 11:30 – 13:30 | ALMOÇO | ALMOÇO | ALMOÇO | ALMOÇO |
| 13:30 – 15:00 | Oficina: Criação de Blog Facilitador: Alyne Castro Local: Telecentro | Oficina: Bijouteria Metareciclada Facilitadoras: Meiry Coelho (CB-Meniná-Meninó), Edilândia e Antonilce Local: Lab. De MetaReciclagem | Debate: Lixo tecnológico e sustentabilidade ambiental. Facilitadores: Erivelton Queiróz e Everton Kristan (CB-Caucaia) Local: Auditório | Oficina: Expressão Teatral Facilitadora: Mayara (CB-Caucaia) Local: Sala de Leitura |
| 15:00 – 16:30 | Oficina: Fotografia Digital Facilitadora: Glaucia Barbosa Local: Auditório | Oficina: Criação Quadrinhos. Facilitadora: Erika Barros Local: Sala de Leitura | Atividades Livres!! | |
| 16:30 – 18:00 | Teatro: Deu a louca nos contos de fada Grupo: Bairro Antônio Bezerra | Encerramento: Apresentação do Bumba–meu-boi. | ||

My article Trying to corrupt data in a ZFS mirror (also in portuguese here) won the second prize in the OpenSolaris Student Reviews Contest. My colleague Jonas Dias also won.

Thank you guys.
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar today = Calendar.getInstance();
System.out.println("Today is " + today.getTime());
}
}
In this simplest example of Calendar, the output would be
Today is : Tue Jul 01 10:56:14 BRT 2008
In the next example how to get information about the day inside the year, month and week.
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar today = Calendar.getInstance();
int dof = today.get(Calendar.DAY_OF_YEAR);
int dom = today.get(Calendar.DAY_OF_MONTH);
int dow = today.get(Calendar.DAY_OF_WEEK);
System.out.println("Today is the " + dof +"º day in this year,");
System.out.println("the " + dom +"º day in this month");
System.out.println("and the " + dow +"º day in this week.");
}
}
The output could be
Today is the 183º day in this year,
the 1º day in this month
and the 3º day in this week.
The next example is about how to add (and subtract) a duration from a Calendar.
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar today = Calendar.getInstance();
System.out.println("Today is " + today.getTime());
Calendar yesterday = (Calendar)today.clone();
yesterday.add(Calendar.DATE, -1);
System.out.println("Yesterday was " + yesterday.getTime());
Calendar tomorow = (Calendar)today.clone();
tomorow.add(Calendar.DATE, 1);
System.out.println("Tomorow will be " + tomorow.getTime());
}
}
A typical output would be
Today is Tue Jul 01 10:44:18 BRT 2008
Yesterday was Mon Jun 30 10:44:18 BRT 2008
Tomorow will be Wed Jul 02 10:44:18 BRT 2008
This week I did another presentation outside my city. This time it was at Maracanau in the Comsolid, a open source and digital inclusion event.
My first presentation was about ZFS filesystem and how you can take benefits from it like pooling storage and self healing. I used as base for examples my last post on it, Trying to corrupt data in a ZFS mirror.
![]() |
|
![]() |
|
![]() |
My next talk was about OpenSolaris. We had a lot of questions and interesting about this. We burned some cds with OpenSolaris 2008.5 and also distributed others versions of OpenSolaris like Solaris 10.
And my last presentation was a quick talk about high performance computing, a short version on that I already did before.
Was a interesting event mainly because the public was composed primarily by young students with few background on TI. It was a challenge to present some new concepts like pooling storage for those who aren’t familiar with filesystems management. I tried to keep my talk as simpler as I could and focus on daily problems and showing that you can avoid them with some open source technologies.
The full album is available at http://flickr.com/photos/silveiraneto/sets/72157605632001295/.
Photos from one unit of many units of Casa Brasil, a Non Governmental Organization, trying OpenSolaris (Solaris 10 distribution).

Thanks Erivelton, Alyne and others for these photos.
More photos in this album.
Casa Brasil is a very interesting project. I had there these days. I belive we can do some good partnerships.
Rafael Carneiro, Tarso Bersa, Rafael Ponte and me, after 8 hours of bus travel, arrived in Juazeiro do Norte to talk at the first JavaDay there.
We answered a lot of questions and gave lot of gifts. I also showed the Sun Academic Initiative, which they are already subscribed. We also showed several opportunities they can participate with CEJUG like free vouchers or a free travel for Belgium.
Some pictures we took. These ones during the bus travel. We saw a nice sunrise through beautiful landscapes.
We playing guitar hero. 😀 The city have their own shopping with games, restaurant and cinema.
The main atraction at Juazeiro is a statue of Padre (Priest) CÃcero with 7 meters itself and more 8 meters of base. Pilgrimage to this statue takes place in his honour every November, attracting thousands of followers. The city’s economy is highly influenced by those travelers devotes.
There’s a museum with several personal objects from Padre Cicero. People go there in order to thanks for miracles. If you got your a part of your body cured, of place there a wooden replica of that part of your body. If you got a car, you place a wooden car or a photo, and so on. There is thousands, maybe millions, of objects theres.
You can see all photos at Carneiro’s album or in my album.

Em outras resoluções e formatos:
Maiores informações: