CannotSleep420

joined 2 years ago
[–] CannotSleep420@lemmygrad.ml 4 points 2 years ago (1 children)

The only reason to prefer mugging a random student over walking out of Target with a TV is wanting to hurt a person, or at least screw them over individually.

stalin chad yes balloon

[–] CannotSleep420@lemmygrad.ml 4 points 2 years ago

Nah, it's based af.

[–] CannotSleep420@lemmygrad.ml 46 points 2 years ago

Didnt the US back a coup in Ukraine back in the early 2010s?

Inb4 the lib says that was a popular revolution for muh freedumbs and muh dumbocracy.

[–] CannotSleep420@lemmygrad.ml 1 points 2 years ago (1 children)

No. God is fake and hetero.

[–] CannotSleep420@lemmygrad.ml 32 points 2 years ago (5 children)

The lie is that the insults are used in place of an actual argument.

[–] CannotSleep420@lemmygrad.ml 4 points 2 years ago (1 children)

Are we assuming they are the smash characters or the players? If so, what would their moves be?

[–] CannotSleep420@lemmygrad.ml 7 points 2 years ago (1 children)

I think it does say a lot about society, but about capitalist society as opposed to the USSR which it was trying to criticize. It's a masterwork of projection.

[–] CannotSleep420@lemmygrad.ml 3 points 2 years ago

That isn’t debate, it’s bullying.

stalin chad yes balloon

[–] CannotSleep420@lemmygrad.ml 2 points 2 years ago

Edit: ps it wasn’t just a post Soviet issue. Look up Operation Bloodstone

To anyone reading: also check out operation aerodynamic.

[–] CannotSleep420@lemmygrad.ml 4 points 2 years ago

Washing machines aren't, but drying machines are.

[–] CannotSleep420@lemmygrad.ml 8 points 2 years ago

I didn't defend nazi apologia, I just defended nazi apologia.

 
 

Multipolarity is inevitable.

 
 

xijinping

 

I came up with a trick to iterate over string union types (kind of). I don't know if anyone has discovered this independently, but I think it's too useful not to share.

You can do it with a pattern like this:

const values = ['foo', 'bar', 'baz'] as const;

type Value = (typeof values)[number];

Let's break down what is going on here. values is a list of strings, however the as const makes it so that Typescript treats it as a tuple of string literals instead of just string[]. When defining Value, we use that tuple type to get the type of what you would get by indexing the tuple with a number. Since that type could be any of the string literals in the tuple, the resulting type is a union of all the literals in the tuple, i.e. 'foo' | 'bar' | 'baz'. This makes it so you can use Value as the union type, and if you ever want to iterate over all the values of the union, you can do that with values. This should allow you to do the one thing that Typescript's crappy enums has over string unions.

You can see this technique in action in the bot library I made.

 
view more: ‹ prev next ›