Programming

Programming

1462 bookmarks
Custom sorting
TIL: File Uploads Using the Req Elixir Library
TIL: File Uploads Using the Req Elixir Library
The Req Elixir library doesn't support file uploads(as of version 0.4.5). Instead, you need to use multipart to construct the HTTP request before you send it.
·samrat.me·
TIL: File Uploads Using the Req Elixir Library
C++ Guidelines
C++ Guidelines
C++ is definitely a language that has Lots of Ways to do It – kind of like Perl’s TIMTOWTSAC. A consequence is that when writing code, you need to think about which way to do things. When context-switching between projects, employers, or what-have-you, you may have to context-switch preferences for which way is preferred. Guidelines can help, and I love them.
·euroquis.nl·
C++ Guidelines
Unpacking Elixir: The Actor Model
Unpacking Elixir: The Actor Model
A lot has been said about The Actor Model when it comes to Erlang. The Actor Model is generally a model for concurrent computation. And Erlang was not built to implement Actors. I'm sure we could be debate about whether it does or not. I have not read Carl Hewitt and I'm not going to offer an opinion. It does something similar enough in terms of message passing and spawning. It might be the case that Erlang processes has shifted what people expect an Actor to be and rather than be a realization of the theory it has become an implementation that overrides the theory.
·underjord.io·
Unpacking Elixir: The Actor Model
Easily Generate Mock Data with PostgreSQL
Easily Generate Mock Data with PostgreSQL
Unveil the power of the generate_series function in PostgreSQL for automated data generation. From simple number sequences to complex time-series data, learn how to streamline your SQL operations with practical examples and use cases.
·dylanpaulus.com·
Easily Generate Mock Data with PostgreSQL
Decoding JSON into Elixir Structs
Decoding JSON into Elixir Structs
This post covers a few things I learned when decoding JSON into Elixir structs.
·dtang.dev·
Decoding JSON into Elixir Structs
What Is Elixir Behavior And How To Use It
What Is Elixir Behavior And How To Use It
Elixir behaviors play a pivotal role in crafting consistent and scalable codebases. In this article, developers can explore the nuances of behaviors, how they bolster modularity in Elixir projects, and the practicalities of their implementation. Stay tuned for a deep, code-rich exploration.
·marketsplash.com·
What Is Elixir Behavior And How To Use It
Sqids Elixir (formerly Hashids)
Sqids Elixir (formerly Hashids)
Official Elixir port of Sqids (formerly Hashids). Sqids lets you generate unique, decodable, YouTube-looking IDs from numbers.
·sqids.org·
Sqids Elixir (formerly Hashids)
Elixir Drops: Simplifying Data Validation in Elixir
Elixir Drops: Simplifying Data Validation in Elixir
Introducing Elixir Drops: improve data validation, system reliability, and reduce complexity with type-safe casting and precise schemas.
·solnic.dev·
Elixir Drops: Simplifying Data Validation in Elixir
The Road Toward LiveView Native v0.2 Part 1
The Road Toward LiveView Native v0.2 Part 1
Let's discuss some of the challenges we've faced with getting LiveView Native ready for wide adoption. In this first part of a two -part series we'll go over the challenge of modeling SwiftUI's modifier syntax.
·dockyard.com·
The Road Toward LiveView Native v0.2 Part 1
Setting up
Setting up
null
·tddphoenix.com·
Setting up
Building a Simple REST API with Elixir and Phoenix: CRUD Operations
Building a Simple REST API with Elixir and Phoenix: CRUD Operations
In this article, we explore how to build a REST API using Elixir and Phoenix, a powerful web framework known for its scalability and fault tolerance. We cover the basics of setting up a Phoenix project, defining a User schema, creating CRUD endpoints with a user controller, writing tests for the controller, and testing the API endpoints using curl commands.
·techieclues.com·
Building a Simple REST API with Elixir and Phoenix: CRUD Operations
Test-Driven APIs with Phoenix and Elixir - Semaphore
Test-Driven APIs with Phoenix and Elixir - Semaphore
Learn how to use fast feedback provided by TDD to better understand some of the Phoenix and Elixir components while implementing a feature.
·semaphoreci.com·
Test-Driven APIs with Phoenix and Elixir - Semaphore
Test Driven Development with Elixir
Test Driven Development with Elixir
Test Driven Development can be a slow and annoying process, Elixir has an interesting solution for this challenge.
·william-vincent.blog·
Test Driven Development with Elixir
Taming Complexity - Structuring Phoenix Contexts
Taming Complexity - Structuring Phoenix Contexts
Managing complexity in Phoenix contexts using Elixir: Uncover a structured layering approach—from public contexts to changesets. Streamline and optimize your Phoenix code, making it more readable and intuitively structured.
·mansour.blog·
Taming Complexity - Structuring Phoenix Contexts