🤐 zips in elixir — using protocols for triple dispatch and ultimate flexibility.
https://medium.com/@ItizAdz/zip-elixir-abusing-protocols-for-triple-dispatch-and-ultimate-flexibility-4c817a5940d6
https://medium.com/@ItizAdz/zip-elixir-abusing-protocols-for-triple-dispatch-and-ultimate-flexibility-4c817a5940d6
Medium
🤐 Zip Elixir — Abusing protocols for triple dispatch and ultimate flexibility.
Protocols are a very powerful feature of Elixir. I’ve introduced them before here, and I looked at how you might use them to solve the…
Creating a has_one_of association in ecto with ectomorph
https://medium.com/@ItizAdz/creating-a-has-one-of-association-in-ecto-with-ectomorph-3932adb996d9
https://medium.com/@ItizAdz/creating-a-has-one-of-association-in-ecto-with-ectomorph-3932adb996d9
Medium
Implementing Sum Types in Ecto.
So what do I mean by has_one_of? Well sometimes when modelling data we want to say something like “this thing can be one of these types of…
#specific #javascript #elixir #phoenix
Load specific js files in elixir and phoenix
https://dev.to/ricardoruwer/load-specific-js-files-in-elixir-and-phoenix-o57
Load specific js files in elixir and phoenix
https://dev.to/ricardoruwer/load-specific-js-files-in-elixir-and-phoenix-o57
The DEV Community
Load specific JS files in Elixir and Phoenix
First of all, I'd like to say that this post is based on that one: http://codeloveandboards.com/blog/...
#elixir
Telemetry attach and execute
https://til.hashrocket.com/posts/u2pizangdk-telemetry-attach-and-execute
Telemetry attach and execute
https://til.hashrocket.com/posts/u2pizangdk-telemetry-attach-and-execute
Hashrocket
Today I Learned: Telemetry Attach and Execute
The telemetry api is simpler than the name tends to imply. There are only two primary functions, attach/4 and execute/4. Check out the telemetry docs to see the full api.
#elixir
Announcing minirepo, a minimal hex server
http://blog.plataformatec.com.br/2019/07/announcing-minirepo-a-minimal-hex-server/
Announcing minirepo, a minimal hex server
http://blog.plataformatec.com.br/2019/07/announcing-minirepo-a-minimal-hex-server/
Plataformatec Blog | Plataformatec's place to talk about Ruby, Ruby on Rails, Elixir, and software engineering
Announcing MiniRepo, a minimal Hex server « Plataformatec Blog
In 2017 Hex.pm got support for Private packages and organizations, a way for teams to publish and manage packages without making them public. While this works great for many organizations, some have stricter compliance requirements and need to host packages…
Setting mysql variables through ecto in phoenix
https://medium.com/pathfactory/setting-mysql-variables-through-ecto-in-phoenix-7d0b661b33ed
https://medium.com/pathfactory/setting-mysql-variables-through-ecto-in-phoenix-7d0b661b33ed
Medium
Setting MySQL variables through Ecto in Phoenix
There are situations when you need to change the default limits that MySQL ships with by default. For the most part, you can do this…
#elixir #erlang #devops
Distributed elixir with mix releases and libcluster
https://dev.to/render/distributed-elixir-with-mix-releases-and-libcluster-47f5
Distributed elixir with mix releases and libcluster
https://dev.to/render/distributed-elixir-with-mix-releases-and-libcluster-47f5
The DEV Community
Distributed Elixir with Mix Releases and libcluster
Bridge the gap: bring your software to life with elixir and nerves
https://medium.com/@peter.j.ullrich/bridge-the-gap-bring-your-software-to-life-with-elixir-and-nerves-92866f2197d9
https://medium.com/@peter.j.ullrich/bridge-the-gap-bring-your-software-to-life-with-elixir-and-nerves-92866f2197d9
Medium
Bridge the Gap: Bring your Software to life with Elixir and Nerves
Writing code is fun, but nothing tops seeing your code moving things in the real world. That’s why I tested out the Nerves library and…
Setting up phoenix + postgresql with docker-compose for local development
https://medium.com/@ricardo.trindade743/setting-up-phoenix-postgresql-with-docker-compose-for-local-development-afeb4a4ace6c
https://medium.com/@ricardo.trindade743/setting-up-phoenix-postgresql-with-docker-compose-for-local-development-afeb4a4ace6c
Medium
Setting up Phoenix + PostgreSQL with docker-compose for local development
I’ve been learning Elixir recently and enjoying it so far, coming from a Rails background it’s really similar to Ruby.
#elixir
`telemetry_event` overrides repo query event
https://til.hashrocket.com/posts/hqmscnzvje-telemetryevent-overrides-repo-query-event
`telemetry_event` overrides repo query event
https://til.hashrocket.com/posts/hqmscnzvje-telemetryevent-overrides-repo-query-event
Hashrocket
Today I Learned: `telemetry_event` Overrides Repo Query Event
Ecto gives you a single telemetry event out of the box, [:my_app, :repo, :query], where the [:my_app, :repo] is the telemetry prefix option for ecto.
Working with a huge dataset with elixir and phoenix.
https://medium.com/@r_trojanowski/working-with-a-huge-dataset-with-elixir-and-phoenix-94875e4169a5
https://medium.com/@r_trojanowski/working-with-a-huge-dataset-with-elixir-and-phoenix-94875e4169a5
Medium
Working with a huge dataset with Elixir and Phoenix.
Recently someone asked me for help with API development for his Ember SPA project so I decided it’s a perfect opportunity to learn Elixir…
Better tooling for development with elixir
https://medium.com/@wiserfirst/better-tooling-for-development-with-elixir-6b85d358cbc8
https://medium.com/@wiserfirst/better-tooling-for-development-with-elixir-6b85d358cbc8
Medium
Better tooling for development with Elixir
We ❤️ Elixir, so we want to the development process as smooth as possible. Fortunately there are various tools that can help with the…
#elixir
List all telemetry event handlers
https://til.hashrocket.com/posts/o17nfvwzbo--list-all-telemetry-event-handlers
List all telemetry event handlers
https://til.hashrocket.com/posts/o17nfvwzbo--list-all-telemetry-event-handlers
Hashrocket
Today I Learned: List all telemetry event handlers
Telemetry is a new library for application metrics and logging in beam applications. It was added to Phoenix in version 1.4.7 released in June 2019.