SpaceCadet

joined 2 years ago
[–] SpaceCadet@sopuli.xyz 1 points 1 month ago

Perhaps even a bit later. My 2014 F20 BMW 1-series was still pretty great. The facelift model of the same car I had after that (2017 or so) is the first one that started to include things that annoyed me.

[–] SpaceCadet@sopuli.xyz 1 points 1 month ago* (last edited 1 month ago)

There was really no golden period of car controls

I'm going to say there was and it was around 2010. Like maybe 2005 until 2015.

The BMWs of the E90/E87 generation that I drove in those years are still the pinnacle of automotive achievement for me. They had all the things I needed and nothing that annoyed me. Anything after that started to include more and more annoying stuff.

[–] SpaceCadet@sopuli.xyz 11 points 2 months ago

"Protecting the children from harmful content and predators", "protecting people from terrorists and criminals", "protecting users from hackers" are all forms of security, and are all used as arguments to erode freedoms.

It all boils down to: just give up this bit of freedom so we can keep everyone safe.

[–] SpaceCadet@sopuli.xyz 5 points 2 months ago (2 children)

That's also security.

[–] SpaceCadet@sopuli.xyz 1 points 3 months ago

ACID is really just an arbitrary set of requirements for databases that made sense way back in the day when things were much simpler. ACID starts to hold you back when you want to scale out, because to have consistency you have to wait for your transaction to percolate through all the nodes of your system, and it doesn't allow for things like a replicating node to be temporarily offline or lagging behind. Turns out though that not everything needs to be strictly ACID. For example, there are many cases where it doesn't matter that a reader node has stale data for a second or two.

The thing MongoDB does is that instead of being dogmatically ACID all the time it allows you to decide exactly how ACID your transactions and your reads need to be, through the writeConcern and readConcern parameters. If you want it to be completely ACID, you can, but it comes at a cost.

Traditionally, ACID is where relational databases shine.

Relational databases shine with ACID on single-node systems when they're not trying to solve the scale-out problem that MongoDB is trying to solve, but when they are trying to do that, they actually do much worse.

For example: most RDBMS systems have some kind of replication system, where you can replicate your transactions to one or more backup nodes either for failover or to use as a read-only node.

Now if you consider that whole system, replicas included, as "the database", none of them are ACID, and I don't know of any RDMBS-es that has mechanisms to automatically recover from a crashed primary without data loss, or that can handle the "split brain" problem.

[–] SpaceCadet@sopuli.xyz 5 points 3 months ago (3 children)

thinking of purging it all and starting over.

Don't do that. You'll learn nothing.

[–] SpaceCadet@sopuli.xyz 14 points 3 months ago (1 children)

Anything that provides pleasure and triggers the reward center of the brain can be addictive. There's no need to single out porn in that discussion.

[–] SpaceCadet@sopuli.xyz 4 points 3 months ago

I just wanted to bring to attention that no government should be put on a pedestal. From the outside it's easy to say "oh they're so enlightened in ", when they often do braindead stuff too.

[–] SpaceCadet@sopuli.xyz 0 points 3 months ago

willing to say that a $4T market cap company is full of shit.

I'm willing to say that too, but you have to admit that it's a lot easier to say such things on a Youtube video that gets you 900k views in a day.

Also: careful to censor those middle fingers so you don't get ... gasp... demonetized

[–] SpaceCadet@sopuli.xyz 0 points 3 months ago* (last edited 3 months ago)

Um, the video in question here?

The channel is not in danger of being deleted, not even close. They received a single copyright strike, which in principle already got reversed by youtube (though still pending a 10 day waiting period for the claimant to reply and file legal action). It takes 3 valid copyright strikes within a 90 day period for a channel to be deleted.

They're not angry because their channel is in danger of being deleted, they're angry because they got hit in the moneys, losing ad revenue on a video that probably cost quite a bit of money to produce. Because of how the algorithm works, they'll probably not recoup the lost views on that particular video, even when it's reinstated.

It's also not like abusive and frivolous copyright strikes are a new thing. They've been a byproduct of the safe harbor provisions (aka OCILLA ) in the DMCA for almost 3 decades now (DMCA was introduced in 1998), and the chilling effects on online speech and liberties have been well documented and covered to death by various publications over the years, but somehow GamersNexus only discovers it and starts to care when their bottom line is affected by it. I get that it's not cool, but I don't get why people should care about this particular instance of DMCA abuse, especially as it seems to be going as well for GamersNexus as a copyright strike can possibly go, given that Youtube already ruled in their favor.

To me it comes across as a hastily put together video to spring on their audience to whip up outrage and compensate for lost ad revenue. It's a tried and true tactic, if you don't have news, make the news. It seems to be working too: after one day this video already has more views than anything else they put out in the last 6 months, so it will probably make them more money than the taken down video would ever make. Good for them, but that doesn't mean that you can't see it for the sensationalist click bait non-story that it is.

[–] SpaceCadet@sopuli.xyz 6 points 3 months ago (1 children)

Play in someone else's walled garden, and they may kick you out and not let you back in. It's not as if people haven't been warning against this since the beginning of youtube.

 

President Biden’s support for the Ukrainian war effort continues to be just enough for Ukraine to survive, but not enough for it to win. For Ukraine, this is like treading water wearing a 25 lb. life preserver. All your energy is required just to stay afloat; nothing is left to swim ashore.

When will the president start listening to his generals — his own military advisers? One can only assume the advice he is acting on is coming from the likes of national security advisor Jake Sullivan, Secretary of State Anthony Blinken or former U.S. Ambassador to the United Nations Susan Rice.

 

So I have a webserver running nginx, and I want to use it as a reverse proxy to access web applications running elsewhere. I know this is a pretty standard use case, and that the traditional approach is to use virtual hosts to proxy the different apps.

Like, normally you would do something like:

I am familiar with this approach, and know how to set it up.

In this case, there is a catch though. For reasons that I can't get into here, I can't use virtual hosts, and everything should be hosted in the same webserver.something domain. So I thought I would use a subpath to host each app.

What I want to do is this basically:

In my nginx config file I have something like this:

upstream app1 {
  server app1.host:3000;
}

server {
    ...
    location /app1 {
        proxy_pass http://app1/;
    }
    ...
}

This works to the extent that all requests going to /app1/* get forwarded to the correct application host. The issue though is that the application itself uses absolute paths to reference some resources. For example, app1 will try to reference a resource like /_app/something/something.js, which of course produces a 404 error.

I suppose that for this particular error I could map /_app/ to the app1 application host with another location statement, but that seems dirty to me and I don't like it. First off it could quickly become a game of whack-a-mole, trying to get all the absolute paths remapped, and secondly it could easily lead to conflicts if other applications use that absolute path too.

So I guess my question is: is there a way to do this cleanly, and dynamically rewrite those absolute paths per app?

 

Question for @sheodox@lemmy.world:

What's your preferred way to receive feature requests?

I see people making posts here, which is nice because it allows community discussion, but you also have a github issue tracker, which may be handier for you to actually follow up the request. I have some ideas I'd like to put forward, and I would like to use the way that's the least burdensome for you to manage.

view more: next ›