talkingpumpkin

joined 2 years ago
[–] [email protected] 6 points 17 hours ago

Yeah, it depends on how much you value clicks against your work ethics as a journalist

[–] [email protected] 1 points 4 days ago

I don't think there's that functionality. You could try using a snapshot and see if you can manage

[–] [email protected] 19 points 1 week ago (1 children)

demanded they sign deportation papers accepting they had illegally entered Israel

Well, assaulting vessels in international waters and forcing the crew into your country is certainly illegal.

[–] [email protected] 3 points 1 week ago

Oh, but it's not a boycott of Israel - it's a boycott against any nation whose leader is wanted for crimes against humanity.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (1 children)

An pro-Trump neonazi imbecile that breaks up with Trump is till a neonazi imbecile.

That said, I agree... he and his business should be as welcome in Europe as anybody else's: we don't discriminate.

[–] [email protected] 23 points 1 week ago

Again and again this flawed logic where you either approve of everything Israel does or you are an antisemite... it's high time we start distinguishing between the country of Israel and people of Jewish descent (Jewish people should learn the distinction too, seeing how this "antisemite" argument has been repeated by Jewish communities outside Israel).

As for Merz (and Germany, and Europe, and - alas - apparently the world in general), it's a real shame that the moronic dichotomy of humanity into arbitrary "us" and "them" (and subsequent blaming of everything on "them") is becoming mainstream rather than staying relegated to the far right (and groups of kids that bully other kids).

Ironically, this is the same exact world vision that gave us that nazi-fascism that so thoroughly embraced antisemitism and so methodically acted on it.

[–] [email protected] 11 points 1 week ago

Basically, peaceful protest (from what I've heard in Italian media, defined as anything that disrupts the regular activities in the prison) is now a felony punishable with incarceration (not penalty cell time, mind you, actual additional years in prison).

This not only applies to actual inmates (whether found guilty or awaiting trial) but also irregular migrants detained in what are called "identification and expulsion centers" (CIE) but are basically just much worse prisons than regular ones.

Note that Italy's prisons (both the "real" ones and CIEs) are quite overcrowded (prisons have 120% occupation on average with peaks of 190% - I don't have data about CIEs but it's a known fact they are often overcrowded).

Prison overcrowding is sadly a historical problem in Italy, but it's gotten worse under Meloni's government (especially when it comes to minors), as they have instituted several new kinds of felonies and aggravating circumstances, without any new investment in prisons.

[–] [email protected] 17 points 1 week ago

Agreed (with the substance, if not the tone).

Using "meat attack" to refer to Russian military doctrine (as described by Russian deserters - the Russian government would of course deny that) is not more dehumanizing than using "slavery" to identify the condition of people being owned as property: ie. the practice is certainly dehumanizing, but calling it with its proper name (or whatever derogatory name) is not.

Mods please review your decision.

[–] [email protected] 15 points 3 weeks ago

Ironic that it works (I presume) via an app

[–] [email protected] 2 points 3 weeks ago (1 children)

Err.. the term Palestine (or "Palestinian territories", if one swings that way) is appropriate when one wants to reference the Gaza Strip and West Bank together.

The (shocking and extremely worrying) levels of violence and illegal actions from Israel in the West Bank is incomparable with the mass killings the IDF is perpetrating in the Gaza strip (also, I've not heard the term "war" used to describe the situation in the West Bank), hence my specific reference to the Gaza strip.

Trying to say even very sensible things about the Middle east without triggering anyone is sure extenuating... I really respect the (so far fruitless) efforts of those diplomats who have been trying their hardest to get people to make sense of the whole mess of reach some (any!) sensible agreement.

[–] [email protected] 14 points 3 weeks ago* (last edited 3 weeks ago) (3 children)

Accused of slander? Netanyahu? I can't believe it! He seemed like a such a good person... /s

BTW: We should really stop referring to what's happening in the Gaza strip (and elsewhere) as "war".

[–] [email protected] 11 points 4 weeks ago

I went through my answers (and questions) and poisoned them little by little every day with errors

You are an evil genius (also, a very determined one - I wouldn't have had the patience).

 

A lot of selfhosted containers instructions contain volume mounts like:

docker run ...
  -v /etc/timezone:/etc/timezone:ro \
  -v /etc/localtime:/etc/localtime:ro \
  ...

but all the times I tried to skip those mounts everything seemed to work perfectly.

Are those mounts only necessary in specific cases?

PS:

Bonus question: other containers instructions say to define the TZ variable. Is that only needed when one wants a container to use a different timezone than the host?

 

Prometheus-alertmanager and graphana (especially graphana!) seem a bit too involved for monitoring my homelab (prometheus itself is fine: it does collect a lot of statistics I don't care about, but it doesn't require configuration so it doesn't bother me).

Do you know of simpler alternatives?

My goals are relatively simple:

  1. get a notification when any systemd service fails
  2. get a notification if there is not much space left on a disk
  3. get a notification if one of the above can't be determined (eg. server down, config error, ...)

Seeing graphs with basic system metrics (eg. cpu/ram usage) would be nice, but it's not super-important.

I am a dev so writing a script that checks for whatever I need is way simpler than learning/writing/testing yaml configuration (in fact, I was about to write a script to send heartbeats to something like Uptime Kuma or Tianji before I thought of asking you for a nicer solution).

 

I'm not much hoepful, but... just in case :)

I would like to be able to start a second session in a window of my current one (I mean a second session where I log in as a different user, similar to what happens with the various ctrl+alt+Fx, but starting a graphical session rather than a console one).

Do you know of some software that lets me do it?

Can I somehow run a KVM using my host disk as a the disk for the guest VM (and without breaking stuff)?

 

I have two subnets and am experiencing some pretty weird (to me) behaviour - could you help me understand what's going on?


Scenario 1

PC:                        192.168.11.101/24
Server: 192.168.10.102/24, 192.168.11.102/24

From my PC I can connect to .11.102, but not to .10.102:

ping -c 10 192.168.11.102 # works fine
ping -c 10 192.168.10.102 # 100% packet loss

Scenario 2

Now, if I disable .11.102 on the server (ip link set <dev> down) so that it only has an ip on the .10 subnet, the previously failing ping works fine.

PC:                        192.168.11.101/24
Server: 192.168.10.102/24

From my PC:

ping -c 10 192.168.10.102 # now works fine

This is baffling to me... any idea why it might be?


Here's some additional information:

  • The two subnets are on different vlans (.10/24 is untagged and .11/24 is tagged 11).

  • The PC and Server are connected to the same managed switch, which however does nothing "strange" (it just leaves tags as they are on all ports).

  • The router is connected to the aformentioned switch and set to forward packets between the two subnets (I'm pretty sure how I've configured it so, plus IIUC the second scenario ping wouldn't work without forwarding).

  • The router also has the same vlan setup, and I can ping both .10.1 and .11.1 with no issue in both scenarios 1 and 2.

  • In case it may matter, machine 1 has the following routes, setup by networkmanager from dhcp:

default via 192.168.11.1 dev eth1 proto dhcp              src 192.168.11.101 metric 410
192.168.11.0/24          dev eth1 proto kernel scope link src 192.168.11.101 metric 410
  • In case it may matter, Machine 2 uses systemd-networkd and the routes generated from DHCP are slightly different (after dropping the .11.102 address for scenario 2, of course the relevant routes disappear):
default via 192.168.10.1 dev eth0 proto dhcp              src 192.168.10.102 metric 100
192.168.10.0/24          dev eth0 proto kernel scope link src 192.168.10.102 metric 100
192.168.10.1             dev eth0 proto dhcp   scope link src 192.168.10.102 metric 100
default via 192.168.11.1 dev eth1 proto dhcp              src 192.168.11.102 metric 101
192.168.11.0/24          dev eth1 proto kernel scope link src 192.168.11.102 metric 101
192.168.11.1             dev eth1 proto dhcp   scope link src 192.168.11.102 metric 101

solution

(please do comment if something here is wrong or needs clarifications - hopefully someone will find this discussion in the future and find it useful)

In scenario 1, packets from the PC to the server are routed through .11.1.

Since the server also has an .11/24 address, packets from the server to the PC (including replies) are not routed and instead just sent directly over ethernet.

Since the PC does not expect replies from a different machine that the one it contacted, they are discarded on arrival.

The solution to this (if one still thinks the whole thing is a good idea), is to route traffic originating from the server and directed to .11/24 via the router.

This could be accomplished with ip route del 192.168.11.0/24, which would however break connectivity with .11/24 adresses (similar reason as above: incoming traffic would not be routed but replies would)...

The more general solution (which, IDK, may still have drawbacks?) is to setup a secondary routing table:

echo 50 mytable >> /etc/iproute2/rt_tables # this defines the routing table
                                           # (see "ip rule" and "ip route show table <table>")
ip rule add from 192.168.10/24 iif lo table mytable priority 1 # "iff lo" selects only 
                                                               # packets originating
                                                               # from the machine itself
ip route add default via 192.168.10.1 dev eth0 table mytable # "dev eth0" is the interface
                                                             # with the .10/24 address,
                                                             # and might be superfluous

Now, in my mind, that should break connectivity with .10/24 addresses just like ip route del above, but in practice it does not seem to (if I remember I'll come back and explain why after studying some more)

 

I want to have a local mirror/proxy for some repos I'm using.

The idea is having something I can point my reads to so that I'm free to migrate my upstream repositories whenever I want and also so that my stuff doesn't stop working if some of the jankiest third-party repos I use disappears.

I know the various forjego/gitea/gitlab/... (well, at least some of them - I didn't check the specifics) have pull mirroring, but I'm looking for something simpler... ideally something with a single config file where I list what to mirror and how often to update and which then allows anonymous read access over the network.

Does anything come to mind?

view more: next ›