The blog ofJonathan Pepin

Next.js isomorphic fetch in getInitialProps

2019-03-02

I've enjoyed working with Next.js for a little while now, part of a project Jon&Jess (http://jonandjess.studio) is building for a client. The project has grown fairly in the past few months, including a custom Express backend, authentication and resource creation/editing and...

Notes from Never Split The Difference [raw]

2019-02-20

“How am I supposed to do that?” one of the FBI’s most potent negotiating tools: the open-ended question. While I wasn’t actually saying “No,” the questions I kept asking sounded like it. They seemed to insinuate that the other side...

The Jon&Jess logotype in css

2019-02-18

While we were working on the Joe Schmoe (https://joeschmoe.io) website, Jess asked me if it was possible to have a red dot on the "j" of each Schmoe's name, like in our logo. "No. You'd have to export SVGs for each...

React anti patterns

2019-02-03

Dan Abramov recently wrote a very nice article (https://overreacted.io/react-as-a-ui-runtime/) going deep into how React works, looking at it as a Runtime. It explains very clearly how things such as the virtual DOM and rendering work, and I can't recommend it enough....

Notes from This Is Marketing: You Can't Be Seen Until You Learn To See [raw]

2019-01-28

The answer to just about every question about work is really the question, “Who can you help?” Marketing is the act of making change happen. Making is insufficient. You haven’t made an impact until you’ve changed someone. Marketing is the...

On expectations, clarity and actions

2019-01-21

Like most, I like my house clean. So if I notice dust on the floor, I'm usually inclined to pickup the vacuum. But today is Monday and on Tuesdays our cleaners come. Knowing this I probably won't take care of...

2019 tech list

2019-01-20

For the sake of continuous learning and self improvement, I like to fix learning objectives for myself. I also like to try to learn new technologies, which I allows to discover new ways of thinking. This year is no different,...

Notes from Zen And The Art Of Motorcycle Maintenance: An Inquiry Into Values [raw]

2018-11-23

Raw Kindle notes for Zen And The Art Of Motorcycle Maintenance: An Inquiry Into Values by Robert M. Pirsig (http://a.co/2VOpxAw) You always suppress momentary anger at something you deeply and permanently hate. I argued that physical discomfort is important only when...

Nginx logs with GoAccess on a Digital Ocean Droplet with Ubuntu 16

2018-10-27

I've recently gotten a Digital Ocean Droplet (aka virtual machine, just like AWS EC2) to mess around with doing all the magic stuff that usual hosting providers such as Heroku do for you. Automatic deploys, web servers, etc. Right now...

Know your tools

2018-10-23

Something I appreciate doing here and there is building smaller scale projects, focused on going back to basics on technologies I use. I had a few months of frenzy at work where everything we worked on was so comlicated (not...