#ecto — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ecto, aggregated by home.social.
-
TAM and OMN tools for potential Bonfire workflowsThis article looks at Techno Anarchist and Open Media Network tools that would boost efficiency and productivity in Bonfire workflows. And I will be paraphrasing heavily.
As mentioned in a previous TPF post, I plan to experiment with Bonfire and have taken notes for a series of articles.
This is the second one. The first is here if you inexplicably missed it. 😉
I have even reserved the […]
https://newsletter.mobileatom.net/tam-and-omn-tools-for-potential-bonfire-workflows/ #ActivityPub #Codeberg #docker #Ecto #elixir #ExUnit #Forgejo #Framatoolbox #GIMP #Joplin #LiveView #Markdown #Mosaic #OmniTools #OpenProject #Phoenix #SurfaceUI #Vert #xWiki -
TAM and OMN tools for potential Bonfire workflowsThis article looks at Techno Anarchist and Open Media Network tools that would boost efficiency and productivity in Bonfire workflows. And I will be paraphrasing heavily.
As mentioned in a previous TPF post, I plan to experiment with Bonfire and have taken notes for a series of articles.
This is the second one. The first is here if you inexplicably missed it. 😉
I have even reserved the […]
https://newsletter.mobileatom.net/tam-and-omn-tools-for-potential-bonfire-workflows/ #ActivityPub #Codeberg #docker #Ecto #elixir #ExUnit #Forgejo #Framatoolbox #GIMP #Joplin #LiveView #Markdown #Mosaic #OmniTools #OpenProject #Phoenix #SurfaceUI #Vert #xWiki -
#Ghostbusters #ecto1 #Ecto #car #cars #Ghosts #Ghost #Cinema #Movies #Film #Cadillac #CadillacMillerMeteor #Spooky #Paranormal #parapsychologist #Iconic #parapsychology #Restoration #Movie #Halloween #Ambulance
With Halloween just around the corner, it’s time for some spook related posts…
https://www.youtube.com/watch?v=ZM0dUoBmEfg -
#Ghostbusters #ecto1 #Ecto #car #cars #Ghosts #Ghost #Cinema #Movies #Film #Cadillac #CadillacMillerMeteor #Spooky #Paranormal #parapsychologist #Iconic #parapsychology #Restoration #Movie #Halloween #Ambulance
With Halloween just around the corner, it’s time for some spook related posts…
https://www.youtube.com/watch?v=ZM0dUoBmEfg -
Not wasting more of my time on this. Here's the object taken from Pleroma's error
{ actor: "https://app.wafrn.net/fediverse/blog/alexia", attributedTo: "https://app.wafrn.net/fediverse/blog/alexia", content: "<p>is there something I can use instead of the relatively heavy steam client to launch my (already installed) steam games?</p>\n<p>tbh I'm not fond of launching a game externally and then having to wait for steam to start, give me 3 different windows…</p>", context: "https://app.wafrn.net/fediverse/post/76453a11-767e-412e-a88a-46432d496904", id: "https://app.wafrn.net/fediverse/post/76453a11-767e-412e-a88a-46432d496904", published: "2025-10-12T08:59:19.038Z", to: ["https://app.wafrn.net/fediverse/blog/alexia/followers", "https://www.w3.org/ns/activitystreams#Public"], type: "Note", updated: "2025-10-12T08:59:22.539Z" }And here's the error.
[error] Object rejected while fetching https://app.wafrn.net/fediverse/post/76453a11-767e-412e-a88a-46432d496904 {:transmogrifier, {:error, {:validate, {:error, #Ecto.Changeset<action: :insert, changes: %{actor: "https://app.wafrn.net/fediverse/blog/alexia", attributedTo: "https://app.wafrn.net/fediverse/blog/alexia", content: "<TRIMMED>", context: "https://app.wafrn.net/fediverse/post/76453a11-767e-412e-a88a-46432d496904", id: "https://app.wafrn.net/fediverse/post/76453a11-767e-412e-a88a-46432d496904", published: "2025-10-12T08:59:19.038Z", to: ["https://app.wafrn.net/fediverse/blog/alexia/followers", "https://www.w3.org/ns/activitystreams#Public"], type: "Note", updated: "2025-10-12T08:59:22.539Z"}, errors: [url: {"is invalid", [type: Pleroma.EctoType.ActivityPub.ObjectValidators.BareUri, validation: :cast]}], data: #Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidator<>, valid?: false, ...>}}}} -
The free unusual extreme speed shooter Ecto added Linux support https://www.gamingonlinux.com/2025/09/the-free-unusual-extreme-speed-shooter-ecto-added-linux-support/
-
The free unusual extreme speed shooter Ecto added Linux support https://www.gamingonlinux.com/2025/09/the-free-unusual-extreme-speed-shooter-ecto-added-linux-support/
-
Thrilled to offer our newest distribution title: Northwind Elixir Traders by Isaak Tsalicoglou
Not your typical programming tutorial. This immersive, project-based adventure reimagines the classic Northwind database, guiding you through Ecto’s migrations, changesets, and queries to model data with real-world edge.
https://pragprog.com/titles/d-itnet?utm_source=m
#Ecto #ElixirLang #Elixir #SQLite -
Thrilled to offer our newest distribution title: Northwind Elixir Traders by Isaak Tsalicoglou
Not your typical programming tutorial. This immersive, project-based adventure reimagines the classic Northwind database, guiding you through Ecto’s migrations, changesets, and queries to model data with real-world edge.
https://pragprog.com/titles/d-itnet?utm_source=m
#Ecto #ElixirLang #Elixir #SQLite -
Developers love to *do*, not just read. Northwind Elixir Traders is just that! Ditch the “happy path” with an immersive, exploratory, memorable, project-based tutorial. 500 pages of hands-on mentorship in Elixir, Ecto, and SQLite.
Northwind Elixir Traders
by Isaak Tsalicoglou
https://pragprog.com/titles/d-itnet?utm_source=m -
Developers love to *do*, not just read. Northwind Elixir Traders is just that! Ditch the “happy path” with an immersive, exploratory, memorable, project-based tutorial. 500 pages of hands-on mentorship in Elixir, Ecto, and SQLite.
Northwind Elixir Traders
by Isaak Tsalicoglou
https://pragprog.com/titles/d-itnet?utm_source=m -
Leanpub book LAUNCH! Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project by Isaak Tsalicoglou https://youtu.be/LtzBS9hb1Go #books #leanpublishing #selfpublishing #booklaunch #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
Leanpub book LAUNCH! Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project by Isaak Tsalicoglou https://youtu.be/LtzBS9hb1Go #books #leanpublishing #selfpublishing #booklaunch #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
@ThinkingElixir I urgently need stickers! #Elixir #Phoenix #Ecto at least
-
@ThinkingElixir I urgently need stickers! #Elixir #Phoenix #Ecto at least
-
Leanpub book LAUNCH! Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project by Isaak Tsalicoglou https://youtu.be/LtzBS9hb1Go #books #leanpublishing #selfpublishing #booklaunch #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
Leanpub book LAUNCH! Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project by Isaak Tsalicoglou https://youtu.be/LtzBS9hb1Go #books #leanpublishing #selfpublishing #booklaunch #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
NEW! A Leanpub Frontmatter Podcast Interview with Isaak Tsalicoglou, Author of Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project | Watch here: https://youtu.be/zeUVFt82UG4 #books #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
NEW! A Leanpub Frontmatter Podcast Interview with Isaak Tsalicoglou, Author of Northwind Elixir Traders: Learn Elixir and database modeling with Ecto and SQLite, all in one project | Watch here: https://youtu.be/zeUVFt82UG4 #books #ElixirLang #FunctionalProgramming #IndieHacker #Ecto #SQLite #SoftwareDevelopment #OpenSource #FullStackDev #LearnToCode #LeanpubPodcast
-
Rebuilding everything in order to apply a migration to a database is so '90s when you already have #Ecto in mind... 🙄
#Microsoft #EfCore -
Rebuilding everything in order to apply a migration to a database is so '90s when you already have #Ecto in mind... 🙄
#Microsoft #EfCore -
Ecto’s fragments still feel like Elixir
But what I also really love is that if I want to eject out and write plain SQL for a specific part, it still feels like Elixir, because everything else stays the same—it’s just a tiny fragment/1 that uses safe variable interpolation. And it turns out that Ecto.
via Pocket https://ift.tt/BVUuop1
February 17, 2025 at 06:25PM
-
Ecto’s fragments still feel like Elixir
But what I also really love is that if I want to eject out and write plain SQL for a specific part, it still feels like Elixir, because everything else stays the same—it’s just a tiny fragment/1 that uses safe variable interpolation. And it turns out that Ecto.
via Pocket https://ift.tt/BVUuop1
February 17, 2025 at 06:25PM
-
Optimizing batch operations with Ecto
We had a feature in a product that required us to insert and update lots of data on a user action. Here is how we transformed 1000 SQL queries into 1. The way the code is structured is simple: An operations table and a translations table.
via Pocket https://ift.tt/DeLJXAa
February 11, 2025 at 11:42AM
-
Ecto Datetime With Time Zone
While implementing a feature to store event dates, I stumbled upon what I initially thought was a straightforward task: saving future dates in a database along with their time zones. How hard could it be, right? Turns out, it’s not so simple.
Tags: #ecto, #elixir, #elixirlang
via Pocket https://ift.tt/THrBwKm
February 03, 2025 at 05:07PM
-
Search Filters with Ecto Queries
We have also written an accompanying Livebook for this article that includes the final code for you to play around with.
Tags: #ecto, #elixir, #liveview, #myelixirstatus, #phoenix
via Pocket https://ift.tt/NR2p0El
January 30, 2025 at 11:15AM
-
Sentry tracing for Elixir/Phoenix/Ecto update:
✅ Live view traces
✅ Ecto db statements in tracesGetting there!
#MyElixirStatus #observability #phoenixframework #ecto #elixir
-
Sentry tracing for Elixir/Phoenix/Ecto update:
✅ Live view traces
✅ Ecto db statements in tracesGetting there!
#MyElixirStatus #observability #phoenixframework #ecto #elixir
-
Needle also comes with two other homegrown libraries: needle_ulid which provides a ULID datatype for Ecto (using ex_ulid) and related helpers, and exto which enables extending Ecto schema definitions in config (especially useful for adding Mixin associations to different schemas)…
---
📣 🏴☠️ Camp! expedition: We have some open bounties to improve bonfire performance :
Read more: https://indieweb.social/@bonfire/112943944096656953
Repository: https://github.com/bonfire-networks/bounties
#ecto #myElixirStatus #elixir
6/6 -
Needle also comes with two other homegrown libraries: needle_ulid which provides a ULID datatype for Ecto (using ex_ulid) and related helpers, and exto which enables extending Ecto schema definitions in config (especially useful for adding Mixin associations to different schemas)…
---
📣 🏴☠️ Camp! expedition: We have some open bounties to improve bonfire performance :
Read more: https://indieweb.social/@bonfire/112943944096656953
Repository: https://github.com/bonfire-networks/bounties
#ecto #myElixirStatus #elixir
6/6 -
Besides regular schemas with universal foreign keys (Pointable), Needle provides Virtual for schemas that don’t have any fields on their own, and Mixin for storing common fields that can be re-used by multiple Pointables or Virtuals (eg. if you have multiple types that all have a name/description/body, they can share those and optionally the associated changesets and other logic).
5/6
-
Besides regular schemas with universal foreign keys (Pointable), Needle provides Virtual for schemas that don’t have any fields on their own, and Mixin for storing common fields that can be re-used by multiple Pointables or Virtuals (eg. if you have multiple types that all have a name/description/body, they can share those and optionally the associated changesets and other logic).
5/6
-
But what if you don’t just have posts that can be liked, but also videos, images, polls, etc, each with their own table, but probably do not want to have to add liked_video_id, liked_image_id, ad infinitum?
We needed the flexibility to have a foreign key that can reference any referenceable object. We call our system Needle.
-
But what if you don’t just have posts that can be liked, but also videos, images, polls, etc, each with their own table, but probably do not want to have to add liked_video_id, liked_image_id, ad infinitum?
We needed the flexibility to have a foreign key that can reference any referenceable object. We call our system Needle.
-
A simple example would be a blogging app, which might have a post table with author field that references the user table.
A social network, by contrast, usually requires a graph of objects, meaning objects need to be able to refer to other objects by their ID without knowing their type.
A simple example would be likes, you might have a likes table with liked_post_id field that references the post table.
-
A simple example would be a blogging app, which might have a post table with author field that references the user table.
A social network, by contrast, usually requires a graph of objects, meaning objects need to be able to refer to other objects by their ID without knowing their type.
A simple example would be likes, you might have a likes table with liked_post_id field that references the post table.
-
Needle is an #elixir library that we have developed to provide universal foreign keys, shared data fields, and virtual & configurable schemas for Ecto.
🔗 Read the docs: https://hexdocs.pm/needle/readme.html
💬 Join the discussion on Elixir Forum: https://elixirforum.com/t/needle-universal-foreign-keys-shared-data-fields-virtual-and-configurable-schemas-for-ecto/65644 -
Needle is an #elixir library that we have developed to provide universal foreign keys, shared data fields, and virtual & configurable schemas for Ecto.
🔗 Read the docs: https://hexdocs.pm/needle/readme.html
💬 Join the discussion on Elixir Forum: https://elixirforum.com/t/needle-universal-foreign-keys-shared-data-fields-virtual-and-configurable-schemas-for-ecto/65644 -
@maikel yeah!
If you’re interested in more Ecto stuff, Dashbit wrote a « Little Ecto Cookbook » https://dashbit.co/ebooks/the-little-ecto-cookbook too btw -
@maikel yeah!
If you’re interested in more Ecto stuff, Dashbit wrote a « Little Ecto Cookbook » https://dashbit.co/ebooks/the-little-ecto-cookbook too btw -
Soft deletes with Ecto and PostgreSQL
One of our clients at Dashbit has recently asked us what is the best way to implement soft-deletes with Ecto.
Tags: #ecto, #postgres, #postgresql
via Pocket https://ift.tt/gXvkM12
August 16, 2024 at 06:02PM
-
How to update multiple records with different values in Ecto.Repo.update_all
In this particular case, I was dealing with a table that leveraged parent_id to model a basic parent-child hierarchy. Through some larger business logic, I end up with a list of tuples [{1, "new root"}, {2, "Child 1"}, {3, "Child 2}] that essentially maps id => new name.
Tags: #ecto, #elixir, #postgres, #postgresql, №удшчшк
via Pocket https://ift.tt/5zNAP0i
August 09, 2024 at 02:54PM
-
How to update multiple records with different values in Ecto.Repo.update_all
In this particular case, I was dealing with a table that leveraged parent_id to model a basic parent-child hierarchy. Through some larger business logic, I end up with a list of tuples [{1, "new root"}, {2, "Child 1"}, {3, "Child 2}] that essentially maps id => new name.
Tags: #ecto, #elixir, #postgres, #postgresql, №удшчшк
via Pocket https://ift.tt/5zNAP0i
August 09, 2024 at 02:54PM
-
The talk I gave at #CodeBEAM Europe 2023 is now available on Youtube.
It shows how to build a DSL parser with #NimbleParsec one piece at a time, building an AST in the process and then compiling it to an #Ecto query.
-
In case you wonder what's my preferred stack to build services right now, it's as follows:
- #Elixir runs the system itself. No to #Phoenix, #Ecto, yes to #Plug, #Commanded.
- #Rust does the business-logic heavy-lifting. Normally single-threaded workers.
- #Typescript with #ReactJS and #Jotai does user-facing computations.
- #ETS for data views, #PostgreSQL for immutable history of the events and other data that is only INSERTed, never UPDATEd.
* * *
I am planning to see if I can replace #Elixir with #Purerl when I have the time.
-
Vorbereitung mit #ECTO-1. #Ghostbusters #Lego #LEGOphotography
-
It took me a while to sort out how to implement multi-tenancy the way I needed/wanted it in my Phoenix/Elixir apps, so I wrote up a giant post on it. I'm still new at this stack. Feedback/corrections are welcome!