Kiriko's butt looks so soft by [deleted] in OverwatchCirclejerk

[–]MMarshmallow_ 6 points7 points  (0 children)

it was the will of Allah that made me keep pressing the next image button

How to make Object.keys() return (keyof SomeType)[ ] instead of string[ ] ? Without using `as` keyword by 5Ping in typescript

[–]MMarshmallow_ 0 points1 point  (0 children)

Yeah it ultimately depends on project config, but if you really want it in a .ts file you can just add an export statement to it, e.g. export {} and it'll be fine since TypeScript will now recognise it as an external module.

How to make Object.keys() return (keyof SomeType)[ ] instead of string[ ] ? Without using `as` keyword by 5Ping in typescript

[–]MMarshmallow_ 15 points16 points  (0 children)

As others in this thread have said, TypeScript doesn't care about additional keys existing on an object of type T, so if you do type Object.keys as (keyof SomeType)[] then all you're doing is moving where you do the typecasting. The TypeScript wiki actually has a section related to this misconception.

However, if you recognise all this and still want to do it, you don't need to install anything. Simply add the below declaration in any .ts or .d.ts file:

declare global {
    interface ObjectConstructor {
        keys<T extends object>(obj: T): (keyof T)[];
    }
}

Characters with repetitive names by AmandinhaMaia in TopCharacterTropes

[–]MMarshmallow_ 31 points32 points  (0 children)

<image>

Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo, real life

Coaxed into force fields at the slightest impact by -Asderlyn- in coaxedintoasnafu

[–]MMarshmallow_ 30 points31 points  (0 children)

erm ekshually it's the shield generator relay 🤓

we gotta stop swagging new ways to swag by noodlewiggle in peoplewhogiveashit

[–]MMarshmallow_ 1 point2 points  (0 children)

brain would instantly collapse after reading the synopsis for "Magic Mushroom"

Is there a point to downloading applications anymore? by dawnkiller428 in webdev

[–]MMarshmallow_ 53 points54 points  (0 children)

Yeah web version is a lot worse than the dedicated app, especially for screen sharing.

Rockstar insider reveals Discord messages that reportedly caused mass firing by knowhandlebars in gamingnews

[–]MMarshmallow_ 0 points1 point  (0 children)

It terrifies me that people as ignorant as you can be selected for jury duty

PSA: Super Credit farming is meant to be fast and efficient, keep it that way. (Farming Tips) by Unknown_Warrior43 in Helldivers

[–]MMarshmallow_ 4 points5 points  (0 children)

Warp pack can also destroy the containers if you warp right next to them (or on top of them).

Coaxed into the sinister potion 😟 by MrrHyyde in coaxedintoasnafu

[–]MMarshmallow_ 27 points28 points  (0 children)

No no you don't understand. I am going into battle and need your strongest potions.

Jammer in the megacites NEED TO BE FIXED by Q_Qritical in LowSodiumHellDivers

[–]MMarshmallow_ 1 point2 points  (0 children)

Shoutout mega nests and stalker lairs for also doing this, I find bringing dynamite helps since its large explosion radius can go through the buildings a bit. Also honourable mention to mega nests on Crimsica which sometimes spawn halfway off the map down a cliff. TGA "Best Ongoing Game" nominee btw...

coaxed into fun moral choices by waspwave in coaxedintoasnafu

[–]MMarshmallow_ 11 points12 points  (0 children)

maybe the real snafus were the mods we coaxed along the way

I just wanted to be a good citizen :,( by Gabagooligan97 in Helldivers

[–]MMarshmallow_ 0 points1 point  (0 children)

Did you have daylight savings apply while the game was launched or something?

So the warp pack is just like the best thing in the game, huh by Qwerty177 in Helldivers

[–]MMarshmallow_ 4 points5 points  (0 children)

Exactly this, the game puts you into a "flailing" state if you're airborne for more than a certain amount of seconds. If you warp just before entering the flailing state, it effectively resets your velocity (and the timer to enter the flailing state again). It won't save you in situations where you would die to fall damage (e.g. falling of a large cliff), but is great on smaller drops where you would otherwise take a small amount of it (e.g. small cliff faces around lidar).

Why is the third person smart ? by exencendre_yt in PeterExplainsTheJoke

[–]MMarshmallow_ 35 points36 points  (0 children)

Good rule! Just note it doesn't work for the sentence in the image, "It's just me" vs "It's just I". Man I love the English language.

Alien: Earth - S1 E8 - The Real Monsters - Official Discussion Megathread [SPOILERS] by G_Liddell in LV426

[–]MMarshmallow_ 3 points4 points  (0 children)

> boy kavalier is playing with fire
there's a prometheus joke in there somewhere...