Archive | October, 2014

Movie review – Maleficent

14 Oct


by Laura


Hi folks, it’s movies time!!

Following the trend of re-filming fairy tales, like Red Riding Hood (2011), Snow White and the Huntsman (2012) and Hansel & Gretel: Witch Hunters (2013) to re-tell stories or even tell a new one, Disney couldn’t resist this.

Maleficent was released this year and Angelina Jolie plays the main role as Maleficent herself. The cast also includes Elle Fanning as Aurora, Sharlto Copley as Stefan and Juno Temple as Thistletwit, among others. Its budget was estimated in $180.000.000 and by 9th of July grossed $335.469.968 worldwide. Big bucks indeed.

Continue reading


Javascript Double Not-Operator(!!)

8 Oct

In javascript Falsy and Truthy values are used all over the place.

For example the following values are always falsy:

  • “” (empty string)
  • undefined
  • false
  • 0
  • null
  • NaN

And any other value is truthy.

Since undefined and empty string are falsy values then we could replace this code below:

if (typeof x !=== 'undefined' && x !=== '') {
  // not emtpy


with a falsy/truthy verification:

if (x) {
  // not emtpy


To set the result of falsy/thruthy verification to a variable is possible to use a double not-operator(!!) which will force a type casting to Boolean.

var xIsEmpty = !!x;


Actually !! is not an operator it is only the ! operator twice. The first ! will cast to boolean inverting the result. Then the second ! will invert again the value so it is the expected boolean value.

var x = 0;        // falsy
console.log(!x);  // true   (it is not what we want)
console.log(!!x); // false


Originally posted in

Learn Brazilian

2 Oct


By Diego


Lit. To leave, to go away.

Se o pai dela chegar, é melhor você vazar.

If her dad arrives you’d better leave..



The standard meaning of vazar is ‘to leak’, but very informally it is used to mean ‘to leave’ or ‘to go away’.