mholiv

joined 2 years ago
[–] mholiv@lemmy.world 3 points 2 days ago (2 children)

Ok. Thinking explosives. Where are high speed trains being attacked by explosives? I don’t hear much in Germany, France, China, or Japan.

[–] mholiv@lemmy.world 68 points 2 days ago (13 children)

What are you going to do with a hijacked train? The moment you hijack it they’ll just shutdown power. Hostages? Good luck there are like 30 carts on the train all of which have window break tools and emergency door open tools.

Look at Germany or France. High speed trains are everywhere and there is no ID requirement beyond maybe a ticket check if you’re unlucky.

[–] mholiv@lemmy.world 3 points 3 days ago

Ohh. Yah. I wonder if it’s few degrees cooler. It would be cool to see some data.

[–] mholiv@lemmy.world 1 points 4 days ago

I don’t think overprovisioning is a thing that is realistically is a problem in the U.S. or in Germany. I know that modern homes tend to have 300amp mains. Older homes 100amps. You would have to have a house that was wired in 1920 in order to have a 20amp mains available. In that case you have bigger issues safety wise.

[–] mholiv@lemmy.world 2 points 4 days ago* (last edited 4 days ago) (1 children)

Ohh! I spent some time in the U.S. and there are 230v mains available. They just have special plugs. All homes have 230v. It’s just not available through the shocked face plug.

https://youtu.be/jMmUoZh3Hq4

[–] mholiv@lemmy.world 8 points 4 days ago* (last edited 4 days ago) (7 children)

The way that it works in most countries is that the breakers are per circuit in your wall. The breakers trip in order to prevent that single circuit from overheating and starting a fire in your walls.

Let’s say you have a wire that’s rated for 16amps. More than that and it becomes a fire risk just threw overheating. @230v that gives you 3680w per circuit.

If you have your industrial microwave, water heater, and car charger all going at the same time on that same circuit. This will draw way more than 3680w and thus would go over that 16a limit.

The breakers trips once you go over that 16a limit for safety. It’s a good thing. This all being said no sane electrician would put those three things on the same circuit. lol.

Circuit breakers are actually what enable you to safely over provision. Without them fires would just be a matter of time.

I know it works this way in the U.S. and Germany at least.

[–] mholiv@lemmy.world 26 points 1 week ago (3 children)

Is this copy pasta?

[–] mholiv@lemmy.world 3 points 3 weeks ago

I mean post scarcity means post scarcity. So anyone who wants a chateau gets one. Most people I don’t think would actually want one though. It means being more isolated, maybe one a newly habitable planet.

Personally I wouldn’t want or need one. Give me a truly for real actually sound isolated large apartment in a great location and I would be happy.

[–] mholiv@lemmy.world 24 points 3 weeks ago

Telling on yourself is always allowed. 🤷‍♀️

[–] mholiv@lemmy.world 3 points 1 month ago* (last edited 1 month ago) (2 children)

You don’t normally save game data in a cookie but I imagine it would fit.

More info here: https://gdpr.eu/cookies/

[–] mholiv@lemmy.world 13 points 1 month ago (5 children)

The law was not in fact written by a moron. Necessary cookies (strictly defined btw) include login credentials.

[–] mholiv@lemmy.world 13 points 1 month ago* (last edited 1 month ago)

If you are new to Linux I think it makes sense to use systemd. It’s the default for a reason. All major distros use it for a reason. It’s only a really small minority of very vocal people who are against it.

If Debian and Fedora and Ubuntu and All the enterprise linuxes use the same thing, I think that says something.

Despite claims to the contrary systemd is substantially faster and easier to use than its predecessor.

It’s simpler and easier to use. Take a look at these examples. Service files are so so much easier to use and are much more robust than hundred line bash scripts.

Systemd:

[Unit]
Description=OpenVPN tunnel for %i
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf
Restart=on-failure

[Install]
WantedBy=multi-user.target

Sysvinit

#!/bin/sh
### BEGIN INIT INFO
# Provides:          openvpn
# Required-Start:    $network $remote_fs
# Required-Stop:     $network $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: OpenVPN service
# Description:       Start or stop OpenVPN tunnels.
### END INIT INFO

DAEMON=/usr/sbin/openvpn
CONFIG_DIR=/etc/openvpn
PID_DIR=/run/openvpn
DESC="OpenVPN service"
NAME=openvpn

. /lib/lsb/init-functions

start() {
    log_daemon_msg "Starting $DESC"

    mkdir -p "$PID_DIR"

    for conf in "$CONFIG_DIR"/*.conf; do
        [ -e "$conf" ] || continue
        inst=$(basename "$conf" .conf)
        pidfile="$PID_DIR/$inst.pid"

        if start-stop-daemon --start --quiet --background \
            --pidfile "$pidfile" --make-pidfile \
            --exec "$DAEMON" -- --daemon ovpn-$inst --writepid "$pidfile" --config "$conf"; then
            log_progress_msg "$inst"
        else
            log_warning_msg "Failed to start $inst"
        fi
    done
    log_end_msg 0
}

stop() {
    log_daemon_msg "Stopping $DESC"
    for pid in "$PID_DIR"/*.pid; do
        [ -e "$pid" ] || continue
        inst=$(basename "$pid" .pid)
        if start-stop-daemon --stop --quiet --pidfile "$pid"; then
            rm -f "$pid"
            log_progress_msg "$inst"
        else
            log_warning_msg "Failed to stop $inst"
        fi
    done
    log_end_msg 0
}

status() {
    for conf in "$CONFIG_DIR"/*.conf; do
        [ -e "$conf" ] || continue
        inst=$(basename "$conf" .conf)
        pidfile="$PID_DIR/$inst.pid"
        if [ -e "$pidfile" ] && kill -0 "$(cat "$pidfile" 2>/dev/null)" 2>/dev/null; then
            echo "$inst is running (pid $(cat "$pidfile"))"
        else
            echo "$inst is not running"
        fi
    done
}

case "$1" in
    start) start ;;
    stop) stop ;;
    restart) stop; start ;;
    status) status ;;
    *) echo "Usage: $0 {start|stop|restart|status}"; exit 1 ;;
esac

exit 0
 

Hello! I am looking for a drunken slug invite. While I have experience with private torrent communities, the usenet is new and exciting to me.

If anyone could help I would appreciate it.

view more: next ›