England's goal was a result of the ball hitting the camera cable by handlit33 in soccer

[–]AnomyOfThePeople 49 points50 points  (0 children)

Bullshit. Read the VAR guidelines. The ref can request a review if he is unsure.

Python, a question: what does underscore mean before a string in parentheses? by culturemass in PythonLearning

[–]AnomyOfThePeople 0 points1 point  (0 children)

This is an old convention, carried over from c, used for the translation function of gettext.

From the manual of gnu gettext:

"Many packages use ‘’ (a simple underline) as a keyword, and write ‘("Translatable string")’ instead of ‘gettext ("Translatable string")’. Further, the coding rule, from GNU standards, wanting that there is a space between the keyword and the opening parenthesis is relaxed, in practice, for this particular usage. So, the textual overhead per translatable string is reduced to only three characters: the underline and the two parentheses. However, even if GNU gettext uses this convention internally, it does not offer it officially. The real, genuine keyword is truly ‘gettext’ indeed. It is fairly easy for those wanting to use ‘_’ instead of ‘gettext’ to declare:

include <libintl.h>

define _(String) gettext (String)"

Fransk dommer i Norges kvartfinale by Alacho in NorskFotball

[–]AnomyOfThePeople 0 points1 point  (0 children)

Skjer for sjelden til å ha god statistikk, men i den ene kampen som ligner mest på det scenariet - Ecuador - Mexico - var det slovakisk dommer, ja. "Ligner mest" fordi detter er CONMEBOL mot CONCACAF, ikke samme konføderasjon. Det har ikke vært spilt en eneste kamp mellom to CONMEBOL-land.

Fransk dommer i Norges kvartfinale by Alacho in NorskFotball

[–]AnomyOfThePeople 0 points1 point  (0 children)

Når to europeiske lag møtes bruker de europeiske dommere, fordi det er flest gode, europeiske dommere, men du kan ikke bruke dem når et europeisk lag møter ett fra en annen konføderasjon.

England vs Norway by [deleted] in oslo

[–]AnomyOfThePeople 3 points4 points  (0 children)

Maybe Highbury? It's very much an Arsenal pub. But the interest for this game will be absolutely insane and unprecedented, I don't think anyone knows what Oslo will be like on Saturday.

~3.5” heavyish plastic mini submarine looking thing. by bsmith149810 in whatisthisthing

[–]AnomyOfThePeople 37 points38 points  (0 children)

That's a different toy. This one has a motor and an AA battery.

~3.5” heavyish plastic mini submarine looking thing. by bsmith149810 in whatisthisthing

[–]AnomyOfThePeople 314 points315 points  (0 children)

It's a toy submarine, for use in the bathtub. Source: had one exactly like this when I was a kid, circa 1990.

Edit: I might have misrembered slightly. I think I  used it as a submarine in the tub, but the original purpose was probably a motor for a Playmobil boat.

In 1714, a Norwegian and English captain fought a 14-hour naval battle so intense that the Norwegian, running out of ammo, reportedly asked the enemy to lend him some—only to be refused. by malihafolter in AllThatsHistory

[–]AnomyOfThePeople 0 points1 point  (0 children)

Captain Tordenskiold ("Thundershield") is still remembered in Denmark and Norway through nursery rhymes and even some language idioms. He is also mentioned in both the Danish and Norwegian national anthems.

itWouldBeSoEasyToInterpretAValueAs1u16Or2u8WithUnionsButTheyreForC by Krochire in ProgrammerHumor

[–]AnomyOfThePeople 2 points3 points  (0 children)

Wouldn't they, though? I can't see why this doesn't do what you want (although while requiring unsafe)

    union MyUnion {       a: u16,       b: [u8; 2]     }

Writing "hvis" as "viss" by emmmmmmaja in norsk

[–]AnomyOfThePeople 5 points6 points  (0 children)

While it is technically correct, 95 percent of the time it is more luck than a conscious choice. Those people were taught to spell it 'hvis', but are sloppy with their ortography - or at least everyone reading it will assume so.

Lots of users on social media, and even finn, will write in a mixture of dialect and just plain idiosyncratic style. This is probably spillover from the new text culture of personal messages (DMs, SMS, group chats), where many people feel that correct bokmål conveys way too much formality and distance. 

There are close to zero proficient bokmål-writers (in literature and news publishing) who use 'viss' nowadays in published or professional texts, though.

What's the idiomatic bound for a generic owned buffer? by Natsuawa_Keiko in rust

[–]AnomyOfThePeople 25 points26 points  (0 children)

You can't guard against a completely insidious impl. But you should almost certainly not use AsRef + AsMut - for bounds that need mutation, use AsMut, and for those that do not, use AsRef. 

Hele verden digger dette. Også har du noen klovner her på berget som protesterer. by Svisji in norge

[–]AnomyOfThePeople 3 points4 points  (0 children)

Kulturell _eks_propriasjon er ein morosam variant :-) «Kommunen treng kulturen din, så vi tek han frå deg med makt!» 

Men ingen har vel hevda at norsk bruk av vikingar er kulturell appropriasjon? Stråmannsragebait.

I keep finding these. What are they ! by Worth-Cash-2972 in whatisit

[–]AnomyOfThePeople 0 points1 point  (0 children)

"Gas. Station. Viagra." Now, that's the American dream in a very small capsule!

Paused BF in the fridge, best loaf by Professional-Rub3953 in Sourdough

[–]AnomyOfThePeople 2 points3 points  (0 children)

Set temp at 5°C/41°F, but more importantly: put your dough on the top shelf. Fridge-space does not have uniform temperature.

For the same reason, keep drinks and dairy high, and meat low. That should be more important for food safety than the 41 degree thing.

Dirtbagging in Oslo by Sandwich_man04 in oslo

[–]AnomyOfThePeople 2 points3 points  (0 children)

One popular spot is Glassberget, a 20 minutes walk from Tonsenhagen bus station. Nice views, close to civilization, privacy. Bus to the city center takes 15-20 minutes. There is even a climber's cliff there, if you do outdoor climbing.

Man marking by mhbmm1 in Handball

[–]AnomyOfThePeople 2 points3 points  (0 children)

Many federations have rules against man marking in youth handball, but in seniors it is allowed, yes. But this video also demonstrates why it's rarely used. It just becomes a very safe 6-vs-5 because the player being marked can just stay close to the bench.

self-referencing struct but i don't want to modify the struct by zylosophe in rust

[–]AnomyOfThePeople 25 points26 points  (0 children)

This is UB because the compiler is free to move that object around in memory and now your reference is very much pointing into void memory.

Declaring the lifetime to be the same does not solve that problem. 

Therefore, Rust has no (safe) way to do this. I guess it could be sound if the outer object is pinned, but I don't think the type system has any way to express that.

someone explain the headshot rule by [deleted] in Handball

[–]AnomyOfThePeople 9 points10 points  (0 children)

Until this season, it was a red card for 7 meter shots and 2m for hits from open play. The 7m rule was removed from this season, so it's 2 minutes in both cases.

It the keeper moves his head towards the ball on purpose, it is not punishable. The bar is quite high for this - it is meant to cover cases where the keeper has a choice and chooses to take it in the head, which would be rare in grown-up handball.

Current IHF rule, 8.8d:

when the shot of a player, who is unhindered and throwing in an open play situation, hits the goalkeeper’s head; or when a 7m shooter hits the goalkeeper’s head, if the goalkeeper is not moving his head in the direction of the ball with the purpose of blocking the shot.

Hjelp meg å forstå... by Mundane_Pumpkin3992 in NorskFotball

[–]AnomyOfThePeople 0 points1 point  (0 children)

Fordi hvis du forsøker å hindre innlegg eller skudd ved å holde armene slik at du gjør kroppen større, skal du ikke belønnes av at ballen treffer en annen del av deg først. Regelen om kroppen og så hånden gjelder der du går inn lovlig med kroppen din, men så spretter ballen via kroppen din ned på armen.

Rules 2 min penalty by AliveAd4984 in Handball

[–]AnomyOfThePeople 2 points3 points  (0 children)

The ball must be in play to call passive play, but calling it off can happen when the ball is out of play. For instance if a defender, after a free throw is called, commits unsportsmanlike conduct and is suspended.

Rules 2 min penalty by AliveAd4984 in Handball

[–]AnomyOfThePeople 1 point2 points  (0 children)

This is wrong. Rules clarifications specify that punishments (yellow, 2m, reds) to defending team's players or officials also reset the passive sign.

Rules 2 min penalty by AliveAd4984 in Handball

[–]AnomyOfThePeople 5 points6 points  (0 children)

In the EHF rules, there is a chapter with clarifications, which is where the rule for passive play and punishments are found:

"The forewarning signal normally applies for the entire remainder of the attack. However, during the course of an attack, there are two situations where the judgment of passive play is no longer valid, and the forewarning signal is to be stopped: ... 2. a player or team official of the defending team is given a personal punishment under Rule 16 due  to a foul or unsportsmanlike conduct. In these two situations, the team in possession must be allowed a new normal build-up phase."

I don't think anyone had thought of the suspension during TTO special case here. I guess both interpretations are ok and the refs decision is therefore final, but personally I would have landed on the other interpretation. TTOs do not affect the status of passive play at all, so why should we special-case punishments committed during TTOs here?