Distributing Elixir applications with Burrito
Programming
An Opinionated Way of Organizing GraphQL APIs using Absinthe and Phoenix
REST has been the predominant architectural choice for API development on the web. GraphQL being the new kid in town has been continually gaining traction over the last few years as an alternative way to build APIs. GraphQL is - "A query language for...
Metaprogramming in Elixir with macros
Macros are one of the most powerful concepts in Elixir. Its what differentiates the language from the underlying Erlang BEAM…
Elixir and Ecto with SQLite3
The Zen of Python: Guiding principles for writing elegant Python programs
In this article We will explore Good practices to follow when programming in Python.
The Zen of Python is a collection of 19 guiding ...
MoonBit
Blog
Why the dot (when calling anonymous functions)? - Dashbit Blog
A detailed explanation of why Elixir uses a dot when invoking anonymous functions
Wongi.Engine — Wongi.Engine v0.9.10
The Art of Writing Loops in Python
Simple is better than complex
The Phoenix LiveView LifeCycle Illustrated
A picture's worth a thousand words. It can be confusing to explain to a LiveView newbie just what the lifecycle of a LiveView process looks like. I made a flow chart to help visualize how an HTTP Request becomes a stateful LiveView
How can I measure the similarity between two images?
I would like to compare a screenshot of one application (could be a Web page) with a previously taken screenshot to determine whether the application is displaying itself correctly. I don't want an...
How-To: Python Compare Two Images - PyImageSearch
Learn how to compare two images for similarity using Mean Squared Error and Structural Similarity Index (SSIM) with Python. Code included.
Programmer's Guide To Theory - The Algorithm of Choice
Programming book reviews, programming tutorials,programming news, C#, Ruby, Python,C, C++, PHP, Visual Basic, Computer book reviews, computer history, programming history, joomla, theory, spreadsheets and more.
How accurate is the birthday’s paradox formula?
Given a set of r random values from a large set (of size N), I have been using the formula 1-exp(-r**2/(2N)) to approximate the probability of a collision. It assumes that r is much smaller than N. The formula suggests that if you have hundreds of millions of random 64-bit numbers, you will start getting … Continue reading How accurate is the birthday’s paradox formula?
Building Self-referential Associations in Elixir/Phoenix
Self-referential association is used to associate a model with itself. It's pretty common to have this kind of association to build relationships in today's social media applications - Twitter, Mastodon, Facebook, etc. However, the association model ...
blog_post
Symmetric Properties
If you take a square and rotate it 90 degrees, you get back an identical square. We say the square is rotationally symmetric. Similarly, if you reflect it...
Bandit Routing
and Req
Coding of domain names to wire format at gigabytes per second
When you enter in your browser the domain name lemire.me, it eventually gets encoded into a so-called wire format. The name lemire.me contains two labels, one of length 6 (lemire) and one of length two (me). The wire format starts with 6lemire2me: that is, imagining that the name starts with an imaginary dot, all dots … Continue reading Coding of domain names to wire format at gigabytes per second
SimpleCardBrand — SimpleCardBrand v1.0.0
Let's search all of Elixir's Packages!
Documentation and guides from the team at Fly.io.
A Deep Dive into Subscriptions with Absinthe | AppSignal Blog
In the final part of this series, we'll see how GraphQL subscriptions work and how to create them with Absinthe.
sparql_client
A SPARQL client for Elixir.
json_ld
An implementation of JSON-LD for Elixir and RDF.ex.
YASGUI
Querying SPARQL | Zazuko
Faux Pixel Art with Blender, Rust, Fancy Color Spaces and 'Borrowed' Algorithms
Prompt Engineering for Programmers: A Detailed Look into Program Synthesis
Automating software development through large language models.
State Machine in Elixir using Erlang’s gen_statem Behaviour
Finite state machine is a common phenomenon in programs that need to maintain multiple states and transition among them based on certain actions. Erlang’s gen_statem provides a generic state machine behaviour. In this article, I will implement a simp...