Sébastien Besnier

83 posts

Sébastien Besnier

Sébastien Besnier

@_sebbes_

Functional programmer, math teacher. Parisian @elmlang Meetup organizer

Katılım Kasım 2019
19 Takip Edilen22 Takipçiler
MDB-Palaiseau à Vélo
MDB-Palaiseau à Vélo@MDB_Palaiseau·
Demain, nous avons RDV avec le @CDEssonne à propos du "projet d’aménagement cyclable de la RD59". Il s'agit de la portion au niveau de Villebon 2. On espère enfin avancer sur l'aménagement de cette zone très accidentogène à Villebon/Y
MDB-Palaiseau à Vélo tweet media
Français
3
6
26
2.2K
Sébastien Besnier
Sébastien Besnier@_sebbes_·
Hier à vélo à #Paris, sur 4 piétons que j'ai laissé traverser au passage piétons (en respectant le code de la route donc !), 2 piétons m'ont dit "Ah ça fait plaisir, VOUS ÊTES LE SEUL". Conclusion : @AlTi5 tes vidéos sont des fakes, sinon ils auraient dit "vous êtes le 2ème!"
Français
0
0
0
31
Jeroen Engels
Jeroen Engels@jfmengels·
@timmolendijk How do I get GPT4 to change thousands of lines of code in a project? Also using a technique that is extremely novel for my language?
English
2
0
0
93
Jeroen Engels
Jeroen Engels@jfmengels·
I'm currently trying to make a large change in a codebase, and I have no clue how I'll do it. So I do it in tiny (committed) steps. The further I'll go, the more I'll discover which problems I need to solve & how. Needing to explore doesn't mean you can't do it in tiny steps.
English
1
0
9
3.1K
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@jfmengels This often go this way with me: * working/ A ** B is blocking -> stash A, w/ B *** C is blocking -> stash B, w/ C ... ****** Z is blocking -> stash Y, w/Z ... **** D done, stash pop to C *** C done, stash pop to B ** B done... Wait, what was I doing initially? Am I done?
English
1
0
0
29
Jeroen Engels
Jeroen Engels@jfmengels·
If you're driving and notice a debris blocking you, you'll stop, move the debris, and then resume. Same for code If you're doing a change, notice you need to do more work, stop and stash your changes, do that work, commit, and then resume your original work. Rince and repeat.
English
3
1
11
1.5K
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@derwlang just type check the code, without any generation. Kinda the same as `elm make src/Main.elm --output /dev/null` but with specific wording
English
2
0
0
9
derw
derw@derwlang·
Ever wonder how a programming language's command line tooling might look if you put it into some kind of flow chart? Here's a chart I put together showing how Derw's CLI works.
derw tweet media
English
3
0
13
764
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@adrienjoly Ça règle une partie de la motivation : dans tous les cas tu dois faire le déplacement, autant le faire en se dépensant. Et ça permet d être régulier et pas de foutre 1h d efforts intense par semaine à ton corps et rien le reste du temps
Français
0
0
0
16
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@adrienjoly Faire tous les déplacements de moins de 15 kms à vélo (au début tu commences light avec 4 ou 5 kms). Ça te prend quasiment pas de temps supplémentaire. Même avec un vélo pliant que tu mets dans les transports tu as une mobilité de dingue.
Français
1
0
1
123
Adrien Joly
Adrien Joly@adrienjoly·
Ami-e-s devs qui (comme moi) n’ont j’aime apprécié « faire du sport »: avez vous trouvé une activité physique régulière qui vous motive suffisamment pour ne pas l’arrêter au bout de quelques mois ? Si oui laquelle ? (Oui, je fais la pêche aux idées, pour moi)
Français
148
4
41
34K
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@iamwarry @ElmFrance @evancz Ok, donc en Elm t'avais une Cmd pour faire une requête et tu passais par le update. Mais du coup, t'avais pas un truc synchrone pour répondre à une requête non ?
Français
1
0
0
27
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@jfmengels Time for the planet is THE enterprise to invest in. join-time.com/fr Nice open source model, your money will be efficiently use to reduce green house gaz émissions ! (Energy production only is a part of the issue, WE have to tackle it gloabally)
English
0
0
1
27
Jeroen Engels
Jeroen Engels@jfmengels·
What are some charities that fight climate change? Ideally looking for some that build things like renewable energy power plants and so on.
English
2
1
2
444
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@jfmengels I know a graet linter in elm, it's called elm-review. I'm not sure who is the maintainer though.
English
1
0
2
127
Jeroen Engels
Jeroen Engels@jfmengels·
Suggest me a #linter and mention one of their maintainer. If they agree with it, I'll go through the tool's docs and constructively criticize it.
English
5
0
1
1.6K
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@jfmengels @nodejs I don't know a lot about this in JS, but maybe you can look at msgpack which does this kind of things IIRC. On the elm side, you have elm/bytes.
English
1
0
0
0
Jeroen Engels
Jeroen Engels@jfmengels·
@_sebbes_ @nodejs There are multiple JSON alts on npm, so maybe there are some faster ones I agree that binary could be better, but the JSON functions convert to strings. Or are you thinking of writing that stringified JSON on the file system as bytes rather than strings? Could that be faster?
English
2
0
0
0
Jeroen Engels
Jeroen Engels@jfmengels·
What is the fastest way/tools to do JSON.stringify and JSON.parse in @nodejs? Should I go for the core ones or are there faster alternatives on npm? Context: I want to write to & read from files for caching purposes, and these files can be a few kB up to dozens of MB.
English
2
1
1
0
Sébastien Besnier
Sébastien Besnier@_sebbes_·
@jfmengels @nodejs No, writing it as bytes would be the same. My idea was to encode your caching data in a custom binary format. You'd have to write custom bytes encoders/decoders. A bit trickier than JSON for sure but perf comes at some price :) .
English
1
0
0
0