Thomas Burette
thomasburette.com
Thomas Burette
@thomasburette.com
Dev.
Ain't javascript fun?
February 23, 2025 at 4:21 PM
Oh wait. It turns out react-router (framework) uses vite.
That makes sense now.
February 20, 2025 at 5:27 PM
I was curious what the "React Router v7 ↗" option in the create-vite CLIis.

It turns out that it does a :
npm create react-router@latest.
In clear : it does not create a vite project but a react-router (Remix) project instead.

I think it's so nice of @vite.dev to redirect to a competing project.
February 20, 2025 at 5:12 PM
Javascript is a simple language.

Also Javascript. How to call the constructor of the superclass without using its name directly:
February 18, 2025 at 4:19 PM
I discovered Object.groupBy().
But why is it attached to Object and not Array.
@philna.sh's blog (philna.sh/blog/2023/09...) pointed me to part of the answer. Creating anArray.groupBy() would break sites using various libraries that monkey-patch Array.prototype.groupBy

But why not Array.groupBy() ?
January 28, 2025 at 8:27 AM
👌
January 26, 2025 at 7:09 PM
En parlant de LLM et de math. J'ai tenté un truc aujourd'hui avec chatgpt, j'ai bien aimé le résultat 😁
January 26, 2025 at 6:50 PM
I occasionally need to transfer files from my computer to my phone. I wrote a script to make a simple web server that lists a directory.
I'm certain it's a dumb way to do it and there are better tools but it mostly works for me.
December 3, 2024 at 4:13 PM
Am I stingy enough reinstall my entire VPS so save a few cents per month?

No, but I thought about it way too long.
November 26, 2024 at 5:31 PM
Stacko- what?

You mean the Reference Manual.
November 23, 2024 at 12:52 PM
I used to write code in the terminal with tmux. I eventually stopped and moved to an IDE because I was tinkering too much.

A useful practice I had was having scripts to set up windows and panes for specific tasks. With key binding I could set things up just the right way using a single shortcut.
November 23, 2024 at 12:43 PM
November 23, 2024 at 12:19 PM
Plein de monde en profite sans même savoir que le projet existe. Chez de nombreux hébergeurs le https est automatique ou en un seul clic grâce à Let's Encrypt derrière.
November 21, 2024 at 7:39 AM