Peter Solnica πŸ‡ΊπŸ‡¦ πŸ‡΅πŸ‡± πŸ‡ͺπŸ‡Ί's Avatar

Peter Solnica πŸ‡ΊπŸ‡¦ πŸ‡΅πŸ‡± πŸ‡ͺπŸ‡Ί

@solnic.dev.bsky.social

πŸ› οΈ 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

2,689 Followers  |  446 Following  |  1,403 Posts  |  Joined: 22.11.2023  |  2.2199

Latest posts by solnic.dev on Bluesky

Preview
Home Β· LiveView Basics LiveView Basics Β· the basics to get you up and running creating your first LiveViews while giving you the foundation to build more complex ones

Now that Phoenix 1.8 and LiveView 1.1 have been released, here's a little something I've been working on:

liveviewbasics.com

LiveView can be a bit intimidating for a mostly backend Elixir engineer, at least it was for me, so here's some basics to get you started

#ElixirLang

06.08.2025 19:59 β€” πŸ‘ 29    πŸ” 2    πŸ’¬ 1    πŸ“Œ 1
Phoenix 1.8.0 released! - Phoenix Blog Phoenix 1.8.0 is here!

Phoenix 1.8.0 is released! πŸŽ‰

www.phoenixframework.org/blog/phoenix...

05.08.2025 21:48 β€” πŸ‘ 46    πŸ” 11    πŸ’¬ 1    πŸ“Œ 0
Preview
Release ElixirLS 0.29.0 Β· elixir-lsp/elixir-ls v0.29.0: 4 August 2025 Highlights Added Call hierarchy provider implementing LSP textDocument/prepareCallHierarchy, callHierarchy/incomingCalls and callHierarchy/outgoingCalls ElixirLS now bundles...

New elixir-ls release!

> ElixirLS now bundles a number of experimental LLM oriented tools exposed as custom commands and a builtin MCP server. The tools focus on model friendly text interface instead of typical IDE oriented LSP API methods

#ElixirLang github.com/elixir-lsp/e...

04.08.2025 10:49 β€” πŸ‘ 32    πŸ” 7    πŸ’¬ 2    πŸ“Œ 1
Preview
cchistory: Tracking Claude Code System Prompt and Tool Changes Exploring how to track and analyze changes in Claude Code's system prompts and tools to understand AI assistant evolution

Hacked Claude Code to see what it does. It's kinda funny.

mariozechner.at/posts/2025-0...

03.08.2025 03:47 β€” πŸ‘ 32    πŸ” 8    πŸ’¬ 4    πŸ“Œ 3

I don't hate it but why? πŸ™ƒ

01.08.2025 22:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

`M3u8::Reader.new.read` <- this is an anti-pattern:

1) you create a pointless intermediate state and waste memory
2) if a constructor changes, all those calls will have to be updated
3) it is actually not clear what's going on because `.new` may do a lot of weird stuff

01.08.2025 12:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

πŸ’”πŸ˜’

01.08.2025 05:32 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes, a very kind person with an amazing sense of humor. A fantastic public speaker too.

31.07.2025 07:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
image

image

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.

31.07.2025 07:10 β€” πŸ‘ 35    πŸ” 3    πŸ’¬ 5    πŸ“Œ 0
Post image

Elixir and @gleam.run have both landed in the top 3 most admired languages in the 2025 @stackoverflow.com.web.brid.gy Developer Survey. πŸ‘

According to devs worldwide, Gleam is turning heads while Elixir continues to impress.

30.07.2025 13:53 β€” πŸ‘ 19    πŸ” 5    πŸ’¬ 1    πŸ“Œ 1
Introducing Drops.Relation: High-Level Relation Abstraction on top of Ecto I’m excited to announce the latest addition to the Elixir Drops suite of libraries: Drops.Relation. This new library provides a high-level API for defining database relations with automatic schema inference and composable queries, simplifying database interactions when developing applications in Elixir. Drops.Relation is based on 10 years of my work on the Ruby Object Mapper project and brings the most powerful features of ROM to Elixir. What is Drops.Relation? Drops.Relation bridges the gap between Ecto and application-level data handling and management. It automatically introspects your database tables, generates Ecto schemas, and provides a convenient query API that feels like working directly with Ecto.Repo while adding powerful composition features.

Announcing drops_relation 0.1.0 - a new #ElixirLang library which provides a high-level relation abstraction on top of Ecto! πŸŽ‰

Please test it out and let me know what you think. PostgreSQL support should be quite good, SQLite works but inference is limited due to missing type info from migrations.

30.07.2025 13:04 β€” πŸ‘ 13    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0

Would love to see it too :)

30.07.2025 08:21 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
merb-slices | RubyGems.org | your community gem host

One thing I wanted to clarify - I built technical foundation for slices via dry-system gem, and came up with the idea to call them slices in Hanami *however* the concept of slices was first introduced in Merb back in 2008.

I just carried the Merb torch.

rubygems.org/gems/merb-sl...

30.07.2025 05:16 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I've recently become a fan of igniter btw :)

30.07.2025 05:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes this should mostly boil down to coming up with nice conventions and a little bit of orchestration to ease setup.

30.07.2025 05:13 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - bradleygolden/claude Contribute to bradleygolden/claude development by creating an account on GitHub.

This is a really cool project! github.com/bradleygolde...
Think of it like a Quickstart for working with claude code and Elixir projects, that leans on all the conventions we've been working on like tidewave & usage rules.
#ElixirLang

29.07.2025 22:52 β€” πŸ‘ 32    πŸ” 8    πŸ’¬ 1    πŸ“Œ 0
`Money.divide/2` with very large denominator creates Out-of-Memory issue Β· Issue #244 Β· elixirmoney/money When dividing a Money amount with a very large denominator, Money creates a list of n elements where n is equal to the denominator. With very large denominators, this will create a very large list ...

Small PSA: If you use "Money.divide/2" in :money (not :ex_money) then please update your Money version and replace it with "Money.div/2" since the "divide/2" function can lead to Out-of-Memory (OOM) issues:

github.com/elixirmoney/...

28.07.2025 09:09 β€” πŸ‘ 5    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0

Actually, I run CI inside my docker container, and I can reproduce it easily locally, I struggled a lot with other stuff, like juggling 3 Ecto repos and 2 adapters, and 3 apps for testing, and deps, and dealing with caching issues, and so on and so forth πŸ™ƒ

29.07.2025 20:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

πŸ€¦πŸ»πŸ”¨

29.07.2025 14:03 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Yes and I'm determined to build at least a PoC for Phoenix at some point later this year

29.07.2025 14:00 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Small delay as I hit various issues when writing doctests yesterday, but things are resolved and I'll be releasing it today πŸ™ƒ

29.07.2025 06:13 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Inherit β€” inherit v0.2.0

I just released 0.2.0 of Inherit. Lots of improvements, feels very solid now. Have been using it heavily in GenDOM

hexdocs.pm/inherit/read...

#ElixirLang

28.07.2025 01:08 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Hey Elixir friends! :) πŸš€ Hologram v0.5.0 is here!

Major performance leap: milliseconds β†’ microseconds execution times + 50x rendering speed improvements!
and... Session/cookie management, live reload, incremental compilation, new pointer/mouse events.

#Hologram #Elixir #ElixirLang #BEAM #WebDev

26.07.2025 00:04 β€” πŸ‘ 56    πŸ” 9    πŸ’¬ 2    πŸ“Œ 0
A screenshot of code showing the new `match_mode` option for multi select fields.

```
<Cinder.Table.table resource={MyApp.Book} actor={@current_user}>
  <:col
    field="tags"
    filter={:multi_select}
    filter_options={[
      options: [
        {"Fiction", "fiction"},
        {"Bestseller", "bestseller"},
        {"Award Winner", "award_winner"},
        {"New Release", "new_release"}
      ],
      match_mode: :all  # Records must contain ALL selected tags
    ]}
  >
```

A screenshot of code showing the new `match_mode` option for multi select fields. ``` <Cinder.Table.table resource={MyApp.Book} actor={@current_user}> <:col field="tags" filter={:multi_select} filter_options={[ options: [ {"Fiction", "fiction"}, {"Bestseller", "bestseller"}, {"Award Winner", "award_winner"}, {"New Release", "new_release"} ], match_mode: :all # Records must contain ALL selected tags ]} > ```

Cinder v0.5.0 has been released, with fixes for array fields including a new `match_mode` option - select records where any or all of the array values match the filter! hexdocs.pm/cinder/

26.07.2025 07:19 β€” πŸ‘ 39    πŸ” 8    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - solnic/drops_relation: πŸ”‹-included relation abstraction on top of Ecto SQL with schema inference and composable query API + more ✨ πŸ”‹-included relation abstraction on top of Ecto SQL with schema inference and composable query API + more ✨ - solnic/drops_relation

Gonna release drops_relation 0.1.0 on Monday. You can check out the README to see how the API looks like.

I'm really excited about this one πŸ™ƒ

#ElixirLang #SQL #OpenSource

25.07.2025 22:44 β€” πŸ‘ 13    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1

This is not about what's possible to do, but more about what is built into the framework and promoted as a "blessed way" of handling params. IIRC Phoenix doesn't have that.

25.07.2025 14:23 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

ps. I just noticed that you're one of the authors of sentry-elixir which I happen to maintain now so ^5!

25.07.2025 08:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Thanks for acknowledging this and engaging then. I appreciate it a lot πŸ™‚

I love Ecto. I even played a role helping with architectural design of Ecto 2.0.

This lib is one of the reasons why I decided to dive into Elixir eventually and make it my go-to language πŸ’œ

25.07.2025 08:10 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Congrats!

24.07.2025 18:43 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

That's why I wrote around 5k LOC of OSS Elixir code during the last month or so πŸ˜†

24.07.2025 14:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@solnic.dev is following 20 prominent accounts