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 [email protected] (mailto:[email protected])
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 method for certain database operations.
- David's call for a library to assist with running database operations through a UI, indicating the desire for tooling improvements.
- Consider the use-cases in the development and implementation of safety tools for databases.
- 18:47 - Mark discusses new Fly.io GPU hardware, model improvements, and the Bumblebee tool.
- Mistral LLM and its capabilities in the AI space.
- Insights into running Bumblebee on GPUs and performance considerations.
- Importance of Mistral being self-hosted.
- Explanation of why self-hosting AI models like Mistral is significant for developers and users.
- OpenAI's outage interrupted Mark's AI-powered workout trainer.
- Outlining the Elixir LangChain goals, its roadmap, and potential impact on AI and data processing.
- Discussion on how Large Language Models (LLMs) are effectively used for data extraction tasks.
- Discussion on what an AI router is and what problem it solves.
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Message the show on Fediverse - @[email protected] (https://genserver.social/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- Mark Ericksen on Fediverse - @[email protected] (https://genserver.social/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- David Bernheisel on Fediverse - @[email protected] (https://genserver.social/dbern)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
- Cade Ward on Fediverse - @[email protected] (https://genserver.social/cadebward)

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

Elixir Community News

https://www.youtube.com/playlist?list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY – Playlist of 44+ ElixirConf US talks now available on YouTube.
https://www.youtube.com/watch?v=eCnfdHtgAN4&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=39 – Owen Bickford's talk on Elixir's Secret Ingredient at ElixirConf.
https://www.youtube.com/watch?v=gtCJ56GxKf0&list=PLqj39LCvnOWbHaZldxw_g02RaTQ4vQ1eY&index=43 – 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 – Andrew Bennett discusses Erlang Dist Filtering and the WhatsApp Runtime System at ElixirConf.
https://www.youtube.com/watch?v=bBaZDAynM08 – 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 – Update on the progress of LiveView Native, including multi-character sigils and Phoenix layouts.
https://sessionize.com/lambda-days-2024 – Call for talks for the Lambda Days 2024 conference focused on functional programming in Kraków, Poland.
https://twitter.com/germsvel/status/1722221427112456533 – 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 – Theo's livestream with José Valim, discussing various topics for 2.5 hours.
https://peterullrich.com/test-an-external-read-only-repository-in-phoenix – 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 or email at [email protected]

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 method for certain database operations.
David's call for a library to assist with running database operations through a UI, indicating the desire for tooling improvements.
Consider the use-cases in the development and implementation of safety tools for databases.
18:47 - Mark discusses new Fly.io GPU hardware, model improvements, and the Bumblebee tool.
Mistral LLM and its capabilities in the AI space.
Insights into running Bumblebee on GPUs and performance considerations.
Importance of Mistral being self-hosted.
Explanation of why self-hosting AI models like Mistral is significant for developers and users.
OpenAI's outage interrupted Mark's AI-powered workout trainer.
Outlining the Elixir LangChain goals, its roadmap, and potential impact on AI and data processing.
Discussion on how Large Language Models (LLMs) are effectively used for data extraction tasks.
Discussion on what an AI router is and what problem it solves.

Find us online

Message the show - @ThinkingElixir
Message the show on Fediverse - @[email protected]
Email the show - [email protected]
Mark Ericksen - @brainlid
Mark Ericksen on Fediverse - @[email protected]
David Bernheisel - @bernheisel
David Bernheisel on Fediverse - @[email protected]
Cade Ward - @cadebward
Cade Ward on Fediverse - @[email protected]

Sponsored By:

Fly.io: Fly.io is a great place to deploy your next Phoenix application! Check them out!

Twitter Mentions