Show newer

@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 :poty:

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: commons.wikimedia.org/wiki/Spe

#POTY #FreeCulture #CreativeCommons

Long shot, but anyone with Android / Android Auto experience know what's going on here?

stackoverflow.com/q/76297425/4

@hynek @glyph @offby1 Just checked when I saw this and there were some very explicit drawings in the 5th post I saw. It's probably 5% of my federated feed, and that's including all the filters and instance muting I've done.

Long shot, but anyone with Android / Android Auto experience know what's going on here?

stackoverflow.com/q/76297425/4

@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.

docs.python.org/3.12/library/i

@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.

Show thread

One day I hope ML technology advances to the point that I can describe a shirt and find out if someone is selling something like it.

@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.

Do I know anyone who's worked on budgeting infrastructure projects (physical infrastructure like roads and buildings, not software) who would be open to chatting with me for a short time and answering some questions about terminology used in that context?

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! 😊

#funemployed

@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: blog.ganssle.io/articles/2019/

Show thread

`datetime.utcnow` and `datetime.utcfromtimestamp` will be deprecated in 3.12: github.com/python/cpython/issu

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. 📅🕐

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.