Articles

2018 a new year to go

First let me wish you, dear reader, the very best for 2018: May you have health, success, fun and love in abundance! For some years now, I've started learning/using a new computer language every year. 2018 will be no exception: This year I'll learn and use the Go language. Why Go? Because I like the (clean and simple) syntax Because the tooling/ecosystem is mature enough for me Because of the performance (even if it's not my primary concern) Because the goroutines / channels look like neat tools to tame concurrency Because I like the interface concept Because I subscribe to  Eric S. Raymond opinion that  Go could be the next C As usual I'll try to post about my discovery of the Go world. So stay tuned, and don't hesitate to comment and give advice.

Rewriting my .vimrc from scratch

"From time to time, I review my tools/processes to keep what’s useful, ditch what is no longer necessary or even convenient, and improve what can be improved. As a developer, I spend a lot of time using the Vim text editor, so in this article I’ll spend some time rewriting my .vimrc." The full article on Medium.

A better blog for a better you

To better separate tech posts from non technical ones, I've setup a blog dedicated to productivity/improvement/personal growth. It's called The 10x path Stay tuned if you're interested. Or even better: subscribe to the blog As usual messages, mails and comments are most welcome. (to tell me which topics you'd like to see covered for example)

Better than tar

This time I'd like to show you, why I love JavaScript: Improving tar with a simple idea and few lines of JavaScript The code is on github: jntar (with more info about the original idea of meta-compression)

How to learn JavaScript with confidence

If you're lost among all the JavaScript frameworks, if you're still hesitating between all the different tools to use, if you're scared by the JavaScript ecosystem complexity, have a look to my post on hello.js : How to learn JavaScript with confidence Things might not be as bad as it seems...

Change your Gogs admin password

I might have missed something, but I haven't found any simple way to change my admin password (with emailing not active) in gogs. It was quite easy to find the hash location, but as I didn't know how it was generated... Luckily I eventually found the parameters used, so here it is for you if you need them embedded in a script : var pbkdf2 = require('pbkdf2-sha256'); var key = 'YourChosenPasword'; var salt = 'AnyRandomValue'; var hash = pbkdf2(key, salt, 10000, 50); console.log(hash.toString('hex')); All I had to do was then to update the table user , setting passwd to the generated value (and updating salt with the value used in the script).

The devil codes in Pramda - Wandering in the JavaScript Functional programming world

  Article originally published on  Hello.js As a Perl coder, I'm a big fan of functional programming. If that sounds odd to you, think about all that features that are considered as idiomatic Perl : List processing (map, grep) High order functions (Mark Jason Dominus ;-) ) Lazy evaluation (iterators) Lamda calculus (closure) Functional programming is a fascinating thing but it’s not so easy to use consistently. We all love the concept, feel the inner power. We all use lists, closure, functions as parameter, but how many of us manage to fully apply functional programming everywhere and commit to pure functions and immutability ? I recently discovered a wonderful library for functional programming in JavaScript that could help you embrace functional programming even more and I'd like to share it with you: it's called Ramda . There are several other functional programming libraries (more on that below) but what makes Ramda so practical and somewhat un...