Brian Norman

Brian Norman

@bnorm.dev

I do the clickety-clackety that make the computer go brrr! @KotlinLang.org compiler developer at @JetBrains.com; all opinions are my own.

131 followers56 following31 posts

View full thread

But why a runtime library? It fixed: array content in diagrams, multiline string handling, and excessive vertical space. It unblocks: diffs, local variables in diagrams, and non-assert use cases. And assertion libraries can support power-assert out-of-the-box, without custom Gradle config!

I had the wonderful opportunity to speak at two conferences recently: KotlinConf and DroidCon NYC! As a speaker, it's always fun to share something I'm passionate about with people. And as an attendee, chatting with all the fantastic developers in these communities is just the best!

And it includes beta support for context parameters!

Kotlin by JetBrains@kotlinlang.org

📢 Kotlin 2.2.0-Beta1 is out! This preview brings bundled IDE plugins, improved compiler warnings, and better Gradle support. Check it out and explore all the changes 👉 kotl.in/sgmupu

Brian Norman reposted

Omg, I love this 😍 I think this convinced me to try it! Really amazing showcase of alternative use-cases for Compose and #Kotlin power assert at the same time 😄👏👏 If you don’t know about power assert check it out here, kotlinlang.org/docs/power-a...

kotlinlang.orgPower-assert compiler plugin | Kotlin
Brian Norman@bnorm.dev

Not from this weekend, but I have to brag about this slide: I defined a list of code samples which are each highlighted by Storyboard using an ANTLR parser, and each transition is completely automatic thanks to a "MagicText" Composable. LaunchedEffect to loop though samples and done.

View full thread

This weekend's Storyboard project: prototyping a presentation companion website which allows sending live reactions that rise from the bottom right of the slide. I also get a count of each reaction type for the last 15 seconds in the assistant window. It's kinda dumb ... ... but I love it so much!

Not from this weekend, but I have to brag about this slide: I defined a list of code samples which are each highlighted by Storyboard using an ANTLR parser, and each transition is completely automatic thanks to a "MagicText" Composable. LaunchedEffect to loop though samples and done.

Today I created a webpage with an embedded presentation that follows an active one. Thinking about using this to reveal additional content as the presentation progresses. Though maybe this would just be too distracting? But look at that awesome animation! (Stolen from the KotlinConf website...)

For my project this weekend, I implemented a slider so I can seek through the animations of my slides. This is thanks to Storyboard being built on top of SeekableTransitionState.

Brian Norman reposted

I just had one of the coolest calls in quite some time with @bnorm.dev. We wanted to talk about a potential issue, but then drifted into him explaining his project, github.com/bnorm/storyboard, to me. I wish he had shown me this before I started preparing for my next talk. 🤯🔥

github.comGitHub - bnorm/storyboard: Library for building presentations using Compose Multiplatform.Library for building presentations using Compose Multiplatform. - bnorm/storyboard

Open source is so cool! 7 years ago I made a big change to UTF-8 processing in okio. I moved on to other things. Meanwhile, kotlinx-io copies a lot of code from okio (with approval, nothing shaddy). I then join the Kotlin team. Today I found the same code I wrote for okio, comments and all. Wild.

github.comkotlinx-io/core/common/src/internal/-Utf8.kt at 0329b9d0ebbf614634f48d9f69b1e14350d4d7e2 · Kotlin/kotlinx-ioKotlin multiplatform I/O library. Contribute to Kotlin/kotlinx-io development by creating an account on GitHub.

Oh hey, look! PeekSource. I wrote that too! What a trip down memory lane. These were some of my first open source contributions. Can't say enough good things about @swank.ca, @egorand.dev, and Jake. They welcomed an absolute newbie and mentored him in the ways of open source. Thank you!

github.comkotlinx-io/core/common/src/PeekSource.kt at 0329b9d0ebbf614634f48d9f69b1e14350d4d7e2 · Kotlin/kotlinx-ioKotlin multiplatform I/O library. Contribute to Kotlin/kotlinx-io development by creating an account on GitHub.

Want to know something cool? The multiple output values for interactive scripts is thanks to the same code transformation behind Power-Assert. That's how it can display a before and after result. So cool to see that technology find its way into unexpected places!

You are up to date.