TypeScript type narrowing
Narrowing types in TS, a quick tour
🚀 Freelance web developer
Narrowing types in TS, a quick tour
An alternative to the very classic HTML input of type number
Bug frequently encountered on my Linux Mint machine
A quick tour about how to change the NodeJS version of your Astro project
The simplest Go program you can start with.
A way to really clean the cache and weird stuff of Chrome.
Let's say your local branches are messy. Here is a quick guide about how to clean 'em up.
It's not easy to understand why Rails was built like this, especially for beginners. I hope my little SVG drawings will help
A beginner lesson about T vs any in Typescript
My review about me after having learned TypeScript
My simple memo about TypeScript primitive types.
Unpoly vs Hotwire... both are pushing the frontend in the same direction, but Unpoly made it with more simplicity. Here is why.
How to declare an array in TypeScript the right way. A small recap, mostly note to self.
Rails 8 includes everything you need to run and monitor background jobs. I found this feature to be incredibly relevant.
A small, dirty but useful SQL trick
A very classic React bug, so I leave it here as a note to myself for the future :)
A quick guide about the git shortsha usage and shorcut in terminal
My opinion about React for junior developers. Popular it is, job-friendly it is, but is it accessible to junior developers?
Rails 8 has been incredibly enjoyable so far, removing large parts of complexity, and allowing devs to replace any parts of the stack.
A small article about removing last element in TypeScript, mostly a matter of read-ability
A very simple tutorial about Rails 8 and Bootstrap 5, since starting with Boostrap is already given by the framework by default with little config.
Hatchbox.io is a deployment platform for Ruby-on-Rails users. I used it recently, so for people ashamed of trying, here is my review.
Laravel 11 is the new version of Laravel - at the time of writing. Let's see how to install it on a Ubuntu-based machine.
Heroku is the most well-known deployment platform, and also the easiest to use. Let's try it on a fresh but realistic Rails 7 application.
Learn how to benchmark (i.e. measure performance) Ruby code in this small article.
This bug is really tricky, so here is my journey solving it. Maybe this will help other not to be too impatient :)
Open graph image allows you to have a nice picture preview on social media. Let's see how to do it in Ruby.
Tests reporters help us to increase the readability of our whole test suite. Let's see how to improve the default one.
Turbo is precisely made to speed up page transition, but sometimes it's better to have a slower page transition - that works.
A quick memo about how to add or remove a Stimulus controller - I recommend to rely on generator this time.
reduce in Ruby seems tricky if you didn't used it for a long time. Principle is simple, but let's see the syntax.
Livereload a Rails app on your local machine is still not available natively. Maybe in next version of Rails, but not yet.
A short memo about how to iterate over a Ruby array
Rails 8 comes with Hotwire by default to handle frontend complexity. Here is a simple tutorial from scratch.
Rollup and Esbuild can both handle JavaScript files in a Rails app. I made some little experiments, both locally and in-production.
This is an opinionated article about ERB and HAML with Rails. Let's compare each other and pick a winner.
Here is a tutorial about how to paginate with Rails 7 and Kaminari.
Whether MBappé is able to join Real Madrid depends on your ability to write the correct algorithm
Authorization means give or refuse access to the current User to some URLs. It's closely bound to Authentication, but it's different.
Algorithms are probably one of the only disciplines of web development (maybe with testing) that requires lots of regular training before being mastered and correctly abstracted by the brain. But now that AI is everywhere, and is able to write algorithms, how do you teach students such a practice?
A quick article about how to retrieve an element inside a Ruby array.
If Rails is so good, why is it not more used?
With Ruby, there are some cases where you want to check if a given key is already in the hash.
Until recently, Rails comes with no default way to authenticate the user, like Laravel does in the PHP world.
Turbo frame is a powerful feature of Hotwire, here is a quick memo about how to follow conventions in the simplest case. Convention over configuration is powerful, but sometimes it is also a problem when you are not sure anymore about conventions ;) so I plan to release more "simplest *** Hotwire feature".
Encoding a String in Ruby may be trickier than I initially thought, given the number of options available. Here is my take.
form_with is known as a form helper, which means it's an abstraction to build well-known, standard HTML form.
Today I'm releasing a brand new Ruby-on-Rails starter kit, that mixes Tailwind and Rails.
Flash message is a very old notion of Ruby-on-Rails. This article will be focused on the usability of these messages.
A quick tutorial about how to split a Ruby Array.