Timmo 🇺🇦 · @timmoverlaan
18 followers · 20 posts · Server fosstodon.org

I made another libcluster strategy, a simple database backend one :)

hex.pm/packages/libcluster_db

#myelixirstatus #elixir #ecto

Last updated 1 year ago

gram · @orsinium
51 followers · 172 posts · Server fosstodon.org

@bmarinov That's exactly what I was trying to do! from is the best ORM I've ever seen, and part of what makes it great is that migrations, schemas, objects, changes, and validation are all separate and independent components. But again, I can't quite make it work (at least in a type safe manner) in .

#ecto #elixir #golang

Last updated 1 year ago

Mihai Potra · @mpotra
6 followers · 2 posts · Server masto.ai

Upcoming Ecto feature: Data-modifying CTEs in PostgreSQL.
And I have a story on how I used them to mitigate OAuth Refresh Token Replay attacks medium.com/@mpotra/repel-oauth

#myelixirstatus #oauth #ecto #elixir

Last updated 1 year ago

Jons Mostovojs · @jonn
385 followers · 6048 posts · Server social.doma.dev

@tylerayoung yes! They even have `tap` function in `Kernel`.

My feeling that the ecosystem around it (most of which is also made by core team) like and is the exact opposite off that quote though.

But yeah, a huge fan of most of stdlib (except for Enum).

#phoenix #ecto

Last updated 1 year ago

Simon Wolf · @simon
525 followers · 1004 posts · Server social.sgawolf.com

My adventures into via nearly ground to a halt since boolean query expressions were not fully supported until a recent version (github.com/EnterpriseDB/mongo_ ) which I don’t think are use yet but then query fragments (hexdocs.pm/ecto/Ecto.Query.htm) came to the rescue.

In Postgres, “WHERE ‘active’ = false” doesn’t work but “WHERE ‘active’ is false” does but Ecto’s queries become the former.

My fragment is:

“where: fragment(“? Is false”, d.active)”

#mongodb #postgres #crunchybridge #ecto #myelixirstatus

Last updated 1 year ago

Hauiproductions · @mhauer
3 followers · 65 posts · Server social.tchncs.de
Simon Wolf · @simon
505 followers · 875 posts · Server social.sgawolf.com

I’ve never really done this before but it is so lovely and easy to prototype a database schema in via migrations.

I’ve just been working on a major database design change and had a lot of small migrations that tweak and fix things after the tables were created. Being able to rollback migrations to various points, refactor and re-apply them means I have fewer, cleaner, and more readable migration scripts.

#myelixirstatus #ecto

Last updated 2 years ago

jbz · @jbzfn
324 followers · 2040 posts · Server mastodon.social

⚗️ Under the Hood of Ecto
— Sapan Diwakar

dev.to/appsignal/under-the-hoo

#elixir #myelixirstatus #ecto

Last updated 2 years ago

Stéphane Bortzmeyer · @bortzmeyer
8049 followers · 77327 posts · Server mastodon.gougere.fr

And the last talk of the Erlang/Elixir devroom, "Dealing with a Monster [ / daabase] Query",
a story of Elixir & optimization by Mackenzie Morgan

(Yet another talk with Beamer slides)

Max requsts/s : 700 % improvment

#ecto

Last updated 2 years ago

Julian Doherty · @madlep
174 followers · 227 posts · Server hachyderm.io

Yeah, sex is cool, but have you ever tried swapping out changesets for plain old structs in performance critical code?

#ecto #elixir

Last updated 2 years ago

Margaret Eldridge · @pragmaticmarg
54 followers · 126 posts · Server hachyderm.io

Congrats to author Peter Ullrich
@pul, whose book, Building Table Views with Phoenix LiveView, is now out of beta and fully released.

pragprog.com/titles/puphoe/bui

#elixir #data #tables #ecto #erlang #phoenix #liveview

Last updated 2 years ago

smallcircles (Humane Tech Now) · @smallcircles
5005 followers · 1036 posts · Server social.coop

@darius

Maybe you might look in combining efforts with cc @weex ?

David is exploring Hintjens C4 approach to Ecto development, see: magicstone.dev/why-c4

@nolan @baldur

FYI @RyunoKi and I followed-up with some further thoughts on the Social Coding forum:

discuss.coding.social/t/foss-d

#ecto

Last updated 2 years ago

Andrei · @0x7f
82 followers · 36 posts · Server social.lol
Juan · @jbzfn
211 followers · 1169 posts · Server mastodon.social

:blobwizard: Complex queries with Ecto
— Lucas Cegatti
Ectohttps://dev.to/lucascegatti/complex-queries-with-ecto-3gp9

#elixir #elixirlang #ecto

Last updated 2 years ago

Alejandro Baez · @zeab
100 followers · 401 posts · Server fosstodon.org

Me last week: why would you use ? This is dumb. There's so many ways you can do what it does.😑

Me this week: so I figured I could use to parse data for without having to write a line for a parquet lib in elixir.🤯 All using . 🙌

I will fight you to death if you say not to use duckdb now. 😛

#duckdb #parquet #elixir #ecto

Last updated 2 years ago

Felix · @leobm
106 followers · 1276 posts · Server norden.social

I also play around with . Actually I am more the syntax fan. Now I have a project without . Can I add this later to a simple project? Or do I have to create a completely new project again? Thought something like this would be easier.....🤔

#elixir #liveview #phoenix #erlang #ecto

Last updated 2 years ago

· @Kneko
0 followers · 28 posts · Server mstdn.glorificatio.org
Jonn · @jonn
227 followers · 3376 posts · Server social.doma.dev

Every single time I have to touch the fucking / stacks it wastes a ton of my time and fills me with infernal rage.

Wanna run hermetic postgres instead of systemwide? Fuck you, user, we know better! State dump in error messages? Nah.

Seriously, CTOs who allow in their stack are very-very wrong.

#ecto #phoenix

Last updated 2 years ago

· @giusdp
26 followers · 115 posts · Server gladtech.social

Finally learning with postgres... I'll already say that my 2023 goal will be "become a expert." Hopefully I won't drop it after just 2 weeks :blobcatgrimacing:

#ecto #phoenix

Last updated 2 years ago

Jaromír · @Cervajz
79 followers · 74 posts · Server mastodon.social

Today I learned about

mix ecto.dump and mix ecto.load

thanks to @whatyouhide

andrealeopardi.com/posts/get-r

Very useful!

#myelixirstatus #ecto

Last updated 2 years ago