Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 11 Posts
  • 2.38K Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle






  • danAtoAsklemmy@lemmy.mlWhat would you like to change about Lemmy culture?
    link
    fedilink
    arrow-up
    24
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Stop using giant catchall instances and switch to a smaller instance that’s more suited to you.

    One of the major advantages of a federated system is that it doesn’t really matter which instance you use. There’s no real advantage to using a larger instance, and in fact there’s several disadvantages as the large instances can be slower, maintenance can take longer, it’s more expensive to run the servers, etc.

    One of the reasons people moved away from Reddit was to avoid one company (Reddit) and especially one person (the Reddit CEO) having control over the whole thing. Using a huge Lemmy server kinda defeats the point of switching across.







  • Let’s go full guerilla: Plugin that lets you select the first and the last frame of an ad, thus allows to report the beginning and length to a synced database. When that frame is found in the buffer, skip X frames ahead.

    This would fit in well with SponsorBlock, which already does the same thing for different parts of videos (eg sponsored segments, intro and outro animations, non music segments in music videos, etc).

    I suspect YouTube will find ways around this, like running ads of differing lengths, add random amounts of padding at the start of the video or between ads, etc.







  • lol at the DO NOT TRUST keys.

    I’ve learnt over the years that you have to make the example code fail to compile or print out huge user-visible warnings or something like that, otherwise people can and will use it as-is in production, hard-coded keys and all.

    Even if you make it print out a huge message, some manufacturers will just comment that out while keeping all the other dummy example data.

    I’ve seen several production OAuth/OpenID servers that accepted an app ID and secret from a “how to set up an OAuth server” tutorial, and in one case the company was using that app ID for all their production services.














Moderates