quinta-feira, 21 de novembro de 2019

This post will write about a different subject. A couple of posts before I wrote about my last travel. Now I will show another side of myself. I have studied Math and Programming.

I liked to connect Math's concepts to Science Computer, I believe there are many ways to learn and know the computer, but I always try to use always Math to solver a problem. This moment, I changed countries in January 2019, I live in Sydney, Australia now, we have been lived since January 2019.

So, I will start with the algorithms. I define algorithms with many synchronized steps with the goal to fix or resolve a problem.

The first algorithm I will describe is Fizz Buzz.

Given an array of the number and I will interact with the array, and check conditions to print something.

It is the simple algorithm for started, the problem is: Print Fizz is the number is multiple of 3 Print Buzz if the number is multiple of 5, if the number is multiple 3 and 5 print FizzBuzz, otherwise the number is print.


public class FizzBuzz {

public FizzBuzz(int size) {
for(int i = 1; i <= size; i++) {
boolean isMultiThree = i % 3 == 0;
boolean isMultiFive = i % 5 == 0;
if (isMultiThree && isMultiFive) {
System.out.println("Fizz Buzz");
}
else if (isMultiThree) {
System.out.println("Fizz");
}
else if (isMultiFive) {
System.out.println("Buzz");
} else {
System.out.println(i);
}
}
}
public static void main(String[] args) {
new FizzBuzz(100);
}
}

domingo, 17 de novembro de 2019

Visitando Paris - Holiday on Paris

Paris é uma cidade encantadora, existe várias criticas quanto a sua famosidade, mas uma visita a Paris foi para nós um dos melhores momentos da viagem à Europa em 2019. Uma cidade com uma riqueza de informações históricas, onde das várias histórias são mundialmente conhecidas.

Em Paris utilizarmos muito o transporte público, ficamos hospedados na região metropolitana, em Rueil-Malmaison, logo para acessar de forma rápida e com preço acessível a região central de Paris a melhor opção era através do metro. Uma forma de conhecemos e visitarmos Paris com  os filhos foi através de ônibus de turismo, além de passarmos pelos os principais pontos turísticos, conhecermos sua historia, foi uma forma confortável para nós e as crianças.


------

In English 

Paris is an enchanting city, there are several criticisms of its famosity, but the holiday in Paris was for us the one best moment of Europe's trip in 2019. A city with a wealth of historical information, whereof the various histories are known worldwide.

At Paris we used so much public transportation, we started in the metropolitan region, in Rueil-Malmaison, so for we access fast and with the good price the downtown of Paris, the best option was through the metro. The way we know and visit Paris with the children was through the tourist bus, beyond us we passed for mainly tourist hotspots, we know its history, it was the more comfortable than walking for us and the children. 


Torre Eiffel entre as ruas de Paris vista a noite./  Torre Eiffel between the streets in Paris in night view.

Uma foto minha, atrás a pintura de Mona Lisa, pintura de Leonardo da Vinci. My picture, behing the picture the Mona Lisa, picture of the Leonardo da Vinci.

Uma parada para as crianças brincarem./ On stop for children plays.

Arco do Triunfo


Uma foto interessante, Torre Eifel e um painel com um propaganda sobre a Austrália (onde moramos)./ The interessting picture, Torre Eiffel and a panel with an advertisement about Australia (where we live).






quinta-feira, 14 de novembro de 2019

Visitando Praga - República Checa / Holiday in Prague - Czech Republic

Depois de alguns anos sem escrever no blog senti uma necessidade de compartilhar experiências e algumas informação.

Viajamos para Praga, República Checa, um pais de Castelos, de lingua própria e de comida deliciosa. Foi uma experiência sensacional, mágica, inovadora para uma nós como família. O período do ano era Outono, mas o frio era tão forte para a nossa pele nordestina brasileira, mesmo tendo no ano anterior tendo visitado pela a primeira vez a Europa, na época conhecemos um pouco de Portugal, Inglaterra e Holanda, mas dessa vez o frio bateu mais intenso.

Outro ponto que gosto de descrever foi a visão que tivemos de uma sala debaixo de Castelo de Vysehrad, nunca tinha caminhado por túneis seculares debaixo da terra e com um objetivo simples de chegar a uma salão com diversas esculturas, com valor significativos para a época, e para os dias atuais em relação a emoção para nós visitantes.

------

In English

After many years I will come back to write on my blog. I felt the necessity to write and share the experience more.

We travel to Prague, Czech Republic. A beautiful county, a country with Castles, a country with a specific language and delicious foods. It was an awesome experience, magical, new and innovation to us as family, two adults and two children. The session is fall, but the cold was not too strong for our Brazilian's northeastern skin, although we had to visit the year before, where it was we were the first time in Europe, in that time we can know a little of Portugal, England, and the Netherlands, this time the cold arrived more intense for us.

Another point that we really liked and I would like to describe was the views underground of the Castle of the Vysehrad, I never mind I had walked through secular tunnels underground and with a simple goal of reaching a hall with several sculptures with significant value for the season, and for the present day regarding excitement for us visitors.


Vista da Cidade de Praga através do Castelo de Vysehrad, ao fundo podemos ver o Castelo de Praga. View of the Prague City through the  Vysehrad's Castle, in the background we can see the Prague's Castle.

Joelho de Porco - Pork knee (Tradicional Comida na República Tcheca - Traditional Food on Czech Republic)


Ao lado esquerdo da foto, um prédio moderno de prédio espelhado, Prédio dançante. / In the left of the picture there are a modern build of Prague, Dancing House.
Salão debaixo da Castelo de Vysehrad. / Room underground of the Castle of the Vysehrad.