[–] 2 points 16 minutes ago

Die Antwort ist ist eientlich einfach.

In jeder Krise gibt es diejenigen, die nach realen, differenzierten Lösungen suchen, und die, die einfach nur laut und schrill dumme, aber, wenn man nicht weiter darüber nachdenkt, schlüssige Parolen keifen. Letzteres kommt bei den Menschen gut an, weil sie da nicht denken oder hinterfragen müssen.

Und Spanier sind da offensichtlich in guter Gesellschaft. Mehrheitlich etwas dümmlich und wunderbar manipulierbar. So wie die Menschen offenbar überall und zu sehr verschiedenen Zeiten.

  • source
  • [–] 4 points 2 hours ago (1 child)

    If the left is in power and there is a bad economy,

    Most countries have not seen "the left in power" for many decades, sometimes never, and it's basically just "if right-wing shit policies din't help, they were probably not extreme enough".

  • source
  • parent
  • context
  • [–] 3 points 2 hours ago*

    Probably because people were more scared when they started. Just like you still find a lot of information how to reduce write/read accesses to your SSD to not kill it quickly while in reality an average user nowadays wouldn't be able to kill an SSD even if he tried.

  • source
  • parent
  • context
  • [–] 6 points 2 hours ago* (last edited 2 hours ago) (4 children)

    Trim can be handled by the system without a dedicated script, either as contunues trim (by just mounting it with the discard option) or periodically via already provided SystemD services and timers (both supported by btrfs). And I think the most common defaults would be doing it once a week or so.

    Scrubbing on the other hand once a week feels excessive to me. And I would definitely not look at the result only at the moment I start the next scrub. Also I like having such stuff happen in the background without noticing much, so again SystemD is your friend by providing you ways to do it on a timer while also limiting the amount of ressources used via slices and ways to only notify you on a failure.

    And then there is balancing which I really do very rarely. If you don't have the habit of littering your disk with dozens and dozens of snapshots until it's getting full, there is not much need.

    (And then there're the SMART self-tests I would definitely not skip... a simple short one daily doesn't hurt, a more extended full one once a week.)

    Long story short. Even if I wanted to do exactly what you plan, I would not put it into one script, because of different intervals (also to spread things out over time).

    Edit: And to keep this whole thing more constructive, here my setup for scrubbing as an example

    background.slice:
    [Slice]
    CPUQuote=20%
    IOReadBandwithMax=10M

    notification_mail@.sevice:
    [Unit] Description=Send Systemd Notification to eMail

    [Service]
    Type=oneshot
    ExecStart=/sbin/sh -c 'echo "Subject: Service %i failed\n\nService %i failed.\n$(systemctl status %i)" | /sbin/msmtp <mail.address>'

    [Install]
    WantedBy=multi-user.target

    monthly_scrub.service:
    [Unit]
    Description=Monthly BTRFS Scrub
    OnFailure=notification_mail@%i.service

    [Service]
    Slice=background.slice
    Type=simple
    ExecStart=/sbin/btrfs scrub start -RBd / >> /var/log/monthly_scrub.log

    monthly_scrub.timer;
    [Unit]
    Description=Monthly BTRFS scrub timer

    [Timer]
    OnCalendar=monthly
    RandomizedDelaySec=1day
    Persistent=true

    [Install]
    WantedBy=timers.target

  • source
  • [–] 1 point 3 hours ago*

    Okay, das ist etwas altertümlich, aber zumindest nicht so bescheuert.

    Kessel sind ja grundsätzlich nichts absurdes... und im Englischen kommt noch dazu, dass das auch ein moderner Wasserkocher als "elektrischer Kessel" bezeichnet würde.

    In mir stirb halt nur jedesmal etwas, wenn ich sehe, wie Leute Wasser für Tee erhitzen, indem sie Tasse oder Glas in die Mikrowelle stellen (und dazu kommt dann noch, dass die wneigsten wissen, dass da ein Löffel nicht nur erlaubt ist, sondern während des Erhitzens reingehört).

  • source
  • parent
  • context
  • [–] 1 point 3 hours ago*

    Es gibt zwar deutlich weniger linke Inhalte, aber es gibt sie und sie sind für jeden findbar, der möchte.

    Du gehst von der völlig falschen Annahme aus, dass sie sich informieren wollen. Da hat die Mehrheit aber kein Interesse dran. Also hilft es exakt Null, dass linke Inhalte auffindbar sind, wenn man danach sucht. Denn was die größere Rolle bei der politisch wenig interessierten Wählerschaft spielt, sind die Inhalte, die man nicht suchen muss, sondern mit denen man von allein ständig beschallt wird. Und da sind wird dann durchgehend eben doch wieder bei rechts, rechter, rechtsradikal.

    Dieser Infantilisierung der armen Wähler, die ja quasi nicht anders können als wie Marionetten zu tun was ihnen eingetrichtert wird

    Das hab ich so weder gesagt noch ausdrücken wollen. Natürlich sind die keine völlig unschuldigen Opfer. Aber den propagandainduzierten Hirnschaden werden sich trotzdem die wenigsten bewusst ausgesucht haben.

  • source
  • parent
  • context
  • [–] 3 points 5 hours ago*

    "Sollte"... aber die haben jedes bisschen "liberal" außer Neo- und Marktliberalismus schon vor Ewigkeiten beerdigt. Tatsächlich haben sie in der letzte Regierung mit hirnverbranntem Scheiß wie dem Tankrabatt und ihrem Kampf für technologische Rückständigkeit Technologieoffenheit ja selbst den heiligen freien Markt hinter sich gelassen und sich selbst zur reinen Lobbygruppe obsoleter Industrien degradiert. Das kann halt jede andere korrupte Partei genauso.

  • source
  • parent
  • context
  • [–] 3 points 5 hours ago

    3 Jahre ist optimistisch. Die C*U hat an dem Tag beschlossen, Machterhalt über Demokratie zu stellen, und gnadenlos auf Kulturkampf und nachplappern von AfD-Sprech umgestellt, als Grüne und FDP es gewagt haben, zuerst untereinander zu sondieren und dann zu schauen, wer ihnen den besseren Deal bietet. Denn da wurde ihnen klar, dass sie ohne ein Mindestmaß an Kompromissen –die nicht machbar sind, wenn man gleichzeitig seine Geldgeber glücklich machen will– einfach keine Regierungsmacht mehr ausüber werden. Also musste man die AfD groß machen und demokratische Parteien zu Feinden erklären. Und das ist jetzt bereits ziemlich genau 5 Jahre her...

  • source
  • parent
  • context
  • [–] 4 points 6 hours ago*

    Was denken Gegner des Verbotsverfahrens eigentlich

    Die denken, dass die Wähler bald so mürbe, respektive verblödet sind, dass sie ihre Wunschkoalition mit der AfD irgendwie begründen können, in der sie endlich nicht mehr so tun müssen, als würden sie nicht gegen die Bevölkerung für eine Handvoll Großunternehmen und Übereiche regieren. Dass die rechtsexteme Hetze sogar noch als Ablenkung von dieser Politik dient ist doch ein tolles Feature.

  • source
  • parent
  • context
  • [–] 4 points 6 hours ago* (last edited 6 hours ago) (1 child)

    32-bit support aside, which is a special case because a) that's a really big step and b) we are not talking about "old" but more "last century ancient" here...

    Archlinux is unironically a good pick, because there is basically nothing preinstalled. So you have no desktop environment that might make the switch to wayland exclusively for example.

    And everything really falling out of upstream support (say proprietary drivers for example) are well supported by the community as long as there is interest. So I can for example run some minimal ressource-friendly X11 desktop on a machine still using a more than 20-year old GeForrce 8800, for which Nvidia dropped support nearly a decade ago, without issues.

    All this with the latest kernel and stuff.

    (In fact the pc I'm typing this on is not THAT old, but still pre-EFI mainboard, first generation AMD Bulldozer cpu (should be from around 2011/12), early DDR3 ram with a 750ti...) and still runs snappy as always.)

    (Edit: i3 window manager with a few added parts from XFCE)

  • source
  •  

    As this will -thanks to me being quite clueless- be a very open question I will start with the setup:

    One nginx server on an old Raspi getting ports 80 and 443 routed from the access point and serving several pages as well as some reverse proxies for other sevices.

    So a (very simplified) nginx server-block that looks like this:

    # serve stuff internally (without a hostname) via http
    server {
    	listen 80 default_server;
    	http2 on;
    	server_name _; 
    	location / {
    		proxy_pass http://localhost:5555/;
                    \# that's where all actual stuff is located
    	}
    }
    # reroute http traffic with hostname to https
    server {
    	listen 80;
    	http2 on;
    	server_name server_a.bla;
    	location / {
    		return 301 https://$host$request_uri;
    	}
    }
    server {
    	listen 443 ssl default_server;
    	http2 on;
    	server_name server_a.bla;
       	ssl_certificate     A_fullchain.pem;
        	ssl_certificate_key A_privkey.pem;
    	location / {
    		proxy_pass http://localhost:5555/;
    	}
    }
    #actual content here...
    server {
    	listen 5555;
    	http2 on;
        	root /srv/http;
    	location / {
            	index index.html;
       	} 
        	location = /page1 {
    		return 301 page1.html;
    	}
        	location = /page2 {
    		return 301 page2.html;
    	}
            #reverse proxy for an example webdav server 
    	location /dav/ {
    		proxy_pass        http://localhost:6666/;
    	}
    }
    

    Which works well.

    And intuitively it looked like putting Anubis into the chain should be simple. Just point the proxy_pass (and the required headers) in the "port 443"-section to Anubis and set it to pass along to localhost:5555 again.

    Which really worked just as expected... but only for server_a.bla, server_a.bla/page1 or server_a.bla/page2.

    server_a.bla/dav just hangs and hangs, to then time out, seemingly trying to open server_a.bla:6666/dav.

    So long story short...

    How does proxy_pass actually work that the first setup works, yet the second breaks? How does a call for localhost:6666 (already behind earlier proxy passes in both cases) somehow end up querying the hostname instead?

    And what do I need to configure -or what information/header do I need to pass on- to keep the internal communication intact?

    view more: next ›