amateur philosopher
~ 106y old in United States
đŸĩ 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.
3y, 35w 1 reply
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.
3y, 35w 1 reply
Enny John What kind of music do you listen to? What genre?
😏 Yt L. I listen to both kinds of music. Country, and Western.
3y, 35w reply
🗡ī¸ David Hayes What's "pooch" for cats?
😏 Yt L. Kitty? As in "Here kitty, kitty" works like "Here pooch"
3y, 35w 1 reply
🚴 Aditya Continuing on from '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.
3y, 36w 1 reply
đŸĩ 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.
3y, 36w 5 replies
🚴 Aditya Yes! I'm there now. Very happy with the new place. Working on furnishing it now.
😏 Yt L. Congratulations! Hope you're enjoying the new place.
3y, 36w 1 reply
👉 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.
3y, 36w 2 replies
😀 Tom Nice! I plan on getting a hot tub in the not-to-distant future. No wife yet though, but one day.
😏 Yt L. I recommend both!
3y, 37w reply
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. :)
3y, 37w 3 replies
Miso wooow that's quite amazing actually
😏 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)
3y, 37w reply
đŸ§ŋ Andrea Old style tape recorder? :)
😏 Yt L. That's a really great idea! I could transcribe it in the morning (I prefer having a searchable dream journal) :)
3y, 37w reply
đŸ§ŋ Andrea Entertaining read - you could now build an adversarial system to spout trumpisms!
😏 Yt L. Thanks! I think adversarial generators are really interesting. I'd like to learn enough to put one together some day.
3y, 37w 1 reply
😏 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...
đŸ§ŋ Andrea Old style tape recorder? :)
3y, 37w 1 reply
☕ David Antoine Observing the future to "collapse its associated wave function" and select a specific outcome to control future events? That could be a nice pitch for a movie or a TV show. Or a book. Maybe it has been done... But indeed, space, time, causality, emergence, quantum behavior, etc, are all part of a big puzzle that physicists are trying to solve while having been starved for the past decades of new/unexpected experimental data. It is a... Complicated field (duh).
😏 Yt L. I thought this is where they were going with Devs (spoilers) - they have a machine that can see the past or future but employees are forbidden from looking at the future. I thought the reason would be that looking at the future determines it, but they didn't really explore that.
3y, 37w 1 reply
Miso What are you current projects?
😏 Yt L. I recently setup - 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 -
3y, 37w 5 replies