# Dashbit Blog

At Dashbit, we help startups and enterprises adopt and run Elixir in production via the Elixir Development Subscription. Our goal is to advance the Elixir ecosystem through continuous adoption and sustainable open source development.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Precision in type system design (or the Option type as an anti-pattern)

DevFeed: [Precision in type system design (or the Option type as an anti-pattern)](<https://devfeed.tech/articles/precision-in-type-system-design-or-the-option-type-as-an-anti-pattern-139422.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/precision-in-type-system-design>)

Author: José Valim

Published: 2026-11-17T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [array](<https://devfeed.tech/tags/array.md>), [arrays](<https://devfeed.tech/tags/arrays.md>), [article](<https://devfeed.tech/tags/article.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [collection](<https://devfeed.tech/tags/collection.md>), [design](<https://devfeed.tech/tags/design.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [option](<https://devfeed.tech/tags/option.md>), [precision](<https://devfeed.tech/tags/precision.md>), [simplicity](<https://devfeed.tech/tags/simplicity.md>), [type](<https://devfeed.tech/tags/type.md>), [type-system](<https://devfeed.tech/tags/type-system.md>)

### AI overview

The article argues that greater type precision can expose hidden runtime assumptions, while also making programs harder to prove, signatures more verbose, error messages harder to read, and type checking slower. Its Elixir examples show how distinguishing empty from non-empty lists lets `Enum.max_by` require a non-empty list and catches an unsafe refactor; however, proving that a list remains non-empty after dropping elements can still exceed the type system's capabilities. The author calls `Option`/`Maybe` results an anti-pattern for API and language designers when they compensate for behavior that could be guaranteed statically, while recognizing they remain appropriate for inherently uncertain operations such as file access. Types rule out some errors but do not make programs error-free, so runtime failures still need isolation. The article concludes that sound, decidable type systems will reject some valid programs, and that designers must balance precision with ergonomics and performance.

### Source excerpt

When fine-tuning a type system for precision, we often have to make trade-offs between simplicity and expressiveness in its design. The goal of this article is to explore these trade-offs.

## Evolving programming languages in the AI era

DevFeed: [Evolving programming languages in the AI era](<https://devfeed.tech/articles/evolving-programming-languages-in-the-ai-era-59208.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/evolving-ai-era>)

Author: José Valim

Published: 2026-09-24T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Esolang](<https://devfeed.tech/topics/esolang.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [runtime](<https://devfeed.tech/tags/runtime.md>)

### AI overview

An opinionated exploration of how programming languages, their ecosystems, and their communities may evolve as coding agents write more code. It also considers how language tools should adapt to coding agents as users.

### Source excerpt

What happens to programming languages when humans are no longer writing most of the code?

## WebSockets vs. SSE should be about ordering and correctness

DevFeed: [WebSockets vs. SSE should be about ordering and correctness](<https://devfeed.tech/articles/websockets-vs-sse-should-be-about-ordering-and-correctness-44033.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/websockets-vs-sse>)

Author: José Valim

Published: 2026-08-25T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [ordering](<https://devfeed.tech/topics/ordering.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Server-sent events (SSE)](<https://devfeed.tech/topics/server-sent-events-sse.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [fetch](<https://devfeed.tech/tags/fetch.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [sse](<https://devfeed.tech/tags/sse.md>), [websockets](<https://devfeed.tech/tags/websockets.md>)

### AI overview

The article argues that the comparison between WebSockets and Server-Sent Events with Fetch should focus primarily on event ordering and correctness. It explains how different event streams can arrive out of order, creating inconsistent interfaces and misleading user experiences, while noting secondary performance and connection-authentication benefits of WebSockets.

### Source excerpt

The discussion around delivering HTML over WebSockets vs. Server-Sent Events (SSE) with Fetch should really be about event ordering and correctness. Let's understand why.

## Distributed Python dataframes and machine learning with Livebook and Elixir

DevFeed: [Distributed Python dataframes and machine learning with Livebook and Elixir](<https://devfeed.tech/articles/distributed-python-dataframes-and-machine-learning-with-livebook-and-elixir-43994.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/distributed-python-livebook>)

Author: José Valim

Published: 2026-03-11T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Python](<https://devfeed.tech/topics/python.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [apache-arrow](<https://devfeed.tech/topics/apache-arrow.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>)

Tags: [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [fly-io](<https://devfeed.tech/tags/fly-io.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [k8s](<https://devfeed.tech/tags/k8s.md>), [livebook](<https://devfeed.tech/tags/livebook.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This release adds full Python integration to Livebook, including reproducible environments, Python and Elixir interoperability, zero-copy Apache Arrow data transfers, distributed execution, and deployment across Kubernetes clusters and Fly.io machines.

### Source excerpt

Livebook now fully integrates with Python, from reproducible environments to distributed dataframes and machine learning.

## Type systems are leaky abstractions: the case of Map.take!/2

DevFeed: [Type systems are leaky abstractions: the case of Map.take!/2](<https://devfeed.tech/articles/type-systems-are-leaky-abstractions-the-case-of-map-take-2-44027.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/type-systems-are-leaky-abstractions-map-take>)

Author: José Valim

Published: 2026-03-03T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Elixir](<https://devfeed.tech/topics/elixir.md>), [function](<https://devfeed.tech/topics/function.md>), [subtype](<https://devfeed.tech/topics/subtype.md>), [standard](<https://devfeed.tech/topics/standard.md>), [Code](<https://devfeed.tech/topics/code.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [code](<https://devfeed.tech/tags/code.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [function](<https://devfeed.tech/tags/function.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [standard](<https://devfeed.tech/tags/standard.md>), [structure](<https://devfeed.tech/tags/structure.md>), [type-system](<https://devfeed.tech/tags/type-system.md>)

### AI overview

An article examines how adding a type system to Elixir exposes limitations in the proposed Map.take!/2 function. It discusses map records, missing keys, raising behavior, and the difficulty of expressing the function's output type precisely.

### Source excerpt

Adding a type system to an existing dynamic language is a great exercise in showing all of the different ways type systems restrict the expressive power of programming languages. In this article, we will discuss one of said examples by exploring a potential `Map.take!/2` function as part of Elixir's standard library.

## Why Elixir is the best language for AI

DevFeed: [Why Elixir is the best language for AI](<https://devfeed.tech/articles/why-elixir-is-the-best-language-for-ai-44036.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/why-elixir-best-language-for-ai>)

Author: José Valim

Published: 2026-02-05T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [llm](<https://devfeed.tech/tags/llm.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>)

### AI overview

The article examines why Elixir performed strongly in a Tencent study measuring how well language models solved problems across 20 programming languages. It discusses immutability, readability, and other language features as possible reasons for Elixir's performance and relates them to coding agents.

### Source excerpt

A recent study by Tencent showed that Elixir had the highest completion rate across models when compared among 20 different programming languages. In this article, we explore the reasons why that may be the case and how that extrapolates to coding agents.

## Zero Trust Auth for Plug/Phoenix apps is here

DevFeed: [Zero Trust Auth for Plug/Phoenix apps is here](<https://devfeed.tech/articles/zero-trust-auth-for-plug-phoenix-apps-is-here-44041.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/zero-trust-for-plug-phoenix>)

Author: José Valim

Published: 2025-12-16T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [phoenix](<https://devfeed.tech/topics/phoenix.md>), [Library](<https://devfeed.tech/topics/library.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [tailscale](<https://devfeed.tech/topics/tailscale.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [plug](<https://devfeed.tech/tags/plug.md>), [web](<https://devfeed.tech/tags/web.md>), [zero-trust](<https://devfeed.tech/tags/zero-trust.md>)

### AI overview

Dashbit announces nimble_zta, an Elixir library that adds Zero Trust Auth to Plug/Phoenix web applications. It delegates authentication and authorization to supported identity and access providers, including Cloudflare, Google Cloud Platform, and Tailscale, while forwarding credentials to the application.

### Source excerpt

We have just released `nimble_zta`, a library that allows developers to add Zero Trust Auth (ZTA) to their Plug/Phoenix web apps

## The path to Tidewave: beyond code intelligence

DevFeed: [The path to Tidewave: beyond code intelligence](<https://devfeed.tech/articles/the-path-to-tidewave-beyond-code-intelligence-44026.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/the-path-to-tidewave>)

Author: José Valim

Published: 2025-06-06T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Loop Engineering](<https://devfeed.tech/topics/loop-engineering.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Ruby on Rails](<https://devfeed.tech/topics/ruby-on-rails.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Security Information and Event Management (SIEM)](<https://devfeed.tech/topics/siem-security.md>), [Database](<https://devfeed.tech/topics/database.md>), [Tree-sitter](<https://devfeed.tech/topics/tree-sitter.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [code](<https://devfeed.tech/tags/code.md>), [databases](<https://devfeed.tech/tags/databases.md>), [development](<https://devfeed.tech/tags/development.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [rails](<https://devfeed.tech/tags/rails.md>), [tidewave](<https://devfeed.tech/tags/tidewave.md>)

### AI overview

The article outlines Tidewave's vision for AI-assisted software development through runtime intelligence. It describes an MCP server for Phoenix and Rails that connects editors and AI assistants to a running web application's logs, databases, documentation, build tools, REPL, WebSocket connections, and background jobs.

### Source excerpt

The path to Tidewave: a collection of tools that speed up development with AI agents by understanding your web application, how it runs, and what it delivers

## Embedding Python in Elixir, it's Fine

DevFeed: [Embedding Python in Elixir, it's Fine](<https://devfeed.tech/articles/embedding-python-in-elixir-it-s-fine-44017.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/running-python-in-elixir-its-fine>)

Author: Jonatan Kłosko

Published: 2025-02-21T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Python](<https://devfeed.tech/topics/python.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [app-development](<https://devfeed.tech/tags/app-development.md>), [code](<https://devfeed.tech/tags/code.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [livebook](<https://devfeed.tech/tags/livebook.md>), [nifs](<https://devfeed.tech/tags/nifs.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This release introduces Pythonx, a tool that embeds the Python interpreter in the Erlang VM for Elixir applications. It provides automatic data conversion between Elixir and Python, code evaluation, and virtual environment management, helping teams use existing Python packages within Elixir-based data and machine-learning workflows.

### Source excerpt

Introducing Python interpreter embedded in Elixir and a Fine way to write your NIFs.

## Dashbit plans for 2025

DevFeed: [Dashbit plans for 2025](<https://devfeed.tech/articles/dashbit-plans-for-2025-43992.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/dashbit-plans-2025>)

Author: José Valim

Published: 2025-02-19T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [phoenix](<https://devfeed.tech/topics/phoenix.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [security](<https://devfeed.tech/tags/security.md>), [subscription](<https://devfeed.tech/tags/subscription.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

Dashbit announces that it is expanding its Elixir Development Subscription team from three engineers to four after waiting times reached an average of 12 months. The company also outlines 2025 goals for Elixir type inference, Phoenix onboarding improvements, Livebook and Req v1.0 releases, and related open-source projects.

### Source excerpt

Dashbit announces expansion of its subscription team and their open source goals for 2025

## Data evolution with set-theoretic types

DevFeed: [Data evolution with set-theoretic types](<https://devfeed.tech/articles/data-evolution-with-set-theoretic-types-43993.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/data-evolution-with-set-theoretic-types>)

Author: José Valim

Published: 2025-01-14T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Library](<https://devfeed.tech/topics/library.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [data](<https://devfeed.tech/tags/data.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [languages](<https://devfeed.tech/tags/languages.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [rust](<https://devfeed.tech/tags/rust.md>), [structs](<https://devfeed.tech/tags/structs.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

This article examines how set-theoretic types could help libraries evolve public data definitions without breaking backward compatibility. It discusses an interoperability issue involving Elixir, C, and Rust, and presents a compiler-verified, type-safe approach while inviting discussion rather than proposing an official Elixir language change.

### Source excerpt

We explore how set-theoretic types could address how many statically typed languages do not allow libraries to evolve their public data definitions in a backwards compatible manner. The proposed solution aims to be automatically verified by the compiler and type safe.

## Remix's concurrent submissions are fundamentally flawed (without causal ordering)

DevFeed: [Remix's concurrent submissions are fundamentally flawed (without causal ordering)](<https://devfeed.tech/articles/remix-s-concurrent-submissions-are-fundamentally-flawed-without-causal-ordering-44012.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/remix-concurrent-submissions-flawed>)

Author: José Valim

Published: 2024-09-12T00:00:00Z

Content type: opinion

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Remix](<https://devfeed.tech/topics/remix.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [client](<https://devfeed.tech/topics/client.md>), [Server](<https://devfeed.tech/topics/server.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [database](<https://devfeed.tech/tags/database.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [remix](<https://devfeed.tech/tags/remix.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

The article argues that Remix's concurrent submissions and revalidation do not reliably preserve causal ordering. It examines the cost of multiple server round-trips, stale-data risks, and race conditions in applications backed by databases.

### Source excerpt

In this article we discuss the complexity of introducing concurrent operations on the client wuthout causal ordering on the server.

## Soft deletes with Ecto and PostgreSQL

DevFeed: [Soft deletes with Ecto and PostgreSQL](<https://devfeed.tech/articles/soft-deletes-with-ecto-and-postgresql-44020.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/soft-deletes-with-ecto>)

Author: José Valim

Published: 2024-08-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [phoenix](<https://devfeed.tech/topics/phoenix.md>), [Database](<https://devfeed.tech/topics/database.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [delete](<https://devfeed.tech/tags/delete.md>), [ecto](<https://devfeed.tech/tags/ecto.md>), [implement](<https://devfeed.tech/tags/implement.md>), [migration](<https://devfeed.tech/tags/migration.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rules](<https://devfeed.tech/tags/rules.md>), [soft-deletes](<https://devfeed.tech/tags/soft-deletes.md>)

### AI overview

This tutorial explains how to implement soft deletes in an Ecto application backed by PostgreSQL. It compares application-level handling with database-level enforcement using PostgreSQL rules and views.

### Source excerpt

This article details how to implement soft-delete in Ecto using PostgreSQL rules and views

## SDKs with Req: S3

DevFeed: [SDKs with Req: S3](<https://devfeed.tech/articles/sdks-with-req-s3-44018.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/sdks-with-req-s3>)

Author: Wojtek Mach

Published: 2024-07-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [API](<https://devfeed.tech/topics/api.md>), [cURL](<https://devfeed.tech/topics/curl.md>), [Library](<https://devfeed.tech/topics/library.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Multi-tenancy](<https://devfeed.tech/topics/multi-tenancy.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [Digital Ocean](<https://devfeed.tech/topics/digital-ocean.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [aws-s3](<https://devfeed.tech/tags/aws-s3.md>), [clients](<https://devfeed.tech/tags/clients.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [digitalocean](<https://devfeed.tech/tags/digitalocean.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [http-client](<https://devfeed.tech/tags/http-client.md>), [multi-tenancy](<https://devfeed.tech/tags/multi-tenancy.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [req](<https://devfeed.tech/tags/req.md>), [s3](<https://devfeed.tech/tags/s3.md>), [sdks](<https://devfeed.tech/tags/sdks.md>)

### AI overview

A tutorial on building a small S3 client layer with Req instead of relying on a large SDK. It explains using HTTP requests, AWS request signing, and environment variables, with examples involving S3-compatible storage services.

### Source excerpt

Let's build an S3 "SDK" with Req!

## SDKs with Req: Stripe

DevFeed: [SDKs with Req: Stripe](<https://devfeed.tech/articles/sdks-with-req-stripe-44019.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/sdks-with-req-stripe>)

Author: Wojtek Mach

Published: 2024-06-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [SDK](<https://devfeed.tech/topics/sdk.md>), [stripe](<https://devfeed.tech/topics/stripe.md>), [Code generation](<https://devfeed.tech/topics/code-generation.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [autocomplete](<https://devfeed.tech/topics/autocomplete.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [autocomplete](<https://devfeed.tech/tags/autocomplete.md>), [codegen](<https://devfeed.tech/tags/codegen.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [http-client](<https://devfeed.tech/tags/http-client.md>), [req](<https://devfeed.tech/tags/req.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [stripe](<https://devfeed.tech/tags/stripe.md>)

### AI overview

This article examines SDK design through an Elixir implementation for Stripe using Req. It discusses API organization, generated code, documentation, autocomplete, static analysis, and tradeoffs such as lagging platform support and code bloat.

### Source excerpt

Let's build a Stripe "SDK" with Req!

## Announcing Phoenix Playground

DevFeed: [Announcing Phoenix Playground](<https://devfeed.tech/articles/announcing-phoenix-playground-43984.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/announcing-phoenix-playground>)

Author: Wojtek Mach

Published: 2024-06-18T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [phoenix](<https://devfeed.tech/topics/phoenix.md>), [Elixir](<https://devfeed.tech/topics/elixir.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Code](<https://devfeed.tech/topics/code.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [boilerplate](<https://devfeed.tech/tags/boilerplate.md>), [code](<https://devfeed.tech/tags/code.md>), [development](<https://devfeed.tech/tags/development.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [playground](<https://devfeed.tech/tags/playground.md>), [prototyping](<https://devfeed.tech/tags/prototyping.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [server-logs](<https://devfeed.tech/tags/server-logs.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

An announcement of Phoenix Playground, a tool for running single-file Phoenix applications. It supports prototyping, code sharing, live code reloading, real-time server logs, testing, controllers, and plugs.

### Source excerpt

Introduction to Phoenix Playground, the easiest way to run single-file Phoenix apps.

## Web apps have client and server state (plus realtime and LiveView)

DevFeed: [Web apps have client and server state (plus realtime and LiveView)](<https://devfeed.tech/articles/web-apps-have-client-and-server-state-plus-realtime-and-liveview-44032.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/web-apps-have-client-and-server-state>)

Author: José Valim

Published: 2024-06-07T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Web app](<https://devfeed.tech/topics/webapp.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [Database](<https://devfeed.tech/topics/database.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [database](<https://devfeed.tech/tags/database.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [pubsub](<https://devfeed.tech/tags/pubsub.md>), [realtime](<https://devfeed.tech/tags/realtime.md>), [server](<https://devfeed.tech/tags/server.md>), [state](<https://devfeed.tech/tags/state.md>), [transactions](<https://devfeed.tech/tags/transactions.md>), [ui](<https://devfeed.tech/tags/ui.md>), [web-apps](<https://devfeed.tech/tags/web-apps.md>)

### AI overview

This article explains how web applications manage client and server state, including stale client data, realtime updates, optimistic UI, and server acknowledgement. It also discusses database races and the use of atomic operations and transactions with isolation levels.

### Source excerpt

Web applications have client and server state, let's see some examples and learn how LiveView, in particular, deals with state and realtime

## Elixir and Machine Learning in 2024 so far: MLIR, Apache Arrow, structured LLM, and more

DevFeed: [Elixir and Machine Learning in 2024 so far: MLIR, Apache Arrow, structured LLM, and more](<https://devfeed.tech/articles/elixir-and-machine-learning-in-2024-so-far-mlir-apache-arrow-structured-llm-and-more-43998.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/elixir-ml-s1-2024-mlir-arrow-instructor>)

Author: José Valim

Published: 2024-05-29T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [mlir](<https://devfeed.tech/topics/mlir.md>), [apache-arrow](<https://devfeed.tech/topics/apache-arrow.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [data](<https://devfeed.tech/topics/data.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [clustering](<https://devfeed.tech/topics/clustering.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [apache-arrow](<https://devfeed.tech/tags/apache-arrow.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [cross-compilation](<https://devfeed.tech/tags/cross-compilation.md>), [data](<https://devfeed.tech/tags/data.md>), [data-and-machine-learning](<https://devfeed.tech/tags/data-and-machine-learning.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [embedded-devices](<https://devfeed.tech/tags/embedded-devices.md>), [explorer](<https://devfeed.tech/tags/explorer.md>), [json](<https://devfeed.tech/tags/json.md>), [livebook](<https://devfeed.tech/tags/livebook.md>), [llm](<https://devfeed.tech/tags/llm.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mlir](<https://devfeed.tech/tags/mlir.md>), [nx](<https://devfeed.tech/tags/nx.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [s3](<https://devfeed.tech/tags/s3.md>), [scholar](<https://devfeed.tech/tags/scholar.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

An update on Elixir and machine learning projects, covering MLIR support in Nx, Arrow-compatible types and S3 streaming in Explorer, traditional machine learning features in Scholar, and structured LLM work.

### Source excerpt

An update on the latest advancements of Elixir, data, and Machine Learning.

## Req v0.5 released

DevFeed: [Req v0.5 released](<https://devfeed.tech/articles/req-v0-5-released-44015.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/req-v0.5>)

Author: Wojtek Mach

Published: 2024-05-28T00:00:00Z

Content type: release

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [releases](<https://devfeed.tech/topics/releases.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>)

Tags: [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [http-client](<https://devfeed.tech/tags/http-client.md>), [release](<https://devfeed.tech/tags/release.md>), [req](<https://devfeed.tech/tags/req.md>), [retries](<https://devfeed.tech/tags/retries.md>), [state](<https://devfeed.tech/tags/state.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Req v0.5 adds ordered request expectations and network-error simulation for more realistic HTTP client tests. The release also standardizes network and protocol errors, adds exception types for archive and compression errors, improves response streaming, and preserves automatic retries for transient errors.

### Source excerpt

Req v0.5 is out with testing enhancements, standardized errors, response streaming additions and other improvements.

## Req API Client Testing

DevFeed: [Req API Client Testing](<https://devfeed.tech/articles/req-api-client-testing-44014.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/req-api-client-testing>)

Author: Wojtek Mach

Published: 2024-04-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Elixir](<https://devfeed.tech/topics/elixir.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [client](<https://devfeed.tech/topics/client.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [Feathers](<https://devfeed.tech/topics/feathers.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [boilerplate](<https://devfeed.tech/tags/boilerplate.md>), [client](<https://devfeed.tech/tags/client.md>), [coupling](<https://devfeed.tech/tags/coupling.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [http](<https://devfeed.tech/tags/http.md>), [http-client](<https://devfeed.tech/tags/http-client.md>), [mock](<https://devfeed.tech/tags/mock.md>), [race-conditions](<https://devfeed.tech/tags/race-conditions.md>), [req](<https://devfeed.tech/tags/req.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

A guide to testing HTTP API clients built with Req in Elixir. It explains the drawbacks of testing external network requests with mocks and stubs, then discusses explicit contracts, configurable implementations, and race conditions caused by global application state.

### Source excerpt

A guide through different testing approaches with Req-based API clients.

## Phoenix LiveView latency and rendering optimizations

DevFeed: [Phoenix LiveView latency and rendering optimizations](<https://devfeed.tech/articles/supercharge-your-app-latency-and-rendering-optimizations-in-phoenix-liveview-44007.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/latency-rendering-liveview>)

Author: José Valim

Published: 2023-10-17T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [phoenix](<https://devfeed.tech/topics/phoenix.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [client](<https://devfeed.tech/tags/client.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [latency](<https://devfeed.tech/tags/latency.md>), [liveview](<https://devfeed.tech/tags/liveview.md>), [optimize](<https://devfeed.tech/tags/optimize.md>), [performance](<https://devfeed.tech/tags/performance.md>), [phoenix](<https://devfeed.tech/tags/phoenix.md>), [web](<https://devfeed.tech/tags/web.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

This article describes how Phoenix LiveView optimizes latency, bandwidth, and client-side rendering through server-rendered HTML, a JavaScript client, and stateful WebSocket connections supported by the Erlang VM.

### Source excerpt

LiveView's unique integration between server and client allows it to drastically optimize both latency and bandwidth, leading to user experiences that are faster and smoother than any other client-server combo out there

## Elixir and Machine Learning: Q3 2023 roundup

DevFeed: [Elixir and Machine Learning: Q3 2023 roundup](<https://devfeed.tech/articles/elixir-and-machine-learning-q3-2023-roundup-43997.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/elixir-and-machine-learning-q3-roundup>)

Author: José Valim

Published: 2023-10-03T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Parallelism](<https://devfeed.tech/topics/parallelism.md>)

Tags: [bumblebee](<https://devfeed.tech/tags/bumblebee.md>), [developers](<https://devfeed.tech/tags/developers.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [explorer](<https://devfeed.tech/tags/explorer.md>), [just](<https://devfeed.tech/tags/just.md>), [livebook](<https://devfeed.tech/tags/livebook.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [nx](<https://devfeed.tech/tags/nx.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [scholar](<https://devfeed.tech/tags/scholar.md>), [stream](<https://devfeed.tech/tags/stream.md>)

### AI overview

A Q3 2023 roundup of developments in the Elixir machine learning ecosystem. It covers Nx improvements for CPU and GPU computation, parallel processing, data streaming, model serving, request batching, distributed serving across nodes and GPUs, batch keys, and streaming inputs and outputs.

### Source excerpt

An update on the latest advancements of Elixir, data, and Machine Learning.

## Why the dot (when calling anonymous functions)?

DevFeed: [Why the dot (when calling anonymous functions)?](<https://devfeed.tech/articles/why-the-dot-when-calling-anonymous-functions-44037.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/why-the-dot>)

Author: José Valim

Published: 2023-08-14T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [function](<https://devfeed.tech/topics/function.md>), [Code](<https://devfeed.tech/topics/code.md>), [Clojure](<https://devfeed.tech/topics/clojure.md>), [Haskell](<https://devfeed.tech/topics/haskell.md>), [scheme](<https://devfeed.tech/topics/scheme.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [functions](<https://devfeed.tech/tags/functions.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [variable](<https://devfeed.tech/tags/variable.md>)

### AI overview

This article explains why Elixir uses a dot when calling anonymous functions. It connects that syntax to function name-and-arity identification on the Erlang VM and contrasts Elixir's behavior with languages such as Clojure, Scheme, and Haskell.

### Source excerpt

A detailed explanation of why Elixir uses a dot when invoking anonymous functions

## Livebook as an educational tool

DevFeed: [Livebook as an educational tool](<https://devfeed.tech/articles/livebook-as-an-educational-tool-44008.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/livebook-as-an-educational-tool>)

Author: Alex Koutmos

Published: 2022-07-26T00:00:00Z

Content type: article

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [Elixir](<https://devfeed.tech/topics/elixir.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [developer](<https://devfeed.tech/tags/developer.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [development](<https://devfeed.tech/tags/development.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [exdoc](<https://devfeed.tech/tags/exdoc.md>), [learning](<https://devfeed.tech/tags/learning.md>), [livebook](<https://devfeed.tech/tags/livebook.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

A guest article explains how Livebook supports Elixir education, prototyping, experimentation, and production database exploration. It also discusses how Elixir's consistent tooling and ecosystem contribute to a strong developer experience.

### Source excerpt

A guest article from Alex Koutmos on using Livebook as a learning tool for Elixir

[Next page](<https://devfeed.tech/sources/dashbit-blog.md?cursor=WyIyMDIyLTA3LTI2VDAwOjAwOjAwKzAwOjAwIiwgImU4MmRhNDk1LWMwOTItNGViYy04MTk0LTAxZTBhNjM1MjAzOSJd>)