đĩ Max
Question to (python) devs. How do you handle cognitive complexity in the main function? I usually manage to design small side functions but vscode complains about the main one having either too much parameters or a high cognitive complexity. It's usually due to nested loops that I don't manage to separate.
đ Yt L.
What do you mean by main function? Is this a kind of game dev thing? I handle functions that are too complicated by refactoring such that a function does a single thing. If many things need to be done I write many functions.
Diva
I miss going to the cinema so much. It was always so much more than just going to see a film. I would have a meal and a drink, either before or after; I'd read and listen to reviews; I'd carefully choose which films to see. I'm still not sure when I'll have my next cinema outing...
đ Yt L.
I agree. We always played the game of, after the film, try to list all the previews. Challenging! Last movie I saw in theaters was The Gentlemen... Hope to be back soon.
đ´ Aditya
Continuing on from @Moroni's thread: I started Mr. Robot back when it first came out. I *adored* the pilot, but didn't enjoy the rest of Season 1 as much. I never latched on to Season 2. Should I give it another shot?
đ Yt L.
I didn't enjoy season 2 as much when watching for the first time, but felt that it and season 1 were better when rewatching. I loved the show though.
đĩ Max
I'm looking to build a web app to deploy a tiny python script I wrote. I have nearly 0 experience with web dev. At the moment I would like to implement it without using a framework like flask or django. I've heard of the websockets / asyncio packages, does anyone have references to guides or tutorials on this subject?
đ Yt L.
You could look into python anywhere, their free tier should let you run a short script once a day. They also support a very easy integration with flask. I'd recommend doing one of their tutorials if you're interested.
đ LÊo
I am watching Better Call Saul, really good acting. I've also enjoyed watching Westworld and the Handmaids Tale. Westworld's first season is by far the best, I think they really dropped the ball with the third one.
đ Yt L.
I had to stop watching Westworld season three. Shame. I thought they had good ideas, good effects, good cinematography, good actors... It just did not come together well and lost the magic season one had.
Diva
Quiet days of rest and reflection should be mandated for our wellbeing. Just here, relaxing on Sunday, slowing right down. Hoping you are all enjoying your day!
đ Yt L.
I'm playing on my phone in the hot tub while my wife is making burgers. About as relaxed as can be right now. :)
đ Yt L.
Thanks. I was surprised it worked as well as it did. I'm actually having more trouble separating male from female writers. I guess Trump may be more different from others than male writers are from female. (Or my model just needs more work)
đ Yt L.
Just woke up from a VERY vivid dream which culminated in a car crash. Spent a few minutes writing down my dream and now it's hard to go back to sleep. I keep my dream journal on my phone and using my phone seems to have awakened me. Not ideal - but if I used pen and paper I'd need a light...
đ Yt L.
I recently setup rephrasor.com - an idea I had for competitive rephrasing. Now I'm working on a machine learning model to differentiate male from female writers (building on some success I had with a model to identify Donald Trump - link.medium.com/OS...