Neuromancer

joined 1 year ago
[–] [email protected] 2 points 1 year ago (1 children)

I wish they didn't throw "think of the children" in there.

[–] [email protected] 0 points 1 year ago (1 children)

Thanks, that's the missing piece. Ironically I am a software engineer in my day job, but not the right kind of software engineer. It's fun to broaden my horizons though. I copied the proxy settings from the @[email protected]'s nginx.conf with the right edits for the hostname into my reverse proxy config and now everything appears to be working!

[–] [email protected] 1 points 1 year ago (1 children)

Is there a tipping point where it's a net loss? If I understand the protocols correctly, the whole back end federation part of the equation is push based, so if everyone was running their own instance, lemmy.ml would have to push every post to every individual instance in the network. At some point isn't it more efficient to only have to serve posts when people come here to look at them?

[–] [email protected] 2 points 1 year ago (3 children)

You have to make a new account unfortunately.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (3 children)

I'm not sure if I should make a new post or keep this in a single thread, anyway, I've managed to get the front page to load, but can't get any farther.

I used the instructions from @[email protected]'s branch, particularly their nginx config.

I'm running the whole docker-compose setup behind my own nginx reverse proxy, which is set to proxy requests to the docker nginx (and also handles SSL). I modified the docker-compose.yml to bind the host port on 9001, then my main nginx config looks like this:

http {
    server {
        listen 443 ssl http2;
        server_name lemmy.villa-straylight.social;
        ssl_certificate /etc/letsencrypt/live/<redacted>
        ssl_certificate_key /etc/letsencrypt/live/<redacted>

        location / {
            proxy_set_header Host $host;
            proxy_pass http://localhost:9001;
        }
    }
}

The front page loads, but pretty much anything else I do results in an endless spinner. The only possible problem I see is this in the docker terminal output:

WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: WebSocket upgrade is expected. NoWebsocketUpgrade

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I'm a NASA software engineer writing spacecraft flight software. A few thoughts:

  1. I'm not at JPL and I don't know how religiously they follow these rules, but we really don't. They're not part of our official or unofficial standard practice. Indeed, I can't even find a reference to the rules on nasa.gov
  2. Most of these rules are considered obvious these days. Most of the rest we don't follow either. (at least not absolutely)
  3. This video critically misstates the rule about heap allocation, which is perhaps the most significant difference between how we write software and how non-safety critical systems are written. Dynamic allocation is allowed during initialization. This is a massive, massive difference in terms of how easy it is to write code compared to stack-only.
  4. The video also misses the mark on preprocessor usage. Especially in C, you have very little choice but to rely on the preprocessor. We avoid it, but the kind of multi-path compilation he describes is necessary to enable thorough testing of the code.
  5. We're still human. Even where the rule is good and we follow it in principle, you will still find all too many exceptions in the actual code.

If you really want to see how the sausage is made, the software framework used by many NASA missions is open source and on GitHub.

[–] [email protected] 1 points 1 year ago

I don't think this is a real problem that people face. If all you want is to maintain your existing wealth, there are a wide range of very low risk options that will get you that. The overwhelming majority want to grow their wealth and take risks accordingly.

[–] [email protected] 1 points 1 year ago (3 children)

I'm not an economist, just a guy who took all of two econ classes in college. That said, I think there's an obvious answer to that question. The inflation target is a target. Central banks can't actually set inflation unilaterally, or we wouldn't ever see the inflation rates we've seen over the last couple of years. This is why we target a small rate of inflation. It's easy to look at a 2% inflation target in a highly inflationary environment and think that we should be targeting 0%, but we really don't want deflation.

Not sure what a wealth tax has to do with anything. I'm not inherently against it, but I don't think it has a significant impact on inflation.

[–] [email protected] 2 points 1 year ago (5 children)

Your "hard currency" is inherently deflationary. This may seem good to you since it means your dollar is worth more tomorrow than it is today, but the same is true for everyone else's dollars too. The net result is to discourage spending across the entire economy and that leads to much worst outcomes. There is a good reason that central banks aim for a small amount of inflation rather than zero or negative inflation.

 

A brief and mostly accurate history of the Mai Tai. I do take issue with his use of Agricole in the rum mix though.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

Lemmy is just the latest in a very long line of potential reddit successors. Historically, you can't move a subreddit to a different platform because redditors are users of reddit, not users of your particular subreddit.

[–] [email protected] 1 points 1 year ago

I would argue that "viewable from" is a far cry from truly federated. The fact that I have to subscribe to infinitely many individual communities to see all, say, "Technology" content across all of lemmy seems like a near-fatal flaw to me.

view more: next ›