Blog

Links Worth Sharing #4

February 16, 2018

Aloha,

In this week edition: Urban Music, VR Graffiti, How Honor affects our brain, Facebook inexorable decline, an origami simulator, and decentralization.

  1. 🎧 NAS Performs “The World Is Yours” with the National Symphony Orchestra at the Kennedy Center.
  2. ℹ️ Honor as a cultural mindset affects cognition . Activating honor improve performances in hierarchical thinking, but not in tasks requiring nominal thinking. Honor is mentally spatially located upwards and to the right.
  3. 🎧 If, like me, you are into warm and soulful house music, you will dig the vibes of Seven Davis Jr. Boiler Room set. Sweet disco love songs mix by Dj Spinna.
  4. 👩‍🎨👨🏻‍💻 Some impressive GIFs of VR graffiti using this very cool-looking video game available on Steam.
  5. ℹ️ German court rules Facebook use of personal data illegal and Facebook might have lost around 2.8 million U.S. users under 25 last year..
  6. 👩‍🎨 A very cool Origami Simulator.
  7. 🔑 The decentralized future is coming and it will change our lives in more ways than the web did.

Thanks for reading!

Marc

P.S: You can receive this directly in your inbox. Drop me an email and I’ll send it to you every week.

Permalink

Links Worth Sharing #3

February 9, 2018

Aloha,

In this week edition: Decentralization, Ambiant, Streaming and the responsible music fan dilemma, society as imagined by tech bros, facing alcoholism, futuristic jewelry, and animal maths. Enjoy!

  1. ℹ️ The decentralization movement is well explained in this Guardian article: The punk rock internet – how DIY rebels are working to replace the tech giants.
  2. 🎧 Some dark electronic vibe by Sophia Loizou . I recommend you list to her excellent ambiant album from 2016.
  3. ℹ️ How to be a responsible music fan? Damon Krukowski explains the problem with the current revenue model for independent music creators.
  4. ℹ️ Is this the society we really want? A critic on the cashierless AmazonGo stores.
  5. ℹ️ My name is David Flink, I’m a leader in tech, and I’m an alcoholic.
  6. 👩‍🎨 Nora Fok’s inspiring futuristic jewelry.
  7. 🚀 Humans have launched their heaviest rocket ever, deployed a car into orbit, and recovered two of three boosters. The car sound system will play David Bowie on loop.
  8. ℹ️ Many animals can count, and some better than you.

Thanks for reading!

Marc

P.S: You can receive this directly in your inbox. Drop me an email and I’ll send it to you every week.

Permalink

Links Worth Sharing #2

February 1, 2018

Aloha,

Here are some links I think are worth sharing.

  1. ℹ️ A fascinating introduction to Decentralized Identity. Could we record in an anonymous way all of human history with such a system?
  2. ℹ️🇫🇷 De l’importance de la souveraineté technologique: Le siège de l’Union Africaine espionné par la Chine pendant 5 ans.
  3. 🎧 This week was all about Chassol’s magnificent ultrascores , Wooden Shjips’ psychedelic rock, and Canshaker Pi’s indie rock.
  4. ℹ️ A portable DNA sequencer for less than 1000$. How many years until we can all get one and get our DNA analyzed at home?
  5. 🔑 If you are a freelancer, deciding what to charge a client is always difficult. HackerNews comments are worth the read.
  6. 👩‍💻 Patchwork, a decentralized messaging and sharing app built on top of Secure Scuttlebutt.
  7. 🔑 Pursuing perfection is detrimental to you and your work. Accept good enough, and show your work more often!

Thanks for reading!

Marc

P.S: You can receive this directly in your inbox. Drop me an email and I’ll send it to you every week.

Permalink

Links Worth Sharing #1

January 29, 2018

Hey,

Here are some links I thought were worth sharing. I will post next issues on Friday.

  1. ℹ️ If like me you struggle with focusing, you might be interested in Creative Boom‘s interview of Jocelyn de Kwant on mindfulness, simple living and the art of creative flow.
  2. 🎧 My friend Flore recommended me N.E.R.D.’s latest album and while I don’t love the entire album, there are some excellent tracks in it. You can also check out Flore’s Boiler Room set.
  3. 🎧 If dark hip-hop is more your thing, you might like Majin Blobfish – I Know You Need It.
  4. ℹ️ Zeynep Tufekci on how Free Speech is being weaponized. Censorship is not about suppressing the message anymore, but making sure you access other messages instead.
  5. 👨🏻‍💻Configuring nginx to serve a Symfony application under a subdirectory of another PHP application is non-trivial. Here is my solution.
  6. ℹ️ We can trick A.I. specialized in vision with psychedelic looking patches. We need more and more of that kind of work.
  7. 🇫🇷 Depuis quelques années, le pâté-croûte est devenu un art gastronomique reconnu.
  8. ℹ️ Never get high on your own supply, or why Social Media bosses don’t use social media.
  9. ℹ️ Deep learning is now used to generate fake porn with real celebrities and also, the Internet being Internet, putting Nicolas Cage where he doesn’t belong.
  10. ℹ️ A fascinating read about how the Dutch provided intel about Russia’s interference in US elections.
  11. 👩‍🎨 How generative Music works.

Thanks for reading!

Marc

P.S: I you would like to receive this directly in your inbox, please drop me a mail and I’ll send it to you.

Permalink

Configuring nginx to serve a Symfony project in a subdirectory of a wordpress website.

January 23, 2018

It is surprisingly non-trivial to configure Nginx to serve two different PHP applications on the same domain, one being in a logical subdirectory.

I spent a few hours scouring the web and trying different things. I ended up with this configuration, thanks from a source (of which I lost track. Sorry!)

The configuration file defines a server listening for server mysite.com on port 80. The WordPress application is located in /var/www/wordpress and the Symfony application is located in /var/www/symfony.

When a browsers requests the http://mysite.com/subdirectory resource, the request is passed to the Symfony app. Otherwise, the request goes to the WordPress app.

server {
	listen 80;
	listen [::]:80;

	server_name mysite.com;
	root /var/www/wordpress;
	index index.php app.php index.html;

	location /subdirectory {
		root $symfonyRoot;
		rewrite ^/subdirectory/(.*)$ /$1 break;
		try_files $uri @symfonyFront;
	}

	location / {
		try_files $uri $uri/ /index.php?$args;
	}

	set $symfonyRoot /var/www/symfony/web;
	set $symfonyScript app.php;
   
  # This is for the Symfony application
	location @symfonyFront {
		fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
		include /etc/nginx/fastcgi_params;
		fastcgi_param SCRIPT_FILENAME $symfonyRoot/$symfonyScript;
		fastcgi_param SCRIPT_NAME /subdirectory/$symfonyScript;
		fastcgi_param REQUEST_URI /subdirectory$uri?$args;
	}

  # This is for the wordpress app
	location ~ \.php {
		fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
		fastcgi_index index.php;
		fastcgi_param PATH_INFO $fastcgi_path_info;
		fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
		fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
		fastcgi_param REQUEST_URI $uri?$args;
		include /etc/nginx/fastcgi_params;
	}
}

I also created a public gist with this configuration file.

Permalink

Links Worth Sharing #0

January 22, 2018

Hey,

I am starting a new regular series on this blog, where I will post links I think are worth sharing. I intend to not focus on something special, but to share what I loved reading, listening, watching (and maybe even cooking!).

Without further ado, here is the number zero edition!

  1. Million Short, a search engine where you can filter results from the top 100, 1000, 10k, 100k, or million websites. Great stuff if you’re tired to get results from the same big players.
  2. I never watched Star Trek before, but I really enjoy watching Star Trek: Discovery.
  3. Beyond the Bitcoin Bubble. Beyond greed mania, there is a new infrastructure being built right now.
  4. If you’re into authentic soulful house music, Lakuti’s latest Resident Advisor podcast might be perfect for you.
  5. At POLAAR, our producers curated an opinionated playlist with the best tracks from 2017.
  6. Paul Bocuse has died, and it was a sad day for the cooking world.
  7. Bitcoin’s Lightning Network is growing fast.
  8. Zeynep Tufekci is always relevant and her stance on the current state of security in the tech world is a must read.
  9. I find myself enjoying more and more this kind of experimental album. A brilliant work, blending world music, electronic music, and interviews.

Thanks for reading!

Marc

P.S: I you would like to receive this directly in your inbox, please drop me a mail and I’ll send it to you.

Permalink

Aller/Retour Lyon-Tokyo en une heure

December 15, 2017

Sorti du bureau, j’ai les nerfs en pelote et le cerveau qui grince. J’ai besoin de sortir de ma routine. J’ai besoin que la ville me donne ce qu’elle a de bon. Je veux un restau. Un bon. Pas loin. Pas guindé. Rapide.

Elle me propose d’aller Chez Terra. Un bistrot japonais dans le 6ème arrondissement dont j’ai entendu que du bien. Il parait que le consul du Japon y a ses habitudes. Ca fait un an qu’on trouve pas le moment idéal pour y aller, et ce soir ne me semble pas être le bon non plus. Je m’imagine un Tonkatsu quelconque et j’écarte l’idée, prétextant que j’ai envie de manger autre chose. Quel con. J’appelle tous les autres resto auxquels je pense pour réserver une table. Sans succès. J’appelle Terra. Nous nous y attablerons 15 minutes plus tard.

La salle est simple. “Dans son jus”, comme dirait le cliché du professionnel de l’immobilier. Simple, spacieuse et conviviale à la fois. Je m’y sens bien. Ce qui compte ce soir, c’est ce qu’il y a dans mon assiette.

Le service est aimable mais surtout efficace. Pas de ronds de jambe. C’est tant mieux, j’ai pas envie de me sentir invité, je veux me sentir quasi comme à la maison.

Nous commandons plats et pintes. Ca arrive. Vite.

Salade d’épinards glacé, copeaux de bonite séchée. Surprenante entrée en matière. Mes papilles font déjà moins la gueule.
Porc sucré-salé. Le gras fond dans la bouche. Un régal pour les yeux et pour le palais.
Les portions sont petites, j’ai peur d’avoir faim à la fin du repas.
Sushis de maquereau. J’ai rarement vu sushi plus laid, et rarement mangé sushi aussi bon.
Mes papilles rentrent en harmonie. Les endorphines montent.
Porc au thé, à la sauce acidulée. Wow, je suis bluffé.
Je commande des gyozas par curiosité. Et peur du manque. Aucun regret, c’est un sans faute. Nous terminons en avalant une crème brulée au thé vert. Un bon finish pour moi qui n’est pas un grand amateur de desserts japonais.

En une heure, ce restau-quickie a transformé mon mood. La note un peu élevée m’a fait redescendre, mais n’a pas assombrit le souvenir gastronomique. Sans que ça devienne une cantine, je retournerai Chez Terra avec un immense plaisir

Chez Terra
81 rue Dusguesclin
69006 Lyon

Permalink

Enfin comprendre le programme des candidats, grace à des bots sur Twitter

April 11, 2017

Toi même tu sais, cette période électorale pré-présidentielle-2017 est un plaisir quotidien. J’ai eu le malheur de vouloir m’intéresser aux candidats via Twitter et ça m’a rappelé la superbe vidéo de Franck Lepage qu’un copain a eu le bon goût de me partager. Voulant être de bon goût, je te la partage à mon tour:

Les bots Twitters étant apparemment un passe-temps dont j’ai du mal à me défaire (Je prends quasi l’entière responsabilité de la création de ces bots : @PassionSirene, @PassionTocsin, @PassionMouton, @pdesproges), je me suis dit qu’il manquait dans ce monde les pendants algorithmiques des candidats à la présidentielle. Sauf une, pour certaines raisons. Les voici, dans le désordre:

Et le compte meta: @2017_ebooks qui RT chaque tweete, de chaque compte.

Un  peu comme un débat sur TF1, je ne les ai pas tous inclus (car je te l’avoue, la Flemme c’est comme la Force, c’est puissant). Petit florilège:

Alors voilà, on clone les hommes politiques, on injecte leurs paroles publiques dans des robots, et un algorithme génère des phrases surréalistes.

Qu’est-ce qu’on apprend ?

Je ne sais pas trop, mais en tout cas, je me marre bien !

Permalink

Un palindrome musical, inspiré par le cosmos

April 11, 2017

Je suis tombé le week-end dernier sur ce bijou musical.

Dans cette vidéo, Daniel Starr-Tambor (portant fièrement un joli combo barbe-casquette) dévoile une création unique : le palindrome musical le plus long du monde. Oui oui. Grace à un tour de passe-passe solfégique (dont je t’avoue ne rien maitriser), il assigne à chaque planète une note de musique différente.

Mercure sera la note Si.

Pluton sera un Do# à 2 octaves et des poussières plus haut.

(Entre les deux, regarde la partition au milieu de la vidéo).

S’ensuit une autre preuve que ce garçon est plutôt malin.

Il calcule mathématiquement la fréquence de répétition de chaque note grace à une équation de son cru: période orbitale de la planète * 15779059,2 = fréquence de répétition. (oui monsieur).

L’alignement musicalo-planétaire  finissant par arriver (en tout cas je lui fais confiance), la pièce se transforme en palindrome.

Magnifique, je te dis !

Permalink

Introducing htail, a new debugging companion

September 28, 2015

Modern software development usually involves a lot of moving parts. If you work on a web application, you might interact with: a reverse proxy, a web server, an application server, a relational database, a key-value store, and so on.

When a problem arises, the debugging procedure starts. You follow your intuition and start searching where you think the problem lays in. Usually, it’s not where you think it is, but somewhere else. What if you could have a view on your whole system while reproducing your issue? You might get the chance to see in one obscure log file where the problem lays.

After falling in this situation so many times, I decided to build a simple tool in order to read all my log files. It’s called htail and it’s available right now.

By firing up htail, you get your most common log files in your terminal or your browser window. It’s damn useful.

Installation and usage are described in the github page.

Permalink

4 steps to follow when creating a new Rudder category

September 23, 2015

When you want to add a custom technique to Rudder, you might want to create your own category directory.

To do so:

  • Create your directory in /var/rudder/configuration-repository/techniques/
cd /var/rudder/configuration-repository/techniques
mkdir foobar
cat > foobar/category.xml <<EOF
<xml><name>My Foobar Category</name><description>My Foobar Category is Awesome</description></xml>
EOF
  • Commit it in the underlying git repository
git add foobar
git commit -m "Add foobar category"
  • Reload the technique library
curl -s -f -k "https://localhost/rudder/api/techniqueLibrary/reload"
  • Check the error log in /var/log/rudder/webapp
tail /var/log/rudder/webapp/$(date +%Y_%m_%d).*
Permalink

2014, my retrospective in music

January 13, 2015

Last year, I started what I would like to become a personal tradition. I
decided to create a playlist that would describe my prominent emotions of the
year that just passed. The creative process would be a way for me to look back
at the year, both emotionaly and musically. I was afraid though that it would
be an endless process and that I would end up putting up an endless collection
of tracks without any meaning. I needed some limitations.

I always liked the length limitation of vinyls. Back in the days, album were
also designed with that limit in mind and you could really feel how it
influenced the construction of the album. The original LP
record
had a maximum playing time of
nearly 45 minutes, or 22 minutes by side. I decided to take this restriction
and to add another one: Only 4 tracks by side.

These constaints gave me a framework which enabled me to focus myself on the
most important phases I went through during the year. I added a soft constraint
as well: Tracks should be the one I listened to during this year.

Without further ado, here is my 2014 retrospective.

2014 retrospective: “Mont-Royal LP”

Side 1:

  • Pachanga Boys – Black Naga (Hippie Dance)
  • Flore – Numen (POLAAR)
  • Suuns – Music won’t save you (Secretly Canadian)
  • Kool & The Gang – Summer Madness (Polygram)

Side 2:

  • Flore – Random (POLAAR)
  • Parquet Courts – Ducking & Dodging (What’s Your Rupture?)
  • Run The Jewels – Love Again (Akinyele Back) (feat. Gangsta Boo) (Mass Appeal)
  • The Beatles – Tomorrow Never Knows (Parlophone)

The 2013 retrospective is still available on
SoundCloud
.

Permalink

2014’s inspirations

December 3, 2014

Well the year isn’t over yet but I wanted to write down what inspired me in the past 12 months. Like you, I’m always looking around for interesting work to nourish my mind. Sign of times, I haven’t read many books. It’s been mostly an audio/video year. I watched a hell lot of TV though. Netflix doesn’t help in that matter… I’ve had a huge interest in comedy. I discovered the american alt-comedy scene and have been struck by their creativity and blunt thoughts.

Stand-Up specials

TV Shows

Once again, comedy was a central theme in my choices. I stopped watching other
shows that I won’t name here.

Movies

I watched other great movies than those present in this list, but I prefer to
keep it short.

 

Music

This year was really interesting on the music side. I started buying vinyls
again and went back to my turntables. I discovered really good house and techno
tracks, but in the end I prefer to list these indie bands.

Club Night

Laurent Garnier at Stereo Night Club in Montreal. This club has the best sound system. Period. Forget the clinical coldness of a Funktion One system. This one has a warm and beautiful
sound. Laurent Garnier did a good set, sticking perfectly to the club’s atmosphere.

Books

I haven’t read much. Or not as much as I’d like. Or maybe too much. My whole days are spent reading stuff. Be it code, articles, emails, social medias. At the end of the day, I much prefer watching and listening than reading

Exhibitions

Does this post need a conclusion? Naaah. You’ll do fine without.

Permalink

In the last 24 months

August 22, 2014

The last time I wrote something here was in 2012. What happened since then?
It’s been quite a ride actually. I lived in 3 different cities on two continents and had some realizations on the way I want to work and the importance it had on my life.

If you (still) follow me on twitter, you might have seen some changes. I’m tweeting more and more in French and less and less about technologies. It didn’t went unnoticed to @clochix and he asked me what I was doing and if there was a chance that I could wrote about that somewhere.

In the last 24 months, I left Paris and lived in Montreal, Berlin and now Amsterdam. I met a whole bunch of people, made new friends along the way and basically hadn’t too much to worry about because as I often say to people I meet “when you’re a developer, you can basically work from anywhere”. The freedom you get by doing that has its obvious drawbacks, but the upsides are really fun.

In the last 24 months, my views on work changed as well. As I was reading on autonomy and independence, I realized that being an employee was unsatisfying to me. It has its good sides but it was mostly frustrating in the end. I decided to become a freelancer. Who doesn’t need some php/symfony2/golang expertise in this world right now? Of course, there’s more to that: I wanted to
create something from my hands and my brain. This is something incredibly hard to do when you’re in an office for 5 days a week and that you also happen to enjoy your evenings and your weekends. Freelancing gives me the possibility to balance my workload between my clients and my projects. With freelancing, I can confront my classic gen-x/gen-y developer bullshit to the real world. And I can’t really tell you how good it is. In times where offices are transformed into playgrounds and that your company is paying for your breakfasts and your friday booze, trying to accomplish something by yourself can be seen as mad. Why would you refuse all these privileges? I don’t really know, but I just had to the feeling that I should do it.

In the last 24 months, I must admit I lost interest in the IT industry. I could state a lot of reasons for that but it would raise endless debates because none of us would be right or wrong. The fact is that I can get bored quickly when things look and act the same. This industry has bored me. I’ll get more involved again when the monoculture is less strong.

I tried to build (alone) different products but somehow always failed developing them past a certain point. This is something utterly frustrating.

Luckily during the Symfony Live 2013 in Berlin, I had the chance to have a few conversations with Dustin Whittle, Fabien
Potencier
and Francois Zaninotto who gave me really good advices: “Don’t create a business alone”, “It’s harder than you think, but rewarding”, “Think of the future of your product and how it will evolve”, and “expose your projects to like-minded people”.

Now the funny thing in life is that if you give room for surprises to happen, they might actually do. At the beginning of the year, a conversation with my good friend Flore led to something like that (jokes, usual stupidity and facebook stickers removed for clarity).

  • Her: “I think I want to start a record label, but it’s tough”
  • Me: “I never told you that but I have this idea in my mind since quite a while now.”
  • Her: “Well it would be fun to do that together. We should think about that maybe…”
  • Me: “Yeah, let’s think about it”

A few weeks later, it was on. We were creating a record label. This is a new adventure and even if I’m clearly out of my comfort zone, I enjoy it more and more. Music is my passion
and I’m glad I can see tech not as an end, but as a mean. I often asked myself who would create a time-consuming small business in the worst industry to do business at this time? The only answer I got is “Maybe the same guy who doesn’t like his office to look like a playground.”

Permalink