GNU/Lisp Enthusiast!

  • 99 Posts
  • 111 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle









  • Yes your description is just right and is the heart of my question. To use your terminology:

    Currently:

    • Away from home: Phone -> VM -> Home Server
    • At home: Phone -> VM -> Home Server (inefficient!)

    Ideally:

    • Away from home: Phone -> VM -> Home Server
    • At home: Phone -> Home Server

    In the ideal case, I would never have to change anything about the wireguard config/status on the Phone, nor would I have to change the domain name used to reach the resource on the Home Server.


  • Oh hm I didn’t think about your last point, maybe it’s not really an issue at all. I think I’m not 100% on how the wireguard networking works.

    Suppose I tunnel all of my traffic through wireguard on the remote server. Say that while I am home, I request foo.local, which on the remote server DNS maps to a wireguard address corresponding to my home machine. The remote will return to me the wireguard address corresponding to the home machine, and then I will try and go to that wireguard address. Will the home router recognize that that wireguard address is local and not send it out to the remote server?























  • nice name

    Structuralists seem to forget that words are signfiers and signs of meaning, not the source of meaning

    Wouldn’t that only apply to ontic structuralists? They say the structures themselves are the real things. But epistemic structuralists merely say that the kind of knowledge we can have about reality is structural knowledge (but the world itself might be full of non-structural objects).







  • The problem isn’t so much the side effect as it is the ability to introduce side effects arbitrarily with no warning to someone using your functions

    Yes, I try to allude to this in the “caution” and “tldr2” sections, but I think I could have been more clear. You are right that for many people it’s not so much about avoiding side effects as it is about coming up with ways to use them carefully. Stateful monads and clojure’s atoms/refs were in fact what I had in mind. And debating the pros/cons of these techniques is indeed a good conversation on its own! What I mostly wanted to get across is that fp is not about programming without side effects. All the good debate is about the extent to which we should try to avoid side effects, and what techniques we should use when doing so.

    I think it’s also really important to call out the concept of total functions

    Yeah I think this is totally (heh) worth talking about, and a much better topic than pure functions. I only didn’t mention it because I don’t see it brought up too often.