cowboy me, 2.0: jose nazario beauty and the street

Four short links: 4 September 2013

risk management activities, Erik Kirschbaum, Lady Gaga, imperative languages

Uber Blog | Uber welcomes three new members to its senior team -- Emil Michael, formerly Chief Operating Officer of Klout, and prior to that was SVP of Field Operations at TellMe Networks, is joining Uber as our SVP of Business. I am counting on Emil to be the leader of our business efforts and the face of Uber to our business partners and customers globally.

Merkel's fear: pollsters may get it wrong again| Reuters -- Merkel's conservatives may have a comfortable 15-point lead over the next biggest party, the Social Democrats (SPD), but her centre-right coalition is in a dead heat against three combined left-of-centre parties in some opinion polls, each having about 45 percent. Party programs are so similar, so it's easy to see voters changing their minds up to election day."

Lady Gaga: 'People think I'm finished' | Music | The Guardian Latest artists add ... -- Gaga says she would have tried to keep the hip operation a secret to shield her fans once more if she had managed to make it to the end of her tour, but it wasn't possible. "It's so interesting for people to say that the lyrics are all about me the performer," she says, somewhat disingenuously. I want you to wake up in the morning and say: 'I live for your applause, look at me today, I'm having a great day, I'm going to work and I'm going to have a fantastic lunch with my friends.' But it's not to be taken quite as seriously and as literally as people make it to be, which is why in the verses I'm sort of making fun of what people think about fame."

Learn Go in Y Minutes -- g := '' rune type, an alias for uint32, holds a UTF-8 code point f := 3.14195 float64, an IEEE-754 64-bit floating point number c := 3 + 4i complex128, represented internally with two float64s Var syntax with an initializers. no ellipsis here s4 := make([]int, 4) allocates slice of 4 ints, initialized to all 0 var d2 [][]float64 declaration only, nothing allocated here bs := []byte("a slice") type conversion syntax p, q := learnMemory() declares p, q to be type pointer to int. s := make([]int, 20) allocate 20 ints as a single block of memory s[3] = 7 assign one of them r := -2 declare another local variable return &s[3], &r & takes the address of an object. if false { pout } else { gloat } Use switch in preference to chained if statements. x := 1 switch x { case 0: case 1: cases don't "fall through" case 2: unreached } Like if, for doesn't use parens either. for { infinite loop break just kidding continue unreached } As with for, := in an if statement means to declare and assign y first, then test y > x. } fmt.Println("xBig:", xBig()) true (we last assigned 1e6 to x) x /= 1e5 this makes it == 10 fmt.Println("xBig:", xBig()) false now When you need it, you'll love it. go func() { c <- 84 }() start a new goroutine just to send a value go func() { cs <- "wordy" }() again, for cs this time Select has syntax like a switch statement but each case involves // a channel operation.

This post is auto generated by @hacktweetnews



next Wednesday, Sep 04, 2013 @ 10:33pm | previous Tuesday, Sep 03, 2013 @ 04:05am | archives

Last modified: Wednesday, Sep 04, 2013 @ 04:05am
Weblog Commenting and Trackback by

Your Ad Here

copyright © 2002-2015 jose nazario, all rights reserved.