[-] zerofk@lemm.ee 23 points 2 weeks ago

There is nothing wrong with your device. Do not attempt to adjust the picture. We control the horizontal. We control the vertical.

[-] zerofk@lemm.ee 21 points 3 months ago

I’m sorry but this is nonsense. I’m in a lot of online communities where everyone uses English, despite it being nearly nobody’s first language. It just happens to be the only language that everyone there knows. Language is no indication of nationality, especially online.

And to be honest, in those places the assumption is usually that everyone is European, which I can imagine is just as annoying for the stray American.

[-] zerofk@lemm.ee 23 points 5 months ago

Yep it’s the stuff they throw at you without warning, or even trick you into viewing, that’ll scar you.

[-] zerofk@lemm.ee 25 points 6 months ago

When confronted with a statement like that I’d immediately start arguing. “But why don’t you like frogs? Frogs are so cool!” Etc. Those are the best conversations. Adults never try to come up with reasons to dislike frogs on the spot.

[-] zerofk@lemm.ee 23 points 8 months ago

As a late Gen X, I was completely lost. So, I guess it’s official: I don’t get your generation.

[-] zerofk@lemm.ee 22 points 8 months ago* (last edited 8 months ago)

I think of std::any as a void* that retains type info.

A typical use case for void* is user data in callback functions. If you’re writing a library that offers callbacks to client code, you may want to provide a way for the user to pass along their own data when registering a callback. Then when calling it, you return that data unmodified*. The library doesn’t know nor care what this user data is. Since the days of K&R C, this has been done with void*.

But void* erases the type. The library may not care about the type, but the client code does. The only way to get the original type from a void* is an unsafe cast. std::any mitigate this.

*edit: unmodified, not modified!

[-] zerofk@lemm.ee 22 points 1 year ago

Of course there’s also that other solution. You know, the one the rest of the world uses.

[-] zerofk@lemm.ee 21 points 1 year ago

Agreed, koala friend. Agreed.

[-] zerofk@lemm.ee 25 points 1 year ago

I work on software which is pirated. It is even sold by crackers, who make money off my work. This does not make me proud.

What does make me proud is when a paying customer says they love a specific feature, or that our software saves them a lot of manual work.

[-] zerofk@lemm.ee 23 points 1 year ago

Or on a plane. On the way to prom.

[-] zerofk@lemm.ee 21 points 1 year ago

I read your comment twice, looking for any tiny mistake to fix. How thoughtless of you not to include any.

[-] zerofk@lemm.ee 21 points 1 year ago

It doesn’t look burned, there’s no blackening.

view more: ‹ prev next ›

zerofk

joined 2 years ago