Profile avatar
p-y.wtf
https://p-y.wtf | Android Eng @Square | hashnode.com/@py | instagram.com/py.ricau | LeakCanary, Radiography, square/logcat, square/PAPA. He/Him
406 posts 1,432 followers 385 following
Regular Contributor
Active Commenter

If you're running Macrobenchmark tests to compute interaction latencies, you should check whether the distribution of results is a normal distribution. If it's not normal, compare outlier traces with traces that are close to the median and you will find systemic perf issues! Thread 🧵 #AndroidDev

Has anyone benchmarked kotlin's SharedFlowImpl? I'm seeing thread contention on a SharedFlow with several collectors, and a quick peek shows that that emitting & taking values all uses a single central lock per instance (.. and it's `this` which is an antipattern) github.com/Kotlin/kotli...

Exactly why I've been writing, podcasting, and damn near screaming about using the right language. The mainstream media is failing us SO badly right now. Stop. Calling. This. Shit. DEI. This is (re)segregation. This is racial purging. Cleansing Black people from positions of power.

If you support this, you’re an awful human being

This is exactly how Hitler talked. It's not even a comparison or analogy, as people claim. It's a direct connection in ideology as well as a similar approach to governance and relationship to democracy. This needs to be how we talk about it. They are the ideological descendants of Hitler.

I have been so excited since I found out this would be announced today! RIP any ability for me to concentrate: www.apple.com/tv-pr/news/2...

Crockett: "It's just that they're idiots. These are the same guys as it relates to our nuclear stockpile, they're like, 'Oh, wait a minute, we needed those guys? Can we get them back? Oh, we don't know how to.' I don't know how anyone can look at this administration & feel a semblance of confidence"

Last week I had an interesting conversation on how to set goals for http request latency: 1) Measure network latency client side (browser or app) rather than at the edge. 2) Set a P75 goal rather than P95 or P99 e.g. P75 <= 250 ms 3) Set a P99/P75 goal e.g. P99/P75 <= 6 Let's look into why:

Wrote about the morally vacuous, strategically unsound (and also wrong!) anti-“woke”diagnosis everyone’s still sticking with, even in the midst of civil rights apocalypse.

🦊 Friday was my last day working at 18F. It was a team of extraordinary people, but a few things happened that made me realize I had to leave. Everything happens so much these days, so I thought I’d write down for myself what happened, and how I made my decision: ethanmarcotte.com/wrote/leavin...

Day off + friends at home = a good excuse for decadent bake! 4mm pâte sucrée on demi-sphere molds, almond & hazelnut praliné, dark chocolate & honey ganache #baking

I just wrote a piece called "In Praise of 'Normal' Engineers". (partly paywalled) When people talk about world-class engineering orgs, they usually have in mind orgs that are top-heavy with the most experienced and pedigured talent. This gets it exactly backwards. refactoring.fm/p/in-praise-...

Any recommendations for ways to start experimenting with programming for a 6 year old? He's barely starting to learn how to read so ideally a visual thing. If that's too early, what's a more appropriate age?

pajama pants without pockets: WHY

AUSA Hagan Scotten, former clerk for John Roberts, really put some mustard on his resignation letter.

Give Google Maps a 1-star in the app store. I just did. I can't trust a navigation app if it can't even label major bodies of water correctly.

Im sorry but 😂😂😂

New in PN: The AP provides a model of effective press resistance "The dispute over the name of the Gulf of Mexico seems trivial, especially compared to the others horrors Trump is currently perpetrating. But tyrants are tyrants in part bc they insist on asserting control over even trivial matters."

🚀 Should you use Kotlin Sequences for Performance? I have always thought that using asSequence() was the way to optimize chained operations in Kotlin. But after benchmarking, the results shocked me: Sequences are often slower! 😱 #Kotlin #AndroidDev chrisbanes.me/posts/use-se...

I think this is going to be big eventually block.github.io/goose/