Using Gitbash/Usando Git bash

All

[en]

For people that prefer a unix like command line interface, Git bash is very recommended.  It interfaces also git program and it is a Linux-based command line. It emules the sensation of navigating in Linux but using the Windows system.

The tutorial from [1] is extremely useful for installing and learning Git bash.

http://www.techoism.com/how-to-install-git-bash-on-windows/

[pt]

Para pessoas que preferem uma interface de linha de comando similar ao unix, o Git bash é muito recomendado. Ele também programa git e é uma linha de comando baseada em Linux. Emula a sensação de navegar no Linux, mas usando o sistema Windows.

[fr]

Pour les personnes qui préfèrent une interface de ligne de commande unix, Git Bash est très recommandé. Il interface aussi le programme git et c’est une ligne de commande basée sur Linux. Il émule la sensation de naviguer sous Linux mais en utilisant le système Windows.

Using Trello/Usando Trello

All, Suggestion

[eng]

To control my tasks in my personal projects, I use trello [1]. It’s actually very flexible framework for project management and it can be used shared, which is quitt interesting.

It was bought by Atlassian in 2017, but still quite good.

[1] https://trello.com

 

[pt]

Para controlar minhas tarefas em meus projetos pessoais, eu uso o trello [1]. Eh um framework muito flexível para o gerenciamento de projetos e pode ser usado de forma compartilhada, o que é bem interessante.

Foi comprado pela Atlassian em 2017, mas ainda assim muito bom.

[fr]

Pour contrôler mes tâches dans mes projets personnels, j’utilise trello [1]. Il s’agit en fait d’un cadre très flexible pour la gestion de projet et il peut être utilisé en partage, ce qui est intéressant.

Il a été acheté par Atlassian en 2017, mais toujours assez bon.

 

C++ Tip [warning surpressing]

All, Tips

Sometimes we are facing so many warning that we cant just ignore them. Actually we should not, at least by Cpp Coding Standard by Andrei Alexandrescu. In this book, it is recommended to clean those high level warnings.

To do this in VS 2015 we just need to change the project properties by adding the Specific Warning. So going in the project configuration, below C/C++ tab, in Advanced Settings and adding the code to be ignored in ”Disable Specific Warning”

Source: https://msdn.microsoft.com/en-us/library/jj715718.aspx

Image demonstrating how to do it:

Warning

Deploying with Glassfish

All

Intro

We are working today to send a home work in java regarding some patterns for Cloud computing course at Polymlt (Lp3 of Prof Foutse K. in Infonuagique). There are several cloud patterns we must implement on java and deploy on Glassfish[2], which is an enterprise server application.

 Cloud patterns

The patterns are based on the paper [1], which Foutse K. developed and help to solve a set of scenarios of cloud. Like a queue for example, which helps solve an access for a resource.

Those patterns are an evolution, or specialization of the Design Patterns, gang of four, book [3], and bring essential solution for specific cloud issues, for example a priority queue is an specialization of the abstract factory of the book.

A very simple scheme is here [4].

Glassfish

Glassfish is an enterprise server application and basically will make the project run in the cloud. The project will be then deployed in a cloud machine, in which we used a S2 Amazon machine.

Interesting to highlight we had some issues with the project deployment, but it worked just fine.

REFs

[1] An empirical study of impact of cloud patterns on quality of service (QoS)

[2] https://javaee.github.io/glassfish/

[3] Design Patterns: Elements of Reusable Object-Oriented Software

Book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm

 

[4] https://drive.google.com/open?id=0B-ZRkXDVghb6U2RDcG52eGpDY28

 

Tags: deployment, glassfish, app enterprise, java

O que é Tracing?

All, Tools

Introducao basica – o que eh tracing?

Gravacao de eventos .

Nao eh logging, pois esta ligado a eventos em baixo nivel e muito mais rapidos nao sendo tambem profiling 

Pode ser no lado em eventos de usuario e eventos do kernel.  A gravacao eh feita em runtime e portanto ha uma interferencia, que é chamada de overhead. O numero de eventos gravados tambem varia, ocorrendo por vezes perda de alguns eventos a depender da ferramenta de tracing.

     Basicamente o que deve ser feito?

Rodar o aplicativo, ligar o trace e fazer a analise.

Ferramentas

LTTNG

Eh um tracing dos eventos do kernel e dominio usuario com baixo overhead.

Eh possivel analisar apenas alguns eventos do kernel ou todos os eventos, assim como eh possivel fazer a analise de eventos padrao no kernel ou criar pontos de tracing no proprio codigo (aplicativo) para fazer a gravacao.

Para fazer a analise dos traces, eh necessaria a ferramenta de analise dos traces, que pode ser o BabelTrace, ou o TraceCompass. É desenvolvido pela EfficiOS.

Dtrace

É um framework para analises de performance e deteccao de erros que eh incluso por padrao em diversos sistemas operacionais, incluindo Solaris, Mac OS X and FreeBSD.

perf

É uma ferramenta para profiling para Linux 2.6+. Um interessante tutorial pode ser encontrado aqui: https://perf.wiki.kernel.org/index.php/Tutorial

strace

É uma ferramenta para debbuing e diagnostico Pode alterar sua aplicacao a medida que usa ptrace no kernel, tendo um overhead grande.

   ftrace

É um framework para tracing em Linux desenvolvido por Steven Rostedt e que foi incorporado ao kernel do Linux.

Conference Rv 2015 – Vienna

All

Intro

After starting my graduate studies with Prof Michel, at Polymtl, I came to notice the RV 2015 conference related to Real-Time verification, which tracing is a branch actually. I entered in contact with Prof Ezio B. and he provided the invitation.

Austria

Austria is a great country, it was my first time there and I really loved it. Really really special!

RV conference

The conference was excellent. It gave me many ideas and stuff to look for. I got my contact also, conferences are good in this sense.

After coming back to the lab I created a presentation [1]

REFs

[1] https://1drv.ms/p/s!ArPtYRnM1EFptEANdpwY8ahrd0UH