Named Booleans prevent C++ bugs and save you time - Raymii.org
Adding XML feeds to Phoenix
How I set up generic XML document rendering used for an Atom XML feed with NimblePublisher.
Phoenix LiveView and SQLite Autocomplete
Build a complete Autocomplete Search with Phoenix LiveView and SQLite
MQTT for Elixir
This article introduces the MQTT protocol and its advantages, and demonstrates the use of MQTT in Elixir.
Dynamic image generation with Elixir
How I use the Image library to dynamically generate Open Graph PNG images for my blog posts from SVG.
Programming Elixir Chapter 16 Notes
Nodes-The Key to Distributing Services
Elixir Observability: OpenTelemetry, Lightstep, Honeycomb
How to integrate your Elixir application with Open Telemetry to make it observable in Lightstep and Honeycomb's reliability platform
Baby Steps
Custom styling with LiveView function component attributes
Using LiveView function components attributes to add new CSS classes to our component's default ones.
Shun keeps your HTTP secrets safe · Code Code Ship
Evadne Wu (whom many of you know from her talks at ElixirConf and PC builds on Twitter), released shun to the world in April 2022. Judging by the number of stars on the repository and the download stats on Hex, shun has gone mostly unnoticed by the Elixir community.
Shun is the library that you didn't know you needed. So what is it?
Elixir for JavaScript developers: first impressions
What I genuinely value at my workplace is that I can easily explore new languages through internal mobility. Throughout my career within…
Listen to Database Changes with Postgres Triggers and Elixir
Postgres Notifications allow you to subscribe to any changes in your database, even if they weren't made by your Elixir application! Let's learn how to set them up!
Probuild Ex Extra
Probuild Ex front started to be unresponsive. My journey about debugging and optimizing queries.
Learn Tcl by writing a simple game
Explore the basic language constructs of Tcl, which include user input, output, variables, conditional evaluation, looping, and simple functions.
Protohackers
Phoenix 1.7's verified routes
Phoenix 1.7 is dropping path helpers in favor of a new concept called verified routes. Let's see how it handles typos, missing paths, arguments, and query params.
Undefined behavior, and the Sledgehammer Principle
Previously, an article made the rounds concerning Undefined behavior that made the usual Rust crowd go nuts and the usual C and C++ people get grumpy that someone Did Not Understand the Finer Points and Nuance of Their Brilliant Language. So, as usual, it’s time for me to do what I do best
Building Custom RSpec Matchers with Regular Objects
RSpec custom matchers can be written using plain old objects.
Move or copy your strings? Possible performance impacts
You sometimes want to add a string to an existing data structure. For example, the C++17 template ‘std::optional’ may be used to represent a possible string value. You may copy it there, as this code would often do… std::string mystring; std::optionalstd::string myoption; myoption = mystring; Or you can move it: std::string mystring; std::optionalstd::string myoption; myoption … Continue reading Move or copy your strings? Possible performance impacts
Tag All the Things!
Add tagging with no extra tables using Postgres array fields and Ecto for an easy an simple solution.
Video object detection in Elixir using Nx and Bumblebee | Culttt
In this tutorial we're going to be building video object detection in Elixir using Nx and Bumblebee.
Your First LiveView — Live View Native Tutorials | Documentation
In this tutorial, you’ll build a simple LiveView app to show a list of cute cats.
A pattern / library for methods that return a status, including localization – The Reformed Programmer
Embedding XML templates in Phoenix 1.7 | Culttt
This tutorial shows how to use embedded templates in Phoenix 1.7 when the format of the template is not HTML.
Copy to Clipboard with Phoenix LiveView
Copy to a user's clipboard with Phoenix LiveView.
README — Phoenix Live Favicon v0.2.0
How to debug
As engineers we spend a lot of our time debugging problems,
yet it's rarely taught as a skill in its own right.
Some bugs are difficult enough
that they can seem borderline impossible to solve,
especially for devs toward the junior end of the spectrum.
There's no worse feeling than being stuck
on a hard problem,
not knowing how to proceed.
Of course,
the right thing to do if you're stuck like that
is ask for help;
from your team,
from other engineers in your org or social circle,
from random strangers on the internet.
As a random stranger on the internet then,
this post is my attempt to help get you unstuck
if you find yourself in that situation.
Why Your Code Sucks: Common Excuses for Bad Programming
Dave Farley's exploration of seven common excuses that software developers make for doing a terrible job.
Elixir/Phoenix Project: Import CSV & Seed Data
Goals Seed the destinations table I finished setting up the first schema with everythin...
How to Enable File Uploads with Phoenix LiveView
In one way or another, you may want to add a feature in your phoenix application that allows users to upload images and view them. Lucky…