Hossain Khan

Hossain Khan

@hossain.dev

Passionate Android engineer and curious tinkerer. πŸ‡¨πŸ‡¦πŸπŸ“±πŸžοΈπŸ”πŸ“ΈπŸ–οΈπŸŽ§

101 followers106 following640 posts

Just saw UI refresh/update from Google Play Console. Who thought it was a good idea to auto expand and collapse without a way to pin the expanded view!? πŸ€¦πŸ½β€β™‚οΈ _(unless I am blind and can't see a way to keep it expanded)_ #GooglePlay #UIUX

Yes, I have joined the recent buzz about checking out the craft apps! 🎨 I am no designer, and have no ability to judge the correctness of these apps. however, the attention to details of crafting these apps is truly admirable! Even the launcher idea and UI looks clean! πŸ’…

I miss GitHub's deep integration with Copilot! πŸ€– Using different harness in isolation is not as fun as seeing copilot work directly in PR!

Google Play review cycle time has reduced significantly! Not sure if review time depend on app that is submitted πŸ€” However, I will take the gain! thanks :-)

Something definitely was wrong. βœ… It was fixed when I manually logged in again using my auth provider. It didn't ask me to login again and instead was taking me to 2FA screen which was broken.

Create app button in Google Play console is the least visible item! I understand app is not created monthly, or yearly - however it should not be as buried as it is now πŸ‘€

Dogfooding my own library is allowing me to find new use-cases and gaps resulting in expanding it's capabilities! This is a short write up on how the streaming support was added and refined later. hossain.dev/posts/syntax... #AndroidDev #SyntaxHighlighting

hossain.devExtending Syntax Highlighting Library to Support Streaming Responses from LLMsExtending the Compose Highlight library to support real-time streaming LLM responses with snapshot span preservation and newline-based highlight triggers.

I have been toying with on-device LLM model based chat interface. Needed to add support for streaming source code highlighting. So, recently added `StreamingSyntaxHighlightedCode` composable to support this use case in latest release. github.com/hossain-khan... #AndroidDev #SyntaxHighlight

github.comReleases Β· hossain-khan/android-compose-highlightSimple lightweight library that leverages JS bridge to bring fast syntax highlighting to Android Jetpack Compose - hossain-khan/android-compose-highlight

I know there are mixed feelings about ADD (agent-driven development), however I seem to enjoy hands free development πŸ‘¨πŸ½β€πŸ’» There are a few downsides though - lack of ownership, accomplishment and fulfillment is one of them.

This library intro and demo are pure delight! 🍬 The library demo site is the kind of work I aspire to build! 🀩 chromadial.sinasamaki.com

chromadial.sinasamaki.comChromaDialA customizable circular dial/knob component for Compose Multiplatform.
sinasamaki@sinasamaki.com

Later this week, a new and very special video is coming out on ChromaDial ✨ If you are not caught up, here is my earlier video introducing the library, so that you will be ready for what's coming next ⏱️ www.youtube.com/watch?v=_DGy...

I thought macbook air (m5) is rated for all day battery! πŸ€” 50%+ drop in one hour, I guess Android development was not part of the use-case! πŸ™ˆ

MTP proved me wrong over and over again with unreliable connection to transfer Android files from the device. Found this open-source app that uses ADB for file transfer and found it very fast and reliable so far! πŸ‘ŒπŸ½ github.com/Santosh7017/...

Oh! this is going to be useful for me! πŸ“–

Kotlin by JetBrains@kotlinlang.org

πŸ“Œ New to Kotlin Multiplatform? The Basics of Kotlin Multiplatform pathway from Android Developers walks you through adding KMP to a project and using platform-specific APIs, and shows how shared code fits into Android and iOS apps. Start here πŸ‘‡ https://kotl.in/6nyqaz

I finally got my #TRMNL-X and it just worked out of the box πŸ™ŒπŸ½ As weird as it may sound, the highlight of the show is the weighted magnetic 🧲 USB-C cable. I don't recall seeing this quality cable bundled with any products. Never giving up on this cable πŸ˜† Kudos to @trmnl.com team for delivering it!

I am having hard time believing there is no way to cleanup this temporary system files without doing factory reset! Constantly trying to delete my pictures gets old pretty soon! Does anyone know cure to this? 😞 #Android #StorageBloat

O oh! I already uninstalled copilot from every place! Subscriber graph must look like reverse hockey stick πŸ“‰ Free you say? 🧐

Looks like I spoke too soon about the Android developer verification process πŸ₯Έ When I tried to register my app, the eligible key is not what I use to sign release build anymore! So, the one I use now is not eligible!? πŸ€¦πŸ½β€β™‚οΈ #GooglePlay #AndroidDeveloperVerification

I recently learned about Zensical from Zac's Metro project which migrated from MkDocs to zensical.org based site. I also tried to use it for my recent experimental project. Not having full Kotlin syntax highlighting was bothering me, so I applied client side shim to re-highlight using Shiki.

hossain.devBetter Kotlin syntax highlighting on Zensical with Shiki | Hossain's Dev BytesI replaced default Kotlin highlighting on my Zensical site with Shiki for cleaner tokens, better modern syntax support, and smooth light/dark theming.

The missing highlighting for Kotlin is also very subtle. The flipping of highlighted code is negligible unless you are really looking for it. If you know you just know, and if that bothers you, this is not for you! πŸ™ƒ At least it makes me happy! πŸ˜„ #Zensical #Shiki #SyntaxHighlighting

The recent syntax highlighting experiment on compose worked really well. So, I thought why not use the engine to also add support for simpler editor use-case? πŸ€” It did work nicely, once engine is initialized, roundtrip to highlight is under 5-15ms #AndroidDev #SyntaxHighlighting

Noticed this new banner in the Google Play console today about Android developer verification. I guess this is happening despite real friction in the community.

I gave it for a spin for first time to see what this is about! Added the sample app for the new highlight library and it was OK! #GooglePlay #DeveloperVerfication

Watching the #KotlinConf keynote during the weekend. This slide made me proud even though I know the app list is in random order! πŸ˜†

Wait! what's going on? 45GB of temporary Android OS files? What are those? On device LLM models? Usually gemini nano is under 10GB. #Google can we cleanup these OS files that are not needed anymore please? it's eating up my ~40% space of Pixel. #GooglePixel #Bloat

Copilot is definitely out the door with the new changes coming in few weeks. Need to figure out new token provider! πŸ˜‚ bsky.app/profile/hoss... #GitHub #Copilot #πŸ‘‹πŸ½

Hossain Khan@hossain.dev

Well well well, it looks like GitHub just dropped the ball on subsidized LLM token usage via Copilot. Now, you have to abide by pay-per-use model, easily costing 2X-10X or even more based on your usage! πŸ’Έ Good luck from June 1st! πŸ™ƒ #GitHub #Copilot