Pinned it to my profile to make these threads easier to find without having to scroll through all my random hot takes like how S'mores are disgusting garbage
#AndroidDev
Paper pentagon? Tie a simple overhand knot with a long strip of paper, keeping it flat, cut off the ends.
Wow. Life changing trick 😊
Paper pentagon? Tie a simple overhand knot with a long strip of paper, keeping it flat, cut off the ends.
Wow. Life changing trick 😊
Square just moved Anvil to maintenance mode to adopt Metro - a DI framework built by ONE PERSON that's 47-56% faster than Dagger+Anvil.
This is what "individual developers changing ecosystems" looks like 🧵
#AndroidDev
Square just moved Anvil to maintenance mode to adopt Metro - a DI framework built by ONE PERSON that's 47-56% faster than Dagger+Anvil.
This is what "individual developers changing ecosystems" looks like 🧵
#AndroidDev
Square just moved Anvil to maintenance mode to adopt Metro - a DI framework built by ONE PERSON that's 47-56% faster than Dagger+Anvil.
This is what "individual developers changing ecosystems" looks like 🧵
#AndroidDev
The bottleneck has ALWAYS been bad strategy at the top. But instead, Amazon is trying to solve it by hollowing out the middle.
The bottleneck has ALWAYS been bad strategy at the top. But instead, Amazon is trying to solve it by hollowing out the middle.
I just made that up, but I see this pattern all the time when investigating issues:
"This bug appeared yesterday. I bought bananas yesterday. Let's throw away the bananas, maybe the bug will go away"
Correlation != Causation yadda yadda yadda
youtu.be/kOH1Kdj9c1c?...
I just made that up, but I see this pattern all the time when investigating issues:
"This bug appeared yesterday. I bought bananas yesterday. Let's throw away the bananas, maybe the bug will go away"
Correlation != Causation yadda yadda yadda
youtu.be/kOH1Kdj9c1c?...
e.g. take a sample of data every day, graph a distribution every day, then represent that over time.
Seems like a 3D map might work well
e.g. take a sample of data every day, graph a distribution every day, then represent that over time.
Seems like a 3D map might work well
Trying to write a blog post about that, in the meantime I'll share some raw thoughts here as a thread.
I've been focusing on benchmarks that capture frame duration metrics, e.g. developer.android.com/codelabs/jet...
#AndroidDev
Trying to write a blog post about that, in the meantime I'll share some raw thoughts here as a thread.
I've been focusing on benchmarks that capture frame duration metrics, e.g. developer.android.com/codelabs/jet...
#AndroidDev
10/10 response, no notes
10/10 response, no notes
#RemoteCompose: an #AndroidX framework to project rich, animated #UI from apps or servers onto remote surfaces.
#dcldn25
#RemoteCompose: an #AndroidX framework to project rich, animated #UI from apps or servers onto remote surfaces.
#dcldn25
androidx.dev/benchmarks/p...
Simply drag and drop the benchmark JSON to the page, and you can start plotting and comparing !
The souce code for the app is here: cs.android.com/androidx/pla...
androidx.dev/benchmarks/p...
Simply drag and drop the benchmark JSON to the page, and you can start plotting and comparing !
The souce code for the app is here: cs.android.com/androidx/pla...
Showing how frame metrocs & percentiles are computed in Macrobenchmark, then I went on to explain how to draw a distribution, compute confidence intervals, and do bootstrapping. That was a little ambitious, but tons of fun
#AndroidFun
Showing how frame metrocs & percentiles are computed in Macrobenchmark, then I went on to explain how to draw a distribution, compute confidence intervals, and do bootstrapping. That was a little ambitious, but tons of fun
#AndroidFun
Graph traversal might be intimidating, but you really just need:
1) a way to track what you've already seen (e.g. set, boolean flag on node..)
2) a way to track what you still have to see (e.g. list..)
3) a way to decide what you should see next (e.g. head or tail of list, priority..)
Master them, and you’ll unlock superpowers in problem-solving. 🚀
Graph traversal might be intimidating, but you really just need:
1) a way to track what you've already seen (e.g. set, boolean flag on node..)
2) a way to track what you still have to see (e.g. list..)
3) a way to decide what you should see next (e.g. head or tail of list, priority..)
It's a bit long... I had to show how to encode code knowledge to automate leak investigations, and dig even deeper with YourKit Java Profiler.
engineering.block.xyz/blog/the-lea...
#AndroidDev
It's a bit long... I had to show how to encode code knowledge to automate leak investigations, and dig even deeper with YourKit Java Profiler.
engineering.block.xyz/blog/the-lea...
#AndroidDev
all code is bad. the less code the better. why are you writing new code stahp *sprays devs with squirt bottle*
all code is bad. the less code the better. why are you writing new code stahp *sprays devs with squirt bottle*
Commit:
cs.android.com/android/_/an...
Happy to see a request for a new API land!
(I officially asked in 2023 & unofficially for many years before issuetracker.google.com/issues/29031...)
Commit:
cs.android.com/android/_/an...
Happy to see a request for a new API land!
(I officially asked in 2023 & unofficially for many years before issuetracker.google.com/issues/29031...)
Elements of Minority Report & Hunger games, but in a French set up which felt reasonably realistic, not overdoing things like typical Hollywood movies, more substance. Great acting
Highly recommend!
Elements of Minority Report & Hunger games, but in a French set up which felt reasonably realistic, not overdoing things like typical Hollywood movies, more substance. Great acting
Highly recommend!
It would suck! A lot!
Scaling up trash only makes more trash. Work that doesn't pave a road to a better system is waste.
It would suck! A lot!
Scaling up trash only makes more trash. Work that doesn't pave a road to a better system is waste.
I'll be talking about Benchmarking with confidence.. wish me luck, live demos incoming
www.meetup.com/new-york-and...
#AndroidDev
I'll be talking about Benchmarking with confidence.. wish me luck, live demos incoming
www.meetup.com/new-york-and...
#AndroidDev
Using it, I can split a Composable into multiple slices and animate them separately, like in my glitch effect.
www.sinasamaki.com/glitch-effec...
Using it, I can split a Composable into multiple slices and animate them separately, like in my glitch effect.
www.sinasamaki.com/glitch-effec...
engineering.block.xyz/blog/shrinki...
#gradle
engineering.block.xyz/blog/shrinki...
#gradle