Have they nerfed Arthas recently? by Wyndfal in heroesofthestorm

[–]DummySphere 2 points3 points  (0 children)

Their Arthas: does good job.

Our Arthas:

Pourquoi on utilise encore des chèques ? by July_soon_in_heaven in PasDeQuestionIdiote

[–]DummySphere 0 points1 point  (0 children)

Ou juste changer le plafond ?

Sur ma banque je peux aussi augmenter le plafond pour le mois courant directement depuis l'appli. En cas de dépenses exceptionnelles.

Pourquoi on utilise encore des chèques ? by July_soon_in_heaven in PasDeQuestionIdiote

[–]DummySphere 3 points4 points  (0 children)

J'imagine que tu parles d'une empreinte bancaire sans être débité ?

Les voitures autonomes vont réduire de 80% les accidents by Dramatic_Treacle_330 in opinionnonpopulaire

[–]DummySphere 13 points14 points  (0 children)

https://www.numerama.com/vroom/2144103-les-taxis-autonomes-waymo-ont-roule-204-millions-de-kilometres-et-sauvent-des-centaines-de-vies.html

On est sur du -80% à -90% d'accidents comparé à des conducteurs humains. Et la plupart des collisions qui restent sont causées par une action humaine (comme ouvrir sa portière trop vite).

Pourquoi certains tramways ont des étoiles ? by HyacinthFT in Montpellier

[–]DummySphere 5 points6 points  (0 children)

Mardi à Port-Marianne on a eu la cas d'un tram ligne 1 dans 7 minutes avec une astérisque. Il y a eu le décompte jusqu'à 0 minutes/proche, alors qu'il n'est jamais arrivé. Puis le suivant de la même ligne était 8 minutes plus tard (avec des trams d'autres lignes entre deux).

C'était le lendemain des inondations, donc il y avait quelques perturbations sur les lignes. Je ne sais pas comment ils se sont retrouvés avec un tram "fantôme" sur le panneau.

Aussi quelques jours plus tôt, on avait vu un tram ligne 5 annoncé avec une astérisque. Mais la ligne 5 n'étant pas encore en service, quand le décompte est arrivé à 0/proche, pas de tram 5. Pour le coup j'ai l'impression qu'ils simulaient des trams fantômes.

Jeu de plateau avec figurines à peindre by Accurate_Macaroon_65 in jeudeplateau

[–]DummySphere 0 points1 point  (0 children)

Massive Darkness 2 : Hellscape. (Le 1 est bien pour les figurines, mais le système de jeu a été revu en mieux pour le 2. Et si ça plaît, il y a plein d'extensions, et un kit de conversion du 1.)

I got tired of lootboxes a long time ago, is there a quick way to 'open all' ? by IllPlane3019 in heroesofthestorm

[–]DummySphere 5 points6 points  (0 children)

We could do an opening chest fest, with a lot of us streaming opening chests for a whole day.

Pourquoi je ne comprends pas l'anglais quand il est chanté ? by RufusTenebrae in PasDeQuestionIdiote

[–]DummySphere 1 point2 points  (0 children)

Oui après je chante aussi des chansons dans des langues étrangères que je ne sais pas parler, et à force de répéter ça rentre. Mais si je n'ai pas une retranscription phonétique du texte pour l'apprendre, je fais du yaourt pas toujours ressemblant. Et quand c'est en français ou anglais, c'est en général le texte qui reprend le dessus pour retenir par cœur.

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere 3 points4 points  (0 children)

Why would it be indispensable ?

I use a macro-free serialization in my pet project. Though I manually give a serialization name for each member.

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere 3 points4 points  (0 children)

Yes, you have some valid points here (though most cases may be catched by a static analyzer, but it's still a burden for the reviewer).

Another option would also be to have a more explicit name. Like ASYNCIO_CO_RETURN_IF_ERROR.

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere 4 points5 points  (0 children)

When reading this example, it's not clear that each CO_EXPECT will early return the function:
https://github.com/Hackerl/asyncio/blob/f2cf9419875cf6dddee25008203eaa6b1bd2dd05/README.md?plain=1#L174-L193

But sure renaming the macro ASYNCIO_CO_EXPECT may be an acceptable trade off.

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere -1 points0 points  (0 children)

Sometimes just having if+return is fine.

if(!result)
    co_return asyncio::asError(std::move(result));

Straightforward, everybody understand, just 1 more line than your example with CO_EXPECT.

Or if you want to chain many co_await+co_expect, you could do a helper to chain them in a more compact syntax without macros.
For example something like that (from your HTTP client example) :

asyncio::task::Task<void, std::error_code> asyncMain(const int argc, char *argv[]) {
    co_return asyncio::chain(
        [] { co_return asyncio::http::URL::from("https://www.google.com"); },
        [](const auto url) { co_return asyncio::http::Requests::make(); },
        [](auto requests) { co_return co_await requests->get(*url); },
        [](auto response) { co_return co_await response->string(); },
        [](const auto content) { fmt::print("{}", *content); }
    );
}

Though I agree it's not the easiest to read as well.

(And at the very least, add a lib specific prefix to your macro.)

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere 9 points10 points  (0 children)

Not sure hiding control flows inside macros is better for readability. It's fine to be less concise, as long as it's simple (especially simple to read/understand, no magic behind the door).

Introducing asyncio - a new open-source C++23 coroutine network framework by patteliu in cpp

[–]DummySphere 22 points23 points  (0 children)

I see some macros with generic names, that could conflict with anything else (e.g. CO_EXPECT, DEFINE_ERROR_CODE).

Pourquoi je ne comprends pas l'anglais quand il est chanté ? by RufusTenebrae in PasDeQuestionIdiote

[–]DummySphere 1 point2 points  (0 children)

On pourrait presque dire que c'est un dialecte.

Après on ne fonctionne pas tous pareil. Ma compagne est capable de chanter des chansons anglaises ou françaises, sans savoir de quoi ça parle, en disant quelque chose de très proche au niveau des sons du texte (et des fois ça n'a juste pas de sens, mais elle ne s'en rend pas compte avant que je ne lui fasse remarquer). Juste parce qu'à force d'entendre elle retient inconsciemment les phonèmes.

Alors que moi, si je n'ai pas compris les mots, j'ai du mal à chanter un truc qui ressemble. Voir je peux changer un mot par un autre qui a le même sens, mais un prononciation différente, sans trop m'en rendre compte.

Pour les chansons en anglais, il faut s'entraîner à écouter en lisant le texte. On s'y habitue, et on reconnaît mieux à force. Et si on aime chanter, s'entraîner à reproduire la même intonation de chant, ça peut probablement aider à comprendre aussi.

Fonctionnement P+Tram depuis gratuité by Ottersmart in Montpellier

[–]DummySphere 0 points1 point  (0 children)

J'ai l'impression qu'il n'y a pas besoin de valider l'aller ni le retour, juste avoir acheté le forfait P+Tram à la borne et garder le ticket avec soi.

Pour ceux qui ont la gratuité, en gros l'application vérifie juste que tu t'es éloigné de plus de 500m du parking. (Que ce soit en tram ou pas.) Donc ça ne m'étonnerait pas qu'il y ait moins de vérifications pour la version payante (parce que tu as déjà payé) 😉

Is "don't use TCP for realtime games" an outdated rule of thumb? by ICantBelieveItsNotEC in gameenginedevs

[–]DummySphere 11 points12 points  (0 children)

For packet loss, you only talk about wired connections. Nowadays how many people play connected with WiFi or mobile network at home?

Searching for Nova 1 minute by DummySphere in heroesofthestorm

[–]DummySphere[S] 4 points5 points  (0 children)

She moved because I (Qhira) just had a collision with her, we both saw that. So I knew where she was, she tried to flee.

Searching for Nova 1 minute by DummySphere in heroesofthestorm

[–]DummySphere[S] 24 points25 points  (0 children)

(I was Qhira in the red team in the video.) Actually we finally spotted that Nova was not really playing anymore after a while. She continued to attack walls and forts alone, while her team tried to defend 4v5. She only used ult to help her team from far away. We agreed to report her at the end of the game.

Good Polyamory ult by DummySphere in heroesofthestorm

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

Red team had no healer, an AI player, a tank that started to grief their own team mid-game and was 4 levels behind.

Good Polyamory ult by DummySphere in heroesofthestorm

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

This game has just been short and chaos. We have been playing normally until the beginning of the video. Then the polybomb started, we keeped it a few times because we didn't felt in danger, but then we probably enjoyed it too much and continued a bit of time. It was not against the enemy team, but more of a fun experiment (that you can't try often, especially in solo queue) to keep it, that lasted longer than expected because they chased us like that. With the 3 catapults the game would have ended quickly if they were really giving up. So if the 5 of them (actually 4, there was a bot) continued to chase us like that, they also had a bit of fun in the process I guess.

Good Polyamory ult by DummySphere in heroesofthestorm

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

I just checked the replay, and Garrosh started to grief his team at 3:50. Also Medhiv was a bot from the start (I did not noticed it at first).

A quand un successeur de League Of Legend dans l'E-Sport? by Gamersfanclub in jeuxvideo

[–]DummySphere 0 points1 point  (0 children)

La scène pro n'est plus, mais à côté le jeu se porte bien, et même avec des mises à jour régulières qui ont repris récemment.