RSSAmplifier

Blog

Dan Schultzer

danschultzer.comRSS feed ↗23 posts

Latest posts

ECharts in Phoenix LiveView

How to add live-updating charts with ECharts in Phoenix LiveView

Normalize chart data using Ecto and PostgreSQL

How to produce good chart data using Ecto and PostgreSQL

Deleted record audit log with Ecto and PostgreSQL

How to log deletion of records using Ecto and PostgreSQL

Distributed Erlang without DNS on AWS ECS

How to connect Elixir nodes on AWS ECS using resource tags

Chasing a Phoenix LiveView long poll reload issue

The reason why distribution must be set up to prevent infinite reload with Phoenix LiveView

Development helpers in Elixir

How I set up development helpers in my Elixir projects.

JavaScript source maps with Phoenix 1.7

How to generate and upload JavaScript source maps with Phoenix 1.7 to Sentry with GitHub Actions.

Content Security Policy header with Phoenix LiveView

How to set up Content Security Policy with Phoenix LiveView.

CSV Export using NimbleCSV

Using NimbleCSV to export large CSV files.

Search DSL using NimbleParsec

Using NimbleParsec to build a search DSL.

Hierarchical tree depth filter in Ecto

Using CTE in Ecto to filter out a certain depth of nodes starting from the leaf nodes

Polymorphic embeds in Ecto

How to abuse Ecto embeds to do our dirty polymorphic bidding.

How to set up AWS RDS IAM database authentication with Ecto

Snippets helping you set up AWS RDS IAM database authentication with Ecto.

When to use field :default in an Ecto schema

Understanding how the Ecto schema field option `:default` works, and when to use it.

Prefixed base62 UUIDv7 Object IDs with Ecto

How I set up Ecto to use prefixed base62 UUIDv7 Object IDs.

IdempotencyPlug - idempotent POST requests

The motivations behind building IdempotencyPlug.

Simple fixtures in ExUnit

How I roll my own fixtures logic in ExUnit.

TestServer - mock third-party services

The motivations behind building TestServer for ExUnit.

Rewrites: The perils of not knowing what you don't know

As software engineers, there's a trap that we all may fall into if we ignore early warning signs.

Adding XML feeds to Phoenix

How I set up generic XML document rendering used for an Atom XML feed with NimblePublisher.

IPv6-only network in Elixir

How I dealt with issues arising from setting up an Elixir app in an IPv6-only network.

Dynamic image generation with Elixir

How I use the Image library to dynamically generate Open Graph PNG images for my blog posts from SVG.

Welcome to my blog

New year, new blog. Built with Phoenix, NimblePublisher, and Tailwind.