Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2018-02-20 00:00:00Z and 2018-02-21 00:00:00Z
If you want to see releases, go on discord, or use a news reader: https://ddnet.tw/releases/feed/
You can even use some tool to convert feeds to emails if that's more convenient:
[quakenet] <deen> I mean you can take that as the opportunity to figure out how to fight back against different kinds of attacks and then apply to some anti-ddos company. but that doesn't really help us^^
[quakenet] <deen> heinrich5991: wrong update server
18:41
[quakenet] <deen> weird
18:42
[quakenet] <deen> Actually my post was getting pushed down on HN thanks to anti-flamewar detection (more comments than votes), but a mod pushed it back up
18:44
[quakenet] <deen> -anti
18:46
[quakenet] <heinrich5991> deen: heh. I also cycle to uni every day :)
18:46
[quakenet] <deen> I used to do it once a week, but it was ~45 km each way, so a bit exhausting
18:47
[quakenet] <heinrich5991> yea, it's more like 15-20min for me
18:47
[quakenet] <heinrich5991> public transport is also 15min, but only once every 20min
18:47
[quakenet] <heinrich5991> I end up getting to uni faster than if I played the waiting time lottery
18:48
[quakenet] <deen> heh
18:50
[quakenet] <heinrich5991> okay, but your cycle path looks way nicer :D
18:51
[quakenet] <heinrich5991> I'm cycling through streets
18:51
[quakenet] <deen> also, umap is pretty easy to use, never made a custom map before
llll➤ Der neue Bußgeldkatalog 2018 für "Fußgänger“, z.B. Infos zu § 25 StVO sowie Punkte und Bußgeld für Fußgänger, wenn Sie eine rote Ampel überqueren.
20:25
[quakenet] <fstd> that said, who cares about red lights ;)
[quakenet] <heinrich5991> enn die Verkehrsdichte, Fahrgeschwindigkeit, Sichtverhältnisse oder der Verkehrsablauf es erfordern, ist eine Fahrbahn nur an Kreuzungen oder Einmündungen, an Lichtzeichenanlagen innerhalb von Markierungen, an Fußgängerquerungshilfen oder auf Fußgängerüberwegen (Zeichen 293) zu überschreiten
20:28
[quakenet] <heinrich5991> mh..
20:28
[quakenet] <heinrich5991> it sounded differently when I first read it
20:30
[quakenet] <Learath2> well if the street is empty, there is no policeperson to fine you :P
20:31
[quakenet] <fstd> the police have proxies called 'red light cameras' tho :s
20:32
[quakenet] <fstd> (for cars anyway)
20:32
[quakenet] <Learath2> doubt they watch them for pedestrians crossing
20:32
[quakenet] <deen> That reminds me, I remember Lady Saavik always being pissed at having had to pay two fines for jaywalking in Poland :D
20:33
[quakenet] <fstd> Learath2: pedestrians can't trigger them to begin with
20:33
[quakenet] <fstd> (but it prevents me, sometimes, from ignoring a red light with my car when it'd obviously be safe)
20:34
[quakenet] <fstd> like, when literally nobody is around, like at night
20:34
[quakenet] <Learath2> in turkey they flash all lights yellow after 2am, means cross at your own discretion
20:35
[quakenet] <fstd> in germany they do that with some lights, but it doesn't mean "cross at your own discretion", that would be totally un-german
20:35
[quakenet] <fstd> instead it makes the next lower level set of rules take effect (which the traffic lights normally override)
20:36
[quakenet] <heinrich5991> :D @ that would be totally un-german
20:36
[quakenet] <Learath2> the phrase "lower level set of rules" would short circuit an average turkishpersons brain, so they just say "cross at your own discretion, don't be a cunt, don't kill anyone"
20:37
[quakenet] <fstd> actually i'm wrong though, what i said refers to traffic lights that are completely off
20:37
[quakenet] <heinrich5991> traffic lights are completely off in the direction that has right of way
20:37
[quakenet] <heinrich5991> in the other direction they're blinking yellow
20:37
[quakenet] <fstd> yellow blinking means they're kinda sorta off, but the road that sees the blinking (only 2 out of 4 lights will blink) has to yield
20:38
[quakenet] <Learath2> I think if you look at the actual laws tho, flashing yellow is just becareful
20:38
[quakenet] <fstd> yep that
20:38
[quakenet] <heinrich5991> but on pedestrian crossings they still blink yellow at night
20:38
[quakenet] <heinrich5991> even though cars have right of way AFAIK
20:38
[quakenet] <heinrich5991> like traffic lights for cars that are solely for a pedestrian crossing, not some T-intersection or intersection
20:39
[quakenet] <heinrich5991> rm command still runnnign
20:39
[quakenet] <heinrich5991> but it still hasn't hit me what is wrong with it
20:39
[quakenet] <heinrich5991> still running
20:40
[quakenet] <heinrich5991> waah
20:40
[quakenet] <heinrich5991> ah done
20:40
[quakenet] <heinrich5991> mh.. nothing looks off
20:42
[quakenet] <fstd> this is why i like ^T
20:42
[quakenet] <fstd> aka SIGINFO
20:44
[quakenet] <heinrich5991> you know what distinguishes SIGINFO from SIGUSR1? :)
20:44
[quakenet] <fstd> yes
20:45
[quakenet] <Learath2> I don't
20:45
[quakenet] <heinrich5991> SIGUSR1 terminates the program if it doesn't handle the signal
20:45
[quakenet] <heinrich5991> SIGINFO doesn't
20:45
[quakenet] <Learath2> TIL
20:45
[quakenet] <heinrich5991> but that's about the only difference
20:45
[quakenet] <fstd> lol
20:46
[quakenet] <heinrich5991> it's responsible for not being able to reliably be able to send SIGUSR1 to programs
20:46
[quakenet] <fstd> process groups*
20:46
[quakenet] <fstd> and that's a huge difference
20:46
[quakenet] <fstd> another big difference is that SIGINFO's purpose is clear, while SIGUSR1 in no way means "dump info to stderr"
20:47
[quakenet] <heinrich5991> yes, but that could be mitigated
20:47
[quakenet] <heinrich5991> i.e. define SIGINFO=SIGUSR1
20:47
[quakenet] <fstd> by adapting a lot of programs in case they have a spare signal to use
20:47
[quakenet] <fstd> not really feasible
20:47
[quakenet] <fstd> i mean it would work for dd, i guess
20:47
[quakenet] <Learath2> not really a good idea imho, programs could be using both currently
20:48
[quakenet] <fstd> fetchmail however would try and pull mail then
20:48
[quakenet] <fstd> init/systemd would do god knows what
20:48
[quakenet] <fstd> programs that use SIGUSR1 and SIGUSR2 are in trouble generally
20:48
[quakenet] <fstd> yeah and what Learath2 said too
20:48
[quakenet] <Learath2> systemd would prolly handle it just fine, it'll upload the signal and the current state to the cloud and the neural network will figure out what you want
20:49
[quakenet] <fstd> ^^
20:50
[quakenet] <heinrich5991> Fahrverkehr in einem verkehrsberuhigten Bereich unnötig behindert 5 €
[quakenet] <fstd> sorry, this is now a german kanal.
21:12
[quakenet] <Learath2> if you'd actually read it you'd come to the conclusion that the last german line was something along the lines of "jaywalking = 5e"
21:12
[quakenet] <Learath2> :P
21:12
[quakenet] <Ryozuki> also it looks like the ö is parsed wrong by the irc-link
[quakenet] <heinrich5991> Autobahn betreten oder überschritten 10 €
21:32
[quakenet] <heinrich5991> Sollte er sich im Rahmen der Straßenverkehrsordnung für Fußgänger für die Fahrbahn entscheiden, darf er nur am rechten Fahrbahnrand gehen. Beim Abbiegen nach links ist zu beachten, dass sich der Fußverkehr nicht links einordnen darf.
21:37
[quakenet] <fstd> not sure if i ever mentioned it, but i rode a bicycle, drunk, at night, without lights, on the autobahn once... it's only ~5 km and hell of a shortcut compared with the regular route and that stretch tends to be super empty at night, so it seemed like a good idea
21:37
[quakenet] <fstd> anyway it wasn't empty enough, someone did call the cops on me and i only barely and with luck managed to escape
21:38
[quakenet] <fstd> wonder what that would have cost me...
21:38
[quakenet] <fstd> apart from my license
21:43
[quakenet] <fstd> [1394060.164169] Out of memory: Kill process 1694 (factorio) score 300 or sacrifice child
[quakenet] <fstd> the real offender here was firefox
21:44
[quakenet] <fstd> but YES why not just kill factorio instead
21:47
[quakenet] <heinrich5991> factorio has autosave, hopefully it wasn't so far back
21:47
[quakenet] <fstd> yes, it'll be fine
21:48
[quakenet] <fstd> doesn't make it any better though
21:49
[quakenet] <fstd> i mean i'd be fine if it terminated on its own behalf, or even segfaulted
21:49
[quakenet] <fstd> but preemtively killing the wrong process?
21:49
[quakenet] <fstd> i mean factorio was literally idle for the last 30 minutes, and i was just zooming into google maps (checking into whether my 5km estimate was accurate)
21:49
[quakenet] <fstd> when everything froze for like a minute
21:50
[quakenet] <fstd> and then factorio gets rekt instead of firefox...