Pinned
P-Y
P-Y
@p-y.wtf
https://p-y.wtf | Android Eng @Square | instagram.com/py.ricau | LeakCanary, Radiography, square/logcat, square/PAPA. He/Him
1.7K followers407 following1K posts
P-Y reposted
P-Y reposted
We've been using Bitdrift at Square, it's refreshing to have an observability solution that's not "send all the logs, saturate the customer network & pay steep indexing costs" bitdrift.io/case-study/s...
P-Y reposted
Another interesting leak fix: github.com/square/leakc... On Android some code paths (e.g. overlays) can trigger a config change / activity recreation where the framework keeps the old activity's DecorView around and reassigns it to the new activity.
Another interesting leak fix: github.com/square/leakc... On Android some code paths (e.g. overlays) can trigger a config change / activity recreation where the framework keeps the old activity's DecorView around and reassigns it to the new activity.
Claude came up with a one shot valid, reasonable & small size fix for an Android keyboard leak that's been nagging all Android devs for ages (APIs 30 to 35). github.com/square/leakc... What helped the most: providing Claude with a tool that exposes heap state, to check hypothesis against sources.
P-Y reposted
Meta's "Muse" launched with a nasty zero day flaw that gave hackers the ability to spy on Mac users, openly gives root access to people pretending to be Muse agents, and invited strangers over to another guy's house without telling him
P-Y reposted
P-Y reposted
The next release of LeakCanary will update its vocabulary. Instead of "Leaking: Yes / No", object status will be reported with "Verdict: Stuck / Expected". This aims to help folks (& agents) grasp that a leak is a faulty reference, rather than any given object
Zombie comes to mind, but has an actor-like feeling. What about "stuck"? An object that is stuck in the heap due to a faulty reference.
P-Y reposted
None of the other Java heap tools have this concept. JProfiler (cc @ingokegel.bsky.social) apparently mentions "faulty references" in its dominator tree guidance (I like "faulty"!) I kinda like "Garbage" for this but might be confusing because Garbage normally gets collected. "Obsolete"?
I think Claude is a little mad at me: > I left "stochastic parrot" alone — you've picked it twice and it's your call; I've said what I think. (can't help but remind me of @mekka.mekka-tech.com 's frequent "I've said what I said")
P-Y reposted
P-Y reposted
P-Y reposted
Replying to @p-y.wtf
IN THEORY AppFunctions is the implementation of MCP for Android. Official docs say that other apps and agents than Gemini should be able to use them. Reality is that it is now blocked for Gemini only. Not sure if there’s any intention to open up that permission to other apps in the short-mid term.
cc @ericmigi.com curious if that's come up for Index 01. I can't imagine you'd a bajillion PRs to support every possible intent based integration. Android IS designed for app to app communications. E.g. MCP over content provider seems fairly straightforward. This could be a small standard protocol.