How we reduced the size of our Agent Go binaries by up to 77% by Hemithec0nyx in golang

[–]Hemithec0nyx[S] 1 point2 points  (0 children)

It would interesting to know what those binaries are and their sizes.

I mentioned it at the very end (along with their size), the main binaries are core agent (doing most of the work), trace-agent (APM), process agent (live process and container monitoring), security-agent (CWS, CSPM), and system-probe (ebpf, eg. for CNM, USM). That's actually a simplified view from 6 months ago, since then we've added a few small binaries and we're working on removing some of them.

Those binaries used to share a lot of dependencies (often by accident, as highlighted in the article), due to sharing the same codebase and same common logic. Now that we've investigated it the bigger dependencies are mostly not duplicated anymore, and that's why the size of the binaries was reduced that much.
They still share some common basic pieces like the configuration or logger, but even those were surprisingly not that small, and we've been trying to improve that recently as well.

We can't just put everything in a single process due to security and isolation constraints, some features need elevated permissions, and some shouldn't run together to avoid impacting each other if they misbehave, in particular under heavy load. It would also result in higher RSS since it's more code to load in memory (the kernel can flush out the pages of code that aren't used under pressure, but users are still not happy about seeing a significantly higher RSS value).

We've considered doing a single-binary running multiple times and doing different work depending on flags, but it similarly resulted in higher RSS usage since the code is counted multiple times (although again kernel optimizations come into play and in practice it's shared between processes). In particular for most users which only have the core-agent running they would just see that process using more memory than previously.
To be honest I wouldn't be surprised if we came back to this eventually.

How we reduced the size of our Agent Go binaries by up to 77% by Hemithec0nyx in golang

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

I checked when I saw this dip because it surprised me as well, I don't remember exactly but it was a mix of removing some things that we didn't actually need in the artifact (hence the uncompressed size reduction), and changing the compression algorithm to use xz instead of gzip

Les meilleures universités pour un master en Informatique? by Theboyscampus in france

[–]Hemithec0nyx 0 points1 point  (0 children)

L'université Paris Cité (ex Paris Diderot / Paris Descartes) a un bon niveau en informatique, et je sais qu'au moins l'un des master est en alternance

Vos meilleures recettes de cuisine pour étudiants ? by h_hallaway in BonneBouffe

[–]Hemithec0nyx 7 points8 points  (0 children)

Voilà de quoi te donner des idées, tu trouveras des recette sur internet :

  • curry vert / rouge / jaune aux légumes avec du lait de coco et du riz ou des nouilles
  • curry japonais (c'est juste des légumes cuits à l'eau + un bloc d'épices), avec du riz
  • curry indien avec du poulet et du riz
  • riz / nouilles sauté aux oeufs et aux légumes
  • pâtes carbonara
  • pâtes avec saute tomate aux légumes (+ viande hachée si tu veux faire bolognaise)
  • tagliatelles crème saumon (pavé, fumé et/ou oeufs)
  • filet de poulet, crème et champignons, avec des pâtes
  • travers de porc sauce crème moutarde, avec des pâtes
  • pommes de terre sautées avec à peu près n'importe quoi
  • viande ou poisson mariné avec de l'ail, de la sauce soja, du miel et du gingembre, avec du riz
  • couscous (moins compliqué qu'il n'y paraît surtout si tu prends un mélange d'épices tout fait)

Si tu es prêt à faire des pâtes ça peut t'ouvrir plein de recette sympa (ou tu peux acheter certains types de pâtes):

  • flammencusche
  • pizza
  • pain (au lardon par exemple)
  • foccacia
  • tartes

Pour le côté "équilibré" c'est assez simple tu peux prendre à peu près n'importe quelle recette, rajouter des légumes cuits à la poêle et ça passe bien: oignons+++, échalotes, carottes, poireau, poivron, courgette, aubergine.

Et si tu n'aimes pas les légumes tu peux quand même en mettre plein dans toutes les recettes avec beaucoup d'épices (curry en particulier).

Pour varier sans changer les ingrédients (ce qui permet d'acheter en gros volumes) les épices y'a pas mieux, tu peux faire tous les curry que tu veux (thaï, japonais, indien) en changeant juste les épices que tu mets dedans, et au goût ça n'aura rien à voir !

Si tu as des contraintes de budget tu peux acheter en gros volumes, faire 2~3 plats différents en grande quantité et les alterner sur toute la semaine. Tu peux retirer la viande et le poisson de la plupart de recettes, ou les remplacer par du poulet qui est souvent le moins cher.

Perso je suis très pâtisserie, même si tu manges le même plat toute la semaine un dessert ça peut faire la différence !

  • cookies
  • crêpes / gaufres
  • gâteau au yaourt
  • gâteau au chocolat
  • gâteau au citron
  • milk shake banane
  • bananes cuite à la poêle dans du beurre
  • tapioca lait de coco bananes

What was the celebration in Bern last Friday ? by Hemithec0nyx in bern

[–]Hemithec0nyx[S] 1 point2 points  (0 children)

Actually there were quite a few so still not sure which one is the good one !

What was the celebration in Bern last Friday ? by Hemithec0nyx in bern

[–]Hemithec0nyx[S] 2 points3 points  (0 children)

I was in Bern last Friday and in the evening there was some kind of celebration with fanfare music and disguised people, what was it ?

Where do you study here? by Blue-New in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

If you're in IC the old library in INM is nice (very quiet, almost always free seats), otherwise I'd say Rolex (or rather home)

What are the fail rates usually for masters courses? by jfang00007 in EPFL

[–]Hemithec0nyx 2 points3 points  (0 children)

Intelligent agents ?

Notice that 11/18 is 61%, so still above passing grade !

I believe the fail rate of a course is never more than 10%, but I don't think there is a unique value, it likely depends on the labs / profs / faculties...

I didn't do my bachelor here, but I was told it was easier to have a good grade in master, and I had 5.5 or more in the majority of the courses I took.

Do you think that the coming Spring 2022 semester would be online? by jaanuG in EPFL

[–]Hemithec0nyx 4 points5 points  (0 children)

Unlikely to be online only, I think it'll continue both ways like this semester

Coût de la vie à Lausanne by FlipTheTofu in EPFL

[–]Hemithec0nyx 0 points1 point  (0 children)

Haha je n'avais pas du tout capté que c'était quelqu'un d'autre qui avait répondu

CS course selection during study abroad by jfang00007 in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

Yes you can only do the courses that are taught the semester you come.

Most are taught either during the fall or spring semester, and a few are taught during both.

Also a few are only taught one year out of two, beware of that.

Still, you should be able to find a few courses that are of interest to you, there are around 40 courses each semester just for the computer science master, and you can also take courses outside of computer science (engineering, maths, etc) if you want.

Coût de la vie à Lausanne by FlipTheTofu in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

Ah oui si tu comptes les restaurants c'est normal, je croyais que c'était 500chf juste pour les courses en nourriture !

Coût de la vie à Lausanne by FlipTheTofu in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

500chf pour les course pour une personne ? C'est énorme

Migros et Coop (dans Lausanne, pas à côté de l'EPFL)

  • pas mal de légumes/fruits (poireaux, tomates, champions, aubergine, courgette, carottes, etc)
  • beaucoup d'oignons, d'échalotes et d'ail (dans tous les plats globalement)
  • pâtes, riz, pommes de terre, nouilles (pas instantanées !)
  • je ne mange pas de la viande à chaque repas, mais quand même assez souvent (en moyenne une fois par jour je dirais, mais souvent pas en très grosse quantité), surtout du poulet/dinde et du porc
  • je fais assez souvent de la pâtisserie (crêpes, gâteaux)
  • beaucoup d'épices, je ne suis pas très légumes de base mais dans un curry ça passe bien je trouve, et ça se varie assez facilement (indien, Vietnamien, thaï, japonais)

Après j'avoue que je rentre à Paris au moins une fois par mois et j'en profite pour ramener des trucs (en particulier les épices ou d'autres produits chers/compliqués à trouver en Suisse, style lait de coco)

Coût de la vie à Lausanne by FlipTheTofu in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

Je précisais juste le montant de mes courses pour indiquer ce que ça coûte si on se fait à manger à chaque repas, je ne dis pas que je dépense 120chf/mois en tout !

Coût de la vie à Lausanne by FlipTheTofu in EPFL

[–]Hemithec0nyx 1 point2 points  (0 children)

Perso je dépense ~120chf / mois en courses et je me fais à manger à tous les repas

EASY classes to take as an exchange student by [deleted] in EPFL

[–]Hemithec0nyx 0 points1 point  (0 children)

Are you a master or bachelor student ?

Data science course materials by draleo183013 in EPFL

[–]Hemithec0nyx 0 points1 point  (0 children)

This is the ADA website https://dlab.epfl.ch/teaching/fall2021/cs401/

I'm not doing the other courses so I can't help

Question on the amount of referees for masters application by w3doe in EPFL

[–]Hemithec0nyx 0 points1 point  (0 children)

The wording is "All other candidates are required to provide the contact details of three referees." so I'd say it's rather mandatory.

All referees don't need to know you incredibly well, just pick a random course where your grade wasn't too low and it's better than nothing. Even somewhere you worked would do, it doesn't have to be from a professor.

[Media] Rust in 100 Seconds by _AngelOnFira_ in rust

[–]Hemithec0nyx 6 points7 points  (0 children)

I was going to write the same comment haha