[-] SpaceCadet@sopuli.xyz 29 points 7 months ago

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 34 points 1 year ago

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.

[-] SpaceCadet@sopuli.xyz 53 points 1 year ago

Yeah but those $90 savings make IT management look good, and that 80k/year doesn't come out of IT's budget. Also the productivity loss can't objectively be measured or will just be blamed on the employee.

[-] SpaceCadet@sopuli.xyz 50 points 1 year ago* (last edited 1 year ago)

Should probably also mention that his wife, Telsa Gwynne, was diagnosed with cancer around the time he retired and she sadly passed away in 2015.

[-] SpaceCadet@sopuli.xyz 30 points 1 year ago

Yeah, much better to go: "What's your name again? Ah Jessica, let's see... Jade, Jane, Jasmine... ah right Jessica, here's your stuff!"

[-] SpaceCadet@sopuli.xyz 39 points 1 year ago

“Why do you have this cable, you don’t have a iphone”

It's like having some spare toothbrushes and women's hygiene stuff just in case someone stays over. You'll score points for being thoughtful, but on the other hand they'll be like: waaait a minute ...

[-] SpaceCadet@sopuli.xyz 24 points 1 year ago

Deleting your efi partition doesn't brick your board. It just makes your disk unbootable, but you can always install another operating system and create a new efi partition.

I think you're confusing with the special efivarfs file system that is mounted under /sys/firmware/efi/efivars. If you delete stuff under there, you're apparently going to have a bad time, because it directly deletes variables in your UEFI firmware which can prevent your system to POST.

18

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?

[-] SpaceCadet@sopuli.xyz 35 points 1 year ago* (last edited 1 year ago)

I'm not your buddy, pal, and I don't appreciate the accusation.

[-] SpaceCadet@sopuli.xyz 59 points 1 year ago

Maybe you’re joking

Gee, you think?

[-] SpaceCadet@sopuli.xyz 29 points 1 year ago* (last edited 1 year ago)

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.

[-] SpaceCadet@sopuli.xyz 20 points 1 year ago

I don't think "substitute user" is the original meaning, and it's more like a retroactively applied acronym.

Looking at various old Unix manpages, it said various things in the past. In the HP-UX documentation it even lists three different variants in the same man page: "switch user", "set user" and "superuser".

"superuser" is probably the original meaning, because that's what it says in the Unix Manual 1st edition (1971): http://man.cat-v.org/unix-1st/1/su

NAME	su -- become privileged user
SYNOPSIS	su password
DESCRIPTION	su allows one to become the super--user, who has all sortsof marvelous powers. In order for su to do its magic, the user must pass as an argument a password. If the passwordis correct, su will execute the shell with the UID set to that of the super--user. To restore normal UID privileges,type an end--of--file to the super--user shell

I love Unix archeology :)

[-] SpaceCadet@sopuli.xyz 20 points 1 year ago* (last edited 1 year ago)

Everybody gangsta until A start job is running for ... (10s / 1min 30s)

view more: next ›

SpaceCadet

joined 1 year ago