Chris Banes

@chrisbanes.me

🕸️ https://chrisbanes.me 👨‍💻 Senior Staff Software Engineer

🛍️ Shopping isn’t a category I got Hermes Agent to match marketplace orders with my bank transactions, then categorise each item by what I actually bought. Same spending. A much clearer picture of where the money went. chrisbanes.me/posts/shoppi...

Shopping Is Not a Category

How I used Hermes Agent to match marketplace order emails with Actual Budget transactions, split purchases into individual items, and reveal where the money actually went.

chrisbanes.me

Hunting down Jetpack Compose recomposition issues manually is a huge time sink I’ve spent the past few weeks using @mmckenna.me’s Dejavu to simplify this: - Write Dejavu tests to establish a baseline - Tell the agent to hunt for issues and A/B fixes - Profit

Tried out @github Copilot to write a small feature for Haze, all from my phone. It’s the ultimate in lazy programming, but I’m pretty mind blown. 🧵…

I migrated our entire codebase over to it last week, and we’re now fully on the Metro train. 💺 It has pretty much everything y’all will need, right now.

Zac Sweers@zacsweers.dev · last yr.

Metro wouldn’t be where it is without the road that Anvil paved before it. I’ve really enjoyed working with Joel and Jacob on several Metro features already, with @ralf-wondratschek.com in its early design phase, and really looking forward continuing to work with all of them. Future’s bright 🚇

What is it with Facebook adding pull-up gestures for the most random actions: Instagram DMs: Pull up to toggle disappearing messages. WhatsApp: Pull up to call. The amount of times I’ve triggered these actions: too many. The amount of times that I’ve meant to perform them: absolutely zero.

I've been trying out @jetbrains.com Junie over the past few few days, and have pretty blown away with it. I've managed to do everything from a complex refactoring of Haze (with follow up tasks), to fairly complex string manipulation (pretty printing data class toString).

Seems to be a lot of talk about Haze and Liquid Glass… At its core, Haze is a background content transform library, and the ‘visual effect’ (blurring, etc) is just an implementation detail. Liquid Glass will be a runtime shader like others which Haze already uses.

💠 Haze 1.6.0-beta01 has been released! 🐛: Android 12 is now enabled by default 🤖: Experimental blurring support for all Android versions The video below is recorded on a Pixel 3 running Android 11, but it works back to Android 5. Please give it a try and report back! 🔗: github.com/chrisbanes/h...

Dug out an old Pixel 3 today, to do some testing on earlier Android versions. I forgot how small and light devices used to be. Feels like a feather compared to my iPhone Pro Max 16

Had a little hack getting Haze working on older Android devices. It uses RenderScript, so is never going to be real-time, but the lag isn't too bad. Everything is performed asynchronously, so this isn't jank. I'm undecided whether to keep going with it. Let me know if this would be useful to you.

🚀 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...

Should you use Kotlin Sequences for Performance?

Should you use Kotlin Sequences for performance? I put List, Sequence, and Flow to the test with kotlinx-benchmark, and the results were surprising!

chrisbanes.me

Just tried asking ChatGPT and Gemini to convert a `composed` modifier to use `Modifier.Node`, and both failed miserably. Gemini probably got closest of the two, but it hallucinated all sorts of random callbacks which don't exist.