• 2 Posts
  • 16 Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle

  • make has a huge amount of history, which is pretty much its selling point. We decided recently to introduce it into a project for command aliases, simply because it’s available everywhere.

    just would’ve been the objectively better tool for what we want to use it for. But slapping .PHONY onto everything is less big of a deal than telling all devs to install yet another tool before they can get started.


  • Should be said, though, that just looks superficially similar, but is a very different tool.

    just is a way of aliasing commands/scripts. You can do that with make as well, by whacking .PHONY onto everything, but it really isn’t what it was built for.

    make is instead a way of defining rules for how to transform files into other files. For that transformation, you’ll then use commands/scripts, but it’s really about defining a whole build system based on the rules.

    Perhaps in other words, just works best, if your language already has a build tool that you just need to call with different flags.
    make is instead intended to be that build tool, and what it calls underneath is a compiler.



  • Yeah, without knowing the criteria, I would’ve guessed 10%. Or even if it would’ve been 50%, I would have figured, we always underestimate just how many people live in cities compared to rural regions.

    But 99% is an entirely different figure. That really is everyone except for the most secluded places. That definitely includes me as well, even though I live at the edge of town and always go out of my way to avoid cars. And it means that lots of folks get magnitudes more exposure than that, which is not going to be healthy.








  • Yeah, that’s where we get into the nuances. If those contain child pornography, they’re obviously also illegal, but:

    • Pictures are conceptually and legally less bad.
    • Pictures and short videos are easier to moderate, because you can either see from one glance whether it’s illegal, or at least you and your users are likely to watch short videos to the end.
    • Long videos are uploaded much less often to the threadivedse, so there’s just a lower chance of one containing child pornography.

    Also perhaps worth adding that the threadiverse in particular is much better equipped for moderation, because we’ve got communities/sublemmies and per-community moderators.
    Maybe this could also be something that PeerTube could lean into, but with how things are, I can understand why they’re more cautious by default…


  • PeerTube and Funkwhale also have a far trickier legal situation.

    If someone uploads child pornography to their PeerTube instance and you federate with them, then you’re distributing child pornography.
    If someone uploads copyrighted music to their Funkwhale instance and you federate with them, then you’ll soon have lawyers at your door.

    I mean, we can hope that this counts as user-generated content which, from what I understand, you only need to take down once it has been reported, in seemingly most jurisdictions.
    But yeah, no one has fought this legal battle yet, and no one’s particularly excited to do so either.

    As a result, PeerTube only federates on an opt-in basis, i.e. each instance has to choose what instances to federate with, which leads to a rather fragmented community.
    And the biggest Funkwhale instance requires content to be under Creative Commons or similar permissive licensing.



  • As the article kind of hints at, doing semver properly can be really painful for libraries that are widely used across the ecosystem.

    For example, when the http library jumped from 0.2 to 1.0, we couldn’t upgrade the HTTP stack in our application at $DAYJOB for more than half a year, so the web server, gRPC, OpenTelemetry and an HTTP client.
    Because some of our dependencies stayed on http 0.2 for that long. And if we tried to upgrade parts of it, those would then use datatypes from http 1.0, which couldn’t be passed into libraries that still used http 0.2.

    Which was particularly painful, because libraries that had already upgraded to 1.0, of course didn’t provide patches for their previous version using 0.2 anymore, so for months we couldn’t get security updates for a number of libraries.

    So, yeah, I’m now in favor of doing shenanigans with semver to avoid breaking changes where possible, for libraries that are used across much of the ecosystem.