Sun Campus Ambassador Rodrigo Peleias

Monday Nov 16, 2009

Pessoal



Infelizmente hoje é o meu último dia como Embaixador de Campus da empresa na Universidade. Devido à compra pela Oracle, o programa de Embaixador de Campus não será continuado a partir de hoje. 



Porém, eu só tenho a agradecer por toda a oportunidade de estagiar em uma das maiores empresas de tecnologia do mundo. Com certeza, esse período abriu a minha cabeça em relação ao mundo da tecnologia e o que eu quero seguir para o meu futuro. Com certeza, foi um pontapé de ouro para o início da minha carreira.


Abaixo, alguns dos resultados obtidos durante esta minha brilhante experiência:




  • Realização do Sun University Days na PUC-SP

  • Realização de 14 palestras ao longo do ano na PUC-SP e em outras Universidades

  •  Realização do Software Freedom Day na PUC-SP

  • Obtenção das certificações SCJA e SCJP

  • Contato e conhecimento de novos amigos, espero que sejam eternos



Gostaria também de agradecer ao Eduardo Lima, meu superior imediato, uma pessoa incrível, e que me deu a oportunidade de realizar este maravilhoso estágio. Edu, muito obrigado por tudo e muita sorte e sucesso para você, você merece!! Gostaria de agradecer também ao prof. Donizetti Louro da PUC-SP pela indicação ao estágio e também ao prof Dr. Daniel Couto Gatti pela oportunidade e abertura de portas da PUC-SP para a realização do trabalho ao longo do ano. E claro, agradecer a todos os colegas Embaixadores pela colaboração ao longo do ano e também aos membros do grupo da PUC-SP do OSUM, e que com certeza será continuado com o seu objetivo profissional.


Copm uma dor enorme no coração, mas aí vai o meugrande abraço e acima de tudo, o meu eterno agradecimento por fazer parte de uma grande organização como a Sun. Espero deixar as portas abertas.



Um grande abraço a todos e muito sucesso a todos da Sun Microsystems. 



Rodrigo D' Agostini Peleias 



Sunday Sep 27, 2009


O Software Freedom Day é um dia reservado para a comeração da liberdade do
Software. Somente esse ano, mais de 300 eventos ocorreram somente por meio do OSUM (http://osum.sun.com)


Uma edição do evento ocorreu na Pontifícia Universidade Católica de São Paulo, Campus Marquês de Paranaguá. O evento, com início às 8:00, abordou temas como Java, Open Source e direitos autorais.


Uma palestra sobre a comemoração do dia da liberdade do software foi ministrada por mim, abordando além do dia comemorativo, OSUM (Open Source University Meetup), as suas novas funcionalidades e as vantagens de ser um membro da comunidade, além de um breve resumo sobre os princiapais softwares da Sun Microsystems , entre eles, Java, NetBeans e OpenSolaris, e como a empresa é uma das principais contribuintes no mundo Open Source por meio delas. Abaixo, estão disponívies os slides da primeira apresentação, além do vídeo mostrado aos participantes.


Às 9:00, Rafael Sampaio, Embaixador de Campus da empresa no IME-USP ministrou uma palestra sobre o servidor de aplicações Glassfish. Além do servidor de aplicações, Rafael abordou todas as versões do aplicativo e uma visão geral sobre a plataforma Java EE.



Em breve, os slides de Rafael serão disponibilizados por meio do blog e do OSUM.


Após um breve Coffee-Break, às 10:30, Bruno Souza, conhecido como JavaMan e um dos fundadores de um dos maiores Grupos de Usuários de Java do país, o SouJava, ministrou uma palestra sobre Direitos Autorais, ressaltando a importância de não aderir à pirataria e defendendo a liberdade de divulgação e disponibilização de licenças oficias de forma gratuita à sociedade, um dos princípios do Software Livre.



Finalizando o evento, os participantes do evento foram agraciados com diversos brindes da Sun, sorteados por mim, Bruno e Eduardo Lima, gerente de Programas Acadêmicos da empresa.




Gostaria de deixar o meu agradecimento a todos os paletrantes, Rafael Sampaio, Bruno Souza e Eduardo Lima pela a participação e contribuição com o sucesso do evento, além da coordenação do curso de Ciência da Computação da PUC-SP, pelo apoio contínuo e por mais uma vez disponiblizar o espaço para a realização do evento. E também gostaria de deixar o meu agradecimento à todos que comparecerem e prestigiaram o evento.



Abaixo seguem alguns links úteis:



Página do OSUM: http://osum.sun.com


Página do SAI: https://sailearningconnection.skillport.com/skillportfe/custom/login/sun/sai/login.action


Página do grupo da PUC-SP no OSUM: http://osum.sun.com/group/pucsp


Página oficial do Software Freedom Day: http://softwarefreedomday.org/


Em breve, novas atividades!!




Friday Sep 11, 2009




Dia de comemoração da liberdade de código e download do software no mundo todo. O objetivo do evento é promover uma grande festa para esta data tão importante. O dia do Software Livre será celebrado no dia 23 de setembro no Campus Marquês de Paranaguá da Pontifícia Universidade Católica de São Paulo, das 8:00 às 12:00. Abaixo, segue a programação do evento:

8:00 – 8:50 – Abertura do evento, OSUM, SAI e Comemorações do dia do Software Live – Rodrigo Peleias e Eduardo Lima (A confirmar)

9:00 – 10:00 – Desenvolvimento Web e Glassfish Rafael Sampaio

10:00 – 10:30 – Coffee – Break

10:30 – 11:30 – Java, OpenSource e Direitos Autorais – Bruno Souza

11:30 - 12:00 – Fechamento do evento e sorteio de brindes

O evento é aberto a todos os alunos e professores da PUC-SP, além de alunos e professores de outras Universidades e profissionais de diversas empresas da área de tecnologia.

As inscrições devem ser feitas pelo OSUM, através do link abaixo:


http://osum.sun.com/events/software-freedom-day-sao-paulo

Local: Auditório - Pontifícia Universidade Católica de São Paulo – Campus Marquês de Paranaguá
Endereço: Rua Marquês de Paranaguá nº 111
Bairro: Consolação
Cidade: São Paulo


Para você que não está no OSUM da PUC-SP, cadastre-se agora mesmo!

http://osum.sun.com/group/pucsp


Mais sobre o Software Freedom Day:

http://softwarefreedomday.org
http://softwarefreedomday.org/teams/saopaulosfd2009
http://blogs.sun.com/rpeleias

Tuesday Sep 08, 2009


O OSUM (Open Source University Meetup) é uma rede social desenvolvida pela sun Microsystems voltada à estudantes apaixonados por tecnologias Open Source e que acreditam na mudança no seu mundo a partir delas.

O OSUM Leader é um líder de comunidade, responsável por gerenciar o grupo, ministrar palestras e dar suporte a eventos. Estou selecionando na PUC-SP e na UNICSUL um OSUM Leader para me auxiliar nas tarefas a serem realizadas nas Universidades, como palestras, eventos e mini cursos relacionados a Software Livre.
Daremos todo suporte ao OSUM Leader, através de:

• Treinamentos "Hands On" via Tech Demos e Projetos Estudantis para aprender novas tecnologias.
• Recursos rápidos, gratuitos ou de baixo custo, como o SAI (treinamentos oficiais gratuitos e descontos em certificações)
• Acesso a uma variedade de eventos OSUM como o Software Freedom Day, University Day, etc.

O OSUM Leader terá todo o apoio necessário para a realização das suas atividades, como organizar palestras, minicursos, etc. Além disso, tem o Appreciation Program, incluindo:

• OSUM Leader Welcome gift pack – Ferramentas, Certificado de Lider OSUM, e Cartões de Contato OSUM (do tamanho de cartões de visita)
• Depois da 1a Reunião de Grupo OSUM – Camiseta
• Depois da 3a Reunião de Grupo OSUM – Mochila OSUM
• Depois da 6a Reunião de Grupo OSUM – Guia do Programador para a Certificação SCJP (Programmer's Guide to Java SCJP Certification Book)
• Depois da 9a Reunião de Grupo OSUM – Voucher de Certificação Sun
• Depois da 12a Reunião de Grupo OSUM– Flip Video Camera (Flip Cam)

Aproveite a chance para aprender sobre as tecnologias Open Source, conhecer pessoas do mundo inteiro, e é claro, se divertir bastante enquanto faz tudo isso.

Seja um Lider OSUM hoje, e um dos líderes de comunidade mais importantes do mundo!

O OSUM Leader também se torna um forte candidado à minha sucessão no final do ano, quando me formo.

Os interessados por favor entrem em contato comigo pelo e-mail

Rodrigo.Peleias-AT-Sun-DOT-COM



Links dos grupos do OSUM:


PUC-SP: http://osum.sun.com/group/pucsp


UNICSUL: http://osum.sun.com/group/universidadecruzeirodosulunicsul

Tuesday Aug 18, 2009



Today I was using the computers in my University Lab and I noticed that all machines have received an installation of Sun VirtualBox Software. It's a great opportunity for all students to learn how to use many Operating Systems, like OpenSolaris, withou changind the main computers configurations.


Moreover, that is great to Open Source promotion in the University. The next step is to install OpenSolaris in the PCs Virtual Machines!!!



For more information about VirtualBox, access: http://www.virtualbox.org

Tuesday Aug 11, 2009

Since yesterday, I've been a Sun Certified Java Associate! I've passed the test with a good score. I would like to thank all that gave me this unique opportunity to do my work as a Campus Ambassador!


Monday Aug 10, 2009


Today the objective of 10000 members registration in OSUM in Brazil has succesfully completed!


Please, continue joining OSUM and participating in it! Start and continue Changing (Y)our World!!


http://osum.sun.com





Friday Aug 07, 2009

Today it has annouced by Sun Microsystems. Now this MySql exams have the benefit of SAI discount:


212-810 Sun Certified MySQL 5.0 Database Administrator 1


212-811 Sun Certified MySQL 5.0 Database Administrator 2


212-812 Sun Certified MySQL 5.0 Developer Part 1


212-813 Sun Certified MySQL 5.0 Developer Part 2

212-814 Sun Certified MySQL Associate

The purpose of this tutorial is to introduce some steps how to create a database and some manipulation instructions. The Demo script that I will show in this post is the demo that the Campus Ambassadors use in their tech demos about the RDBMS. So, this tutorial could be useful for user who are interested to learn some MySQL steps by Ambassadors showed examples.


For this tutorial we are going to build a database to store our textbook collection that we have bought during our college years. There are few key properties we want to associate with our books such as title, author, publisher, edition, date of purchase, and maybe also how much we spent on buying that book which is cost. For this book table, we have related to this a list of friends we lent books to. o we also needs a database table that keeps track of all our frends concat information. At mininum, we would need the name, email, AIM, and phone of our friend so that we could track down this person.


In a typical database table, it is a good practice to have a field with a unique key for each entry such that it can be used as a hash key for searching an entry. So our two tables, book and friend, we want add book_id, and friend_id as the primary keys as references or pointers if in other tables we want to associate which books to which friends. For example we can have a third table lending, that keeps track of which friends friend_id, borrowed which book book_id, on what date lend_date. Below are the three tables summaries our database design with sample entries.


Table of book




































































 book_id  title  author  publisher  edition  date  Cost
 1 Digital Integrated Circuits
Rabaey
Prentice Hall
2
3/12/2006 110.32
 2 Compliers: Principles, Techniques and Tools
Aho
Addision Wesley
2
6/23/2007
80.54
 3 Introduction to Algorithms
Cormem
MIT Press
2
5/10/2005
85.00
 4 Design of Analog CMOS IC
Razavi
McGrew-Hill Science
2
5/10/2005
154.20
 5 Analysis and Design of Analog Integrates Circuits
Gray
Wiley
4
5/10/2005
118.64
 6 MySQL Cookbook
DuBois
O' Reilly Media
2
3/10/2007
49.99


Table of friends








































friend_id
Name
email
AIM
Phone
1
Franz Beckenbauer
beckenbauer-AT-bayernmunchen-DOT-com
kaiser
312-432-534-1324
2
Michel Platini
platini-AT-uefa-DOT-com
platini
432-534-123-5432
3
Diego Maradona
maradona-AT-afa-DOT-com
elpibe
321-145-123-9786
4
Zico
zico-AT-cskamoscou-DOT-com
galinho

123-321-243-54




Table of lending









































 lend_id friend_id
book_id
date
 1
 1  3  1/12/2008
 2  1  4  3/23/2008
 3  2  2  5/21/2008
 4  4  1  2/23/2008
 5  5  6  4/10/2008


Using MySQL Database


This part of the tutorial, screenshot will show how to manipulate the information listed in the last lines.


1) First of all, login MySQL as root and create the database DEMO.



2) Create a table friend, a first version without id, and tip SHOW TABLE < ;table_name> ;.



3) To drop a table, just tip DROP TABLE <  number_of_table > ; .



4) Now, let´s create the tables with primary keys:


Syntax: CREATE TABLE < table_name > (< variable1 > ,..., <  variable_n > ) VALUES(<  value1 > , .. < value_n > , PRIMARY KEY(<  id > ));


4.1) Creation of table Friend, with fid variable as primary key:



4.2) Tip DESCRIBE TABLE < table_name > to describe the table created.



4.3) Let's do the same for tables lending and book:





5) Now, let's insert some information in the database. We will use the follow syntax:


INSERT INTO < table_name > (<  variable-1 > ,..<  variable-n > ) VALUES(< value-1 > ,..., < value-n > )  ;


5.1)Inserting values in book table:




5.2)Inserting values in friend table:



5.3)Inserting values in lending table:



6) Select syntax.


Here, I am not list the SELECT syntax, because you can combine it with many clauses. The next topic, a list with many SQL syntax will be shown.


Below, you just see some select syntax examples:


6.1) Let's list all information in lending table.




6.2) Let's say we want to find all the expensive books cost more than $100.



6.3) Now, let's say we want to find who borrow our books. To do this, we need to query the lending table to find all friend_ids that borrowed our books and match that the friend_ids in our friends contact list. To do that we can use the SELECT command with JOIN table.




7) Now, let's see an example with UPDATE clause:


Basic syntax: UPDATE < table_name > ; SET <  variable> = < new_value >  [WHERE <  condition > ] ;


7.1) Let's update the cost of book with id=1.




After changing:




8) To finalize our first short tutorial, let's see how we use the basic syntax DELETE.


Basic syntax: DELETE FROM < table_name > [WHERE < condition >];


8.1) To demonstrate it, let's dela row of book table where the book's cost is 200.90.




After delete the row:




That concludes our first short tutorial in MySQL. Next topic related to the RDBMS, a list of many SQL syntax will be posted.


Wednesday Aug 05, 2009

Today has created the OSUM Brazil Page. 


On the page, in portuguese, many notices related to Open Source, Events, Presentations, and specially about OSUM (Open Source University Meetup) and relatred to the main User Groups Web sites will be posted. The purpose of OSUM Brazil Twitter's page is to increase the number os students interesting in Open source technologies and join in OSUM.



Follow the OSUM Brazil Twitter profile and join OSUM now!!


http://twitter.com/osum_brasil


http://osum.sun.com


http://www.sun.com/students/




Monday Aug 03, 2009

 A página do OSUM (Open source University Meetup), comunidade criada pela Sun voltada aos estudantes de tecnologia e outros cursos usuários das tecnologias open source da empresa, está de cara nova desde a semana passada. Em uma eleição realizada, 2 layouts foram disponibilizados aos membros da comunidade para decidirem a nova "cara" do OSUM.


O layout verde foi o vencedor. Abaixo, alguns screenshots da nova página do OSUM podem ser vistas:


1) Página Principal



Na página principal do OSUM, há funcionalidades muito úteis, como links diretos para downloads, vídeos, webinars e muito mais!





2) Página Pessoal


A página pessoal possui as mesmas funcionalidades práticas do OSUM, uma página simples e interativa.



3) Página de Grupos


A página de grupos das Universidades continuam com as mesmas funcionalides da versão anterior do OSUM, porém com o novo layout implementado. Confira o screenshot abaixo da comunidade da PUC-SP, cuja responsabilidade de gerenciamento é minha:



Para conferir mais sobre sobre a nova página do OSUM, acesse http://osum.sun.com/ e comece desdejá a mudar o seu e  o nosso mundo!














































Thursday Jul 30, 2009

New OSUM design, which was developed by OSUM developers team and allowed the OSUM Community to decide which
design would be used, are coming this weekend. The poll was posted to the front page of the OSUM
Community from July 9 to July 14 for the community decide which page would be the best to represent the community. According the members decision, the green layout was chosen, as you can see below:



For more information, please read the link in OSUM community:


http://osum.sun.com/profiles/blogs/new-osum-design-coming-soon-1?xgs=1&id=2181626%3ABlogPost%3A970500&page=3#last_comment


And don't forget, join OSUM now and start to change (y)our world!!


http://osum.sun.com/



Wednesday Jul 29, 2009


10 chances to win 500$  American Express® Gift Cheque!


To Enter, simply:



  1. Download Sun Studio.

  2. Blog about it or any version of Sun Studio

  3. Send us the URL to your blog.


Deadlines:
Contest starts: June 23, 2009
Contest deadline: August 14, 2009
Judging period: August 14-September 4, 2009
Winner announced: September 14, 2009 


ELIGIBILITY: Argentina, Australia, Brazil, Canada, Cambodia, Chile,
China, Colombia, Egypt, a European Union member state, India,
Indonesia, Israel, Japan, Malaysia, Mexico, New Zealand, Norway,
Panama, Peru, the Philippines, Russia, South Africa, South Korea, Sri
Lanka, Switzerland, Thailand, Taiwan, Turkey, Ukraine, the United
States, and Venezuela.



For more information, please access the links below, and see the Sun Studio videos demonstration, too:


http://developers.sun.com/sunstudio/community/campaigns/blogcontest_062009/welcome.jsp?intcmp=3084


http://developers.sun.com/sunstudio/index.jsp


http://developers.sun.com/sunstudio/downloads/index.jsp



Tuesday Jul 28, 2009

As related in the last post,  the first short MySQL tutorial are introduced here. These tutorials will be as simple as possible for a brief introduction of the RDBMS. Some links will be listed in the end of the page just for complement the studies. 


MySQL is now in 6.0 version, but the version used in the pictures below is 5.0. However, the commands are the same.


The MySQL showed here was running in a Linux Ubuntu inside a VirtualBox, and installed by apt-get commands. For MySQL manual download, VirtualBox, Ubuntu and OpenSolaris download, follow the links listed below:


http://dev.mysql.com/downloads/mysql/5.1.html#downloads


http://www.virtualbox.org/wiki/Downloads


http://www.ubuntu.com/getubuntu/download


http://www.opensolaris.org/os/downloads/


After VirtualBox and Ubuntu installation, let's see how MySQL server and client are installed by apt-get:


1) MySQL server installation:



2) MySQL client installation:



You can see that was very simple to install MySQL in a Unix environment. If you prefer or want to install in other Operanting Systems, please follow the MySQL download link listed on the top.


Below, you can see the login options, as localhost and root.


1) To login as local user, please enter just "mysql". No password are required.




However, if the local user don't have somer permissions, you can't tip some commands, for example, create a new database:




2)One way to solve the problem listed before, is the login by root. Follow the pictures below:



Repare now that the database was succesfully created.



In MySQL environment, some functions found in common programming languages can be used, like related to list version and the current date. To use these, please tip "SELECT + <function_name or constant-name). Some functions and constant are listed below:


1) Function VERSION



2) CURRENT_DATE value 



For the first tutorial conclusion, follow the links below to complement your studies. Remember that you can learn much more in links below, and other useful web sites, magazines, books, as you preferer.


MySQL installation:


http://dev.mysql.com/doc/refman/5.1/en/installing.html


MySQL Introcutory tutorial:


http://dev.mysql.com/doc/refman/5.1/en/tutorial.html


MySQL complete documentation:


http://dev.mysql.com/doc/


Next post, some steps about a creation of a simple database will be showed.


Monday Jul 27, 2009



During the semester, some mini-tutorials of basic uses of MySQL RDBMS will be posted here, with the purpose to introduce and encourage students to learn this database, helping them increasing their knowledge.


These short tutorials will be as simple as possible for learning just the basic of the databse. On the other hand, related lnks to web sites will be posted with the objective to complete the studies of related topics.


 The topics which will be planned to be posted here are described as the following:



  • Installing and first steps

  • Basic database creation mini tutorial

  • List of basic SQL commands and variables types 

  • Other step-by-step project (more difficult)

This week, the first topic related will be posted as soon as possible.