SpaceCadet

joined 1 year ago
[–] [email protected] 29 points 6 months ago (1 children)

Microsoft has 18 months to convince folks to upgrade.

They'll be lucky if I boot my Windows 10 partition between now and 18 months.

[–] [email protected] 1 points 9 months ago

I write a ton of SQL. I never use my CapsLock key.

SQL doesn't need to be upper case, in fact I loathe upper case SQL.

[–] [email protected] 1 points 9 months ago

Yeah that's a common one. If you're into mechanical keyboards, there are a lot of keycap sets that offer an alternative Control key for the CapsLock position.

Personally I rebind it to Super (Winkey). I have a couple of keyboards without Windows keys, so I can still have a Super key and don't miss out on some handy shortcuts.

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

COBOL is not a current program language anymore.

[–] [email protected] 6 points 9 months ago (13 children)

I use all of these except ScrollLock.

What about the CapsLock key? Windows menu key?

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

Streaming services, digital services in general, should be made to compete on having the best platform, not on exclusive content.

The way to get that is to split them and say: a streaming provider can't be a content creator as well. That way, content creating companies would be incentivized to sell their content to every streaming provider at a price that the market will bear, and streaming providers would be incentivized to compete on providing the best experience to their users.

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

I’ve no problem with paying for good services

Exactly. It used to be that netflix was all you needed to get most quality content, and it was a fair deal for customers: you pay a reasonable monthly amount, and you and your family gets convenient access to most streamable movies and TV series.

Now that quality content is spread out and locked out over half a dozen other streaming services, and subscribing to them all is not just a hassle but also incredibly bad value compared to the original offer.

In a healthy competitive environment, you would expect companies to counter reduced value by increasing customer value in other ways or by reducing prices, but instead we got price hikes, lots of low quality filler content, crack downs on password sharing, advertising, various unpopular UI changes and other service reductions decreasing value even further.

To solve this, I think the content producers and streaming services should be split up, because right now they're not really competitors in a true sence but small monopolies who each clutch the keys to their own little franchises. It should be noted for example that music streaming works a lot better: there are various competitors that each hold a viable content library on their own, so you don't need more than one music streaming service. IMO that's because Spotify, Tidal, YT Music, etc. are merely distributors and not the actual producers.

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

Pixel phone which doesn’t let you install CA certs any more

Is that something new? I can still install CA certs on my Pixel 6. It does give a scary warning, but you can just click through it.

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

Girl = neutral (das Mädchen)

No idea why lol.

Mädchen is a diminutive, and all diminutives are grammatically neutral.

It's the same in Dutch btw, and my girlfriend who is learning Dutch is frequently abusing this as a cheat code: whenever she doesn't know the gender of a word, she'll just use the diminutive and it will automatically be neutral.

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

You can use the wildcard domain

Yeah the problem was more that this machine is running on a network where I don't really control the DNS. That is to say, there's a shitty ISP router with DHCP and automatic dynamic DNS baked in, but no way to add additional manual entries for vhosts.

I thought about screwing with the /etc/hosts file to get around it but what I ended up doing instead is installing a pihole docker for DNS (something I had been contemplating anyway), pointing it to the router's DNS, so every local DNS name still resolves, and then added manual entries for the vhosts.

Another issue I didn't really want to deal with was regenerating the TLS certificate for the nginx server to make it valid for every vhost, but I just bit through that bullet.

 

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?

view more: next ›