Posts by py@androiddev.social
(DIR) Post #AYL4R2QLoi5ZG53lqq by py@androiddev.social
2023-08-03T00:14:35Z
0 likes, 1 repeats
Is there like a baking / pastry mastodon, a community sharing tips on baking? If you have good people or hashtags (or whatever other way to plug in), let me know? There's a ton on Instagram but it's not a great place to chat.Today I experimented with creating tartlet shells with high walls by cutting silpain bands into a circle. It's messy but the result is quite nice. Now to figure out what to put inside, there's lots of room! (Height is 4.5cm, almost 2")#baking #pastry #tartlets
(DIR) Post #AYUixYmbYxRuG6XMeW by py@androiddev.social
2023-08-07T13:19:18Z
0 likes, 0 repeats
@futurebird I thought gas stoves were a fire hazard, and not great for our dependency on gas, but it's the first time I read about inhaling particles.. any pointers?
(DIR) Post #AYdKMsReqbZ632M0vY by py@androiddev.social
2023-08-11T21:16:08Z
0 likes, 0 repeats
@friendlymike @wardellbagby big plus one, Unifi is really great, easy to setup but real network tools AND great app / web admin tools. I love how I can see which devine is connected on what AP of the mesh.
(DIR) Post #AYdNLJyfoLS2iokLSq by py@androiddev.social
2023-08-11T21:49:29Z
0 likes, 0 repeats
@friendlymike @wardellbagby I bought a few things!It was recommended to me by @romainguy and @camaelon (who I think have even more unifi hardware), after Google stopped supporting some older Google wifi devices I had which had pissed me off.
(DIR) Post #AYdNnqIJFffn3hWzWy by py@androiddev.social
2023-08-11T21:54:37Z
0 likes, 0 repeats
@friendlymike @wardellbagby @romainguy @camaelon why less than 32?But yeah whole house is wired so the closet hub goes to all rooms and also has blinds, nas, cameras, etc. Garage also has tons of shit like connected doors etc
(DIR) Post #AYdOJmGJmKYrotpMJs by py@androiddev.social
2023-08-11T22:00:24Z
0 likes, 0 repeats
@friendlymike @wardellbagby @romainguy @camaelon yeah, one for each of the closets where a ton of ethernet cables are hanging out asking to be plugged in. See the diagram at the top!
(DIR) Post #AaH8DsUZtELNzngfrc by py@androiddev.social
2023-09-29T05:43:11Z
0 likes, 0 repeats
I've been reading the sources of Android Datastore internals and....A library who's sole purpose is dumping a binary to a file and reading it later has no business being that complex.So many layers of locks & suspending functions, it's really hard to reason about.SharedPreferencesImpl, Tape, SQLite internals are all easier to understand than Datastore...https://github.com/androidx/androidx/tree/androidx-main/datastore
(DIR) Post #AaH8DtaHpUVLNnMkOu by py@androiddev.social
2023-09-29T16:36:07Z
0 likes, 0 repeats
Undocumented behavior AFAIK: when running a migration on initial read, Datastore will write the migrated value to disk only if the data's equals() method returns true.That's a pretty big deal, you better implement equals() right for your data! https://github.com/androidx/androidx/blob/androidx-main/datastore/datastore-core/src/commonMain/kotlin/androidx/datastore/core/DataStoreImpl.kt#L357-L359
(DIR) Post #AaH8DuViNyRSFuEbui by py@androiddev.social
2023-09-29T05:44:46Z
0 likes, 0 repeats
I'm reading the internals in the context of us having read timeouts or deadlocks on the initial read & trying to figure out what could be happening (no, "slow disk" isn't a good enough reason)