Peter Solnica

61 Followers
177 Following
1.2K Posts
๐Ÿ’– Senior Data Engineer at valued.app
๐Ÿ’œ Core team ๐Ÿ‘‰ @hanami โ€ข @dry_rb โ€ข @rom_rb
๐Ÿง  #ADHD #NeuroDiversity #MentalHealth
My sitehttps://solnic.dev
GitHubhttps://github.com/solnic
Hanamihttps://hanamirb.org
Support ruby.social!https://www.patreon.com/rubysocial/

๐Ÿ“ฃ I'm happy to announce the first release of Elixir Drops! ๐ŸŽ‰ ๐Ÿฅณ ๐Ÿ’ฆ

https://solnic.dev/introducing-elixir-drops

#MyElixirStatus #OpenSource #data #validation #library #typesafety #casting #json

Introducing Elixir Drops

A few years ago my Ruby friends asked me if it would be possible to port some of the dry-rb libraries to Elixir. I remember some early community attempts at porting dry-validation specifically, I did my best to support the effort but back then my Eli...

solnic.dev
@raul Elixir is now my primary language at work. I still do a little Ruby on the side and I've got interest in our Ruby OSS projects (Hanami & Friends) but my current focus is Elixir due to time constraints ๐Ÿคท It's also just very refreshing to work in a functional language ๐Ÿ˜ƒ

161 commits later and Elixir Drops v0.1.0 is ready for its first release. I'll be writing an announcement article next week and then hitting the release button. Cannot wait!

Check out the updated README.md to see what I've been cooking for y'all ๐Ÿ˜ƒ

https://github.com/solnic/drops#contracts

#MyElixirStatus #opensource

GitHub - solnic/drops: ๐Ÿ› ๏ธ Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more.

๐Ÿ› ๏ธ Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more. - solnic/drops

GitHub

Here is a complete walk-through on deploying a full Hanami app, including persistence with Postgres, on Fly.io--for free!

https://rossney.net/articles/hanami-and-flyio-complete-example/

#hanami #flyio #ruby

Hanami & Fly.io Complete Example

Hanami & Fly.io Complete Example: In this article, we will walk through the deployment of a fully functioning Hanami app, including persistence using Postgres.

@joeldrapper @timriley no code is better than no code, eh? :)
@petermueller thanks, I'm addressing exactly this + more ๐Ÿ˜€

@zorn @JonRowe thanks to your feedback I updated the README.md and made it clear that it atomizes only known keys ๐Ÿ˜ƒ

https://github.com/solnic/drops/commit/255c1bd285ce113e28306e7e987f4a1fa3fe4151

Update README.md ยท solnic/drops@255c1bd

Tools for working with data effectively using Elixir - Update README.md ยท solnic/drops@255c1bd

GitHub
@JonRowe @zorn yeah it only creates the keys that you defined in your schema :)

OK, following up - I started working on porting dry-validation to #Elixir. Something I've been meaning to do *for years* now.

It's been an incredible fun to work on this and I've found Elixir to be a perfect fit for the type of stuff I needed to do. The most tricky feature of dry-validation, conditional rule application, turned out to be a single macro + pattern patching ๐Ÿ˜ƒ

The project is called ๐Ÿ’ง Drops ๐Ÿ’ง and you can find it on GitHub ๐Ÿ‘‡
https://github.com/solnic/drops

#MyElixirStatus #opensource

GitHub - solnic/drops: ๐Ÿ› ๏ธ Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more.

๐Ÿ› ๏ธ Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more. - solnic/drops

GitHub