#Zio

LaRampa.itlarampa
2025-04-19
2025-03-04

Как и почему эффекты помогают писать хороший код

В этой статье я рассказываю об эффектах. Несмотря на то, что эффект – понятие столь же простое, как обычная функция, для меня оказалось не так просто найти подходящее объяснение, но, я его нашел. Вы узнаете, в чем заключается идея использования эффектов и чем они отличаются от классических функций. Я делюсь своим опытом разработчика и показываю примеры кода с использованием эффектов. Вероятно вы найдете для себя что-то интересное. Если вы никогда не слышали об эффектах или термине "побочный эффект", рекомендую ознакомиться с этой темой для повышения вашего профессионального уровня и технического кругозора! Читать об эффектах

habr.com/ru/articles/882946/

#typescript #effect #type_safety #types #type #zio #functional_programming #object_oriented_programming #side_effects #function

2025-02-14

Almost done with converting a codebase from #Scala #ZIO 1 to ZIO 2. The ZIO part was not dramatic (and things are so much nicer now), but the changes in deriving the required typeclasses for the newer versions of zio-config and caliban are very painful.

This alone makes additionally upgrading the project to #Scala3 (with the new `derives` keyword) very appealing to me right now.

2024-12-31

Something interesting is happening in the zio ecosystem.
JdG contributed only one PR to zio core since november 2022 (on 27 December 2023, more than a year ago). And almost none in 2022 (github.com/zio/zio/commits?aut). He still review PR and comments through.
Adam Fraser went black in march 2024, and so the two historical tech leads were out.

In the last ~2 years, it looked like the framework was stalling and dying.

But in the last couple of months, new comiters emerged (kyri-petrou in particular).

Overall, I really hope that less jdg is a net positive and that some nice people can take over the framework over time.

#scala #zio

2024-12-20

Tuesday and Wednesday weren't fun with my first atrial fibrillation experience. Zero stars, would not recommend. I WOULD recommend the Samsung Watch... it identified what was going on. After 5 hours in the ER, I'm feeling better. I'll be wearing this heart monitor for 14 days, and I have more doctor appointments ahead, but I'm okay. Thank you to the doctors and nurses at St. Vincent's / Intermountain Health!

#Montana #Billings #heart #health #hearthealth #atrialfibrillation #Samsung #SamsungGalaxy #SamsungGalaxyWatch #Zio #heartmonitor #StVincents #hospital #ER #thankyou #thankful #grateful

2024-08-31

#Scala #ZIO also has .debug that you can add to any effect, printing the result value (or the error!) to the console (while still returning the original result). Very handy for quick troubleshooting sessions.

LaRampa.itlarampa
2024-08-19
2024-08-09

The Tri-Z Architecture: a Pattern for Layering #ZIO Applications in #Scala blog.pierre-ricadat.com/

An interesting read about using the „lesser known“ abstractions ZPure (for pure functional calculations without IO) and ZSTM (for atomic transactions on in-memory data) in addition to ZIO.

2024-05-16

Some tips about tuning #Scala applications using the #ZIO framework

blog.pierre-ricadat.com/tuning

2024-05-09

@tymwol

#Scala it's that (and there's a lot of them), and also more. I think scala pushed the state of art regarding effect system, and things like #catseffect (more "Haskell inspired") and #zio (more "a Scala own thing") are quite amazing.
And #scala3 has really impressive things regarding types (see for ex #iron social.treehouse.systems/@fanf)

2024-03-12

Ziverge is a #scala consultancy and principal sponsor of the popular #zio library. But it seems that I cannot search for them on (German) #DuckDuckGo: duckduckgo.com/?q=ziverge&ia=w

DuckDuckGo "auto-corrects" the search term to something else
2024-02-26

The main #Scala event of the year, Scalar, is coming up in three weeks!

Get your ticket for both or either:
🎓#fs2 & #zio trainings on 20th of March,
⚖️conference on 21-22nd of March

During the conference:
🎙️25 awesome talks on FP, Scala, use-cases, data science, Native, JS & more
🎉celebrating 20 years of Scala at the community party

🌃All of that in the beautiful, affordable & easy-to-reach city of #Warsaw! (stay for the weekend, if you can)

See you at Scalar! :) scalar-conf.com

2024-02-12

Finally I managed to answer a #StackOverflow question about #ZIO and not be too ashamed of the answer 😎

stackoverflow.com/a/77983731/4

#Scala

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst