Realtime Texas Hold 'Em with Elixir, Phoenix, and Elm

I wrote a Texas Hold’Em app with an Elixir/Phoenix backend and Elm front-end. I wanted to write down my thoughts and share what I learned. Find the blog post here. Both front-end and back-end projects are open source. Check them out: Elm Elixir

Compiling External Resources with Elixir

I wanted to write a simple key value parser as a macro and found out about the @external_resource tag to allow live code reloading the modules based on external files.

https://blog.oestrich.org/2018/03/elixir-external-resources/

Webpack + Phoenix

Repo: https://github.com/straw-hat-team/phoenix_assets_webpack

Sharing the latest updates of Webpack setup for Phoenix.

  • Upgraded to Webpack 4
  • Added Elm
  • Added ESLint + Prettier
  • Added .env
  • Added service workers

Enjoy!

ModestEx - Pipeable transformations on html strings (with CSS selectors)

ModestEx - Pipeable transformations on html strings (with CSS selectors), e.g. find(), prepend(), append(), replace(), remove(), insert_after(), insert_before(), etc.

erl-env make retrieving configuration parameters 7x faster than application:get_env/2-3

eenv is a simple application to make retrieving configuration parameters super fast(7x faster than application:get_env)and stable. It’s very straightforward(lines < 200) and worth a visit.

Dependabot now supports umbrella applications

Dependabot is a bot that automatically updates your dependencies. A couple of weeks ago we launched Elixir support in beta.

We know that most businesses who are running Elixir in production today are often using umbrella applications so we are super pleased to announce that we have added support for that too. 🎉

Sign up here: https://dependabot.com (it’s completely free for personal accounts 🤑).

Deployment Strategies For Elixir Phoenix - Heroku

Learn how to deploy an Elixir Phoenix app to Heroku. Here are some popular deployment strategies for Elixir - Phoenix applications.

Form inputs for lists as array ecto types in Phoenix

This video goes through making form input helpers for a Phoenix app.

Did you know you could use Elixir Maps and Lists in your Ecto schemas? Have you ever tried making an edit form for a collection type? You can use the phx.gen.html generators but you’ll get an error if you try to update the field. Let’s make an input_array helper and fix that!

We’ll do that today, starting from the basic Phoenix app from last time.

Understanding Phoenix.Endpoint

This blog post provides a walkthrough on the architecture of Phoenix.Endpoint, demonstrating how Cowboy, Ranch and Phoenix blend together.

The curious case of the query that gets slower the fewer elements it affects

A blog post that shows off a real life performance bug and we tried to fix it, failed, and then fixed it for real. It shows off benchee as a benchmarking tool in use on a concrete case together with features like inputs and also the newly released tagging, saving and loading. Also goes a bit into SQL and EXPLAIN ANALYZE, multicolumn indexes and friends. Hop along for the ride.

AsyncWith v0.3.0 released: the asynchronous version of Elixir's "with"

async with always executes the right side of each clause inside a new task. Tasks are spawned as soon as all the tasks that it depends on are resolved. In other words, async with resolves the dependency graph and executes all the clauses in the most performant way possible. It also ensures that, if a clause does not match, any running task is shut down.

You can find here the list of improvements of the v0.3.0 version.

GitHub Repo: https://github.com/fertapric/async_with

Thanks!

How to Count Specific Items in a Collection with Elixir

A brief overview of Elixir’s Enum.count/2 function and how it can be used to count specific items in a collection. https://adamdelong.com/elixir-count

First release of the #Elixir #Botfuel SDK by @TechnoEmpress.

You can find its GitHub repository here, or go directly to the hex.pm page.

format_parser.ex v1.0.0 released!

We have finally released a stable version of format_parser.ex and we’re very much looking forward for your feedback and/or contributions. https://github.com/ahtung/format_parser.ex

ExVenture Updates for February 2018

This month ExVenture has a new skill system, a lot of small tweaks, and additional security.

https://blog.oestrich.org/2018/02/exventure-updates/

Pretty URLs with Phoenix

https://youtu.be/PjUdSQ6Qy3E

The easiest way to make your Phoenix app use pretty URLs. Instead of looking at users/3, go to users/Jesse, instead of numbering your blog posts link to them by title slug, etc…

Authex - v0.2.0 released

Authex has been updated with a more OTP friendly interface. Same simple JWT authentication and authorization.

Check it out: https://github.com/nsweeting/authex

How to write a C-Node in Elixir?

The README and source of Nodex provides you with a great example.

https://github.com/Overbryd/nodex#writing-a-c-node

Parse html documents correctly and fast with Myhtmlex!

New in Version 0.2.0: A safe batteries included C-Node calling mode.

https://hexdocs.pm/myhtmlex/Myhtmlex.html

EventBus Metrics UI

UI Screenshots

Previous page Next page