@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! 😊
@tewalds That would break backwards compatibility in a much more subtle way, and create a situation where its difficult to tell whether or not you are in compliance. You wouldn't be able to just grep for uses of `utcnow`, and we would have no way of warning you that at some point your code will break.
There's also no easy way to "opt-in" to the new behavior like there is with just not using `utcnow` and `utcfromtimestamp`.
It is better to remove these entirely.
It's relatively easy to make a drop-in replacement for these, but also we're deprecating them because they're conceptually the wrong thing to do, so it's best to migrate to using aware datetimes if possible: https://blog.ganssle.io/articles/2019/11/utcnow.html
`datetime.utcnow` and `datetime.utcfromtimestamp` will be deprecated in #python 3.12: https://github.com/python/cpython/issues/103857
If you maintain a package, now is probably a good time to grep your source code for `utcnow` and `utcfromtimestamp` to get out ahead of the deprecation warnings. 📅🕐
Programmer working at Google. Python core developer and general FOSS contributor. I also post some parenting content.