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
  • 3.16K Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle

  • danAtolinuxmemes@lemmy.worldPlease use .config 😭
    link
    fedilink
    arrow-up
    126
    ·
    edit-2
    3 days ago

    but please don’t hard-code ~/.config or $HOME/.config. Use the XDG_CONFIG_HOME environment variable, with $HOME/.config as a fallback if it’s not set.

    Many programming languages have a cross-platform implementation of this built in to their standard library. C# has Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) which uses XDG_CONFIG_HOME on Linux, local AppData on Windows, and whatever is the correct thing on MacOS (not very familiar with how things work on MacOS)









  • Reposting the same comment I made on another post:

    It’s not just Honey swapping the affiliate codes. Practically all the major coupon sites do it too. That’s why they require you to click on a coupon code to reveal it. When you click, they usually reveal the coupon code in a new tab, and helpfully redirect the current tab to the store, using their affiliate link.

    It’s more obvious when websites do it though, since they can’t auto-close the tab like Honey does. They also don’t automatically pop up at checkout like Honey does.

    I imagine some of the other coupon extensions do the exact same thing as Honey though.









  • That kinda how it already works, assuming your ISP knows what they’re doing and gives you at least a /64 range. IPv6 addresses are 128 bits long. The first 64 bits are the network address and are set by your ISP (or by both you and your ISP if they give you range larger than /64), and the last 64 bits can be whatever you want. Usually it’s randomly generated and changes periodically, as long as IPv6 Privacy Extensions are enabled (enabled by default on client OSes, but usually disabled by default on server-oriented OSes).

    Note that IPv6 is different to IPv4 in that it does not use NAT. Each device on your network gets its own public IPv6 address. That doesn’t mean they’re exposed to the internet though; your router will still have a firewall to block incoming connections.



  • What are you trying to protect against? Having a separate burner phone just for Target feels like overkill to me. If you’re worried about Target spying then why not just go into the store to buy things, and pay in cash?

    Can anyone explain what is happening in Android a

    It’s using Firebase Cloud Messaging which is a Google service

    Are there Android app permissions associated with this, that I can revoke?

    You can revoke notification permissions for an app, but then you won’t get notifications of course.













Moderates