packadal

joined 2 years ago
[–] [email protected] 2 points 4 months ago

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.

[–] [email protected] 9 points 4 months ago

"Hey, I didn't vote for that guy" complains person who voted for candidate who said "vote for me and you'll never have to vote again"

Getting some leopards ate my face vibes from this one

[–] [email protected] 1 points 5 months ago

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).

[–] [email protected] 4 points 7 months ago

Why is that ?

My computer is not compatible with windows 11, but is still running factorio perfectly fine.

[–] [email protected] 5 points 7 months ago

I wonder, is posting an ad for an US company in a UK community pure incompetence, or carpet bombing the ad ?

Since the ad has only been posted once sor far, either this was testing the bot, or pure incompetence.

[–] [email protected] 4 points 8 months ago (1 children)

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.

[–] [email protected] 7 points 9 months ago

Left handed people

[–] [email protected] 6 points 9 months ago (2 children)

The Czech republic has non optical microscopes only because FEI (part of Thermo Fisher Scientific) has its manufacturing plant there.

Since there are basically two manufacturers of election microscopes on earth (the other one being Zeiss) and one of these bad boys will settle you for millions of dollars, this explains how it's the country's main exports.

Before being aquire by Thermo Fisher Scientific (in 2014 or 2015, not sure) FEI's annual gross income was around $1B, so around the figure cited here.

Source: I worked at FEI when it was aquire by Thermo Fisher Scientific.

[–] [email protected] 6 points 1 year ago

God of war Ragnarok is a AAA game, and I absolutely loved it.

There, not everyone complains about all modern AAA games. Just in case you actually thought EVERYONE dislikes them, you might be in an echo chamber.

[–] [email protected] 5 points 1 year ago (1 children)

Well, to get humans to space today you have either the crew dragon on a SpaceX falcon 9, or a Soyouz.

And relations with Russia are a bit tense nowadays, so if you are not Russian, there are currently no other options than SpaceX.

Kinda looks like a monopoly, with another actor starting to compete (and SpaceX is historically very competitive on prices, so without huge government subsidies, I doubt Boeing would consider maintaining their crewed vehicle)

[–] [email protected] 4 points 1 year ago (1 children)

Je me suis acheté "The Last Spell" car il était en promo.

J'ai découvert ce jeu quand j'ai vu un nouvel album de "The Algorithm" (un artiste français) qui le semblait très musique d'ambiance à la première écoute, du coup j'ai regardé de plus près, et j'ai mis le jeu sur ma wishlist.

Ben le jeu est vraiment cool, très prenant, et la musique défonce, parce que The Algorithm.

[–] [email protected] 2 points 1 year ago

Gave a presentation last year, using a joy con as a remote for switching slides.

Nice thing is you can have mouse with the joystick as well

 

Hi ! Since this community is brand new, let's get it started with the classic recommendations thread :⁠-⁠)

I haven't read mangas in a while, and my favorite were (in no particular order)

  • Kenshin
  • Hunter X Hunter
  • GTO

I also liked one piece, but got out a few years ago and now catching up seems like quite a bit of work, and the start of Naruto before stuff got too weird.

Do you have good mangas to recommend for me ?

Thanks a lot :⁠-⁠)

view more: next ›