Posts by clementd@framapiaf.org
(DIR) Post #AZHiOw1vMdxc6oLRzM by clementd@framapiaf.org
2023-08-31T08:47:12Z
2 likes, 0 repeats
@alice The peak was the "foldable-in-prelude" proposal (code name FTP). It moved a few functions (`length`, amongst others) that previously only worked on lists to work on everything that implemented foldable.This made these functions a lot more useful, at the cost of degrading the learning curve for basic operations, and introducing surprising behaviour, due to the Foldable instance for tuples (eg `length ('a', 12) == 1`).
(DIR) Post #AZHiOy0E1vn2E7Z7cO by clementd@framapiaf.org
2023-08-31T08:52:01Z
1 likes, 0 repeats
@alice The issue when things become heated like this is that people turn to absolutes instead of recognizing there are tradeoffs that allow using different styles in different contexts.A maximally generic implementation makes code analysis simpler by reducing the number of valid programs, but can also make code reading harder by removing clues provided by concrete types. It can also allow "spooky action at a distance" during refactorings when the concrete type that's inferred changes suddenly.
(DIR) Post #AZHjEF6WCsjK2DxXHc by clementd@framapiaf.org
2023-08-31T08:57:52Z
0 likes, 0 repeats
@alice Now we're in a healthier place, i think it's generally accepted that using type classes just for overloading / syntactic reasons is not a terribly good idea. The ideal is for typeclasses to have well-defined laws that one can reason about.Typeclass-based serialization is in a gray zone. Some people really dislike it. I do find them extremely convenient and not an issue, especially when using DTOs (which is good practice anyway for many reasons).
(DIR) Post #AZfVUElKHE6kBDkMsK by clementd@framapiaf.org
2023-09-11T20:01:15Z
1 likes, 0 repeats
@scudery Foncteur Applica'tif, le coiffeur qui peut coiffer plusieurs personnes à la fois
(DIR) Post #AZj6oqPGJ2C4V7znlo by clementd@framapiaf.org
2023-09-13T12:24:37Z
1 likes, 0 repeats
@Laird_Fumble @uneheuredepeine Je l'ai trouvée, c'était spore
(DIR) Post #AZnpQ4pYTDHpkBH516 by clementd@framapiaf.org
2023-09-15T14:28:26Z
0 likes, 0 repeats
Plush toy bandit#DogsOfMastodon
(DIR) Post #AabXUi9ALiEjDA7LRQ by clementd@framapiaf.org
2023-10-09T20:10:04Z
0 likes, 0 repeats
Those eyes.Those God damned eyes.#DogsOfMastodon
(DIR) Post #AabZ1sFtt1Ig4ae240 by clementd@framapiaf.org
2023-10-09T20:35:10Z
0 likes, 0 repeats
@Aviva_Gary too cute
(DIR) Post #AagiFhrFDDMLG0a9yq by clementd@framapiaf.org
2023-10-12T08:11:15Z
0 likes, 1 repeats
today's headscratcher is: "how to represent boolean expressions in JSON, in a not too verbose yet not too cryptic way".Turns out it's not easy.
(DIR) Post #Ac8UXW0Je1le08VrXc by clementd@framapiaf.org
2023-11-24T11:12:40Z
0 likes, 1 repeats
I just love how SNCF connect actively hides the train car and seat number of my reservation, to make room for… car rental ads.20/20 no notes
(DIR) Post #AdWvPa6qCGW9xvG4fI by clementd@framapiaf.org
2024-01-05T08:26:32Z
1 likes, 0 repeats
@vantablack Plot twit: it's the same person
(DIR) Post #AdXm3w9AsMyrVuuj4q by clementd@framapiaf.org
2024-01-05T17:59:10Z
0 likes, 0 repeats
As a nice coworker, I always leave a PR open so that my dear coworkers can have something to read on monday.
(DIR) Post #AdXm42F4DNG8PviW5w by clementd@framapiaf.org
2024-01-05T18:02:26Z
1 likes, 0 repeats
And since I'm extra nice to the people I work with, I have prepared a nice little presentation for Thursday.
(DIR) Post #AhoTHVtazJeyYex0yG by clementd@framapiaf.org
2024-05-06T07:12:47Z
0 likes, 0 repeats
@HTeuMeuLeu C'est toujours pas corrigé ?Je me souviens d'un problème similaire en 2012
(DIR) Post #AibrfAPN8WuI8QvGcq by clementd@framapiaf.org
2024-06-05T06:52:22Z
0 likes, 0 repeats
I'm generally against firing people, but the whole Microsoft Recall team has messed up real bad.
(DIR) Post #AjsZpDOxsdMpaMnpjs by clementd@framapiaf.org
2024-07-13T06:22:14Z
0 likes, 0 repeats
@foone Yes. You can use `?` with both, as a short-circuiting operator
(DIR) Post #AkAcHdX70wWe7coskK by clementd@framapiaf.org
2024-07-21T23:14:10Z
0 likes, 0 repeats
@foone My first thought was about keyboard navigation and now I'm thinking of a keyboard with an hexagonal arrow cluster 🤔
(DIR) Post #AkBdadKSI8iG6STvSy by clementd@framapiaf.org
2024-07-22T11:03:40Z
0 likes, 0 repeats
@foone Voronoi spreadsheets when
(DIR) Post #ApPJcmcJytK26NLjma by clementd@framapiaf.org
2024-12-25T14:45:48Z
0 likes, 1 repeats
@babe I'm blessed with this couch potato every day, but can't resist inflicting her to others
(DIR) Post #AzZmeqlqnN7HNyKO6i by clementd@framapiaf.org
2025-10-25T16:43:59Z
0 likes, 1 repeats
@Codeberg AI is malware