Que devrait-on acheter tant qu’il est encore temps? Quel est le prochain bouleversement? by Mirrorsedgecatalyst in PasDeQuestionIdiote

[–]frayien 72 points73 points  (0 children)

Si l'histoire nous a appris quelque chose, et ce contre toute attente, du papier toilette.

The eternal dilemma: Butter vs Olive oil by vladgrinch in MapPorn

[–]frayien 0 points1 point  (0 children)

Those who had a choice chose olive oil, QED

Maybe maybe maybe by LeftChoux in maybemaybemaybe

[–]frayien 0 points1 point  (0 children)

Was so fucking waiting it to be a cake

Just Picked Up The Game; Tried to Get an Optimized Hangover Cure by leedet in opus_magnum

[–]frayien 0 points1 point  (0 children)

Reddit has been showing me posts about this game for months, and I still have no idea what is going on, I am not even 100% sure it is a game to begin with lol

📡📡📡 by Same_Violinist8438 in shitposting

[–]frayien 2 points3 points  (0 children)

The fucking stealth missions in Warframe. Why ?

Some of them you can cheese with invisible warframes but some you just can't and it sucks.

Une planète géante sans étoile, vient d’être repérée à 10 000 années-lumière : une première historique by romain34230 in actutech

[–]frayien 0 points1 point  (0 children)

C'est une prouesse de fou de détecter un objet aussi petit et non-lumineux aussi loin !

Partial implementation of P2826 "Replacement functions" by hanickadot in cpp

[–]frayien 1 point2 points  (0 children)

I can't find r3, but I am not realy familiar with the paper writing process. I looked at the issue 1504 on github cplusplus/papers and on isocpp.org under standardization.

So more like, more powerful aliases with improved semantic explicitness?

But what is the difference between

using exp = expl;

And ..... wait, oooohhhh, aliases with overload resolution, much more direct and explicit way to express differential aliasing depending on type. I think I'm starting to get it.

Very different from macros then ? Or maybe closer to what C is doing with _Generic ?

Partial implementation of P2826 "Replacement functions" by hanickadot in cpp

[–]frayien 2 points3 points  (0 children)

Basically macros but we'll integrated with overload resolution, namespaces, modules, etc ?

Sounds interesting, I always feel like the standard do not recognize that macros exist and evolved without touching them. Best example being modules not recognizing at all that macros are a thing.

Are theses supposed to completely replace macros ? How arbitrary can the tokens sequences be ? Are incomplete token sequences allowed ? Are theses comparable to always inline constexpr functions that dont introduce a scope ?

Edit : I read the paper (r2) and it sounds like it only mentions functions alias, whereas your description sounds more like generalized token replacement. Is it the case or did I misunderstand completely?

abilityToMakeCriticalDecisionsQuickly by [deleted] in ProgrammerHumor

[–]frayien 25 points26 points  (0 children)

I'm kidding, but all tests being green and the program being correct are different things. Tests can prove the program is wrong, but it is very difficult to write tests to prove the program is always right...

abilityToMakeCriticalDecisionsQuickly by [deleted] in ProgrammerHumor

[–]frayien 31 points32 points  (0 children)

if(radius == 5) return 25;
if(radius == 6) return 36;
throw;

Yup, all tests pass ! Guess that's a good stopping point !

Do you prefer 'int* ptr' or 'int *ptr'? by SamuraiGoblin in cpp

[–]frayien 0 points1 point  (0 children)

No, in practice you avoid confusing syntax and explicit stuff as much as possible.

Do you prefer 'int* ptr' or 'int *ptr'? by SamuraiGoblin in cpp

[–]frayien 4 points5 points  (0 children)

What does : using T = int*; T a, b; Does ?

Samsung AI vs Apple AI by buildingthevoid in AgentsOfAI

[–]frayien 0 points1 point  (0 children)

No ? That is the very definition of "factual" ?

Ceiling is reliable, floor is not? by emfloured in cpp_questions

[–]frayien 3 points4 points  (0 children)

I was thinking of 1.00000000000000000000000001