46 min listen
178: Safe Ecto Migrations and AI Updates
ratings:
Length:
30 minutes
Released:
Nov 21, 2023
Format:
Podcast episode
Description
In this episode, we revisit the Safe Ecto Migrations guide and get an update on improvements. We also discuss the role and importance of OpenSource AI models. We cover updates in the Elixir LangChain library, the advantages of self-hosted AI models like Mistral, and learning how to run Bumblebee on Fly.io GPUs. Tune in for an insightful blend of database best practices and the cutting-edge of AI in Elixir, plus more!
Show Notes online - http://podcast.thinkingelixir.com/178 (http://podcast.thinkingelixir.com/178)
Elixir Community News
- https://www.youtube.com/playlist?list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY (https://www.youtube.com/playlist?list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY?utm_source=thinkingelixir&utm_medium=shownotes) – Playlist of 44+ ElixirConf US talks now available on YouTube.
- https://www.youtube.com/watch?v=eCnfdHtgAN4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=39 (https://www.youtube.com/watch?v=eCnfdHtgAN4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=39?utm_source=thinkingelixir&utm_medium=shownotes) – Owen Bickford's talk on Elixir's Secret Ingredient at ElixirConf.
- https://www.youtube.com/watch?v=gtCJ56GxKf0&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=43 (https://www.youtube.com/watch?v=gtCJ56GxKf0&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=43?utm_source=thinkingelixir&utm_medium=shownotes) – Jeffery Utter's ElixirConf presentation on Scaling Teams with Kafka on the BEAM.
- https://www.youtube.com/watch?v=VLO0ma-1uD4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=44 (https://www.youtube.com/watch?v=VLO0ma-1uD4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=44?utm_source=thinkingelixir&utm_medium=shownotes) – Andrew Bennett discusses Erlang Dist Filtering and the WhatsApp Runtime System at ElixirConf.
- https://www.youtube.com/watch?v=bBaZDAynM08 (https://www.youtube.com/watch?v=bBaZDAynM08?utm_source=thinkingelixir&utm_medium=shownotes) – Michael Lubas's insights into Elixir Security from a Business and Technical Perspective.
- https://dockyard.com/blog/2023/11/01/the-road-toward-live-view-native-v-0-2-part-2 (https://dockyard.com/blog/2023/11/01/the-road-toward-live-view-native-v-0-2-part-2?utm_source=thinkingelixir&utm_medium=shownotes) – Update on the progress of LiveView Native, including multi-character sigils and Phoenix layouts.
- https://sessionize.com/lambda-days-2024 (https://sessionize.com/lambda-days-2024?utm_source=thinkingelixir&utm_medium=shownotes) – Call for talks for the Lambda Days 2024 conference focused on functional programming in Kraków, Poland.
- https://twitter.com/germsvel/status/1722221427112456533 (https://twitter.com/germsvel/status/1722221427112456533?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir 1.16 introduces the ability to run multiple tests with line numbers as shown by German Velasco.
- https://www.youtube.com/watch?v=bfrzGXM-Z88 (https://www.youtube.com/watch?v=bfrzGXM-Z88?utm_source=thinkingelixir&utm_medium=shownotes) – Theo's livestream with José Valim, discussing various topics for 2.5 hours.
- https://peterullrich.com/test-an-external-read-only-repository-in-phoenix (https://peterullrich.com/test-an-external-read-only-repository-in-phoenix?utm_source=thinkingelixir&utm_medium=shownotes) – Peter Ullrich's method for testing an external, read-only repository in Phoenix.
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
- 7:43 - David introduces and explains Safe Ecto migrations.
- Updates on Safe Ecto for additional safety features and latest improvements.
- Review of the performance of using text columns in databases showing that they have the same performance as VARCHAR types.
- Examples provided of non-immutable expressions within database contexts.
- Highlighting an error that can occur when backfilling data without a sort order.
- Suggestion that Common Table Expressions (CTE) offers a more reliable me
Show Notes online - http://podcast.thinkingelixir.com/178 (http://podcast.thinkingelixir.com/178)
Elixir Community News
- https://www.youtube.com/playlist?list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY (https://www.youtube.com/playlist?list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY?utm_source=thinkingelixir&utm_medium=shownotes) – Playlist of 44+ ElixirConf US talks now available on YouTube.
- https://www.youtube.com/watch?v=eCnfdHtgAN4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=39 (https://www.youtube.com/watch?v=eCnfdHtgAN4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=39?utm_source=thinkingelixir&utm_medium=shownotes) – Owen Bickford's talk on Elixir's Secret Ingredient at ElixirConf.
- https://www.youtube.com/watch?v=gtCJ56GxKf0&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=43 (https://www.youtube.com/watch?v=gtCJ56GxKf0&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=43?utm_source=thinkingelixir&utm_medium=shownotes) – Jeffery Utter's ElixirConf presentation on Scaling Teams with Kafka on the BEAM.
- https://www.youtube.com/watch?v=VLO0ma-1uD4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=44 (https://www.youtube.com/watch?v=VLO0ma-1uD4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=44?utm_source=thinkingelixir&utm_medium=shownotes) – Andrew Bennett discusses Erlang Dist Filtering and the WhatsApp Runtime System at ElixirConf.
- https://www.youtube.com/watch?v=bBaZDAynM08 (https://www.youtube.com/watch?v=bBaZDAynM08?utm_source=thinkingelixir&utm_medium=shownotes) – Michael Lubas's insights into Elixir Security from a Business and Technical Perspective.
- https://dockyard.com/blog/2023/11/01/the-road-toward-live-view-native-v-0-2-part-2 (https://dockyard.com/blog/2023/11/01/the-road-toward-live-view-native-v-0-2-part-2?utm_source=thinkingelixir&utm_medium=shownotes) – Update on the progress of LiveView Native, including multi-character sigils and Phoenix layouts.
- https://sessionize.com/lambda-days-2024 (https://sessionize.com/lambda-days-2024?utm_source=thinkingelixir&utm_medium=shownotes) – Call for talks for the Lambda Days 2024 conference focused on functional programming in Kraków, Poland.
- https://twitter.com/germsvel/status/1722221427112456533 (https://twitter.com/germsvel/status/1722221427112456533?utm_source=thinkingelixir&utm_medium=shownotes) – Elixir 1.16 introduces the ability to run multiple tests with line numbers as shown by German Velasco.
- https://www.youtube.com/watch?v=bfrzGXM-Z88 (https://www.youtube.com/watch?v=bfrzGXM-Z88?utm_source=thinkingelixir&utm_medium=shownotes) – Theo's livestream with José Valim, discussing various topics for 2.5 hours.
- https://peterullrich.com/test-an-external-read-only-repository-in-phoenix (https://peterullrich.com/test-an-external-read-only-repository-in-phoenix?utm_source=thinkingelixir&utm_medium=shownotes) – Peter Ullrich's method for testing an external, read-only repository in Phoenix.
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
- 7:43 - David introduces and explains Safe Ecto migrations.
- Updates on Safe Ecto for additional safety features and latest improvements.
- Review of the performance of using text columns in databases showing that they have the same performance as VARCHAR types.
- Examples provided of non-immutable expressions within database contexts.
- Highlighting an error that can occur when backfilling data without a sort order.
- Suggestion that Common Table Expressions (CTE) offers a more reliable me
Released:
Nov 21, 2023
Format:
Podcast episode
Titles in the series (100)
6: Elixir at FontAwesome with Rob Madole: FontAwesome, the internet's most popular icon toolkit, uses Elixir behind the scenes. We talk with Rob Madole to learn how they got there and Rob shares insights to what goes on behind-the-scenes. We cover how they teach Elixir to their team, by Thinking Elixir Podcast