Show newer

@vaporeon_ I don't know what this is doing but it looks evil:

const char* seed = "random seed";
RAND_seed(seed, sizeof(seed));

The following snippet which assigns to an rvalue, something you're not supposed to be able to do:

#include <iostream>
class A{};
int main() {
const A a;
std::cout << &(A() = a) << "\n";
}

using the ternary operator to conditionally change what variable is assigned to:

int main() {
int a;
int b;

// do stuff, also assign to a and b

(a < b ? a : b) = 3;
}

The following is actually valid C++ code:

https://www.google.com

Operator overloading lets you do plenty of absurdities. You could, for example, override <= such that it behaves like a "move assignment":

class A {
public:
int num;

A& operator<=(A& other) {
this->num = other.num;
return *this;
}
};

int main() {
A a;
A a2;

a.num = 1000;

a2 <= a; // move a's content to a2
};

There's certainly more but this is plenty of evil shit.

@vaporeon_ :

re: not my actual opinion 

@monorail in all seriousness what is your issue with talking fighting game characters

re: not my actual opinion 

@monorail okay then, they can be silent amalgams of any two-dimensional polygon

not my actual opinion 

@monorail the ideal fighting game has only eight characters who are just amalgams of rectangles that beat the shit out of each other

@coriander @monorail as an up-at-2am-enthusiast they should hire me and let me do it

i can't believe i took this long to start listening to Lil Simz everything i've heard from her is really fuckin good

@coriander impressive that you both 1) haven't finished evangelion and 2) have good taste

@monorail i don't have any experience with fightsticks but that sounds fucked to me

heat wave 

The contractors who were supposed to arrive today to fix my AC are still not here. I'm starting to get worried

@monorail impressive. It must be very exhausting to be that large

@chirpbirb Persepolis was excellent I loved it when I read it in high school

@The_T @vaporeon_ um, I'm sorry but we have Vernors, which singlehandedly makes Michigan > Canada imo

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.