The blog ofJonathan Pepin

"Google's Software Development Best Practices"

2013-08-10

The famous monorepo Most of Google's source code is hosted into a single repository, accessible to all software engineers. Only 3 main exceptions: Chrome and Android have their own open sourced repo, and a few high-value or security-critical pieces...

Declare a class in Objective-C

2013-08-10

Yesss I started to learn Objective-C. As usual, I will try to write about what I learn here, starting from the very basic, and hopefully writing some more interesting stuff sooner or later! Something really confusing coming from Ruby, or...

Ajax in Rails

2013-07-19

Convention over configuration. How many times have I heard that. It's one of the core concept around which Rails is developed. And I think it's amazing. It is the exact reason why learning Rails is easier than most other programming...

Changing a Getter behavior for better polymorphism

2013-07-09

Polymorphic associations are awesome. In rails, even better. It's so easy to use, there is no excuse to do without them. But sometimes, it's so easy and all pre-made for you, that it's tricky to decide how to play/modify some...

Post-login redirection to requested page with Devise

2013-06-17

Often, the login redirection has a static redirection to say, rootpath or userpath. When a logged out user tries to access a page that requires to be logged in, it is better, for a good user experience, to dynamically redirect...

Empathy ain't useless! Learn it!

2013-06-04

Now that I'm a mentor at DevBootcamp, I get to talk with a lot of learning developers, help them and see their final projects. Every single new graduation, my mind gets blown, not only by how good the projects are,...

I screwed up (big time)

2013-05-28

At first when I tried it for the first time, I was scared. I didn't really know how it worked. I didn't really know how to do it. People around me showed me. I was totally out of confidence. Everytime...

Better methods, better performances

2013-05-24

This is just a quick post to talk about how small changes can make a big difference. Sometimes, a simple change of built-in method can make a big difference in your application's performance, just because of the way it works,...

Don't underestimate super.

2013-05-21

Here at Exec, I've been working for a bit now into having a system to allow us to log whatever happens in the system; Either a modification is made by an admins through the admin's dashboard, or a user directly...

Making Ajax calls to rails

2013-05-12

For the past few weeks, I've been working on our new mobile website at Exec, so user's wihout our iPhone app can still easily book a house cleaning. For a better experience, I used knockout.js to make the booking flow...