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

  • 5 Posts
  • 901 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle


  • dan@upvote.autoLemmy Shitpost@lemmy.worldgotdamn
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    7 days ago

    The tweet at the top has the rest of them attached as a screenshot which does make it a bit confusing.

    Lake Superior’s tweet (the “innermost” one) came first. Tom quote-retweeted it. Lake superior replied to Tom’s tweet. Ron took a screenshot of the whole exchange and posted it as his own tweet.






  • Are you sure the caching headers your server is sending for those images are correct? If your server is telling the client to not cache the images, it’ll hit the URL again every time.

    If the image at a particular URL will never change (for example, if your build system inserts a hash into the file name), you can use a far-future expires header to tell clients to cache it indefinitely (e.g. expires max in Nginx).









  • dan@upvote.autoAndroid@lemmy.worldWget or Curl on unrooted Android?
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    17 days ago

    F-Droid is great. My understanding is that apps on F-Droid have to be free (as in freedom), and they build most apps from source so the builds are verifiable - they’ll exactly match the source code in the repo. It’s not just a developer uploading a random APK that might be completely different from the code in the repo.





  • dan@upvote.autoLemmy Shitpost@lemmy.worldmath checks out
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    23 days ago

    Huh I didn’t realise that. I’m Australian but have been living in the USA for around 11 years.

    Australia’s consumer laws are far stricter than the USA. In Australia, the store is responsible for fitness and quality of a product, based not just on its advertising but also what sales reps in the store say to you.

    Obviously you can’t return something nor ask for a repair/replacement if you’re using it for something other than its intended purpose (like using a chainsaw on bricks or whatever), but otherwise, the law is in your favour as a consumer.

    Stores must also accept warranty returns and not say that you need to go to the manufacturer. It’s not legal to say “no refunds”.

    Products must last at least as long as a reasonable consumer thinks they should last. For example, a fridge would have to be repaired or replaced under warranty if it stops working after 4 years, even if the warranty is only 1 year, as most people would reasonably expect a fridge to last more than 4 years.

    It means some stuff costs more, but it’s absolutely worth it for the protection you get.