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

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

help-circle
  • dan@upvote.autoTechnology@lemmy.worldBe careful.
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    would there be any difference if the webpage has a JS button to put something in the clipboard, or it having code running in the background that puts things into the clipboard at page load?

    Clicking a button shows user intent, whereas a page load doesn’t. No user expects loading a page to overwrite their clipboard, but every user that clicks a “Copy to Clipboard” button does expect it.



  • I really do enjoy that the web development community is finally getting excited about faster development tools, but…

    written in Rust

    It seems like there’s a new version of the old joke about vegans.

    Q: How do you know someone is a vegan writes code in Rust?
    A: They’ll tell you

    I don’t understand why the developers of these tools have to point out that they’re written in Rust in the first few sentences about the project, as if that’s the main feature? Programming language is an implementation detail, not a core feature. I don’t care what language my developer tools are written in as long as they’re fast.





  • dan@upvote.autoSelfhosted@lemmy.worldDNS?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    2
    ·
    edit-2
    1 day ago

    A recursive DNS server and a local DNS cache/forwarder/are two different things with two different purposes. You will always need both.

    Why do you need two separate ones though? Recursive DNS servers also cache responses. Usually the only reason you’d run a local forwarder/cache is if you’re not running a local recursive server.






  • I have Plexamp on my phone configured to automatically download the “loved” album (songs I’ve rated 4 or 5 stars). It automatically downloads songs I add to the playlist. My library is too big to download it all to my phone (most songs are in FLAC format) so I’d need to download a curated list anyways.

    This seems to work well. I’ve used it a few times on flights or when I’m in a hotel room with spotty phone coverage and no wifi.



  • dan@upvote.autoSelfhosted@lemmy.worldDNS?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days ago

    Throw Unbound on there too as your upstream recursive resolver

    If you want to run your own recursive DNS server, why would you run two separate DNS servers?

    You don’t even need to worry about an encrypted session to your upstream anymore because your upstream is now your loopback.

    Your outbound queries will still be unencrypted, so your ISP can still log them and create an advertising profile based on them. One of the main points of DoH and DoT is to avoid that, so you’ll want them to be encrypted at least until they leave your ISP’s network.



  • dan@upvote.autoSelfhosted@lemmy.worldDNS?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    2 days ago

    AdGuard Home is a better choice than PiHole since it uses DNS-over-HTTPS by default. There’s also an app called AdGuardHome-Sync to sync settings between multiple instances.

    I’d recommend running two DNS servers, and at least one of those separately from the rest of your infrastructure like on a Pi. That way, if you need to pull one of them offline, the internet still works.