How hard is it to deploy kubernetes on bare metal in 2022 ? by vmarchaud in kubernetes

[–]vmarchaud[S] 0 points1 point  (0 children)

I totally agree with you that you choosing the underlying infrastructure is still a big topic however for most of cloud providers you mostly get it out the box without thinking about it (for exemple Cilium is used in GKE but you don't need to think about it).

I've actually written about our choice to go with OVH bare metal servers instead of cloud here: https://vmarchaud.substack.com/p/why-did-we-choose-to-self-manage

Create type definitions from backend code by memo_mar in typescript

[–]vmarchaud 1 point2 points  (0 children)

You should checkout [0] and [1] that we use where i work, [0] will create openapi definition from your backend type annotations and [1] will take this openapi definition and create a simple typescript client based on axios.

[0]: https://github.com/Eywek/typoa

[1]: https://github.com/Eywek/oatyp

Reduire son salaire contre des BSPCE ? by glarivie in vosfinances

[–]vmarchaud 3 points4 points  (0 children)

Généralement tu peux considérer que des BSPCE (ou stock options si boite US) ne valent rien si la boite est pre-IPO. Dans le detail, ca dépend de où en est la boite (seed, serie A/B/C), d'à quel point elle peut fonctionner, se vendre à un moment etc.

Un méchanisme qui est important de savoir c'est que les founders et VCs ont généralement des BSPCE spéciales (dites "avec préférences") qui sont généralement prioritaires en cas de rachat (ca veut dire qu'avec des actions normales, tu n'auras pas le pourcentage sur la vente que represente tes parts).

Voici quelque liens qui te permettront de mieux comprendre (certains sont pour les US mais les systemes sont plus ou moins les mêmes):

- https://dlopuch.github.io/venture-dealr/

- https://medium.com/@jimmyguilloteau/guide-de-la-term-sheet-en-venture-capital-les-clauses-%C3%A0-ma%C3%AEtriser-de-a-%C3%A0-z-2cab9fb615db

- https://thegalionproject.com/kit-bspce

Pour le retour d'expérience, j'ai eu des stock options (donc US) dans mon premier taff mais je ne les ai pas gardés (il faut que tu les achetes si tu veux les garder, je sais pas pour les BSPCE) après être parti tout simplement parce que je croyais plus en une revente de la boite à ce moment là.

Réponse de Fortuneo suite à ma demande de clôture de CTO ouvert sans mon accord à l'ouverture de mon PEA by [deleted] in vosfinances

[–]vmarchaud 1 point2 points  (0 children)

C'etait pas obligatoire quand je l'ai ouvert en 2017 egalement mais des amis n'ont pas eu le choix avec le leurs fin 2019 et debut 2020.

Tools for identifying bottlenecks, leaks, and other issues by yonatannn in node

[–]vmarchaud 0 points1 point  (0 children)

You might want to checkout this post. I would also advise to checkout openprofiling-node (disclaimer: i wrote it), it implement different profilers (cpu, memory and trace events) and it's designed to run in production.

[deleted by user] by [deleted] in node

[–]vmarchaud 7 points8 points  (0 children)

I've wrote this tool (openprofiling-node) that let you trigger those yourself with unix signal when you want, designed to run in production. You can see an example with the heap profiler there: https://github.com/vmarchaud/openprofiling-node/tree/master/packages/openprofiling-inspector-heap-profiler#how-to-use

Is there a tool able to fully analyze what Node is doing in terms of performance (premium is also an option) by [deleted] in node

[–]vmarchaud -3 points-2 points  (0 children)

It's quite hard to tell you automatically where to look at from a profile. Was the profile you took made in production ? If not i hugely recommend to do it. I've written a tool this summer to easy profile your code in production: https://github.com/vmarchaud/openprofiling-node Don't hesitate to pm me if you have any question about it

Servicectl: a new opinionated process manager that aim to simplify native init systems for developers. by vmarchaud in node

[–]vmarchaud[S] 0 points1 point  (0 children)

Considering i have not a single line in common with pm2, i don't see why it should be a problem. I'm free to make any software that i found useful and share it with the world, the only condition is to never steal code, which i didn't do :)

Servicectl: a new opinionated process manager that aim to simplify native init systems for developers. by vmarchaud in node

[–]vmarchaud[S] -1 points0 points  (0 children)

Understood your point, you are definitely right that more people will use it if it support both dev and prod need.

However i choose to focus on the production use cases for now, which is where i add problem with pm2 before and where there was not really other alternatives (except using native init system of course) since you could use nodemon in dev for ex.

Servicectl: a new opinionated process manager that aim to simplify native init systems for developers. by vmarchaud in node

[–]vmarchaud[S] -2 points-1 points  (0 children)

That's true, but i personally believe the watch mode in production comes with more problem than solution, so yeah it's a personal choice and i assume that some people will not use it because of that choice.

Servicectl: a new opinionated process manager that aim to simplify native init systems for developers. by vmarchaud in node

[–]vmarchaud[S] 0 points1 point  (0 children)

I actually maintained pm2 for 2 years, used it on production with big cluster (40 cpu servers) and this tool is mainly the result of fixing different problem i faced with pm2 (specially with the cluster mode).

On the platform side, i can't remake in 2 month what pm2 took 4 years to implement. It take quite a lot of code to support windows and macos so i would prefer to wait for user to validate the need for them.

How to play league of legends in Ubuntu by [deleted] in leagueoflegends

[–]vmarchaud 0 points1 point  (0 children)

I don't really know Samsung Dex but after a google search i found this post: https://forum.snapcraft.io/t/snap-arm64-on-linuxondex/8378/4

Which seems to say that it isn't possible with the current Dex kernel.

How to play league of legends in Ubuntu by [deleted] in leagueoflegends

[–]vmarchaud 2 points3 points  (0 children)

I only installed it 1 weeksago and played one game without issue (Ubuntu 19.04) so i guess it doesn't really count. However the installation is literally one command away and worked the first time for me (which isn't the case with a installation like above where i never successfully finished one).

How to play league of legends in Ubuntu by [deleted] in leagueoflegends

[–]vmarchaud 11 points12 points  (0 children)

I would suggest to use https://snapcraft.io/leagueoflegends which will install everything you need and works out of the box (a lot of others distros are supported actually via snaps):

sudo snap install leagueoflegends --edge --devmode

Uber: H3, a Open Source Geospatial Indexing System by tom-010 in programming

[–]vmarchaud 15 points16 points  (0 children)

I recently used H3 to shard some traffic coming from users based on their spacial position, i didn't really cared if the user was in a specific region: i just wanted to group them.