SpaceCadet

joined 1 year ago
[–] [email protected] 29 points 4 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 7 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 7 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 7 months ago (1 children)

COBOL is not a current program language anymore.

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

I use all of these except ScrollLock.

What about the CapsLock key? Windows menu key?

[–] [email protected] 2 points 8 months ago

Yeah I remember those early days. KDE had a 1.0 version out in the late 90s, which was perfectly usable as a standalone desktop environment, while at the same time Gnome was little more than a panel with a foot. Early Gnome was an unholy mess and remained so until the late 2.x versions in the mid 2000s. Like how many window managers and file managers did they go through? I believe they even had Enlightenment as the default window manager for a while, and then there was that weird Ximian desktop phase.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

Double clicking works for 99% of file types

You're completely missing the point.

Not sure what your point is here

The point is that when the double click magic doesn't work for one reason or another, for example because the administrator disabled this feature with a group policy or because the file associations got messed up, the tech illiterate person does not know what to do because they don't grasp the underlying concept.

[–] [email protected] 4 points 8 months ago (2 children)

Administrators can disable this, so I think the larger point is: if a tech literate person receives a zip file, they understand that it is in fact a compressed archive that can contain one or more files and directories, and that you need an archive tool to extract the contents, whereas a tech illiterate person doesn't understand this and expects it to just be handled magically when they double click on it and are stumped when that doesn't work.

[–] [email protected] 7 points 8 months ago

On my QK80 mechanical keyboard I could do this:

echo 2 > /sys/module/hid_apple/parameters/fnmode

Maybe your keyboard driver has a similar parameter?

[–] [email protected] 6 points 9 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.

[–] [email protected] 12 points 9 months ago* (last edited 9 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.

 

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 @[email protected]:

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 ›