mez

@mez@androiddev.social

Lead Android Engineer @ JustEat - Experimentation Platform

Moving forward, not backward; upward, not forward; and always twirling, twirling, twirling!

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mez, to android

Curious to know how other (or ) libraries handle Android process death. Or do they?

I have an SDK that requires a suspended initialisation before being allowed to access other functions for that library. This is because a data set needs to be loaded. On process death the usual initialisation seems to be skipped causing users of my SDK issues.

I'm convinced this isn't something the SDK should be aware of but want to cover all bases thoroughly.

mez,

@gryzor The initialisation is a suspend function (loads resources into memory) but the rest of the SDK operations are regular blocking. Users can query the initialisation state and so can the SDK internally, but the SDK initialising itself would require suspend functions on all operations. The SDK will "work" but it will return some default value if not initialised.

I don't necessarily mind if that's the correct answer but I wanted to hear different opinions on this.

Thank you 🙏

Edent, to random
@Edent@mastodon.social avatar

The problem is, people who I probably agree with politically, are hugely susceptible to believing any old nonsense as long as it is delivered as a screenshot which stokes rage against "the baddies".

When I point out that it can be debunked in 5 seconds, that apparently makes me complicit in [insert thing they're angry about].

mez,

@Edent people post online to make themselves feel good and be part of a thing. If you ask them to think for a second about what they're posting (and maybe not post it) that makes them sad.

Why are you making people on the internet sad, Terence? 😢

Edent, to random
@Edent@mastodon.social avatar

British Gas have 12 million domestic customers.
They made £751 million profit this year.

That's an outrageous profit of... £5.21 per household per month.

Oh, they also have a large number of non-domestic customers. So the actual amount of profit paid by domestic customers is significantly lower.

Should energy companies be renationalised? Yes.
Will it save every household hundreds of pounds? No.

For more info - see my post from last year https://shkspr.mobi/blog/2023/07/big-numbers-are-difficult-to-contextualise/

mez,

@Edent But, how much tax are they paying? Rabble rabble rabble...

grumpygamer, to random
@grumpygamer@mastodon.gamedev.place avatar

Slacks redesign is a complete disaster. I'm not sure who they think this is for, but it's not me or anyone I know. What real world problem were they trying to solve? So many basic UI screw ups I wonder if they tested this at all.

mez,

@grumpygamer

I don't think anything at Slack is tested before they release it 😬. You just have to change the way you work and accept the bugs.

mez, to random

After several years in Google Chrome I'm switching back to Firefox. If for no other reason that the web is unusable on mobile without an ad blocker. Simply rubbish. Between cookie notices and in your face popover ads I've actively tried to not look at webpages. No more! Hello again, dear friend.

mez,

@sldrant is that different to Tampermonkey? I'm using that too!

mez,

@sldrant oh wait no it's not. It's more like uBlock Origin which I am also using 😊.

mez, to random

Chrome --> Firefox converters..... what did you do for a password manager?

Or do I need to set aside a weekend to manually migrate all my passwords?

mez,

@sldrant Thanks. I think I'm going to have to take the hit and do a manual migration. Bitwarden certainly is coming out on top so far.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • tacticalgear
  • JUstTest
  • ngwrru68w68
  • everett
  • normalnudes
  • cubers
  • tester
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • megavids
  • anitta
  • Leos
  • lostlight
  • All magazines