Formatting on that is weird, I don't know why it gets rid of the linebreaks. Here it is with linebreaks:
`# wrapper type is Callable[[Iterable[T]], Iterable[T]]`
`k: KeyType`
`v: ValueType`
`for k, v in wraper(my_dict.items()): # type: ignore`
``` ...```
Anyone out there have a solution or workaround for this?
https://github.com/python/mypy/issues/14023
Right now I'm doing:
```
# wrapper type is Callable[[Iterable[T]], Iterable[T]]
k: KeyType
v: ValueType
for k, v in wrapper(my_dict.items()): # type: ignore
...
```
Which is fine for a temporary workaround, but it'd be better to have a proper workaround for the time being.
Tomorrow around this time (8am PDT), I'll be going live on https://youtube.com/jayofdoom for my live streamed Open Source Office Hours. Come join me to ask questions about OSS in general (or OpenStack specifically) or to just see what it's like to work on an open source project for a while :).
@jerub A lot of people use their instance's local timeline in this situation, but that requires you to join a moderate-sized themed instance. On something like mastodon.social, you are trying to drink from a firehose, and on single-person instances there isn't really a local timeline.
I like the instance I'm on, but it's not FOSS/programming themed, and it has unfairly gotten on some block lists due to fedi politics a few years back, so YMMV.
@minrk @yuvipanda For stuff like black, it's kind of an implementation detail that it's written in Python, so I think it makes sense to install it via a package manager.
The thornier cases are things like virtualenv.
Hello! A brief #introduction - I’m an Asst Prof at Boston Children’s Hospital and Harvard Medical School. I study organizational principles of #neuralNetworks. We study #neuralCircuits underlying #motorControl, #sensoryIntegration, and #decisionMaking across species. We also develop methods for synapse-resolution #connectomics. Looking forward to learning more!
#qotojournal
I'm a PhD student obsessed with bio-based nanoparticles, so I'm trying my hand at 3D printing seaweed using at-home supplies. The troubleshooting is intense. Creating an at-home lab without funding is VERY HARD. Mashed seaweed was OK to print (with cellulose nanocrystals), but optimization? Yikes. Would love any tips !
This week is my son's school's first "lockdown drill". I was hoping I might have more time to lobby against the idea of doing these things at all before then. 🙁
In the meantime, I'm just going to keep him home to do duck and cover drills instead. 😅
Relevant link: https://www.lesswrong.com/posts/hgpbwzvm4gYsioPsh/against-active-shooter-drills
@tekwizz123
These lists are unreliable and are usually the result of 3+ generations of "just import this guy's list trust me bro", and the reasons given are things like "the usual" or "no tos" or "anime profile picture" or "peers with an instance I don't like"
As an example, my single user instance are on both of these lists. Who knows why it's there. Good luck trying to get off of it.
@aut@sideslip.social @nova Yeah, I think certain folks (notably the mastodon.technology admins) didn't like that qoto doesn't usually do full instance bans, particularly for certain reasons, and banned qoto for that reason, not because it actually affects any of the servers who refuse to federate with them.
It's not like federating with qoto brings in posts from other instances they federate with, especially not ones that are actually banned.
By the way, if you are starting up your own fediverse server, it may be tempting to blindly copy someone else's block list, but some corners of the fediverse have been a bit over eager with full instance bans, in my opinion, which tends to break the whole federation model (imagine if you couldn't email anyone with a certain university's email domain because your email provider disagrees with the university policies).
If an instance is putting a lot of irritating stuff in your server's global timeline, it might be better to just mute them from the global timeline.
@nova Would be nice if qoto.org were not on that list. We're a nice instance.
@hynek To be clear I mean like the kind of podcast a med student would listen to to immerse themselves in the field, or that a doctor would listen to to keep up.
@graingert If you literally want one click, I think you're out of luck, since any sane provider will have you at least select the services you want.
I guess you can install vimium and then you don't have to do any clicking at all. 😉
@graingert I dunno if it covers everything, but Bernard Tyers uses cloudron, and that seems pretty convenient: https://www.cloudron.io/
@kushal I've been running #archlinux for long enough that I'm a bit set in my ways, but #fedora would be my next choice of distro.
I'm thinking I should dip my toe in the water by using fedora as the base image for some of my docker containers...
here's a free tip for all the #TwitterMigration people:
mastodon ONLY has text search for your toots, and the toots of people you follow, nothing beyond that, so you MUST use hashtags for others to be able to find things you post. And don't be afraid to use them - unlike the hellsite, mastodon doesn't limit your reach in any way based on how many hashtags or links you use in your posts :)
oh, and there's an edit button too
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.