• 1 Post
  • 30 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle
  • You should group your source files by domain, then by feature, e.g. ‘src/foo/model’ and ‘src/foo/exports’.

    Is serialization/deserialization the only aim of these structures ? If not, that code should definitely be separated, so as to evolve separately from the structure itself.

    If it is the only aim, the code should also be separated, so you can change your serialization type (e.g. from JSON to XML) without impacting the model.

    Also you might need another export for compatibility with another software, and you don’t want your model file to grow with the 10 formats you support.



  • Funny thing is, the way this is phrased seems to me the person complaining is part of the issue.

    The complete and absolute refusal that something is someone good may lie in the whole of the Trump administration is part of the issue. The extreme polarisation of dems vs reps is part of the issue, and the exact reason some voted trump, because, well, at least he’s red.

    Not understanding that someone may recognize this, and speaking out about anyone who does, leads to more polarisation.

    And what happens with enough division ? What is to be gained to spew hatred on your fellow countrymen ?

    If you really think your opinion is superior, don’t yell at others, explain and share. Don’t judge hastily.

    In this post I don’t see the proton CEO as a MAGA supporter, I see someone who recognizes something good in a context that cannot be changed. (Like it or not, Trump won and will be president legally for the next 4 years).




  • J’ai eu une énorme phase dans la vie où j’ai voulu lire tout ce qu’on le recommandait, et j’ai lu le seigneur des anneaux, dune, et une bonne partie de game of thrones.

    Je déteste le style de Georges R. R. Martin ( si vous l’aimez tant mieux pour vous, mais c’est vraiment pas ma tasse de thé).

    Je trouve que Tolkien mets 300 ans à arriver où que ce soit, et fait des détours qui m’insupportent (je me fous de ce qui arrive au poney, me fais pas un laïus qui est contredit par la suite de l’histoire).

    Mais j’adore Dune (les 2 premiers livres, après c’est plus mitigé).

    Tout ça pour dire: ne t’interdis pas de lire autre chose, tu as maintenant le super pouvoir de dire “mouais, pas mon kiff” et ne pas finir le bouquin.







  • I’ll soon be in the market for an EV, and I wish what you’re saying we’re true.

    Other brands are more expensive, and their base price can barely compete with a tesla, but their options pricing is ridiculous.

    There’s LOTS of teslas where I live because it’s the best bang for your buck right now as far as EV comes.

    I dislike Musk as much as anyone else around here, but the companies he fronts have met lots of success, I guess because there are lots of very competent people actually running them (i.e. Gwynne Shotwell for SpaceX)


  • I’ll explain as if your first language is not English.

    Dry means something that has no moisture in it, like sand can be dry or wet.

    Obviously something dry contains no moisture or liquids.

    A Martini is a cocktail, mixed from mostly gin and vermouth. In this context, dry means “little vermouth”, so the taste of the gin is most prevalent.

    So the joke is between the two different meanings of the word, as obviously a dry cocktail makes no sense if you take the first meaning of the word.







  • I’m very sad they are closing shop, but I understand it.

    I find their last DLC awfully expensive, but I think I’ll buy them anyway, as I really loved all their games (bought desperados 3 day 1, same for shadow gambit, and no regrets).

    Their games were crafted with love, and it shows. If you haven’t, go and try them on, it’s a fun genre.

    I started playing because I had nostalgia for the commandos games, but they really refined the gameplay and made the different difficulty modes so everyone can have fun.