Entrepreneurship, product management, design & software.
-
@return tag for methods returning array of objects
I always wondered how to write the @return tag for methods that return an array of objects. Today I discovered that you have to write: <?php class AnotherClass { /** * @return MyClass[] */ public function getClasses() { // logic here return $array_of_classes; } } You can read the relevant docs here.
-
Set Ubuntu desktop background from Unsplash
I love having inspiring desktop background while I work. Often I leave a monitor free of anything, just to admire a wonderful photo. Unsplash is the perfect source for free stock photos, so I thought to set up a script to fetch a random image from Unsplash and set it as the desktop background on […]
-
Startup scaling and personal feelings: “Give away your Legos”
One of the best articles I’ve read in a while. Usually, I’m very attached to projects I work on and I’ve felt this way a lot of times: “As you add people, you go through this roller coaster of, ‘Wait, is that new person taking my job? What if they don’t do it the right […]
-
Don’t collapse File headers by default in PHPStorm
By default PHPStorm (which I love, BTW) collapses header comments. I think this is not a safe default, as I use header comment to give my fellow developers (or my future self) an overview about the file they’re going to read. To deactivate this behavior, just go to Settings > Editor > General > Code […]
-
Book lost: Thinking Strategically
It had to happen: I didn’t finish a book during my reading challenge. It was Thinking Strategically: The Competitive Edge in Business, Politics, and Everyday Life. The first chapters were very good, but reading on it felt dry and I just couldn’t go on. As I said, this will not count towards my goal of […]
-
Book review: Web Analytics 2.0 by Avinash Kaushik (4/53)
Web Analytics 2.0: The Art of Online Accountability & Science of Customer Centricity by Avinash Kaushik My rating: 5 of 5 stars I’ve always wanted to learn more about web analytics. But everything I read was either too simple or too advanced: this book was simply great because it explained the ideas behind the strategies, […]
-
Discovering Trampboarding
Put this in the series “Things you can’t imagine they exist until you see them”. I just discovered Trampboarding: it’s like skateboarding, without wheels, on a trampoline.
-
Can you have a life outside coding?
Life happens. People meet other people who become partners. People have kids. People build families. Developers are people. A great post by Belén Albeza
-
Update autoloader with Composer
I keep forgetting this: to update an autoloader created with Composer issue this command $ composer dump-autoload
-
Love (in words)
Got any book recommendations?