This is the one place where ChatGPT has seemed useful to me, by the way. When I try and use it for anything Python-related, it's worse than useless because I know Python stuff *way* better than ChatGPT, and it's faster for me to just do it myself anyway.
When I'm trying to get a handle on super basic questions, ChatGPT seems to be kind of OK at explaining things in such a way as to unblock me.
Not that I think that there's something we or they could be doing a ton better. I'm sure there are reasons for why it's all confusing and disorienting.
Spending time trying to contribute to open source Android applications really brings me a lot of empathy for new Python users.
I barely understand what I'm doing. The packaging ecosystem seems complicated and I don't understand it. When I try and upgrade versions a bunch of stuff breaks. The documentation refers to a bunch of stuff I don't understand, and seems relevant only to newer code bases.
@paulox @fdroidorg @AntennaPod So it seems like the issue is that you need to have some sort of service that defines a `MediaBrowserCompatService` or something. Not sure I've got it all the way, and my task seems complicated by the fact that Android 9+ doesn't allow you to start a background service that has access to the microphone, and it seems that whatever I have done is trying to do that‽
The votes have been counted, announcing the 2022 #Wikimedia #Commons Picture of the Year
Great cormorant (Phalacrocorax carbo), Little egret (Egretta garzetta) and Gadwell duck (Mareca strepera) in Taudaha Lake, near Katmandu, Nepal.
Attribution: Prasan Shrestha / CC-BY-SA 4.0
3,600+ voters selected this picture first out of 1,102 featured pictures and 55 other finalists!
See the rest of the results: https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Picture_of_the_Year/2022/Results
Long shot, but anyone with Android / Android Auto experience know what's going on here?
Long shot, but anyone with Android / Android Auto experience know what's going on here?
@adamchainz Overall I really like it, though it's the only cargo bike I've ever ridden. I'd like it if I could go faster (motor cuts out at 20mph, I can get up to 27 going down a hill).
My wife has an Aventon abound, I've ridden that a few times. It's not as good and the acceleration curve is a bit jerkier for my tastes, but she likes hers more than the Urban Arrow. She doesn't have nearly the same storage capacity as I have, but she can take both our kids if she needs to.
Plus it's *dramatically* cheaper.
@adamchainz I bought it back in December and I've put 800 miles on it already. I just got the snow tires off and apparently the steering column had too many bearings in it, so now my steering is much more smooth 😅
I'm over the moon that the #Python helper function I write more than _any_ other, `chunks`, is coming to the stdlib in 3.12 as `itertools.batched(iterable, n)`! It takes a long iterable and yields chucks (or batches) of length `n`.
I think I've pasted the same Stackoverflow snippet into... 10 projects at this point? So this is huge for me.
https://docs.python.org/3.12/library/itertools.html#itertools.batched
@alex That said, I am not amazingly hopeful about this technology because whenever I ask a question or make a statement to *humans* that has like 3-4 requirements, I get a bunch of suggestions for stuff that is vaguely similar and meets 2 of the requirements.
@alex Yeah, that's not bad, but the order matters, and nothing I see has light blue on top and dark blue on the bottom.
Plus, this is a rare case where I have a picture of the thing I want. Sometimes I want something like, "A t-shirt with a gradient going from dark red on the bottom to golden yellow on the top, with black trim", and I can't find any examples of it.
Carter's has this shirt for kids, but I can't find an adult version anywhere. Trying to tell Amazon or a search engine that it's important that the shirt have all three colors (much less in a specific order) seems impossible.
@mjgardner @icing actually, being liberal in accepting things is not a good idea either. If it violates the protocol, eject, close, kill, abort. At once. That leads to better code and protocols in the longer run.
Today's my last day at Google 🥲
I'm taking some time off to focus on my family, personal health, and to work on my bots.
If anyone knows of a role that'll fit me, I'll appreciate the intro! 😊
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.