ikriv

Last night I was talking to something which could be a human or a robot, I could not tell. But that’s not necessarily a good thing: not only AI became […]

My analog doorbell has died, so I am on the market for a doorbell camera. I would like to avoid storing my videos in the cloud, so it rules out […]

What is dead code?

What is dead code? Looks like it depends on who you ask. Some people think it’s unreachable code than never executes. Other people think that it’s redundant code that does […]

TL;DR Use default parameters to simulate assignment in lambdas. Unlike C and C++, in Python assignment is an expression, not a statement. Python lambda can only return an expression, which […]