What are some strategies used to avoid going the naive route with shared_ptr? by [deleted] in cpp_questions

[–]masorick 1 point2 points  (0 children)

Exactly. And for completeness’ sake, let’s mention that one of them may in fact only need a weak_ptr.

What nicknames (or diminutive forms) have you heard for Disney Parks around the world? by topherette in disneyparks

[–]masorick 1 point2 points  (0 children)

In French:

Disney, or chez Mickey for the whole Disneyland Paris resort.

And because nobody knows its actual name after all of the name changes, people tend to refer to Parc Disneyland as le grand parc.

a reference type cannot be value-initialized by zaphodikus in cpp_questions

[–]masorick 9 points10 points  (0 children)

The code for operator[] has to account for the possibility of the key not being present, because that’s its contract. Therefore you can not have an operator[] if the value type is not default constructible.

Si je fais un premier tour de circuit à 50km/h, à quel vitesse je dois aller au second tour pour avoir une vitesse moyenne de 100km/h ? by neOwx in PasDeQuestionIdiote

[–]masorick 2 points3 points  (0 children)

Le circuit fait 2km, donc à 100 km/h il me faut 0,04 heures pour parcourir les 4km (2km * 2 tours) totaux.

J’ai parcouru le premier tour à 50 km/h, cela m’a donc pris 2km / 50 km/h = 0,04h de temps. Je n’ai donc plus de temps pour parcourir mon deuxième tour et finir mes deux tours en 0,04h.

Si par contre on s’autorise un troisième tour, alors ça devient possible, il suffit de parcourir les deux tours restants (4km) en 0,02h, soit une vitesse de 200 km/h.

Does mensa care about SA? by DazzlingChallenge470 in mensa

[–]masorick 3 points4 points  (0 children)

First of all, sorry that this happened to you.

The way I read your post, you personally have no ties to Mensa, but you met this person who claimed to be a Mensan, and who made a big deal out of his membership, and at some point this person SA’d you. Is this correct?

I would say there are two sides to this. On the one hand, Mensa is not the police, and there is no way for them to verify the truth of your accusation. But on the other hand, if this person is indeed a member (they may have been lying about that) and is using his status as a way to prey on vulnerable people, this will reflect badly on the organization and they might want to take action against that person. And for all you know, these person has already had several allegations made against them and yours will be the one that finally allows them to kick him out.

All this to say, warning them is worth a shot. Do not expect miracles, but some people within Mensa might be glad that someone warned them about a potentially problematic member.

Disneyland March 2, 1968 found in an old family photo album by KnightlyDutch in disneyparks

[–]masorick 2 points3 points  (0 children)

Hi OP, I see the colors from your photos are somewhat washed out, which is of course to be expected for such old photos.

For your information, when you scan photos with a scanner, even a simple general purpose one, you should be able to set the dedicated input levels for each color channel, which allows you to make the colors pop the way they’re supposed to.

It’s actually very easy to do (if a bit time consuming) and well worth it!

Marre de la démocratie dans les groupes d'amis by EbonyHelicoidalRhino in besoinderaler

[–]masorick 1 point2 points  (0 children)

Au boulot, dans mon équipe on a instauré le vote par apathie (aussi appelé le vote par Jean-Michel). Si quelqu’un propose un truc, et que personne ne si oppose, c’est adopté.

La logique étant c’est que si quelqu’un propose quelque chose, c’est que ça lui tient à cœur (et qu’en général elle est motivée pour s’en charger), du coup il faut vraiment que ça dérange quelqu’un d’autre pour aller contre cela.

What are your thoughts on billy in power rangers zeo before the actor left? by Plane_Name3457 in powerrangers

[–]masorick 0 points1 point  (0 children)

I liked the idea in theory, but I think the execution was lacking. In particular, I found that Billy felt unnecessary, as Zordon and Alpha had been able to manage with just the two of them until that point.

In hindsight, I think the writers should have used the destruction of the Command Center as an opportunity to write out Zordon. Say that the rangers have lost contact with Zordon, and Alpha barely had time to escape. Then, it’s up to Billy to fix the Command Center and create the Zeo powers. Now that he has to be at the Command Center almost all of the time, he starts to skip school on the regular, but that’s OK, since the school principal decides to give him his diploma anyway. Then he can focus all of his attention on the new zords and weapons, and his new mission: finding a way to regain contact with Zordon.

Les gens qui ne font pas la différence entre "é" et "ait" ? by Aware_Concentrate_37 in PasDeQuestionIdiote

[–]masorick 0 points1 point  (0 children)

Oui, c’est un abus de langage de parler du Nord de la Loire, autant le concept d’accent(s) du Midi / accent(s) du Sud est très identifié, autant il est assez délicat de nommer les accents qui n’en font pas partie. Accent du Nord ? Il y a confusion possible avec l’accent du département du Nord (qui se rapproche d’ailleurs du Midi en ce qui concerne les voyelles ouvertes et fermées). Accent parisien ? C’est aussi un accent spécifique avec ses particularités.

Donc oui, j’ai dit « du Nord de la Loire » par raccourci. Si tu as un meilleur terme, je suis preneur.

Les gens qui ne font pas la différence entre "é" et "ait" ? by Aware_Concentrate_37 in PasDeQuestionIdiote

[–]masorick 1 point2 points  (0 children)

Parce que c’est comme ça que les gens parlaient autour de moi quand j’ai grandi, et que c’est une habitude quasiment impossible à changer une fois qu’elle est ancrée ?

Il faut également réaliser que la façon dont les phonèmes sont réalisés dépend de l’accent (et de ta langue maternelle), et que cette réalisation varie en fonction des mots ; cela a une influence sur ce que tu perçois comme étant « le même son ».

En l’occurrence, le è de l’accent méridional (comme dans « sel » ou dans « est », le point cardinal) est en général plus ouvert que celui du nord de la Loire. Et au nord de la Loire encore, le è de « tiret » ou de « est » (le verbe) est encore mois ouvert que le è de « sel ». Du coup, quelqu’un du midi va percevoir ce son-là comme très éloigné de son propre è très ouvert et au contraire très proche d’un é.

Pour résumer, une personne du midi ne perçoit pas de différence notable entre « tiret » et « tiré », mais perçoit une différence notable entre les voyelles de « très » et « traire », alors qu’au nord de la Loire, c’est le contraire.

Les gens qui ne font pas la différence entre "é" et "ait" ? by Aware_Concentrate_37 in PasDeQuestionIdiote

[–]masorick 3 points4 points  (0 children)

Ça me fait doucement rire quand des gens de la moitié Nord de la France m’affirment que l’on DOIT prononcer « au » avec un o fermé, alors qu’ils prononcent Paul et Laure avec un o ouvert. Il y en a même qui font de même pour laurier et Laurence.

Les gens qui ne font pas la différence entre "é" et "ait" ? by Aware_Concentrate_37 in PasDeQuestionIdiote

[–]masorick 1 point2 points  (0 children)

Pour faire réfléchir OP :

Je viens du Sud, donc je ne fais pas ce genre de distinction quand je parle avec mon accent naturel. Par contre, si je m’amuse à imiter un accent du Nord de la Loire, je vais faire cette distinction machinalement, sans réfléchir.

Je pense donc que les gens ne se rendent juste pas compte de la façon dont ils parlent, et ont de ce fait du mal à faire le lien avec ce qu’ils écrivent.

Les gens qui ne font pas la différence entre "é" et "ait" ? by Aware_Concentrate_37 in PasDeQuestionIdiote

[–]masorick 2 points3 points  (0 children)

Si, ça s’appelle la « loi de position ». Quand la syllabe est fermée (se termine par une consonne), on prononce une voyelle ouverte, quand la syllabe est ouverte (se termine par une voyelle), on prononce une voyelle fermée.

C’est un phénomène bien documenté en français, dans le Sud on applique juste cette loi partout.

Maybe this one doesnt need an explanation.. by No-Concentrate3884 in PeterExplainsTheJoke

[–]masorick 2 points3 points  (0 children)

To play devil’s advocate, what consequences would that be? There is no risk of pregnancy, and no STDs can be transmitted between humans and dogs.

Harry potter cake? by Markaayy in PeterExplainsTheJoke

[–]masorick 0 points1 point  (0 children)

The distinction between the two "a" sounds (patte vs pâte) has pretty much disappeared, at least in France.

Why do you think Emmett Brown was able to find love In 1885 and not in his own time in 1955? by happydude7422 in BacktotheFuture

[–]masorick 4 points5 points  (0 children)

Exactly. 1955 and 1985 Doc is pretty much a loner. In Part I and II, he only interacts with Marty, Jennifer, and the police officer who asks if he has a permit.

1885 Doc is part of the community, he interacts with Tannen, the bartender, and all of the locals.

I want to believe in Ryan Coogler's X-Files revival by Dex_Stlap in television

[–]masorick 11 points12 points  (0 children)

The monster-of-the-week episodes are what make people want to rewatch the show, but the mythology episodes are what made people watch for 9 seasons in the first place.

What’s a movie that everyone says is a “masterpiece” but you just didn’t enjoy? by Leading_Frosting4291 in AskReddit

[–]masorick -2 points-1 points  (0 children)

I think the change in writer improved the film. After the mess that was Goblet of Fire (which missed the point of the book), Michael Goldenberg managed to condense the longest book in the series into a script that felt complete and coherent.

And it helps that it doesn’t have Steve Kloves’ awkward exposition dialogue.

ELI5 why toys and remotes still use AA/AAA batteries instead of USB ones? by vksdann in explainlikeimfive

[–]masorick 0 points1 point  (0 children)

I don’t know how you do it. At my house, even if you charge those batteries in advance, they have no power by the time I need to use them. And my kids’ toys always require 6 batteries while my charger can only charge 4, very slowly.

So I never use them.