News for hackers. Stuff that matters.
Re:State Machines in Rust by m90 on Wednesday April 01, 2020 @06:33AM (#22747327)
Slightly OT, but:

> In Germany traffic lights go green -> yellow -> red -> yellow -> green, but let's pretend they're only green -> yellow -> red -> green.

is not correct if I'm not missing something major. Is there any situation where they turn yellow before turning green?

Re:State Machines in Rust by derkha on Wednesday April 01, 2020 @06:38AM (#22747349)
They probably mean "red-yellow", which is an intermediate "wait for it" state in many European countries, including Germany https://de.wikipedia.org/wiki/Ampel#/media/Datei:Traffic_lig...
Re:State Machines in Rust by m90 on Wednesday April 01, 2020 @06:57AM (#22747458)
I think I've never noticed that red-yellow in 40+ years of living in Germany. Interesting. Maybe it's a good thing I never get to drive a car these days.
Re:State Machines in Rust by TimNN on Wednesday April 01, 2020 @06:39AM (#22747355)
They go red -> red+yellow -> green when making the red -> green transition.