koje71, to Kotlin German
@koje71@darmstadt.social avatar

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.

Eine Kugelbahn für Android in der Entwicklung

Crell, to Kotlin
@Crell@phpc.social avatar

Having tasted extension functions in , I really really want them in . I am not sure how that would be even feasible, though. 😞

mort, to Kotlin
@mort@fosstodon.org avatar

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 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 . I do have it in however.

Crell,
@Crell@phpc.social avatar

@mort I have the same issue going from to . 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?

koje71, to Kotlin German
@koje71@darmstadt.social avatar
leanpub, to Software
@leanpub@mastodon.social avatar

Jetpack Compose internals https://leanpub.com/composeinternals by Jorge Castillo is the featured book on the Leanpub homepage! https://leanpub.com

robustjumprope, to androiddev

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.

leanpub, to Kotlin
@leanpub@mastodon.social avatar

Kotlin Coroutines http://leanpub.com/courses/leanpub/kotlin_coroutines by Marcin Moskała is the featured online course on the Leanpub homepage! https://leanpub.com

alexelcu, to typescript
@alexelcu@social.alexn.org avatar

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.

https://effect.website

ovid, to javascript
@ovid@fosstodon.org avatar

I started programming in 1982. Though I'm known as a developer, I tried to remember every other languages I've programmed in.

, #C, 6809 Assembler, , VBScript (and its many variants), , , , , , , Easytrieve, and probably a few others.

I wish I had gotten a job in Prolog, primarily because I loved what I could create with it. I don't love programming; I love creating.

What are you languages?

androidweekly, to androiddev German
@androidweekly@androiddev.social avatar

Latest Android Weekly Issue 620 is out!
https://androidweekly.net/issues/issue-620

Crell, to node
@Crell@phpc.social avatar

We often joke about the billion-dependency problems with . But I haven't seen anyone complain about the equivalent one in /.

He says, looking at the 9000+ line generated dependencies file for this project...

lobocode, to Java
@lobocode@hachyderm.io avatar

I run from , but it always follows me. :blobfoxshy:

kerfuffle,
@kerfuffle@mastodon.online avatar

@lobocode Run towards then!

Crell, to Kotlin
@Crell@phpc.social avatar

Another day, another way in which the / ecosystem is weaker/worse than the ecosystem.

I'm kind of tired of finding these.

furmans, to FunctionalProgramming
@furmans@chaos.social avatar

We are super glad to inform you that LAMBDA WORLD CADIZ is BACK...

🗓️2-4 October 2024
📌Palacio de Congresos de Cadiz
🎟️Early Camarón at €150
🪩lambda.world

#functionalprogramming #Scala #Erlang #Haskell #Clojure #Kotlin #fsharp

Should the best Rock-Funky-Hard SolYNaranjaS band make a noise there...? Should not ?

leanpub, to Software
@leanpub@mastodon.social avatar

Jetpack Compose internals by Jorge Castillo is on sale on Leanpub! Its suggested price is $54.99; get it for $32.79 with this coupon: https://leanpub.com/sh/0434fA7W

mez, to android
@mez@androiddev.social avatar

Curious to know how other (or ) 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.

leanpub, to Software
@leanpub@mastodon.social avatar

Jetpack Compose internals by Jorge Castillo is on sale on Leanpub! Its suggested price is $54.99; get it for $32.79 with this coupon: https://leanpub.com/sh/GO2aQaUH

androidweekly, to androiddev German
@androidweekly@androiddev.social avatar

Latest Android Weekly Issue 619 is out!
https://androidweekly.net/issues/issue-619

hamoid, to Kotlin
@hamoid@genart.social avatar

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.

This is in my https://codeberg.org/hamoid/idea-thumbnails plugin which currently works for and programs, but would be easy to adapt to other languages / frameworks supported by the Idea IDE.

If anyone uses Idea for creative coding, I'm open for contributions :-) I'm a noob at writing Idea plugins.

hamoid,
@hamoid@genart.social avatar

Small improvements in the layout of my Thumbnailer IntelliJ Idea plugin.

jeffsheets, to Kotlin
@jeffsheets@hachyderm.io avatar

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

https://sheetsj.com/blog/calling-openai-gpt-4-from-kotlin-with-spring-ai/

jeffsheets, to random
@jeffsheets@hachyderm.io avatar

Kotlin's mapNotNull is beautiful magic

jeffsheets,
@jeffsheets@hachyderm.io avatar

kotlin async code is so friendly -- this is super contrived here but the point is still valid I think:

return accounts.mapNotNull { account ->  
 async { fetchFromOtherSystem(account) }  
}.awaitAll()  

jeffsheets,
@jeffsheets@hachyderm.io avatar

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

https://stackoverflow.com/questions/44038721/constants-in-kotlin-whats-a-recommended-way-to-create-them

jeffsheets,
@jeffsheets@hachyderm.io avatar

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:

request.ssnLastFour?.padStart(9, '0')  

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • everett
  • magazineikmin
  • hgfsjryuu7
  • vwfavf
  • mdbf
  • ethstaker
  • Youngstown
  • slotface
  • ngwrru68w68
  • rosin
  • PowerRangers
  • kavyap
  • DreamBathrooms
  • normalnudes
  • khanakhh
  • thenastyranch
  • osvaldo12
  • tacticalgear
  • Durango
  • cubers
  • InstantRegret
  • GTA5RPClips
  • tester
  • cisconetworking
  • modclub
  • Leos
  • provamag3
  • All magazines