HNHacker News
TopNewBestAskShowJobs

Amokrane

187 karma · joined January 8, 2011

http://about.me/amokranechentir http://www.chentir.com
submissionscomments
Amokrane··on Write good git commit messages
This assumes that you have access to the issues page. That's not always the case (when working as a contractor for instance). Also, tickets are not always filled properly, and often changes are not accompanied by a ticket. You get so many bonuses from writing good commit messages:

-> Overview of the latest changes without having to open additional links. Very handy for git bisects for instance.

-> Automatic generation of change logs.

-> It enforces changes that are purposeful and well scoped.

-> Knowledge stays with the Git repo. No data migration issues if you decide not to use GitHub anymore for instance...

-> And finally... it really just looks nice and professional. I would not take a project seriously if the Git log was just an aggregation of WIPs and Oopsies.

Amokrane··on Paying top employees the highest salaries in the market
I have seen open-setting that are pretty quiet and where you can get more or less work done during regular work hours. The open space where I work today, though, is an absolute nightmare. It's not that I get interrupted for technical questions, I am interrupted for all sort of things: people around me telling jokes, playing basket-ball, laughing, singing, gossiping, reading their news feed out loud...

The thing that baffles me the most is: the person that generates much of the noise is actually quite productive, but destroys all the productivity around him.

Someone from management obviously needs to step in and do something about it. But they are probably afraid of loosing half the workforce in that area of the office, if they did anything serious to prevent this to happen.

Amokrane··on How We Grow Junior Developers at the BBC
Completely agree. On a side note, the one answer that I always get from management when I suggest that we should write more documentation is: "Well, writing documentation could be useful but maintaining it is hard. So I don't think it's a good idea".

As you said, this should be part of the culture. Documentation should be seen as an artifact that is equally as important as the software deliverable itself.

Amokrane··on Ask HN: Companies who adopted React Native over a year ago, do you regret it?
Consider Flutter (https://flutter.io/) as well. The advantage over RN in terms of performances is interesting.
Amokrane··on Why and how to avoid hamburger menus
+1000. Why limit the actionable area to unveil a menu to an icon at the top left part of the scree (hard to reach on big screens), while the whole screen could be actionable.
Amokrane··on The 10 commandments for happiness and success
FWIW, I grew up in a third world country, waking up everyday fearing that I or someone I care about will die in a bomb attack (search for Algerian Civil War: http://en.wikipedia.org/wiki/Algerian_Civil_War) and having all sort of daily issues (no water for a week, no electricity for days, etc.), and I can tell you this for sure: this didn't prevent us from wanting a life that's above average, from pursuing happiness and from questioning whether we loved what we were doing or not.

Also, I am not sure where you are reading that you should be solitary or not have any family. I take care of my parents, a depressed brother who threatens to suicide every now and then, I am married and would love to have children. What's wrong with having that and aspiring to work on something that you find enjoyable instead of settling on a boring job?

Amokrane··on The 10 commandments for happiness and success
I love it.
Amokrane··on The 10 commandments for happiness and success
There is nothing wrong in finding inspiration in someone else who is better than you, to help build a better version of yourself. There is a subtle nuance between this and feeling jealous or envious.

The main reason why I used the verb 'compare', is because we are taught to think in terms of adversity/competition when it comes to learning in almost any field. I strongly believe that learning should only be about learning. And it turns out that if you learn the right things and if you work hard, for the sake of being good at something, then you will likely be highly ranked. But that should not be the goal.

Amokrane··on The 10 commandments for happiness and success
I do agree with you guys. In the article I make the distinction between people you care about or love (read: family, close friends, your students, people you decided to help) and the others. Specifically, what I find to be dangerous is when you are not aware of the bad influence someone else has on you, and when you are only surrounded by these type of persons who believe that nothing is worth doing/living, then you might end up thinking the same way. It's funny that some comments are about people in the Silicon-Valley being too optimistic or even delusional, because I live in France and I commute frequently to the Bay Area. I find that when I leave to San Francisco, I always feel very morose and when I come back I am always in a fired up mood! But slowly, this mood disappears because the average french is pessimistic about almost everything.
Amokrane··on The 10 commandments for happiness and success
I have read a book on this subject: http://www.amazon.fr/The-How-Happiness-Approach-Getting/dp/0.... The author wrote that happiness was defined at 50% by our genes, 10% by circumstances and 40% by intentional activities. I guess that's a non-negligible proportion we could act on.
Amokrane··on An office with "library rules"
I agree with you on this. I live in France but travels often to the US and I can definitely tell that americans are louder.
Amokrane··on The Android Toolbox Project
Saying that Maven does the trick is like saying that Bundler does what Ruby-Toolbox does which is not the case. The key point here is to be able to recognize quickly which dependency to add given some requirements.
Amokrane··on Hack Day Paris: a 40-hour R&D marathon on November 4-6
Thanks!
Amokrane··on Hack Day Paris: a 40-hour R&D marathon on November 4-6
Cool, I think I'll be in! Are there any limitations regarding teams compositions? Is it [1...Inf]?
Amokrane··on Watch other people code
Once the platform is up for watching people code, it could be easily generalized to other fields as long as the work gets done on a computer.
Amokrane··on Watch other people code
Or a private button to push in order to be off air for a while.
Amokrane··on Watch other people code
Great idea! When I watched that livestreaming from Notch, I thought about this and I almost bought the domain name http://watchmecode.net. I am curious to see how well this is going to be executed!
Amokrane··on How GitHub Works: Creativity is Important
Does a teetotaler still have a chance to be working for GitHub? (given he is great by the way). By reading your posts, I feel like it is a non negotiable requirement and that it's basically impossible to be awesome without drinking.

Other than that, keep it on. I really enjoy reading your posts!