SpaceCadet

joined 1 year ago
[–] SpaceCadet@sopuli.xyz 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.

[–] SpaceCadet@sopuli.xyz 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.

[–] SpaceCadet@sopuli.xyz 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.

[–] SpaceCadet@sopuli.xyz 0 points 9 months ago (1 children)

COBOL is not a current program language anymore.

[–] SpaceCadet@sopuli.xyz 6 points 9 months ago (13 children)

I use all of these except ScrollLock.

What about the CapsLock key? Windows menu key?

[–] SpaceCadet@sopuli.xyz 6 points 11 months 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.

[–] SpaceCadet@sopuli.xyz 12 points 11 months ago* (last edited 11 months 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.

[–] SpaceCadet@sopuli.xyz 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.

[–] SpaceCadet@sopuli.xyz 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?

 

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.

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

Is it really that bad if kids see a bit of porn? Like really? I grew up before the internet, but even in my day porn mags and VHS tapes got passed around when I was a teenager. Kids are always going to be curious.

Even so on the internet there are much worse things than porn that are harmful for the development of children. There are various groups of questionable morality like incels, or other mysogynistic groups, alt right stuff like neonazis, christofascists, climate deniers, ... If I had children, I would be much more concerned about them falling into one of those ideological traps than them seeing some titties. Hell, even TikTok is probably more harmful for giving them a dopamine addiction and an increasingly short attention span.

So to me, it seems a bit weird to single out porn. It feels like a convenient scapegoat for parents who don't want to spend time raising their kids and paying attention to what they are looking at on the internet.