Palestra FISL 12

Olá

Um post bem rápido.
Semana passada eu apresentei uma palestra no FISL 12 sobre softwares livres para educação. Na palestra  tentei apresentar os softwares do KDE-EDU e alguns casos de uso de softwares livre aqui em Alegrete-RS (onde eu moro atualmente).
Hoje eu vou colocar a apresentação., semana que vem eu dou uma descrição mais detalhada sobre o evento.
Abraços

=-=-=-=-=
Powered by Blogilo

KDE no FISL 12

Olá pessoas

Nós do KDE-Brasil estaremos no FISL 12 como grupo de usuários.

Além disso, vou dar uma palestra sobre softwares livre na educação (quinta-feira, 30 às 12:00 h), onde eu vou apresentar softwares do KDE-EDU.


Se você estiver em Porto Alegre nesta semana, venha falar sobre o KDE ou qualquer outra coisa com a gente:)

Vejo você lá

=-=-=-=-=
Powered by Blogilo

KDE on FISL 12

Hello people
We from KDE-Brasil (or Brazil to foreigners) will be at FISL 12  as user group.
Also, i will give a talk about free softwares in education (Thursday, 30 at 12:00 – “Softwares Livres na Educação”) where i will present KDE-EDU’s softwares.
if you are in Porto Alegre this week, come talk about KDE or anything else with us :)
See you there

=-=-=-=-=
Powered by Blogilo

Umbrello in GSoC – just a quick update

What did I do?

I was working on the view (UMLView) and in the scene (UMLScene) and I tried to separate the methods between two classes, one only to handle the events in the scene (UMLScene) and another to handle the diagrams (Diagram). That’s what you can see in the repository now:
http://websvn.kde.org/branches/work/soc-umbrello-2011/

And untill now I am trying to reuse the code from the first try to port Umbrello.

What am I doing now?

To test the “new view” and the “new scene” I need the widgets. So I am working on the UMLWidget and the WidgetBase.

The next weeks:

I need to catch up my tentative timeline in the next two weeks. So I can finish the port, to work in new things for Umbrello ( work on better stereotypes supports and complete Undo/Redo support) and then start to write tests.

Umbrello in GSoC

My first week of work according to plan:

25 April – 08 May

* Community Bonding Period. (I talked a bit with some class mates of GSoC)
* Review Plan with Mentor. (I talked to Jonathan)
* Get instructions for the work and get started!

… and get used to work from home :)

Porting Umbrello:

I discovered that the best way to work would be to keep the old classes with the newly written ones together. Including calls for new methods in the same project so I can test the functionality of the new methods. Always comparing the new ones with the old ones.

The current result is Umbrello working with a new window showing the “new canvas”:

In this “view” with QGraphicsView I can test my new classes.

Using Squish to write tests:

To try to make the best decision regarding how to proceed to the port, which parts of code reuse, I did a few class diagrams (just a draft), with the main classes that I should work with, I thought it would be interesting to draw the diagram in Umbrello, and save some steps using Squish

I’m using the Squish Community Edition – froglogic Squish IDE 4.1.0-SNAPSHOT – available only to test KDE software – you can ask one by e-mail: squishkde@froglogic.com. The advantage was to get some practice with the Software (I also discovered and reported some bugs :/)

It is very easy to write tests with Squish, you can automate the tests or write scripts by hand. What is tiring is that when you record the tests, the system stores a table with the objects of your application. But if the the object is not in this table, the test stops and you must include the object or editing the table by hand, or run the application in Spy mode or simply write “test dummies”.

Read more here: http://doc.froglogic.com/squish/latest/all/

Some interesting links:

QObject x QGraphicsObject:
. http://stackoverflow.com/questions/4922801/adding-signals-slots-qobject-to-qgraphicsitem-performance-hit
. http://stackoverflow.com/questions/2292072/penalty-of-using-qgraphicsobject-vs-qgraphicsitem

Qt GraphicsView in depth:
. http://qt.nokia.com/developer/learning/online/talks/developerdays2010/tech-talks/qt-graphics-view-in-depth

QTestLib:
. http://doc.qt.nokia.com/4.7/qtestlib-manual.html#qtestlib
. http://qt.gitorious.org/qt-labs/qtestlib-tools

Next weeks:

Sprint 1: 09 May – 22 May

* UMLViewCanvas, LinePath, Circle, SubsetSymbol, SeqLineWidget, UMLView (Classes that implement the view for the diagrams, graphical representation of sequence lines and that represent diagrams)

You can see my complete workplan here: Umbrello UML Modeller QGraphicsView Port

I believe that like most students, my expectation with the GSoC is to LEARN a lot and perform a GOOD job. And even after that period CONTINUE contributing to the community:)

Umbrello no GSoC

A primeira semana de trabalho planejada:

25 April – 08 May

* Community Bonding Period. (Eu conversei um pouco com os meus colegas de grupo do GSoC )
* Review Plan with Mentor. (Conversei com o Jonathan)
* Get instructions for the work and get started!

…e se acostumar a trabalhar de casa :)

Portando o Umbrello:

A melhor maneira de trabalhar encontrada para realizar as alterações por partes foi manter as classes antigas e criar as novas classes em conjunto. Assim, incluir as chamadas para os novos métodos nos arquivos antigos mantendo o funcionamento dos dois e com isso testando o funcionamento dos novos métodos.

O resultado no momento é o Umbrello antigo funcionando com uma janela nova mostrando o “novo canvas”:

Nesse “view” já com QGraphicsView é que eu vou testar as minhas novas classes.

Usando o Squish para gravar testes:

Para tentar tomar a melhor decisão com respeito a como proceder para o port, que partes do codigo reaproveitar, eu fiz alguns diagramas de classe (apenas uns rascunhos), com as principais classes, as que eu devo trabalhar.

Com isso, eu achei que seria interessante desenhar o diagrama no Umbrello, e gravar alguns passos no Squish (eu to usando o Squish Community Edition – froglogic Squish IDE 4.1.0-SNAPSHOT – disponível apenas para testar softwares do KDE, voce pode pedir pelo e-mail: squishkde@froglogic.com) . A vantagem foi pegar alguma prática com o Software (também descobrir e reportar alguns bugs :/)

E é muito facil de gravar testes com o Squish, você pode automatizar os testes ou escrever os scripts na mão. O que é cansativo é que a medida que você grava os testes, o sistema armazena uma tabela com os objetos da tua aplicação. Mas se o o bjeto não estiver nessa tabela ainda, o teste pára e é necessário incluir o objeto ou editando a tabela no braço, ou executando a aplicação no modo Spy ou ainda simplesmente gravar testes ‘dummies’ onde você deve usar os objetos que você precisa no teste. Você pode tirar as suas próprias conclusões conferindo o link: http://doc.froglogic.com/squish/latest/all/

Alguns links interessantes:

QObject x QGraphicsObject:
. http://stackoverflow.com/questions/4922801/adding-signals-slots-qobject-to-qgraphicsitem-performance-hit
. http://stackoverflow.com/questions/2292072/penalty-of-using-qgraphicsobject-vs-qgraphicsitem

Qt GraphicsView in depth:
. http://qt.nokia.com/developer/learning/online/talks/developerdays2010/tech-talks/qt-graphics-view-in-depth

QTestLib:
. http://doc.qt.nokia.com/4.7/qtestlib-manual.html#qtestlib
. http://qt.gitorious.org/qt-labs/qtestlib-tools

Próximas semanas:

Sprint 1: 09 May – 22 May

* UMLViewCanvas, LinePath, Circle, SubsetSymbol, SeqLineWidget, UMLView (Classes that implement the view for the diagrams, graphical representation of sequence lines and that represent diagrams)

O meu plano de trabalho completo você pode ver aqui: Umbrello UML Modeller QGraphicsView Port

Acredito que, assim como a maioria dos estudantes, a minha expectativa com o GSoC é aprender MUITO e realizar um BOM trabalho. E mesmo depois desse período continuar contribuindo para a comunidade :)

FLISOL

No dia 09 de abril, toda a América do Sul organizou o evento anual conhecido como FLISOL (Festival Latino Americano de Instalação de Software Livre) . Eu ajudei a organizar aqui em Porto Alegre, onde nós tivemos algumas palestras e um install fest no Sindbancários (Sindicato dos Bancários).

A primeira palestra foi sobre o Web Mind uma ferramenta para gerar código a partir de uma linguagem natural. Sim, uma ferramenta que pode transformar português comum em código e banco de dados. Ele funciona muito bem e se você estiver curioso, pode conferir aqui: http://www.thewebmind.org/

Depois era nossa vez de falar – Jos e eu – uma palestra sobre openSUSE e KDE. Eu fiz a tradução ao vivo (uma hora no palco parece duas!) e fiz a minha parte em pt-br, é claro. Os ‘gatinhos’ (deem um aolhada nos slides) na apresentação de Jos teve o efeito habitual e conseguimos manter as pessoas acordadas apesar de ter que simplificar um pouco em relação ao público habitual. Jos reclamou que ele está acostumado a falar com as pessoas “que sabem a diferença entre up e downstream”, parece que ele vai ter que preparar novas apresentações com mais detalhes, voltada para newbies.

Tivemos outras ótimas palestras, por exemplo, sobre Arduino . Muitos DVD’s do openSUSE e folders foram distribuídos – teremos mais computadores deixando ‘a escuridão’ ;). Depois, no jantar, o pessoal comentou e reclamou o quanto as distribuições Linux têm se tornado muito fácil de baixar na internet e instalar, tirando a diversão (e desafio) de instalar o Linux em installfests.

E pela primeira vez no FLISOL, organizamos dois Dojos (um grupo trabalha junto em um desafio de programação) – usando JavaScript e Ruby. Os Dojos já acontecem mais ou menos uma vez no mês aqui em POA, mas os programadores ficaram felizes em ter uma distração a mais além das palestras habituais do encontro.

Com tudo isso, nós tivemos alguns bons resultados:

* 323 pessoas se inscreveram
* 120 pessoas presentes (o segundo maior FLISOL em Porto Alegre)
* Mais de 200kg de alimentos arrecadados (para dar a uma organização de apoio para desabrigados )
* 7 palestras técnicas
* 2 coding dojos

Você pode ver fotos aqui e aqui :)

bye. ;-)

Tchelinux Bagé 2011

O Tchelinux é um grupo de voluntários que desde 2006 trabalha na divulgação do Software Livre no estado do Rio Grande do Sul, através de palestras e workshops gratuitos para estudantes e demais interessados. Os seminários do Tchelinux costumam ser realizados no decorrer do ano por voluntários participantes do grupo em diversas cidades do Rio Grande do Sul. Esses eventos costumam acontecer aos sábados e são compostos por palestras de voluntários participantes do grupo.

Em 2011 teremos a quarta edição do seminário Tchelinux na cidade de Bagé.

Onde: (novo) prédio da Unipampa Bagé
Quando: 28 de Maio
Horário: das 08h às 12h, e das 14h às 18h (total de 8 horas)
Inscrição: 2kg de alimento não perecível (link para inscrições será divulgado em breve)

Chamada de palestras: Aberta até 30 de Abril de 2011. Submissões através do site do evento.
Quem pode palestrar
: Qualquer pessoa interessada em algum tema relacionado a software livre.
Temas de interesse: Sistemas Operacionais, Desktop e aplicativos, Aplicativos Gráficos, Jogos e Multimídia, Desenvolvimento e Banco de dados, Administração de Sistemas, Redes e Segurança, entre outros. (sugestões/exemplos de palestras)

Mais informações no site do grupo
ou no site do evento
ou através do e-mail: nunes ponto erico at gmail ponto com

FLISOL

On the 9th of april, all over South America people organize the yearly FLISOL (Latino American Festival of Free Software Installation). I helped to organize the local meet in Porto Alegre, just a few blocks from my home. We had a few talks and an install fest, all happening in the Sindbancários (Bank Employees Union).

The first talk was about the Web Mind discussing a natural language code generator. Yes, a tool which can turn common portuguese into code. It works very well and if you’re interested, check out: http://www.thewebmind.org/

After that it was our – Jos and me – turn to talk – an openSUSE and KDE talk. I would translate live (one hour in the stage looks like two!) and do my own part directly, of course. The kittens in Jos’ presentation had the usual funny effect and despite having to simplify things a bit compared to the usual audience, we managed to keep people awake. Jos complained he’s used to talking to people “who know the difference between up and downstram”, looks like he has to work a bit on his presentations-to-newbies skills.

A few other presentations happened like Arduino (with moving pieces of hardware, yay). While lots of openSUSE DVD’s and folders were given out only a few computers were ‘turned over from the dark side’. At the dinner afterwards we complained that linux distributions have become too easy to download and install, taking away the fun (and challenge) of installing linux at InstallFests.

And for the very first time at FLISOL, in other room, we had two Dojos (a meeting where a bunch of coders get together to work on a programming challenge) – using Javascript and Ruby. The Dojo happens every month or so, and the programmers were happy to see some talks and to program at FLISOL as it provided a welcome distraction from the usual meet.

With all that, we had some nice results:

* 323 people signed up
* 120 attending (the second biggest FLISOL at Porto Alegre)
* more than 200Kg of food collected (to give to a support organization for the homeless)
* 7 technical talks
* 2 coding dojos

You can check the pictures here and here :)

bye ;-)

Building a sexy Umbrello

I’m a big fan of Umbrello. It’s a Free Software graphical UML (Unified  Modeling Language) editor, one of the very few of it’s kind. Most UML tools are proprietary tools written in Java and Umbrello is written in C++/Qt and build on the powerful base of KDE  software. I realized how interesting Umbrello is when I noticed that the  most of my professors suggest proprietary tools or a generic diagramming program with few UML features to study UML at college class. Many companies use UML to help them quickly write applications and Umbrello is (as far as I know) the only Free Software tool which can do the code generation required for that!

Why UML is important?

Modeling is the designing of software applications before coding. Modeling is an Essential Part of large software projects, and helpful to medium and even small projects as well. (…) Using a model, those responsible for a software development project’s success can assure themselves that business functionality is complete and correct, end-user needs are met, and program design supports requirements for scalability(…)
http://www.omg.org/gettingstarted/what_is_uml.htm

Of course, It is not only my college that uses UML, there are a lot of company wich use UML tools in their development process, including  companies where I have worked and you can find some more examples here.

Umbrello

So having a Free Software UML editor is pretty important! And the Umbrello UML editor is really cool:

  • Automatic code generation (Ada, C++, C#, Java, perl, PHP, Python, Ruby)
  • Import classes and project (Ada, C++, IDL, Java, Pascal and Python only)

The bad news is that Umbrello does not receive a lot of love. It has been roughly ported to Qt4 and KDElibs4 but still uses a lot of Q3Canvas classes and has quite a few bugs.

Umbrello today

Umbrello

Working on Umbrello

Which is why I choose Umbrello for my conclusion work for the University. I would have to work on something anyway, why not pick something that matters? But as I combine my study (5 nights with each a different class) with a full-time job I don’t have a lot of time to do a proper job on Umbrello. My goal for the University is therefore pretty modest: I intend to finish the port of the canvas to QGraphicsView. I have identified about 30 classes which are related to the Q3Canvas and will have to be ported or replaced. I also intend to use tools for automated tests, write unit tests and and fix some bugs.

But there is more to do:
  • Better stereotypes supports
  • Complete Undo/Redo  support
  • Hyperlinks support
  • Reuse KDevelop analysis for code import
  • Bug fixing

GSoC 2011

So I have applied for a Google Summer of Code. Jonathan Riddel, the current maintainer of Umbrello, has said he would mentor me, which is really cool. So if I get this, I can quit my current job and finish the porting to QGraphicsView much faster. To ensure it’ll be a successful project, I’ve been quite modest in my goals for GSoC too: I only shortened my university plan to the GSoC timeline and added a few small things. If I finish the work for my conclusion work during the GSoC, I can be more ambitious for my University and add to the plan – I’m sure my professor won’t mind if I take on some feature work in Umbrello as well!

%d blogueiros gostam disto: