ActionController::Live - Live streaming in Ruby on Rails
How to use Active Job in Rails 4.2
How to use Web Console in Rails 4.2
Switching to working from home (and expecting a baby pretty soon)
As you probably already know, Lana and I are expecting a baby boy next month. We wanted to be closer to family, so a couple of weeks ago we moved back to Ann Arbor and I started working from home full time. People at Tribune supported my decision, and I feel really grateful for that.
So how do I like working from home, you may ask? It is amazeballs. And this is why:
I am way more productive. There are less interruptions which allows me to focus solely on the task at hand. In technology, we are constantly presented with new problems, and according to the research done by social psychologist Robert Zajonc, people who perform non-trivial tasks are less productive when surrounded by other people (even though I’m an extreme extrovert I can confirm that his findings are absolutely true for me).
No commute. In other words, I have more time for work and fun, and I stress less because I don’t have to worry about traffic or weather.
Ergonomic setup. I’ve always been trying to make my work station as comfortable as possible, especially since sedentary work often leads to lower back pain. When I worked from the office, I used Microsoft Natural Ergonomic Keyboard 4000 and Logitech Wireless Trackball M570, but I couldn’t replace the chair I had. Now I’m free to use whatever chair I like, and in this case I use Steelcase Think and I feel really confortable even when I sit for prolonged periods of time.
I can sit by a window and enjoy the nature and the sunlight. Sunlight wakes me up and makes me alert and instantly puts me in a good mood! Bonus points for switching timezones and having the sun set 45 minutes later.
It is cheaper and easier to eat at home. What’s more convenient than having access to your own fridge? It is also healthier: I care about what I put in my body, and if I make my own food I know exactly what goes in it. In addition, it is easier to eat more frequently. Smaller, high quality meals sustain your blood sugar levels and provide you with a constant source of energy.
So far this has been a wonderful experience for me with absolutely no drawbacks. Technology allows me to video chat or share screen easily if I need to. To ensure that everything runs smoothly, I upgraded my internet to the 50/10 speed, and bought a new modem (Motorola Surfboard 6141) and router (Linksys WRT1900AC). And so far, this setup has been rock solid (knocking on wood).
Correlation does not imply causation
The correlation between two things doesn’t imply that one causes another. Knowing one variable may allow us to predict the other one, but it doesn’t tell us why there’s a connection.
For example let’s consider the following statement (regardless of whether it’s actually true):
Most programmers are male.
What this statement means is that a person who writes code is more likely to be a man than a woman. But this doesn’t mean that being a male causes people to become programmers (and definitely doesn’t mean that being a programmer causes people to be male).
It tells us what to expect, but it doesn’t reveal the mechanism that influences these factors. In the previous example, the correlation may be high, but the relationship is not causal.
What may be happening under the hood is the presence of a third critical factor.
Consider the situation where the people who regularly take the vitamin X have less heart problems than the people who don’t. That can lead you to believe that the supplement has a positive effect on the heart’s health, but there is a flaw in that logic.
What if the vitamin X costs a lot of money, and its consumers are mostly wealthy people, who generally tend to eat healthier?
The numbers don’t lie. But be very careful when you interpret them.
Meaningful Social Network
Many people go on social networks to seek attention and approval. If their tweet, photo or status update doesn’t receive any love and support from the people in their network, they may be tempted to create a post similar to their friend’s one that did.
Too many women post pictures with too little clothes on, and too few men post great things about other men. And too many men and women post photos of their food or get obsessed about celebrities who they don’t really know and probably never will.
People adapt so they can be more likable. People like people who are like them.
Humans are social animals and it’s a well known fact that our behavior depends on both our genetic make-up and our environment. The external forces shape our behavior and our beliefs.
And therefore, in our attempt to be accepted and valued, many of us are willing to sacrifice our authenticity, doing things that others expect us to do, talking about things other people talk about, afraid that our real selves aren’t worthy enough.
Social networks are not a popularity contest. People who compare themselves to their virtual friends can get depressed because they compare the highlights of somebody else’s life to their normal, everyday life.
People sometimes forget that the social networks are basically just a communication tool. So if you care about the quality of your relationships, you need to have deep, meaningful conversations.
This means more direct messages, more comments and less likes and favorites.
It is too easy to like something on Facebook. That’s why a Facebook like doesn’t mean much.
Prior to Facebook, there was MySpace. For those who remember and are old enough, there was no like button on MySpace. And in my experience, the conversations were richer and more meaningful.
And now it seems like… Ain’t nobody got time for that.
Most Valuable Person
Yesterday, Kevin Durant won the NBA MVP award. He gave a very emotional acceptance speech, that displayed Kevin’s greatness and at the same time, humility.
He said: “Basketball is a platform in order for me to inspire people.”
Stop and think about that for a moment. No matter what you do, your actions affect other people. Achieving excellence through hard work inspires others to believe their dreams can come true, too.
But to be able to inspire, one must be inspired.
Kevin Durant was inspired by his teammates who were always supporting him and believing in him even when he himself didn’t.
But his biggest inspiration was his mother. Despite being very poor she would always make sure that her sons have food to eat, which sometimes meant that she would go to bed hungry.
"You are the real MVP" - he told her. While he was saying those words, his mom couldn’t stop herself from crying.
Not everybody gets a fancy reward for the things they do. But some actions you take, things you stand for and sacrifices you make shine brighter than any trophy or gold medal ever could.
And he knows that. I applaud you, Kevin Durant.