Hab ein bisschen weiter an der Kugelbahn gebastelt und etwas Schnickschnack eingebaut. Es gibt Schalter, die beim Überrollen Barrieren öffnen und einige Bahnelemente sind jetzt festgeschraubt, so dass sie sich nicht mehr verschieben lassen.
Ich überlege mir jetzt noch etwas mehr Schnickschnack 😀
Leider ruckelt es etwas im Android Emulator, aber auf dem Handy selber läuft alles total flüssig.
I can't deal with languages with optional semicolons! I like languages without semicolons, but when they're optional, especially if they feel "C-like", I always end up adding semicolons to some lines even when I try to write in a semicolon-less style. I'm writing some #kotlin now and I decided to just use semicolons consistently because the alternative is seemingly to use them inconsistently.
Strangely, this isn't an issue I have in #golang. I do have it in #rust however.
@mort I have the same issue going from #PHP to #Kotlin. Though not having it in Rust is weird. It's a semicolon language aside from returns, no? Or is it the returns that bug you?
Annotated strings in kotlin with ParagraphStyles or SpanStyles work great for simple forms of MFM (Misskey-Flavored Markdown), but the more complicated they get, the more I'm starting to think I need to look for a better option. Like, what the hell do I do for a blockquote? Or better yet, what the hell do I do for the animated ones? I'm getting really frustrated. If anyone better at Kotlin / Android development has any suggestions for me, please let me know because I am running out of ideas. #AndroidDev#kotlin#JetpackCompose
Async/await in #TypeScript is essentially “direct style”. It will be interesting to see if Effect, a monadic effect system, will take off, as a case study for #Kotlin & #Scala — although for “direct style”, these have the advantage of context parameters.
Curious to know how other #android (or #kotlin) libraries handle Android process death. Or do they?
I have an SDK that requires a suspended initialisation before being allowed to access other functions for that library. This is because a data set needs to be loaded. On process death the usual initialisation seems to be skipped causing users of my SDK issues.
I'm convinced this isn't something the SDK should be aware of but want to cover all bases thoroughly.
I'm very happy that I figured out how to place the icons in columns (responsive) and the names under the thumbnails. I find aligning things in Swing even harder than in CSS.
Demystifying GenAI and ChatGPT
-- harness the practical and pragmatic parts of AI
-- you don't have to run your own models and LLMs
-- call out to OpenAI straight from your Kotlin/Java SpringBoot codebase
-- the real magic is finding a good use-case
-- most of what you hear and see out there today isn't a good use for LLMs in the first place
constants are weird in Kotlin. every language has one or two things that should be simple but are weird. I still love kotlin but still struggle with constants, and how copy/pasting files will drop them in IntelliJ every time because they are top-level and semi-classless
Love how Kotlin builds in helpers to all sorts of random things that Java never got around to doing. The padStart function came in super handy when saving data to a mainframe today and needing to pad zero's in front of the last four of an SSN: