Pierre

7.9K posts

Pierre banner
Pierre

Pierre

@martpie_

Web // Frontend // UX. Some open-source. Stupid and arrogant French in my spare time. Also building @museeks

Zurich, Switzerland Katılım Nisan 2012
175 Takip Edilen532 Takipçiler
Pierre
Pierre@martpie_·
@gethackteam Well now even if Redux Toolkit make things more bearable, putting more things in URL params + react-query cache is just easier to think about. If one really need global state just use Zustand or Jotai and move on. We had to have the terrible things to get the nice things.
English
1
0
0
12
Roy Derks 🚀
Roy Derks 🚀@gethackteam·
I have a confession to make, I still have nightmares about the redux code I wrote 12 years ago
English
7
2
22
3.4K
Pierre
Pierre@martpie_·
@i0ki_LoL Well you thought I was on the other side of the map?
Pierre tweet mediaPierre tweet mediaPierre tweet mediaPierre tweet media
English
0
0
0
68
ioki
ioki@i0ki_LoL·
Post your champion pool and I'll rate it out of 10 and give a single word to describe you.
ioki tweet mediaioki tweet mediaioki tweet mediaioki tweet media
English
1.1K
22
1.5K
211.3K
Pierre
Pierre@martpie_·
@boshen_c 15th on the list then now more people onboarded. I really love vite-plus (the killer feature imho is the Node.js version management). Keep up the good work, very excited to see what'll happen next.
Pierre tweet media
English
0
0
0
4
Boshen
Boshen@boshen_c·
Current Vite+ adoption. There's also a TONS of issues we need to address, we'll churn through them asap. I can hand out repo triage permission if you show enthusiasm and help out. github.com/voidzero-dev/v…
Boshen tweet media
English
10
11
149
19K
Pierre
Pierre@martpie_·
@kettanaito I write that as someone who has migrated all my apps to Native Webviews, and fairly happy with the changes, but there is a cost to it engineers need to understand.
English
0
0
0
11
Pierre
Pierre@martpie_·
@kettanaito External drag-and-drop fails on Windows unless you disable menu accelerators. libwekit-gtk dependencies are distro-specific and may not be available. File associations is a nightmare between macOS and Linux/Windows. If you are a business and want peace of mind, go Electron.
English
1
0
0
20
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
Comparing Electron to "alternatives" that rely on the system's WebView is dishonest. Those are tools in different categories, really. WebView on macOS means Safari, and Safari for anything remotely serious means bad time.
English
8
0
30
5.8K
Pierre
Pierre@martpie_·
@gonedark Counter example: desktop applications. You never know from what version to what version of the DB you’ll go.
English
0
0
0
30
Jason McCreary
Jason McCreary@gonedark·
I’d go so far as to say migrations themselves are unnecessary. At least beyond their changeset. Once applied, they should be removed and the latest schema should be snapshotted. There’s no reason any application should run hundreds of “old” migrations in sequence.
Freek Van der Herten@freekmurze

I never write down migrations. Down migrations are the least tested code in any Laravel app. They're written once and never run. And when you do need to roll back, you don't know beforehand what you need to do with the data would already be stored in the updated schema.

English
35
5
195
45.3K
Pierre
Pierre@martpie_·
@larroumecj Super intéressant, serait il possible dans le groupement par décile d’avoir une plus détaillée plus on monte? Par exemple top 10% -> 1%, top 1% -> 0.1% etc?
Français
0
0
0
32
Joan Larroumec
Joan Larroumec@larroumecj·
Je vous propose un graphique qui je crois n'avait encore jamais été fait : les flux monétaires complets Français => sphère publique => Français. En effet, la sphère publique est une grande machine à redistribuer. On prend aux Français de plein de manières différentes (TVA, IR, amendes, etc.), ça passe par des administrations diverses complexes et ça retombe dans le poche d'autres Français de façons diverses (transferts, services publiques, infrastructures, etc.) Ce graph retrace les flux, et permet de voir les transferts par niveau de richesse et par génération. Cela m'a forcé à faire des trucs rigolos, comme décomposer qui paye vraiment l'impôt sur les sociétés. J'arrive à la conclusion que seulement 15% de l'IS est payé par les plus riches des actionnaires, et qu'en proportion de leurs revenus, les plus pauvres payent plus pour l'IS. Pourquoi ? Parce qu'une partie du coût de l'IS est portée sur des salaires plus faibles et des prix à la consommation plus élevés. Ce n'est forcément pas parfait, et je prends tous vos commentaires et corrections. Je pense néanmoins que les ordres de grandeur sont corrects. Vous trouverez les versions détaillées et interactives ici : #depenses" target="_blank" rel="nofollow noopener">francetdb.com/#depenses (Par ailleurs j'ai ajouté partout sur le site les sources et les formules)
Joan Larroumec tweet mediaJoan Larroumec tweet mediaJoan Larroumec tweet mediaJoan Larroumec tweet media
Français
97
250
1.2K
84.4K
Pierre
Pierre@martpie_·
@adamsilverhq I’d like to get your alternative for a desktop app I’m building: museeks.io For some actions, like « add to queue », « add to playlist », etc, what would you recommend as an alternative for a quick, non-invasive « green check » showing the users the action was done
English
1
0
0
46
Adam Silver
Adam Silver@adamsilverhq·
Github’s Design System now bans toast messages. In case you don’t know, toast messages are little messages shown on top of the UI to give feedback about an action that you’ve just taken. Banning toast messages is an excellent decision because they have bad UX and are terrible for accessibility. Here’s a few reasons why: (1) They disappear automatically after a few seconds (at best this is stressful, at worst you’ll miss it) (2) They obscure the content underneath which is frustrating and slows users down. (3) They’re hard to spot because they’re small and shown at the edge of the screen. And there are plenty of other issues which I’ll link to below if you’re keen. Let’s hope Github bans tooltips next.
Adam Silver tweet media
English
4
0
6
633
Pierre
Pierre@martpie_·
@athasdev The fact neovim has terrible UX for onboarding is your fault for not being smart enough.
English
1
0
1
18
Pierre
Pierre@martpie_·
@Timofey_Khmelev @mmartin_joo I mean, this is true of any API? If you remove a field or an endpoint, you need to make sure all callsites are removed from your front end.
English
1
0
1
12
Timofey Khmelev
Timofey Khmelev@Timofey_Khmelev·
@mmartin_joo yeah, we try to abandon it in our project. Deploying changes is a nightmare - your front and back have to be in sync all the time.
English
2
0
0
687
Martin Joo
Martin Joo@mmartin_joo·
i've never used graphql before don't know if this is the right approach but i'd rather kill myself
Martin Joo tweet media
English
27
4
153
19.1K
Pierre
Pierre@martpie_·
@athasdev Awesome! Are you using webviews/JS or a rust UI lib?
English
1
0
1
55
athas.dev
athas.dev@athasdev·
Git diff viewer is here. I'm tired.
English
47
19
542
50.2K
Pierre
Pierre@martpie_·
@ZachWarunek Always check for a dirty repo at the end of your CI. Here how I do it: #L61" target="_blank" rel="nofollow noopener">github.com/martpie/museek…
English
0
0
0
26
Zach Warunek
Zach Warunek@ZachWarunek·
i thought i was going crazy. i have written this line at least 5 times today to fix this. turns out our fucking formatter in ci just deletes the flatMap() and converts it to a non existent flat() omfg
Zach Warunek tweet media
English
117
24
1.2K
321K
Marcel
Marcel@marcelkargul·
Reply with your website and I'll rate it. I'll answer everyone...
Marcel tweet media
English
1.2K
112
2.8K
790.7K
Pierre retweetledi
Museeks
Museeks@museeks·
Museeks 0.20.0 is here! - Now built on top of Tauri (rust backend, 20x smaller binaries, less cpu/memory usage) - Updated header - New library management - New dark theme - Compact track view - Scroll restoration - Edit more track information github.com/martpie/museek…
English
2
3
3
139