Peter Solnica 🇺🇦 🇵🇱 🇪🇺
banner
solnic.dev
Peter Solnica 🇺🇦 🇵🇱 🇪🇺
@solnic.dev
🛠️ Building @justcrosspost.app & @repobot.app

👨‍💻 Elixir/Ruby SDK dev at @sentry.io
💜 Creator of Elixir Drops 💦
❤️ Creator of rom-rb and many dry-rb gems and former @Hanamirb.org core team member

#ElixirLang #RubyLang #OpenSource #BuildInPublic
Been listening to Don Broco a lot lately and their "Uber" track has some pretty relevant lyrics.

It crossed my mind that one of the biggest leaders in the Ruby community is basically a racist uber driver.

👇🏻
September 19, 2025 at 8:50 AM
You'll never guess what I've been building lately 🙃 Best guess wins a cookie.

I'm in love with #svelte.

#opensource #comingsoon
September 12, 2025 at 11:10 AM
📣 After a lot of work we've shipped Ruby & Rails SDKs with support for @sentry.io brand new Logs feature which is now out of beta!

While you're waiting for Rails' "structured events" feature, you can start using Sentry *today* to get structured logging work OOTB! 🎉

#Ruby #Rails #OpenSource

👇🏻
September 9, 2025 at 12:19 PM
Syncing @ghost.org <=> @obsidian.md sounds like a good idea 🙃
August 12, 2025 at 12:17 PM
Moved back to @ghost.org since they are working on the open social web and decentralized publishing in general and I'm psyched about it!

Got my site pages upgraded with the open source section showing some basic stats.

It was fun to see how my OSS work went up and down, and it's now rising.

👇🏻
August 12, 2025 at 10:00 AM
We lost a wonderful human being this week.

I wish we did swap our talks back at RubyConf in Braga to troll the audience and see if they will realize you're not me, and I'm not you, like you wanted to.

You were THE Piotr S. of the Ruby community, as we liked to joke.

I'll be missing you Piotr.
July 31, 2025 at 7:10 AM
🤦🏻🔨
July 29, 2025 at 2:03 PM
Seems like ActiveRecord doesn't care about nil comparisons 🤔
July 24, 2025 at 6:26 AM
It's the little stuff that matters - in Ecto you can't do `get_by(field: nil)` etc. - you must use an explicit Ecto.Query with `is_nil` expression.

In Drops.Relation I made it automatically work because we have detailed schema information.

It even validates if the query makes sense ✨
July 23, 2025 at 12:04 PM
Almost there with Drops.Relation (yep, it's gonna be under Drops umbrella because I didn't like EctoRelation namespace).

Got dynamic schemas and corresponding structs working via `view` macro, this is one more concept taken from rom-rb.

Notice that derived `active` users have custom fields ✨
July 16, 2025 at 10:03 PM
Ecto.Relation sneak preview 👀

...it freaking works in my Phoenix app! 🎉

One line of code and you get so much functionality OOTB 🚀

Still in a PoC state but I will release it eventually!

#ElixirLang
July 8, 2025 at 11:56 PM
There we go - I rebuilt rom-rb in #ElixirLang on top of Ecto 🔥

I can't stress enough how powerful relation composition is and I hope I can make it fly in Elixir and there will be some adoption. I love Ecto and I just want to make it easier to work with it 💜

More news coming soon 🙃
July 7, 2025 at 3:16 PM
ehehe getting somewhere with this. Igniter's cool btw, thank you
July 6, 2025 at 9:15 PM
Bringing some good rom-rb vibes to #ElixirLang - got Ecto schema inference working.

They see me inferrin, they hatin (???)

I'm gonna experiment with this a lot and try out various strategies, including keeping Ecto schemas in sync with explicitly defined fields too. Igniter could help here.
July 6, 2025 at 12:24 PM
Gonna have a "business logic framework" for my #ElixirLang folks ready soon. Some people will love it, some people will hate it.

Here's a super basic example from my app.

It looks innocent but it does a lot automatically and it's very flexible ✨

Thoughts?
July 4, 2025 at 9:32 PM
Bringing more of my Ruby stuff to #ElixirLang via Drops lib - this time I'm finally adding support for inferring schemas from Ecto and a simple and conventional way of splitting your app into Command and Query operations. I've used this pattern a lot in the past, gonna see how it feels in Phoenix.
June 24, 2025 at 1:43 PM
Big step forward - @repobot.app now uses Oban for GitHub event processing based a very simple event system. Webhook controller stores events with payloads in the db and immediately schedules workers. Nothing fancy but it's progress! 🤓
June 20, 2025 at 1:12 PM
I ported @repobot.app to Phoenix 1.8.0.rc-3 and Tailwind 4 with DaisyUI.

Then I put together a semi-custom DaisyUI theme, updated a bunch of helpers and 💥 things work and I can easily style the whole app.

Really cool stuff!

#ElixirLang #BuildInPublic
June 18, 2025 at 1:48 PM
Sentry Elixir SDK 11.0.0 was just released with beta support for Tracing using #OpenTelemetry! 🎉

Please give it a go and report any issues you may find - this is early stage and feedback is much appreciated!

#ElixirLang #Observability #Monitoring #DevOps

👇🏻
June 17, 2025 at 3:04 PM
Good to be back 🔥
June 14, 2025 at 9:30 AM
Ahh finally. Good morning ☀️😃 ⛰️🚵
June 14, 2025 at 6:09 AM
Big weekend ahead. Hitting bike park tracks after a long post-accident break. It's time.
June 12, 2025 at 3:51 PM
Good morning. I hope this will work 🙏🏻 #ADHD
June 11, 2025 at 5:58 AM
Yrynbor 💀
June 10, 2025 at 7:31 PM
What have I done
June 10, 2025 at 10:18 AM