The home of Kotlin

hamoid,
@hamoid@genart.social avatar
gunstick,
@gunstick@mastodon.opencloud.lu avatar

@hamoid is this just the classic Amiga demo with 2 sets of concentric circles?
At 40s mark https://youtu.be/5aXsrYI3S6g

hamoid,
@hamoid@genart.social avatar

@gunstick You just revealed where I come from XD

tastapod,
@tastapod@mas.to avatar

In everything is fun, but in everything starts with a pub. It's a tough choice.

marcus,
@marcus@bearologics.social avatar

Hey all you (and ) experts. Is there a a makro I can use to raise a compile-time warning which is then shown in / ?

sdeleuze, French
@sdeleuze@mastodon.online avatar

for goes alpha, that's a huge milestone! Kotlin/Wasm targeting WASI and Component model has the potential to be bigger than Kotlin/JVM for server and edge workloads in a few years. https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webassembly-goes-alpha/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
kerfuffle,
@kerfuffle@mastodon.online avatar

In 45 minutes I made a #kotlin #javalin application from scratch, which uses #webjars to include #htmx from a #maven pom file. It uses static #HTML files for the first load, and then renders HTML from #jte templates for #SSR of the parts of the pages that need that kind of interaction. There's no #springboot (or any #spring at all) and no #SPA like #angular or #react.

Now because simply setting up a project says close to nothing about its real world viability, next step is an actual usecase ( :

jitterted,
@jitterted@sfba.social avatar

@kerfuffle Curious about your choice of #JTE vs. natural templating like #Thymeleaf?

(I've been doing a lot of HTML generation without templates at all, so curious about your thinking.)

#htmx via #webjars is so easy!!

kerfuffle,
@kerfuffle@mastodon.online avatar

@jitterted

I haven't worked with Thymeleaf; I used to do SSR using #JSP and later #Freemarker.

As for natural templating: I expect it to make my fragments more clear when the serverside directives are explicitly not in the HTML, like with JTE, whereas the clientside directives are, as HTMX. Less confusing than when clientside and serverside logic are both inline in the same HTML template.

Will have to wait and see how it turns out.

#JTE #Thymeleaf #htmx

andymoose,
@andymoose@mastodon.social avatar

I'm trying to get AWAY from the JVM ffs.

hamoid, (edited )
@hamoid@genart.social avatar

Here's yesterday's talk "Creative Coding in #OPENRNDR" at the #Kotlin Conf 2024. The first half show work by Edwin (principal developer of the framework) and the RNDR team.

The second part, starting at 6:32:25 (25 min. long), live codes a poster with two graphic layers and one with text.

https://www.youtube.com/watch?v=bhb8y8cJVy0&t=22531

#CreativeCoding #shaders #design

funcode_mag,
@funcode_mag@mastodon.social avatar

We are so very proud to release the fun code() Magazine!
A Magazine for Developers! 🌟

With articles by @chethaase, @jessewilson, @mariobodemann, @mreichelt, @bitpogo, a Do-It-Yourself 3D Kotlin logo & so much more!

Download the PDF:
https://github.com/kotlin-magazine/kotlin-magazine

Enjoy KotlinConf!

mort,
@mort@fosstodon.org avatar

I really like 's (and others') approach to nullability, where nothing is nullable by default and you mark something as nullable by adding '?' to the type. And the '?.' syntax is nice too. 'foo: Foo? = ...; foo?.doThing()' is nicer than 'foo: Optional<Foo> = ...; foo.map(|it| it.doThing())', and both are miles better than "everything is always implicitly nullable unless annotated with '@NotNull'

koje71, German
@koje71@darmstadt.social avatar
dkandalov,

In case you want to try an alternative JSON (de)serialization library for , Kondor https://github.com/uberto/kondor-json by @ramtop is great. No annotation magic, just functions explicitly defining the mapping. No external dependencies. As fast as Jackson.

ethauvin,
@ethauvin@mastodon.social avatar
Alex_Zhukovich,

I published an article about a new API for parsing and formatting date and time using the "kotlinx-datetime" library.

https://alexzh.com/date-and-time-formatting-in-kotlin-with-the-datetime-library/

koje71, German
@koje71@darmstadt.social avatar

Neue Ideen: Das Spiel soll einen Level Editor bekommen, bei dem jeder seine eigenen Levels bauen kann. Per QR Code kann dann das selbst erstellte Level an Freunde und Bekannte weitergegeben werden. Sogar ganz ohne Internet. Da die Level nicht sonderlich kompliziert sind, passen alle Daten in den QR Code selber rein.

Ein unfertiges Spiel in einer Android Entwicklungsumgebung.

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