Joined 9w ago. Seen 1w ago.
I'm really upset that the lowest volume level of iphone/ipad is still too high for me. When using a noise-cancelling headset in a quiet open space it's drilling my ears. I don't get how this is even possible.
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.
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.
I like your website design.
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?
Can you be a bit more specific? Do you want to have a web interface where the script gets ran on the server after the user clicks a button or submits a form, or do you want to make the script run in a browser?
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.
I'm rather competitive and eager to win when playing board games. I'm annoyed when people say that "it's just a game" because I see it as a way to intellectually challenge myself. Any thoughts on this?
Doesn't winning every time makes the board game boring?
I'm highly competitive too. I don't even let my children win. lol
To people who blog: what do you blog about?
My blog is pretty scatter-brained right now. Mostly just whatever thoughts I have on my mind. I am currently doing the 100 Days to Offload challenge. I am super behind though. 100daystooffload.com
Every once in a while I learn about a cool new concept that I'm interested in (for example minimalism or suckless software) and after spending some time with it, I might have new insights in it that I'd love to share with people, so I just write about it. You could say I basically just blog about technical/lifestyle topics and my interests. niklasbuehler.com/...
How to ensure this place will not become toxic, as some other social media platforms can be?
Define toxic?
By being nice to each others. None of the original users of Sublevel/Subcafe had any problems on this platform up to its closure 2y ago. Since its rebirth, it seems it is finally getting a bit more of the attention it deserves. And inevitably, it comes w/ some of the new people directly accusing the platform of racism w/o knowing it never has been the case. How would they know? Even if they knew, they absolutely don't care anyway. Only time will tell how Subreply will evolve.
Here's my unprovable theory: people that produce toxic content are not people that enjoy reading or writing. Keep the platform text-only and those people will naturally avoid it.
You can delete replies to you, that should be good enough in most cases.
Don't feed the troll, rule number one. It's difficult to identify it i know
No hashtags!