Infinitive Clauses and Jenny

All

Intro

   I like to study German using Jenny’s materials at, Learn German With Jenny’s [1]. She explains very well and have many many examples! Sometimes I need to watch it several times to understand the content in full, but this is because it’s complicated and it’s difficult to memorize it actually. But I also use [2] for deep explanations.
So today in the morning I was reading a book, , and I found this zu lost in the sentence and I think that’s the reason

Infinitive Clauses 

The example below is from [2]. {From what I understood.} In infinitive clauses, it’s basically implied the grammar subject and therefore the verb can not vary! We need the first clause to understand the context and deduce it’s meaning. {I always put From what I understood because it might be a little different in the end}
Es wundert mich, meine Mutter hier zu sehen.
It surprises me to see my mother here.

The second sentence depends on the first, but they are combined in the infinitive form. The infinitive clause is in the infinitive because of the reasons already explained above.

Refs

[1]: https://www.youtube.com/watch?v=HwxJilMaCuU
[2] http://www.dartmouth.edu/~deutsch/Grammatik/WordOrder/Infinitives.html

Scientific Method

All

“The seeker after truth is not one who studies the writings of the ancients and, following his natural disposition, puts his trust in them,” the first scientist wrote, “but rather the one who suspects his faith in them and questions what he gathers from them, the one who submits to argument and demonstration and not the sayings of human beings whose nature is fraught with all kinds of imperfection and deficiency. Thus the duty of the man who investigates the writings of scientists, if learning the truth is his goal, is to make himself an enemy of all that he reads, and, applying his mind to the core and margins of of its content, attack it from every side. he should also suspect himself as he performs his critical examination of it, so that he may avoid falling into either prejudice or leniency.”
                                                                                                                         – Ibn al-Haytham

One of the fathers of the scientific method: 

1 – Observe an

2 – Ask a question
3 – Try to explain with an hypothesis (aka explanation)
4 – Design Experiment
5 – Test hypothesis using a prediciton – result of observation + hypothesis
6 – Abandon the hypothesis and create another OR keep testing

Ref

[1] https://www.khanacademy.org/science/high-school-biology/hs-biology-foundations/hs-biology-and-the-scientific-method/a/the-science-of-biology

Interviews/expectations

All

Intro

A close friend of mine recently got a job in a company that I was interviewed to work with. Actually, I managed to pass all the stages of the process and got to talk to the hiring manager in the last interview.

This was back in Sao Paulo, in 2014 and some days before this final interview I found more information about this Spanish company. Yup. Anyways, the process was in English but also in Spanish – mine is not good sorry. I found that the gap between a worker in Sao Paulo and another in Madrid, where the company has its HQ was huge. I mean, the difference was really undeniable.
With this information in hand when I started to talk with the hiring Manager, I explained to him that I thought it was not far and that we should earn the same amount of money. I knew the taxes are higher in back in Brazil but it does not explain that gap.
He argued saying that an average worker in Sao Paulo would have less productivity and therefore they pay less. I counter argue that it was not my case and they should, therefore, use a compensation scheme/bonus instead of paying less for the same employee in two different locations of the company. They do the same thing, they should be paid equally (taxes aside of course)

I remember I left the company that day knowing that they would not call me and this was confirmed later. But I disagree I should have accepted working for them for less.

I’m very glad we disagreed that day. Later on, that same year, I started working at Agile Solutions – which had projects with SAP – and was accepted to do my graduate studies at Dorsal Lab.

Your CV vs your profile 

The main point of this short history is to trust in your guts, work hard, make the difference and your profile will shine eventually. It does not matter the place, your profile will break through the invisible walls that divide people, e.g. citizenships and others non-meritocratic measurements of success.
Your CV is part of you but it does not represent you and all your skills as a person. Keep working hard.

Ref

[0] NRTT

MPX Project

All

Intro
After entering the university I quite realized that people didn’t have the same opportunities for getting into the not-paid universities the same way I did (Actually, I didn’t pass the <vestibular> I managed to enter a private institution with a scholarship).
But anyways, after realizing this I started a volunteer job as the teacher of physics in an NGO back in Sao Paulo, 2012. Uneafro, which was a dissident part of EduCAFRO.
MPX

So years later, while remembering all this situation I came to the conclusion that I could help people in some way. Therefore I developed the MPX Project, which is to give the public access to pre-university/university content to the common public without paying for it. You would need only to subscribe and that’s it.
MPX is, therefore, this initiative for creating a public platform for content with videos, tutorials, and exercises for people.
I started developing it using Moodle and created a WordPress web-blog to post more about its development. Although is slow nowadays I didn’t stop it actually. I tested for installations but I’m still developing the platform itself.

Later on/now the problem is to find reliable content to be uploaded not just for my field, computer science, but also for other fields. I contacted some NGO’s and they are open to MPX platform.
Moodle

Moodle is this online open source platform for teaching. It’s actually quite nice and it’s developed in modules. So your Moodle installation might have more or fewer modules according to your needs.
I hope to have it working, at least partially in 2019!

REFs

[1] Moodle 

Lost track remote branch [git tip]

All
Intro 
  I remember I deleted the local branch AND I COULDN’T FIND IT!! It was only on the remote.
So what I’ve done? I basically lost track of it.
Tracking a remote branch
    What I did was to delete my local branch and create again using the track option:
git checkout –track origin/daves_branch
      That’s magic, you will get local branch straight from the origin!!
Ref

[1] https://stackoverflow.com/questions/9537392/git-fetch-remote-branch

PHP memories

All
Intro 
    I remember I started learning php from a book in the second year of the univesity. It was quite interesting, some people say you cant learn a programming language, or script, from a book. I tend to disagree though, I first is quite a ok way to learn. But of course, combining with practical part, undoubtedly.
PHP
   I didn’t practice much php for a bit and re-learning it from [1] made me miss the forms and the buttoms. So simple and yet so well done.
    <br><br>
Gender:
<input type=”radio” name=”gender” value=”female”>Female
<input type=”radio” name=”gender” value=”male”>Male
<input type=”radio” name=”gender” value=”other”>Other
<br><br>

Ref

One feature – one branch policy

All

Intro

I remember when creating a new feature in a branch in my first week of work. Then I learned that it was much more easy this way. Otherwise we would need to rebase everytime from origin/dev.

One feature – one branch – (one commit)

So in some teams for each new feature, a new branch news to be created from dev(or masters), the feature is created and then the merge request is created.
This is quite simple and after the feature is merged, the branch is done. Create a new branch.

   It’s very wise to squash for only one commit! yes, so the history is very clean! so nice. Sometimes I dont follow this though, I use two or three commits!

Ref

[1] https://medium.com/ki-labs-engineering/one-feature-branch-one-commit-4393aa0a96cd

 

View at Medium.com

Scons performance

All
Intro 
  In one of the company project, we use scons, but some people hate it actually. I think it’s quite decent, the python scripts are clean and simple to read. But the problem is actually the performance.
Scons Performance
   There is actually a current debate about the scons performance [1] vs [2]. I don’t know why (some bias) I tend to think [1] is a bit more right, at least the benchmarks are quite convincing.
Python fault
But the scripts are written in python, what were you expecting?
 
  [2]https://github.com/SCons/scons/wiki/WhySconsIsNotSlow

MVC

All
Intro
When I worked in Agile Solution, as FSD, I really learned many things but I think one of the most important was the use of MVC model on Js/CSS/Html.
One of the reasons I got into this company was because my honour thesis used the MVC model.
Functional Programming
  Sometimes I had questions specially about Functional Programming, which is very interesting but demands you to learn a new way of thinking [4], which NC Patro explains very well about it.
SAPUI5
  Besides this, we used some stuff from the SAPUI API [2], which for me seemed more a library though.
Tip for learning 
 Use the materials from W3School[3], which I always use when beginning a new thing.
NZ
By the way, one of the guys that most taught me about it, Mateus, has his own youtube channel [1]. He recently moved to New Zealand.

MAD MAD MAD

All

Multiple Asurred Destruction

Sometimes I’m glad that Game Theory was invented, the humanity would not be here otherside – who knows. This military doctrine always came to me while watching those apocaliptic movies, Terminator for example – breaking the so called Nash Equilibrium [1]

Game Theory

   Game theory came to my life after watching A Beautiful Mind and got stuck there.
Nash Equilibrium
   In the Nash Equilibrium, none of the opponents will change their chosen straties after considering the opponents choices.
Programming Games with AI
   So when I first started my game implementation using concepts of a “AI for Games” book. I started very hard to implement games with those concepts. But I couldn’t finish them, specially because I wasn’t using Git and I was programming in C – which is awesome but for those things is much faster use some Python libraries. I can’t find those codes unfortunately.