kerfuffle, to Kotlin
@kerfuffle@mastodon.online avatar
androidweekly, to androiddev German
@androidweekly@androiddev.social avatar

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

stackdpodcast, to javascript
@stackdpodcast@mastodon.social avatar

is out! @kito99 and @dhinojosa welcome @edwinderks, a @JavaChampions member, and contributor, and Principal Consultant at Team Rockstars IT. They discuss , the Jakarta EE Starter, , , , , , , 22, Google and energy hungry . https://www.pubhouse.net/2024/05/stackd-72-travel-llms-coffee-avocados-and-almonds.html

hamoid, to genart
@hamoid@genart.social avatar

If I got it right, this is visiting every cell on a Voronoi diagram starting at the center :-)

image/png

Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

kerfuffle, to Java
@kerfuffle@mastodon.online avatar

Who here knows a CDN that offers edge computing capability for the JVM / GraalVM?

AWS Lambda@Edge only supports JavaScript and Python.
Cloudflare only supports JavaScript.
Fastly supports WebAssembly.

#cdn #java #jvm #graalvm #edgecomputing

kerfuffle,
@kerfuffle@mastodon.online avatar

Actually, it may be soon that with WASI support as offered by Fastly can be targeted from / . Nice article on the development by @sdeleuze at https://seb.deleuze.fr/introducing-kotlin-wasm/

Would be sweet if I can have a static / website that uses for interaction with a backend written in Kotlin and compiled to running on an edge location using .

mort, to Kotlin
@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'

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Don't panic folks, but I do now. Give it a try, is pretty nice. Also, there's . 😄

🙏 boosts appreciated

https://blog.jetbrains.com/idea/2024/05/easy-hacks-how-to-use-java-streams-for-working-with-data/

sdeleuze, to webassembly French
@sdeleuze@mastodon.online avatar

The Kotlin/Wasm team has created an early prototype of a component written in linked with another component written in and running in Node.js. Looking forward being able to run that in Wasmtime when it gets WasmGC support. https://github.com/skuzmich/kotlin-wasm-cm-experiments

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

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

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 is essentially “direct style”. It will be interesting to see if Effect, a monadic effect system, will take off, as a case study for & — 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 #Perl developer, I tried to remember every other languages I've programmed in.

#BASIC, #C, 6809 Assembler, #Javascript, VBScript (and its many variants), #Java, #Prolog, #RakuLang, #Python, #Kotlin, #COBOL, 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?

#programming #software #OpenSource

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 #kotlin 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.

jeffsheets, to random
@jeffsheets@hachyderm.io avatar

Kotlin's mapNotNull is beautiful magic

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
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines