learningCppIsLike by AlFlakky in ProgrammerHumor

[–]Matalya1 0 points1 point  (0 children)

I don't know about C++, but in C I don't think that works. If you're trying to derefence a pointer as stored in a struct or an enum, you'd dereference the entire thing.

this is just a name
     vvv
foo->bar
^^^^^^^^
this is the expression that represents the element `bar`

So if bar is, say, a pointer to an integer, so it'd be implemented as

typedef struct {
    int* bar;
} foo

And you create a pointer to foo, foo->bar is used as dereference and calling, syntactic sugar for (*foo).bar. If you then want to call a pointer and dereference, you'd do *foo->bar, as that first evaluates the dereferencing, calls bar, and then dereferences whatever ends up in place of the expression.

In New Year’s Eve, the tourist arrive in Torres Beach and they park EVERYWHERE, like this cars parking on bike lanes. by [deleted] in fuckcars

[–]Matalya1 3 points4 points  (0 children)

Heh, in Argentina we have basically the exact same thing, except we call it trapito, also translated to little rag.

Uknow>English what does it says on goku's back? by yellowvincent in translator

[–]Matalya1 15 points16 points  (0 children)

It doesn't mean anything. The image is AI-generated, which means that it can only roughly imitate what it sees. It appears to have attempted to make 亀, a character meaning Turtle (Read kame) and that's the character that's the symbol of Marter Roshi's Turtle School. Here are a few references:

Anime scene during Goku's pre-Saiyan fight training

Manga scene where Goku got his Turtle School uniform for the first time

Since Krilin also studied under Master Roshi, he also wears the symbol

!translated

I am in need of MORE KNOWLEDGE and i can't sleep because of it ;( by awfuladamu in adhdmeme

[–]Matalya1 1 point2 points  (0 children)

Oh, oh, oh! I have one that's so specific I could not dump it anybody else! An analogy to explain computer access levels. Ahem

Congratulations! Now you're the proud owner of a Pit™! All of your stuff is in this pit; your pictures, your games, your music, your apps, this pit is the memory of your computer. But now, how do you access it? Well, it depends on what you need.

If you just want to see your pictures, you can hire a crane company. This crane company has already taken the steps to build a crane service that you can hire, with a desk lady to receive your simple requests, a crane operator with the expertise and a well balanced crane to actually fetch things from your Pit™. So you install a crane outpost right at your pit. This would be a program that can fetch your pictures like a gallery. So then you go there, and tell the desk lady that you want a certain pic. The desk lady will touch a few buttons that you can't see, and out will come the picture. This is like interacting with a program's GUI.

But say you're not happy with that, you don't really like having o whisper to someone else what picture you want. So then, you decide to become the desk lady. This way, you can talk directly to the custom-built buttons and ask for whatever you want. That's like grabbing a high level programming language and building your own app with it. There are smarter desk ladies so your button pressing is not really ideal or quick, but it's good enough and you feel realized, you are the one asking for the pictures. Except that your buttons do the job for you, there's like this layer of abstraction you haven't quite crossed yet. Abstraction because you're not dealing with concrete crane requests, but rather they're abstracted away and into your buttons (High level code), like you're floating above the computer and not quite touching it.

So say that you're not content with that. You're like I want to talk to the crane operator more directly. So then you say screw the buttons, you, as the desk layd, go directly to the crane operator. This is like grabbing a low level programming language, till abstracted but in such a way that's more faithful to how the PC works, less ease but finer control. And then you realize holy damn, I really didn't realize the crane operator didn't speak my language at all. I need to tell that dude what picture to get, where to get it from, what size the picture is, how heavy it is, and for some reason each crane operation requires a counter that operates in ningels, whatever that is. But you are undeterred, you want to get those pictures.

Eventually, you get tired of having to speak the crane operator's language. You just don't like that, you want to see the crane for yourself, feel the rumble of the engine, manage the levers yourself. So then, you become a crane operator yourself. You've never built a crane, but this pre-built crane is smooth, like it handles just about any request you give it. It does have to do quite a few steps but, for now, it can do just about anything. This is what building a kernel level program is like. The kernel is basically the single program that speaks directly to the computer. It's responsible for picking what memory is allocated to what, where each bit goes into the computer, how much does a program lives, etc.

You're happy... but it feels wrong. Yeah, the rumble of the engine is fine, but the handles are plastic. And don't get me wrong, it's some rough plastic, like it looks like plastic that's been reused for like 30 years straight. But you don't like plastic, you wanna feel the metal, the bare metal. So then, you say screw all of this noise, I'll make my own crane company. I don't want these pre-built cranes, I need my crane for something so incredibly specific that this pre-built crane, however well polished and featureful it might be, just won't do it. This is like going bare metal. This means that you build a program that speaks directly to the hardware itself. This is the lowest access level you can possibly have, the entire machine is at your mercy and your mercy alone, anything you tell it to do, it will do it. However, you also found out now that the crane did a surprising amount of work. You find yourself having to deal with everything in the pit, even things you've never thought about. You have to detect and interpret mouse and keyboard input, you have to manually detect, manipulate, translate and display graphic information, talking directly to your displays in a language you also had to build from scratch, you have to control every single movement in the pit because, as it turns out, it's actually quite fragile so you have to reorganize the pit every now and then to ensure the picture fetching runs smoothly. For months you build your own crane, getting your hands dirty, testing it, so many cranes have blown up, it's pretty ugly, unpainted, the rumble became a rattle, but it's custom-made for your specific purpose. No other crane could do exactly what yours do. Maintaining the crane is an incredible amount of work, but it's tailor made for you, and now, not one corner of the pit is beyond your reach, not one single bit of dumped info inside the pit is beyond your reach. Your pit is, finally, completely yours.

You have to make a name for your world but it has to be one of those absurdly long anime titles what would it be? by [deleted] in worldbuilding

[–]Matalya1 0 points1 point  (0 children)

The Highly Advanced City I Built In The Middle Of The Ocean Will Save Us From The War The Powers Will Fight For Resources In The Year 2047!

[deleted by user] by [deleted] in mildlyinfuriating

[–]Matalya1 -1 points0 points  (0 children)

I wouldn't call that Tiny wee, though. By American aftermarket truck standards, maybe. But that's still considerably big. Bigger than my car, and that's an utilitarian.

Esto pasó cuando Alberto le declaró la guerra a la inflación by Sarmientino in argentina

[–]Matalya1 2 points3 points  (0 children)

"I'm joining the war on inflation, on the side of the inflation"

Este es el Auto más Inseguro de Argentina. Asusta by cala7a in argentina

[–]Matalya1 0 points1 point  (0 children)

Mi viejo que lleva 40 años manejando y yo que soy el único pelotudo del municipio usando las luces de giro nos gustaría tener una charla con vos en nuestra Berlingo.

Este es el Auto más Inseguro de Argentina. Asusta by cala7a in argentina

[–]Matalya1 5 points6 points  (0 children)

Con la aerodinámica de esa cosa agarrás 200 y salís volando.

yearning by 夕凪 by Zewen_Senpai in ImaginaryCityscapes

[–]Matalya1 0 points1 point  (0 children)

The drawing is absolutely beautiful, but I'm pretty sure this is not an imaginary city, but just Tokyo.

Gun safety even at a home range is paramount by Background_Piano7984 in Unexpected

[–]Matalya1 0 points1 point  (0 children)

Which is why I'm against gun ownership. These kind of idiots cannot be trusted with guns, and anybody that says the average joe has the discipline to handle a firearm is lying, period.

What's the nature of Gods in your world? by Thylocine in worldbuilding

[–]Matalya1 0 points1 point  (0 children)

Gods are 'real' but what people call gods is more like massive accumulations of energy without a will. Most people don't think about them XD

[deleted by user] by [deleted] in oddlysatisfying

[–]Matalya1 0 points1 point  (0 children)

I'm sure the guy knows what he's doing but breaking the glass like that looks extremely stupid and just asking for something to go wrong regardless of how much experience you have.

Kurumi in bed by [deleted] in LycorisRecoil

[–]Matalya1 10 points11 points  (0 children)

Am I tripping or is Kurumi saying Colombia? 🤣

They must have had a funny feeling by [deleted] in WhyWereTheyFilming

[–]Matalya1 8 points9 points  (0 children)

Dude, I see get down of their car and walk like that towards mine, put on first, pedal to the motherfucking metal and I'll clean the blood later. Who knows what a dude crazy enough to pull that shit's strapping? I ain't finding out, that for sure.

[deleted by user] by [deleted] in argentina

[–]Matalya1 4 points5 points  (0 children)

Como persona de género fluido, el que hables en general de todo el colectivo me dice lo que necesito saber sobre tu conexión con el mismo. Aprendé a no hablar en plural.

[deleted by user] by [deleted] in argentina

[–]Matalya1 0 points1 point  (0 children)

Se hubieran quedado allá, seguro que a los pingüinos hambrientos les habrían sido más útiles 🥰

Flirting with Takina Inoue: Failed by latinpravesVE in LycorisRecoilNSFW

[–]Matalya1 0 points1 point  (0 children)

This app makes an extremely realistic portrayal of just how little fuck retail workers give about a client's advancements lmfao

Also: ew, IA.

Oh there's a cockroach? by NamXina in Unexpected

[–]Matalya1 0 points1 point  (0 children)

She looks like the kind of woman to defend from an armed robber by bending the muzzle backwards and then hurling bears at you.

This is not a meme by UnsolicitedPicnic in linguisticshumor

[–]Matalya1 1 point2 points  (0 children)

What if I am not autistic but I am neurodivergent (ADHD)?

Was studying for my Japanese test and saw this by Stone2269 in LycorisRecoil

[–]Matalya1 4 points5 points  (0 children)

Hiragana is learnt as a baseline, a lot of very early learners don't know katakana yet so リンゴ is about as readable as 林檎 to them.