The blog ofJonathan Pepin

Notes on how to be an Influencer

2014-11-30

Common sets of principles and skills that help create quick, profound, and lasting change. What qualifies 'leaders' is their capacity to influence others to change their behaviors in order to achieve important results. It is not persuasion. ## 3 keys...

Data Structures- Linked List

2014-01-11

A linked list is a data structure in which elements are arranged in linear order (like an array). But unlike an array, where the order is determined by the index of each element in it, the order in a Linked...

Server-generated Javascript Responses

2013-12-21

DHH wrote an article (https://37signals.com/svn/posts/3697-server-generated-javascript-responses) on Signal vs Noice on Server-generated Javascript Responses, which reminded of how to write good and unobstructive javascript in Rails. I'm not gonna lie, it's exactly what I learnt at DevBootcamp, but I feel like I...

Big-O - Algorithms' Time Complexity

2013-09-07

One of the most important thing to think about when developping an algorithm is its time complexity. Or, in other words, how long this algorithm will take to run, depending on the size of the data. When analysing an algorithm's...

"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,...