u/Wise_Stick9613

Papa Leone: «I giovani stanno male»

Oggi il Papa ha parlato alla Sapienza e si è giustamente soffermato sul disagio dei giovani di oggi. Qui il discorso integrale.

u/Wise_Stick9613 — 6 hours ago

Podman + krun: "502 Bad Gateway"

I'm going crazy trying to get this simple setup to work with krun. It works fine with crun, but as soon as I switch runtime (setting /etc/containers/containers.conf), I get a 502 Bad Gateway error.

podman pull docker.io/nginxinc/nginx-unprivileged:mainline-alpine-slim
podman pull ghcr.io/silvenga/redlib:0
systemctl --user daemon-reload
systemctl --user start redlib
systemctl --user start nginx

The containers start up correctly but are effectively unusable. I've tried this on two different operating systems (Manjaro being the other one).

demo.nework:

[Network]
Driver=bridge

redlib.container:

[Unit]
After=network-online.target demo.network
Wants=network-online.target

[Container]
ContainerName=redlib
Image=ghcr.io/silvenga/redlib:0
Network=demo.network

[Install]
WantedBy=default.target

nginx.container:

[Unit]
After=network-online.target redlib.service demo.network
Wants=network-online.target

[Container]
ContainerName=nginx
Image=docker.io/nginxinc/nginx-unprivileged:mainline-alpine-slim
Network=demo.network
PublishPort=8081:8081

Volume=%h/Contenitori/Nginx/proxy.conf:/etc/nginx/nginx.conf:ro,Z

[Install]
WantedBy=default.target

nginx.conf:

pid /tmp/nginx.pid;

events {
    worker_connections 2048;
    use epoll;
    multi_accept on;
}

http {
    proxy_temp_path /tmp/proxy_temp;
    client_body_temp_path /tmp/client_temp;
    fastcgi_temp_path /tmp/fastcgi_temp;
    uwsgi_temp_path /tmp/uwsgi_temp;
    scgi_temp_path /tmp/scgi_temp;

    server {
        listen 8081;
        server_name _;

        client_body_timeout 8s;
        client_header_timeout 8s;
        send_timeout 8s;

        location / {
            proxy_pass http://redlib:8080;
        }
    }
}

As I said, it must be krun's fault, because everything works fine without it.

(obviously, I don't want to use crun)

reddit.com
u/Wise_Stick9613 — 9 hours ago

Podman + krun: "502 Bad Gateway"

I'm going crazy trying to get this simple setup to work with krun. It works fine with crun, but as soon as I switch runtime (setting /etc/containers/containers.conf), I get a 502 Bad Gateway error.

podman pull docker.io/nginxinc/nginx-unprivileged:mainline-alpine-slim
podman pull ghcr.io/silvenga/redlib:0
systemctl --user daemon-reload
systemctl --user start redlib
systemctl --user start nginx

The containers start up correctly but are effectively unusable. I've tried this on two different operating systems (Manjaro and Arch Linux).

demo.nework:

[Network]
Driver=bridge

redlib.container:

[Unit]
After=network-online.target demo.network
Wants=network-online.target

[Container]
ContainerName=redlib
Image=ghcr.io/silvenga/redlib:0
Network=demo.network

[Install]
WantedBy=default.target

nginx.container:

[Unit]
After=network-online.target redlib.service demo.network
Wants=network-online.target

[Container]
ContainerName=nginx
Image=docker.io/nginxinc/nginx-unprivileged:mainline-alpine-slim
Network=demo.network
PublishPort=8081:8081

Volume=%h/Contenitori/Nginx/proxy.conf:/etc/nginx/nginx.conf:ro,Z

[Install]
WantedBy=default.target

nginx.conf:

pid /tmp/nginx.pid;

events {
    worker_connections 2048;
    use epoll;
    multi_accept on;
}

http {
    proxy_temp_path /tmp/proxy_temp;
    client_body_temp_path /tmp/client_temp;
    fastcgi_temp_path /tmp/fastcgi_temp;
    uwsgi_temp_path /tmp/uwsgi_temp;
    scgi_temp_path /tmp/scgi_temp;

    server {
        listen 8081;
        server_name _;

        client_body_timeout 8s;
        client_header_timeout 8s;
        send_timeout 8s;

        location / {
            proxy_pass http://redlib:8080;
        }
    }
}

As I said, it must be krun's fault, because everything works fine without it.

(obviously, I don't want to use crun)

reddit.com
u/Wise_Stick9613 — 9 hours ago
▲ 110 r/hyprland

Thanks to the new Lua config, people are now playing Snake on Hyprland: please tell me we can finally get shadows on surfaces like bars and docks too

Please bless me with some Lua magic, I'm tired of drawing shadows in GIMP every time I want to change a background.

u/Wise_Stick9613 — 1 day ago
▲ 52 r/roma+3 crossposts

Questo giorno di 45 anni fa, Papa Giovanni Paolo II veniva ferito gravemente da due proiettili esplosi in Piazza San Pietro. Si salverà grazie a un intervento chirurgico d'urgenza durato 5 ore e 30 minuti eseguito dai medici del Policlinico Gemelli

u/Wise_Stick9613 — 1 day ago

Focus last and disable qutils check not working?

hl.bind("SUPER + TAB", hl.dsp.focus({last})) -- Not working
hl.config(
    {
        misc = {
            disable_hyprland_logo = true,
            disable_splash_rendering = true,
            disable_hyprland_qtutils_check = true -- Not working
        } ...

I'm almost done with the Lua port; these are the only two things I can't get to work.

hl.focus.unrecognized arguments. Expected one of: direction, monitor, window, urgent_or_last, last

unknown config key 'misc.disable_hyprland_qtutils_check'

Any advice?

reddit.com
u/Wise_Stick9613 — 3 days ago
▲ 58 r/falloutnewvegas+1 crossposts

Looking for an internet radio station similar to those of New Vegas

I'm looking for some internet radio stations (on Radio Browser) that evoke the same feelings as the radios from New Vegas.

It's not as simple as it seems, just searching for 1950s music is not enough, the music of New Vegas is so much more than that:

  • it's sad
  • it's nostalgic
  • and deeply melancholic

Begin again by Vera Keys is a good example of a song that captures everything I am looking for.

Please refrain from suggesting stations that simply play all the songs from the entire Fallout series, obviously I have already thought of that and it is not what I am looking for.

Thanks in advance.

u/Wise_Stick9613 — 5 days ago

>Is there a CSS solution to stop breaks between dd's so that each column always starts with a dt?

I ran into this problem and came up with this solution: if a dt is in an odd-numbered position, place it and its dd on the left; if a dt is in an even-numbered position, place it and its dd on the right.

dl {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: 1fr 1fr;
}

dt:nth-of-type(odd),
dt:nth-of-type(odd) + dd {
    grid-column: 1;
}

dt:nth-of-type(even),
dt:nth-of-type(even) + dd {
    grid-column: 2;
}

The only problem is that if the dd's have different sizes in terms of the number of characters, there may be large empty spaces.

What do you think? Is there a better way?

reddit.com
u/Wise_Stick9613 — 8 days ago
▲ 1 r/css

>Is there a CSS solution to stop breaks between dd's so that each column always starts with a dt?

I ran into this problem and came up with this solution: if a dt is in an odd-numbered position, place it and its dd on the left; if a dt is in an even-numbered position, place it and its dd on the right.

dl {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: 1fr 1fr;
}

dt:nth-of-type(odd),
dt:nth-of-type(odd) + dd {
    grid-column: 1;
}

dt:nth-of-type(even),
dt:nth-of-type(even) + dd {
    grid-column: 2;
}

The only problem is that if the dd's have different sizes in terms of the number of characters, there may be large empty spaces.

What do you think? Is there a better way?

reddit.com
u/Wise_Stick9613 — 8 days ago