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

  • 0 Posts
  • 120 Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle




  • dan@upvote.autoComic Strips@lemmy.world•Obsession
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 days ago

    Yeah it’s very common for CDNs to transcode images (convert them to a different format) to save bandwidth. Your browser or app tells the server which image formats it supports using the Accept HTTP header, and the server returns the image in the best format it supports. There’s been significant improvements to data compression technology in the last 20+ years, and an AVIF file is usually around 50% the size of a comparable JPEG file of similar quality.

    Cloudflare does this (although I’m not sure if it’s only a paid feature or if it’s available on free accounts too), and major services like Google, Facebook, Instagram, etc do it too. At those scales, halving the amount of bandwidth used by images is a significant saving.

    If an app gets an image format it doesn’t support, it’s likely not setting the Accept header correctly.

    Edit: There’s also JPEG XL which is essentially supposed to be like “JPEG 2.0”, but it’s not widely supported yet.





  • AI is more than just chatbots though, and there’s plenty of use cases where it can be used to help people rather than replace them.

    I started the year being very sceptical of AI, but it’s helping me with a bunch of things at work now. For example, at work we have an agent for data analysis that can find the correct tables to use, gather data, and produce a report, along with proof (all the SQL queries it ran plus any ad-hoc code it used for analyzing the data) so that the work is repeatable and we can verify the accuracy of the queries and logic.

    I’m a developer and it’s helped a lot with side tasks too. If I’m coding and see an issue in our code (usage of deprecated code, tech debt we need to pay down, etc), I used to file a task or add a todo comment to look into it later, and eventually get to it. A lot of them are small tasks, it’s just that I don’t always have time to look into them while in the middle of a project.

    These days, instead of adding it to a todo list, I just spin up an agent and get it to look at it while I’m working on other things. The resulting code doesn’t get submitted for code review until I manually look at it and ensure it’s correct. The codebase I work on has never been cleaner, because AI has helped me clean up so much legacy cruft that’s accumulated over the years, while I still deliver my regular projects on time.





  • legacy tlds (com, net, org) tend to be more affordable

    Verisign are trying their best to make .com and .net less affordable. Their contract with ICANN is on a six year cycle, and it lets them increase the price by up to 7% for the last four years. Two years with no increases, then four years with increases. So far, they’ve always increased it the maximum amount.

    Wholesale price has gone up from $6 in 2000 to $7.85 in 2020 (before this contract structure), to $10.26 now, and they’re increasing it to $10.97 on November 1.

    Having said that, it’s still better than ccTLDs and newTLDs, where the registry can increase it as much as they want.




  • I don’t think they should be assisted in devouring freely-accessible data in their endeavor

    How is this assisting them, though? I see it as two different options:

    1. They use the open-source code without giving anything back; or
    2. They use the open-source code and help improve the project by reporting security issues.

    In any case, a fundamental feature of both free and open-source software is that anyone can use it, regardless of if you like them or agree with them or not, without discrimination. You could instead use a license that forbids AI training, but then your code would no longer be free or open-source.



  • probably all the posts in the “fediverse” have been taken already

    I don’t doubt this, as it’s trivial to do (by design). You don’t even have to scrape anything.

    New posts and comments in a Lemmy community (or Mastodon profile or any other ActivityPub-based Fediverse app) get pushed to every server where federation is allowed and at least one person is subscribed to it. You can spin up your own server, subscribe to a bunch of communities, wait a while, and over time your PostgreSQL database will be populated with profiles, posts, comments, etc.