#kotlin

feb@loma.ml

Release 0.1.0-beta10 · LiveFastEatTrashRaccoon/RaccoonForFriendica

Die App hat ein umfangreiches Update erhalten. Es lohnt sich
github.com/LiveFastEatTrashRac…

#friendica #RaccoonForFriendica


Dieguito 🦝🧑🏻‍💻🍕 - 2024-10-18 07:09:40 GMT

@RaccoonForFriendica new version 0.1.0-beta10 available!Changelog:
* fix: avoid crash in HTML rendering;
* fix: text color for direct message conversation title;
* fix: avoid dismissing bottom sheets on long press;
* fix: avoid videos from being stretched out of viewport;
* fix: avoid attachment loss when editing an existing post;
* feat: add support for Markdown and conditional markup;
* enhancement: add warning if alt text is missing in attachments;
* enhancement: improve profile opening in links;
* fix: create post with images and delete images from posts on Mastodon;
* fix: avoid bug which prevented draft creation;
* chore: add more unit tests;
* feat: add possibility to copy post content to clipboard.

#friendica #friendicadev #androidapp #androiddev #mobileapp #fediverseapp #kotlin #kmp #compose #multiplatform #opensource

hankg@friendica.myportal.social

This is a great video about avoiding fallacies in benchmarking, specifically around Kotlin. One thing they used during tests is a "blackhole" object to make sure that compilers don't optimize away code from loops. The implementation goes back to a GPL2 licensed one in the JVM. I wonder if it would make sense to port that to Dart. Dart already has benchmarking harnesses but having a black hole evaluator could be interesting. #DartLang #kotlin #programming
- YouTube

hankg@friendica.myportal.social

Right at the end of my Kotlin days, before Dart and Flutter became my go to platform, I wrote a bespoke server analysis tool to play around with Kotlin Multiplatform and JetBrains Expose. “I’ll make it more efficient later if it needs it.” “Later” is now “present day”. Part of me says port it to Dart as an exercise. I probably need to fix it first if possible though. Having spent some time looking at the code I am not having nostalgia for my Kotlin days. I’m wincing at what may be death by a thousand cuts to stand up a build/dev environment again with such a long gap in Kotlin and library versions that may have broken a bunch of things. Decisions…decisions… #programming #kotlin #DartLang

tord_dellsen@diasp.eu

I've been learning modern #android development for the last month. Last time i did android development was about 10 years ago, and a lot has changed since then:
* #Kotlin is now used as the programming language instead of Java
* Co-routines (a way in Kotlin to run work in threads) are used for performing GUI updates
* Jetpack #Compose is used instead of XML for creating the layouts
* Compose uses state variables to update the GUI in a declarative way
* Room has been added as a way to access SQLite databases

hankg@social.isurf.ca

I'm working on some #kotlin code for the first time in awhile and I have to say that it seems IntelliSense in IntelliJ for Multiplatform seems far less intelligent now. Had decided to tweak before using this as a porting to Dart #dartlang test case but think will jump on porting.

hankg@social.isurf.ca

Although I'm pretty much a convert to #flutter for UI development I'm excited to see Compose Multiplatform hit 1.0. That means one can use #kotlin w/one stack for mobile, desktop, and web (just like w/Flutter) and avoid the JavaFX Rube Goldberg problem. blog.jetbrains.com/kotlin/2021/12…

hankg@social.isurf.ca

https://twitter.com/nicolas_frankel/status/1383807533895151619

#Kotlin #delegation #designpatterns #delegate