Alvin Alexander
alvinalexander.bsky.social
Alvin Alexander
@alvinalexander.bsky.social
Author of the Scala Cookbook and Functional Programming, Simplified (and more).
Alaska was an amazing place to work, because during the summer you’re awake 20 hours a day, and during the winter it’s dark all the time, so you’re like, “I guess I’ll just stay in, make some coffee and fresh-baked cookies, and write a book.” :)
June 22, 2025 at 6:30 PM
“It’s 420 miles south to Fairbanks, on a dirt road, I got a full tank of gas, it’s 4am, and I’m wearing sunglasses.” :)
June 14, 2025 at 9:37 PM
I accidentally ran through a red light in Virginia Beach, and since I’m leaving soon, I thought it was best to just get it over with. So I called the police to turn myself in, but they wouldn't take me; I was not on their camera.

Okay, never mind. *These are not the droids you're looking for.* 😉
May 30, 2025 at 3:46 PM
I don’t watch many movies, but my nieces made me watch Bridesmaids, and that eventually led to seeing this favorite quote about finding meaning in work.
May 24, 2025 at 4:06 PM
If you haven’t seen Kyo yet, the first ~20 minutes of this video is a nice introduction. 👍👍

For instance, you’ll learn what this syntax means:

val s: String < IO =
IO(readFile(filename))

There’s also a nice map/flatMap surprise in there as well! 👏

www.youtube.com/watch?v=KIjt...

#scala
An Algebra of Thoughts: When Kyo effects meet LLMs by Flavio Brasil
YouTube video by Func Prog Sweden
www.youtube.com
May 22, 2025 at 3:31 PM
My free Scala and Functional Programming video courses are now complete. We have 8 courses, totaling 266 videos, and since August, 2024, we have over 1,450 course registrations. 🥳

👉 www.learnscala.dev

#scala #functionalprogramming
May 20, 2025 at 3:06 PM
One night in June or July — back when I lived in Palmer, Alaska — I went to Anchorage. This photo is from the drive back to Palmer ... at 3am.

You don’t really need your headlights on to see at this time, but you can put your lights on to help other drivers see you a little better.

#alaska
May 16, 2025 at 2:40 PM
Warning: There will be no more warnings.

Life in #Alaska. :)
May 15, 2025 at 1:35 PM
Woo-hoo, my final FREE video training course is now available:

“An Introduction to ZIO Kafka.” 🚀

This course features 14 short videos to help you get up and running with the ZIO Kafka library.

👉 www.learnscala.dev

#scala #functionalprogramming
April 28, 2025 at 3:24 PM
I wrote a 1,400-word blog post titled “What The Heck Does flatMap Mean?”, but then I remembered that I don’t write anymore. :)

So instead of posting that, the extension method in this image might tell you what I had in mind, and it’s a lot shorter.

#scala #functionalprogramming
April 14, 2025 at 8:20 PM
Could not agree more!
What if you’re so outrageously incompetent you get it done in a matter of minutes?
April 3, 2025 at 6:07 PM
“I’m tired, boss ... Mostly I’m tired of people being ugly to each other. I’m tired of all the pain I feel and hear in the world every day. There’s too much of it. It’s like pieces of glass in my head all the time. Can you understand?”
April 1, 2025 at 5:58 PM
#Colorado sunsets are as pretty as you think they are. No filters required.
March 18, 2025 at 4:52 PM
I slightly modified an example from the ZIO Streams website for my ZIO Streams course, and it ended up being one of the most fun and interesting examples I’ve ever worked with. Playing with the delay times and buffer sizes was a 😱🤯🤩 experience.

www.learnscala.dev

#scala
March 18, 2025 at 3:02 PM
My “ZIO Streams” course is now up to 11 videos, including error handling, pipelines, and buffering! 🚀 And as always, it’s FREE:

👉 www.learnscala.dev

#scala #functionalprogramming
March 17, 2025 at 2:30 PM
On this day in Colorado four years ago, we enjoyed 18” of snow.
March 15, 2025 at 3:22 PM
If someone who was an enemy of the United States got in political power in the U.S., such as in the Manchurian Candidate, what types of things do you think they would do?

An A.I. answer:
March 8, 2025 at 5:18 PM
I just added two more free ZIO Streams video lessons, and I’ll be adding more this weekend:

www.learnscala.dev

#scala #functionalprogramming
March 7, 2025 at 1:30 AM
The next free video course is on ZIO Streams, and the first two videos are now available:

www.learnscala.dev

#scala #functionalprogramming
March 4, 2025 at 1:32 AM
What? Another free video course? Coming soon? 🍿🥤

#scala
March 3, 2025 at 2:34 PM
Over 200 FREE videos — no paywalls, no commercials — in six free Scala, Functional Programming, and ZIO training courses. And more coming soon ...

www.learnscala.dev

#scala #functionalprogramming
February 26, 2025 at 6:53 PM
Yesterday I added a small-but-complete “ZIO HTTP, Database-Driven REST API Example” to my free videos.

I broke it into separate packages for configuration, model, repository/database, service, and API code so you can easily grow the example.

👉 www.learnscala.dev

#scala #functionalprogramming
February 24, 2025 at 3:00 PM
Looking for a minimal yet fully functional ZIO HTTP + MySQL REST API example? This might be the smallest one in the known universe. 🚀

Includes ZIO HTTP, MySQL, a REST API handler, packaging to separate the concerns, logging, services, and ZLayers. All in just 16 minutes.

www.learnscala.dev

#scala
February 23, 2025 at 9:58 PM
I’ve never written or created videos about Kyo because I didn’t really grok how to use it, so this video is a helpful step in that direction! 👍 #scala
You've probably heard of Kyo, but maybe you were too lazy to read all the documentation or try it out yourself (I know I was! 😀). Watch this live demo, as Kyo will soon reach version 1.0. #scala #kyo #algebraiceffectsystem https://www.youtube.com/watch?v=uA2_TWP5WF4
Kyo: A New Approach to Functional Effects in Scala with Flavio Brasil and Adam Hearn
www.youtube.com
February 22, 2025 at 8:44 PM
Every February I think, “I’m glad I’m not in Alaska right now,” and then every March I’m ready to move back. :)
February 22, 2025 at 6:52 PM