Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

48: Ecto Associations with Sheharyar Naseer

48: Ecto Associations with Sheharyar Naseer

FromThinking Elixir Podcast


48: Ecto Associations with Sheharyar Naseer

FromThinking Elixir Podcast

ratings:
Length:
37 minutes
Released:
May 18, 2021
Format:
Podcast episode

Description

We talk with Sheharyar Naseer about Ecto's feature "association defaults" and how they work. We learn how they even support defining a function that gets called during your changeset operations which can be used to ensure multi-tenancy IDs get populated correctly. We learn more about Slab, talk about Single Table Inheritance designs and how we feel about them. We also talk about wrapping the Repo module for fun and profit!
Show Notes online - http://podcast.thinkingelixir.com/48 (http://podcast.thinkingelixir.com/48)
Elixir Community News
- https://blog.taxjar.com/taxjar-will-be-joining-stripe-to-help-build-the-worlds-tax-compliance-infrastructure/ (https://blog.taxjar.com/taxjar-will-be-joining-stripe-to-help-build-the-worlds-tax-compliance-infrastructure/) – TaxJar, an Elixir-backed service, was acquired by Stripe
- https://twitter.com/collision/status/1387108960881111040 (https://twitter.com/collision/status/1387108960881111040) – Potentially the largest acquisition of a fully-remote company to-date
- https://twitter.com/garazdawi/status/1390303999484514314 (https://twitter.com/garazdawi/status/1390303999484514314) – OTP team shared that OTP 21 (older) received it's last patch and will no longer be supported.
- https://twitter.com/MNishiguchiDC/status/1390658051267563520 (https://twitter.com/MNishiguchiDC/status/1390658051267563520) – Example of using Livebook on Nerves to experiment, document, and control a BMP280 temperature sensor connected to a Raspberry Pi
- https://twitter.com/josevalim/status/1390944763139006464 (https://twitter.com/josevalim/status/1390944763139006464) – Jose Valim was on the Changelog podcast talking about Nx, Axon, Livebook and Machine Learning with Elixir
- https://thinkingelixir.com/podcast-episodes/034-jose-valim-reveals-project-nx/ (https://thinkingelixir.com/podcast-episodes/034-jose-valim-reveals-project-nx/) – Our previous discussion with Jose when he revealed Nx publicly
- https://github.com/elixir-nx/livebook/pull/260 (https://github.com/elixir-nx/livebook/pull/260) – Livebook got collaborative editing with user-specific cursors (similar to Google Docs)
- https://alchemyconf.com (https://alchemyconf.com) – AlchemyConf is a virtual conference happening on May 28th organized by Subvisual
- https://www.elixirconf.eu/ (https://www.elixirconf.eu/) – ElixirConfEU hosting a "hybrid" conference event. Sept 9-10th in Warsaw and also on-line
- https://en.wikipedia.org/wiki/Proofofstake (https://en.wikipedia.org/wiki/Proof_of_stake) – Feedback on crypto currency environmental concerns. Check out Proof-of-Stake as a more environmentally friendly approach than Proof-of-Work.
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at show@thinkingelixir.com (mailto:show@thinkingelixir.com)
Discussion Resources
- https://slab.com/blog/association-defaults-in-ecto/ (https://slab.com/blog/association-defaults-in-ecto/)
- https://slab.com/ (https://slab.com/)
- https://www.notion.so/product (https://www.notion.so/product)
- https://www.atlassian.com/software/confluence (https://www.atlassian.com/software/confluence)
- https://en.wikipedia.org/wiki/SingleTableInheritance (https://en.wikipedia.org/wiki/Single_Table_Inheritance)
- https://hexdocs.pm/ecto/Ecto.Repo.html#c:prepare_query/3 (https://hexdocs.pm/ecto/Ecto.Repo.html#c:prepare_query/3)
- https://hexdocs.pm/ecto/Ecto.Repo.html#c:exists?/2 (https://hexdocs.pm/ecto/Ecto.Repo.html#c:exists?/2)
- https://the.slab.com/public/topics/careers-at-slab-4vhprcwg (https://the.slab.com/public/topics/careers-at-slab-4vhprcwg) – Slab is hiring!
Guest Information
- https://twitter.com/sheharyarn (https://twitter.com/sheharyarn) – on Twitter
- https://github.com/sheharyarn (https://github.com/sheharyarn) – on Github
- https://shyr.io/ (https://shyr.io/) – Blog
- hello@sheharyar.me
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Email the show - show@thinkingelixir.com (m
Released:
May 18, 2021
Format:
Podcast episode

Titles in the series (100)

The Thinking Elixir podcast is a weekly show where we talk about the Elixir programming language and the community around it. We cover news and interview guests to learn more about projects and developments in the community. Whether you are already experienced with Elixir or just exploring the language, this show is created with you in mind. We discuss community news, Functional Programming, transitioning from OOP, coding conventions, and more. Guests visit the show to help challenge our assumptions, learn about new developments and grow in the process. Subscribe to join us on this journey!