orangeboats

joined 2 years ago
[–] orangeboats@lemmy.world -3 points 2 months ago

refutation? No, I was joking.

You don't joke by saying you are insulted or by saying someone is being condescending. Again, I am giving you the benefit of the doubt -- perhaps some language barrier.

You can't just explain to people their feeble minds are being manipulated. Like trump supporters...

Funny you say this when half of the platform is people trying to do just thaaaaaat.

[–] orangeboats@lemmy.world 0 points 2 months ago (1 children)

Come on... You are the one saying you would not use social media with fascists and tankies. You are already "looking away".

[–] orangeboats@lemmy.world -3 points 3 months ago* (last edited 3 months ago) (2 children)

Huh?

I am thinking there are some language or cultural barriers here, because the last comment wasn't me trying to insult you. It's a direct refutation of your remark about russian agent, and the comparison was meant to complement the earlier statement (that people can unknowingly support something detrimental).

[–] orangeboats@lemmy.world -5 points 3 months ago (3 children)

With that mindset you might as well give up on the whole internet. (not that it's a bad idea.)

[–] orangeboats@lemmy.world 34 points 3 months ago (18 children)

ITT: a mighty showcase of the divide-and-conquer strategy by psyops.

Instead of realizing that our goal as an alternative community to Reddit is first and foremost to... well duh, to build a community and keep it thriving, people here are infighting, preferring to subdivide themselves into tankies and non-tankies.

If Lemmy eventually fails and no other project with a similar feature-set can show up in time, we end up killing the existing momentum.

If that happens, all of you shall remember this very moment, and bravo to the psyops people (be it from the government or corporate) because you won yet again.

Donated. Though because I am living in a third world country it's just a measly ~25 dollars.

[–] orangeboats@lemmy.world -1 points 4 months ago

It depends on your hardware if it is Debian. Debian prefers to use an older kernel until the next point release comes, which is nice because a random update likely won't break your system.

But... speaking from experience: expect issues (missing drivers etc.) if your hardware is too new.

[–] orangeboats@lemmy.world 2 points 5 months ago

I was agreeing with you at first -- that the protest has no meaningful effects unless it is prolonged -- but I stopped here:

Sometimes I think of alternatives to combat capitalism, but they always turn out to be 10 times worse.

Market socialism.

[–] orangeboats@lemmy.world 6 points 9 months ago (1 children)

Are the streamed data stored in a local cache? Surely the bandwidth costs are going up to the sky with the server sending data to every single player.

[–] orangeboats@lemmy.world 11 points 9 months ago

I think there's one key thing you missed: you have never bought a copy of the game on Steam! It's always been a license. Valve simply made the fact clear now because of legal changes.

so the next question, is this retroactive

So the answer for this is a solid no.

[–] orangeboats@lemmy.world 2 points 9 months ago (1 children)

In the past, fitness (and hence its proxy parameters like height and other beauty standards) correlated to the survivability of your bloodline. So it makes sense that people are programmed, to a certain degree, to admire things like tallness.

Nowadays because of technology the correlation no longer exists, or at the very least it is much diminished. But the programming is still there right in our DNA, so as a people we should artificially override this natural instinct because it no longer serves a purpose.

11
submitted 2 years ago* (last edited 2 years ago) by orangeboats@lemmy.world to c/rust@programming.dev
 

For context: I am trying to write a Rust wrapper over a C library.

Like many C libraries, most of its functions return an int. Positive return values are meaningful (provides information) and negative values are error codes.

To give an example, think of something like int get_items_from_record(const struct record *rec, struct item *items). A positive value indicates how many items were returned. -1 could mean ErrorA, -2 ErrorB, and so on.

Since this is Rust, I want to represent this kind of integer as Result<T, E>, e.g.:

enum LibError {
    A = -1,
    B = -2,
    // ....
}

// LibResult is ideally just represented as an integer.
type LibResult = Result<NonNegativeInteger, LibError>;

// Then I can pass LibResult values back to the C code as i32 trivially.

Is there a way/crate to do this?

view more: next ›