• 1 Post
  • 10 Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle

  • There should be an open-source recommendation algorithm, though; I’m sure of it.

    Problem is that the kind of algorithm you envision is technologically a black-box, not just by choice. It’s a machine learning model. At best, you could make the training data and instructions public, but it would still be hard to reason why it makes certain decisions. Corporations traditionally try to eliminate biases by throwing as much data at it as possible, but that makes it even harder to reason about it.

    I guess, maybe you could try to split the tasks. So, set up a list of e.g. 50 topics, such as sports, IT, politics etc… Then use a small language model to decide into which categories each post fits. And then you could let the user decide the weights for the topics + weights for recency and vote count.
    Or I guess, automatically decide the weights based on what the user upvotes and then make the weights transparent to each user.

    But yeah, I don’t think there’s prior art in this respect, so would probably need lots of experimenting still.


  • “Infrastructure as code” is what the strategy is typically called. You use one of the many tools for orchestrating configuration of hosts (Ansible, OpenTofu, Puppet, Saltstack, Chef, etc.). These allow you to provide configuration files and code for setting up your hosts in a central place. This place is typically a Git repo, allowing you to keep track of when which change was made.

    Depending on the tool you use, you trigger applying the configuration on your dev PC, or there’s a hosted CI/CD server which automatically rolls out the changes when a new commit is pushed.



  • I can’t give you an exhaustive list, but I’m, for example, not a fan of:

    • Needing an account at Microsoft for reporting issues, contributing code or searching code in repositories. Microsoft operates in the ad/tracking business and is known for violating laws.
    • Microsoft will potentially link this account data with LinkedIn or other Microsoft services in the future.
    • Microsoft violates the licenses of code hosted on GitHub to train their AIs.
    • Microsoft is known for creating lock-in effects and EEE, generally putting humanity worse off for their own profit. I’d rather not contribute to that, neither with code nor socially.


  • Ephera@lemmy.mlOPtoProgrammer Humor@lemmy.ml*shudders*
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 years ago

    I have another account on another instance and this post showed up on its feed, too.

    And you can bet I had a rightful giggle at this excellent meme by this beautiful OP, …uh, me.

    To be fair, it was extremely relatable for obvious reasons. But yeah, I had forgotten I made this.


  • I guess the point is, it’s not strongly typed during runtime. In other strongly typed languages, that cast would fail, since the underlying memory layout of some random class does not fit to that of a string.

    But yeah, as soon as you break out as, you’re telling the type system to fuck off. So, while it does look freaky to me, too, it doesn’t dispell that TypeScript is strongly typed…