Your friendly local programmer, uni student and *nix addict.

  • 1 Post
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle



  • Too many people conflate the evils of corporatism and corruption with the general concept of “capitalism”/a market economy.

    Now, I’m hardly an advocate of laissez-faire economics. But I’m not a full-on socialist either. I think the majority of problems people attribute to modern market economies can be corrected with aggressive anti-trust and pro-consumer regulation.

    (The keyword here is majority. I’m sure it makes sense to socialize some things, but those details are best left to people smarter than me.)









  • Your analysis sounds correct - data did not match any variant of untagged enum is definitely from serde IIRC - but I can’t say for certain just by looking at the code.

    but I’d like the code to log self only when the enum does not match (errors). Thank you.

    Try changing line 48 to this:

    let object = match self.clone().try_into::<AnnouncableActivities>() {
        Ok(object) => object,
        Err(e) => {
            warn!("zebratrace receive {:?}", self);
            return Err(e);
        }
    }
    

    (This probably isn’t the best way to do this, but it’s what I came up with off the top of my head :P)



  • Personally, I don’t mind this sort of telemetry so long as they’re open about it - which looks to be the plan, at least for the moment.

    IMO the FOSS/Linux space has an odd relationship with telemetry that I think should change. I’d like to point out the gnome-info-collect debacle:

    • GNOME users: “GNOME devs don’t understand what we want!”
    • GNOME devs: “Hey, we want to get some data on how people use GNOME. If you’d like to help, install and run this one-off tool. Source code is here, and we collect XYZ metrics (all anonymized, of course.)”
    • (Some) GNOME users: screeching incoherently about data harvesting and telemetry