https://kotlinlang.org logo
Join SlackCommunities
Powered by
# san-diego
  • u

    unnsse

    04/07/2022, 1:17 AM
    Is the SDKotlin event cancelled?
  • u

    unnsse

    04/07/2022, 1:18 AM
    There's an HTTP 500 error when I click on today's event on meetup app on iPhone.
    i
    • 2
    • 5
  • i

    ianbrandt

    04/07/2022, 1:33 AM
    Here's the link for today's meeting in case anyone else is having trouble logging into Meetup: https://us06web.zoom.us/j/93975468664?pwd=WHNNSWFOT3VHbHQ4UzdZNXlDOXJmdz09
  • u

    unnsse

    04/07/2022, 2:26 AM
    https://twitter.com/mattswider
    👍 1
  • u

    unnsse

    04/07/2022, 2:31 AM
    This is the Sony Bravia 4K OLED HDTV that I bought: https://www.bestbuy.com/site/sony-65-class-bravia-xr-a80j-series-oled-4k-uhd-smart-google-tv/6455218.p?skuId=6455218
  • u

    unnsse

    04/07/2022, 2:31 AM
    There's better ones out now - talk to you soon.
  • i

    ianbrandt

    05/04/2022, 11:46 PM
    📣 Join us tonight as @Lou Morda presents on Jetpack Compose! https://www.meetup.com/sd-kotlin/events/285120646/
  • i

    ianbrandt

    11/03/2022, 1:01 AM
    📣 Join us tonight as @andyg presents on Kotlin Dataframe! https://www.meetup.com/sd-kotlin/events/288939553/
    K 1
  • b

    Brendan Campbell-hartzell

    02/02/2023, 8:33 PM
    Had a lot of fun last night! Was really interesting to finally get an explanation of how Spring works after hearing it mentioned (and seeing code with its annotations) for years. Very glad I joined and am looking forward to next month!
    👍 1
  • u

    unnsse

    03/02/2023, 2:22 AM
    Hey there, SDKotlin! Its asking me for a Zoom password...
    i
    • 2
    • 2
  • i

    ianbrandt

    03/28/2023, 10:48 PM
    Any other San Diego Kotliners going to March Mingle this year? https://marchmingle.com/
  • u

    unnsse

    04/06/2023, 1:17 AM
    There's a SDKotlin meeting today, right?
    i
    • 2
    • 2
  • d

    David Whittaker

    04/14/2023, 12:19 AM
    Ugh I forgot again
  • j

    Jack Leow

    08/01/2023, 5:23 PM
    Just wanted to confirm that I’ll be presenting EasyRacer tomorrow? I believe @James Ward will be joining us as well (EasyRacer is his project that I’ve contributed a few solutions to).
  • i

    ianbrandt

    09/07/2023, 1:04 AM
    We don't have a speaker today, but join us for lots of Kotlin-related news, networking, and discussion! https://www.meetup.com/sd-kotlin/events/295378174/
  • i

    ianbrandt

    10/05/2023, 1:27 AM
    📣 SD Kotlin time! https://www.meetup.com/sd-kotlin/events/296063381/
  • s

    sdkotlin

    10/20/2023, 2:24 AM
    removed an integration from this channel: sdkotlin
  • i

    ianbrandt

    11/01/2023, 5:38 PM
    📣 Don't miss tonight's meeting with @Jack Leow presenting! https://www.meetup.com/sd-kotlin/events/296713904/
    🎉 1
  • j

    Jack Leow

    11/02/2023, 3:33 AM
    functional-reactive-programming-with-kotlin-flow.txt
    functional-reactive-programming-with-kotlin-flow.txt
  • j

    Jack Leow

    11/02/2023, 3:34 AM
    https://talks.jackleow.com/functional-reactive-streaming/sdkotlin/
    😎 1
  • r

    Rene

    02/10/2024, 3:00 AM
    Hi everyone I’m using reifier modifier but I’m still don’t understand how to use it, the following code basically execute the same, then my question is, what’s the purpose of reifier in Kotlin if both do the same?
    Copy code
    fun <T> otherExecute(input: T){
        if (input is String){
            println((input as String).length)
        }
    }
    with reified and inline
    Copy code
    inline fun <reified T> otherExecute(input: T){
        if (T::class == String::class){
            println((input as String).length)
        }
    }
  • b

    baxter

    02/11/2024, 6:22 PM
    You're right, the above does the same thing. However, they are two different approaches. The first approach is an function that takes any type
    T
    and if it's a string, you cast that type as such and print the length. The second approach is actually not a function (although it is written as one). The
    inline
    keyword basically tells the Kotlin compiler to replace any caller of the
    otherExecute()
    function with the body you provided. So if you have the following snippet:
    Copy code
    fun main() {
      otherExecute("blah")
    }
    When compiled to bytecode, it'll essentially be this in Java:
    Copy code
    class MainKt {
      public static void main(String[] args) {
        if (String.class.equals(String.class)) {
          System.out.println(((String) "blah").getLength())
        }
      }
    }
    Now, the
    reified
    keyword basically tells the compiler that
    T
    shouldn't be treated as a generic, but as the actual class object. That allows you to do reflection or other operations on
    T
    that you couldn't normally do with generics. This article is a good read on helping understand
    reified
    and `inline`: https://www.baeldung.com/kotlin/reified-functions
    K 1
    👍 2
    thank you color 1
  • r

    Rene

    03/04/2024, 6:57 PM
    I’m learning the Factory pattern in Kotlin, What’s your suggestion for creating a user with a Enum membership. a) using the method that describes the user created: User.createVipUser(“Tim”) which is clear based on the name or b) using a generic createUser(“Joe”, Membership.VIP) specifying the Membership Type and implementing the logic only using a create function , both approaches will be in the Factory companion object.
  • r

    Rene

    03/05/2024, 4:44 PM
    based on separate concerns, on each Membership (handled as an Interface Product which has all methods related) I implemented the Factory pattern to the VIP Membership class (Product A) that must applied to all Membership types (using an abstract MembershipFactory class). Then I needed to instantiate a Factory for each membership type (VipMembershipFactory) and I called to the create method to get the Membership, Does it seems cleaner and readable this approach?
    interface Membership{ fun benefits() }
    abstract class FactoryMembership() { abstract fun create() : Membership }
    class VipMembership() : Membership { override fun benefits(){ println("your benefits") }}
    class VipMembershipFactory : FactoryMembership() { override fun create() = VipMembership() }
    client code
    val vipFactory : MembershipFactory = VipMembershipFactory()
    val vipMembership : Membership = vipFactory.create()
  • i

    ianbrandt

    03/27/2024, 2:44 AM
    Anyone going to Bali Hai tomorrow for March Mingle? Tickets are almost sold out! https://marchmingle.eventbrite.com/
  • u

    unnsse

    04/04/2024, 3:36 AM
    Here's GitHub repo for SDKotlin website: https://github.com/sdkotlin/sdkotlin.github.io
    🙌 1
    • 1
    • 1
  • i

    ianbrandt

    11/20/2024, 4:01 AM
    We’re up on Bluesky! 🦋 Give us a follow if you’re there. https://bsky.app/profile/sdkotlin.org
    🙌 1
  • u

    unnsse

    03/26/2025, 4:57 AM
    Here's an interesting talk regarding Java to Kotlin at Scale (regarding their Android-based mono repo) from the folks at Meta: https://open.spotify.com/episode/5uzpWr4xXMgQHDEYc7pRCq?si=d38037401c094b1f
  • u

    unnsse

    03/26/2025, 5:07 AM
    Here's a good blog post for translating Java code to Kotlin using a tool from Jetbrains called _J2K_: https://engineering.fb.com/2024/12/18/android/translating-java-to-kotlin-at-scale/
    👍 1
  • u

    unnsse

    04/09/2025, 7:22 PM
    Kotlin 2.1.20 - Atomics, UUIDs, and more! - TypeAlias Show #6 by David Leeds:
    • 1
    • 1