What Elixir related stuff are you doing?

No reasoning; just a (quite possibly erroneous) statement I saw somewhere when doing research on my problem.

2 Likes

Using Elixir to test some ideas for secured file transfers servers.

Then now learning Phoenix/LiveView to test some others ideas to build a Web gateway to monitor these servers, minimizing database use and maximizing real time exchanges between the servers and the gateway by using Phoenix channels.

2 Likes

Implementing the board game Pandemic as a domain model.

https://github.com/chriseyre2000/pandemic

This is not yet complete, I am still working through the role actions and other “play at any time” cards.

3 Likes

I created an Elixir library to use and control Toxiproxy in tests.

Toxiproxy is a resilience testing tool from Shopify that allows you to model slow or unresponsive external services.

My main focus was an easy pipe-able and understandable API, here’s an example of it:

ToxiproxyEx.get!(:mysql_master)
|> ToxiproxyEx.toxic(:latency, latency: 1000)
|> ToxiproxyEx.apply!(fn ->
  Repo.all(Shop) # this took at least 1s
end)
4 Likes

Decided to going deep into Elixir world

3 Likes

I am currently finalizing an internal project for my company. A Kanban system exclusively for sales and service management via WhatsApp. I am using Phoenix LiveView for this application :smile:

3 Likes

still learning (pragmaticstudio)

1 Like

I’ve started working on a (rudimentary, horrible and probably super-insecure) OpenID Connect strategy for Ueberauth, here: https://github.com/braunse/ueberauth_oidc/

2 Likes

Learning associations in Ecto and Elixir! How do I insert associations?

4 Likes

I’m currently reading and learning the Programming Phoenix book, a really nice intro to web programming using Elixir and Phoenix :blush:

2 Likes

Dusting off all my Elixir books and tutorials and wanting to do some fun learning side-projects.

I have an over-ambitious side-project that I want to use Elixir / LiveView as the fundamental piece. But it has some very dynamic aspects that make me a little nervous. :stuck_out_tongue:

Meanwhile, I keep rewatching https://www.youtube.com/watch?v=JvBT4XBdoUE (GOTO 2019 • The Soul of Erlang and Elixir • Saša Jurić) to get inspiration, evening running the demo locally so I can play with it. Love this video.

2 Likes

Recently, I built a service that tracks (in almost “real-time”) all posts and comments on Reddit and Hacker News. I knew that Elixir (and the BEAM) is much more efficient that Ruby (my primary lang), and that’s one of the reason I decided to use Elixir for that problem. However, I was surprised how efficient Elixir is.

To give some rough context, all the traffic mentioned above (tens of millions of records per day) are processed on a $5 VPS that is loaded not more than 5-6% on average (+ I’m hosting another Rails app on the same VPS). It’s just amazing how performant and efficient it is.

On the whole, It’s a standard Phoenix app, Broadway for handling all the processing and rate-limiting and some LiveView for the demo - https://alertcamp.com/live/Apple,Google,Microsoft,Amazon,Facebook.

The only custom thingy is a small GenServer implementing a simplified version of the Aho-Corassick algorithm for tracking keyword matches.

Please feel free to register and try it out by monitoring your product’s brand or competitors. You can receive email notices every time someone mentions your keywords.

10 Likes

I’m currently writing software that manages logistics, freight and resources for a medium sized transportation company. After having used or previewed so many commercial software products, and dealing with the software that international companies use to apply this at scale we were woefully disappointed in the complexity, cost and size of the available options.

Once we are out of the feedback phase I will start to implement a lot of the UI needed for real time multi-user interactions using Phoenix LiveView, which by the way is amazing (but you already knew that).

It has been an amazing growing experience for me personally, and has resulted in many commits, bug reports and suggestions to the projects it utilizes, from Elixir itself to Ecto, Phoenix, LiveView, Timex, Jason, Cowboy, Plug, and the multitude of libraries used for federation, database, cryptography, communications, email and more.

Even though the project is proprietary in nature we will always at the very least give back to the open source community in which it is built upon by way of contributions, feedback and attribution. Some components of this system are going to be released as open source libraries, especially ones regarding mapping and routing integration with amazing projects like OpenStreetMaps and OpenRouteService.

8 Likes

A dashboard programmed with Phoenix/LiveView showing the status of the automatic ordering system at our suppliers. Really great how simple some things are with Liveview, I adopted the idea with the modal dialog in the Dashboard of Liveview, unbelievable how simple and functional it is.
Although I’m not sure if it’s 100% right, I’m still new to Liveview and learning, but it works great.

3 Likes

Adding gleam wrappers to Floki, to make use of a very nice library in a type safe manner.

3 Likes

Posting everywhere I can my last article on Elixir Metaprogramming to get someone to finally read it :sweat_smile: (tried with my wife, critic failure)

5 Likes

Carrying on with the Elixir track on exercism.io

4 Likes

Figuring out my deployments to AWS, as well as continuing with the Test Driven Phoenix book.

1 Like

I finally open sourced this project

To be honest, the code is a mess, it is what I used to learn Elixir and Phoenix, as well as a playground for a lot of stuff I wanted to try out. It was also previously a spanish-only project, so there may be parts that need to be translated to english. Also I’m rewriting the frontend with custom elements(and again, it’s mostly a playground so there’s a lot of mud and unfinished stuff).

I set up a demo at http://embers.gigalixirapp.com/ so you don’t have to clone and set it up to see what it is, although I can’t get FFmpeg and ImageMagick to work there yet, so image and video uploads won’t work.

It needs a landing page, so the interesting parts are accessible only after you log in. An email is required just for account confirmation and password recovery and no other personal data is requested, if privacy is a concern. Anyways there’s an admin account in the demo, credentials are in the README.

5 Likes

I just started learning Elixir and Phoenix. Currently I’m migrating a side project that I’ve built with Vue + Rust to Phoenix for some practice :slight_smile:

I really enjoy Elixir so far but Phoenix and LiveView can be a hassle because of some missing documentation parts (or I’m just too stupid to find it :slight_smile:)

2 Likes