Benchee 0.13.0 with memeory measurements is live!
A couple of days ago benchee 0.13.0 was released - the most prominent feature is memory measurements. Go ahead and give them a try!
Errol: Opinionated RabbitMQ consumer framework
Hi!
I just published errol, an Elixir library to write and run RabbitMQ consumers in an OTP manner.
It’s not production ready yet, so any feedback is welcome! You can find the roadmap in the readme :)
New podcast: The Elixir Outlaws
Anna Neyzberg, Amos King and I have started a new Elixir podcast. If you would like to have a listen you can find us at http://elixiroutlaws.com. We are pending approval on iTunes, Google Play, and Spotify. We are also on twitter as @ElixirOutlaws and would love your feedback.
Measuring memory consumption on the BEAM
Benchee 0.13 was released this weekend, and in that release there’s one feature that I’m SUPER excited about. Starting with this release, you can now benchmark memory usage in Elixir or Erlang functions! Because after all, performance isn’t just about run time. Memory consumption counts, too!
http://devonestes.herokuapp.com/measuring-memory-consumption-on-the-beam
An event driven messenger chatbot library
The event-driven approach makes easy to deliver business needs with subscribing necessary events and processing them without changing other parts of your code base.
Since Facebook Messenger Platform sends webhook and expects an HTTP 200 response code in the majority of webhooks, messenger_bot
library allows you to subscribe webhook events and process these events in multiple consumers separately.
Here is the library source code: https://github.com/mustafaturan/messenger_bot
Organize and serve page specific javascript in Phoenix
For Phoenix project with hundred of page, of which have many javascript functions for each page, here is my approach to manage all of them automatically
Leibniz: Math expression parser and evaluator
Leibniz: Pure elixir math expression parser and evaluator. This project is also an entry point to some explorations on how leex and yecc can be used inside an elixir application to parse complex inputs to be able to build complex programs.
Page specific titles, meta and rel canonical tags in Phoenix
This episode, covers how to set page titles, page-specific meta information, page-specific rel canonical tags and page-specific anything you want in the HEAD tag of each page in your Phoenix app.
It’s not as simple to do as it is in Rails, but it’s absolutely crucial functionality if you’re building a CMS!
BuiltWithElixir.com is looking for your help
Hi Elixir fans,
I’ve been working on a website to showcase projects made with Elixir. The goal is this site is to show the types of projects being build with the Elixir language. Right now I have to follow various source to get this information so I decided to build a website to collect all of this. I want this site to inspire new and experienced Elixir developers and overall grow the community.
The site is still in early stages, I started it on Monday (April 9th), so I’m looking for feedback, feature requests, and just overall UI/UX improvements. I lunched the site early for several reasons:
- I want this project to be shaped by the community by your feedback and feature requests. Example, If we all agree likes/upvotes are useful then let’s build them.
- I didn’t want to build something with assumptions for months with features no one uses.
- I want to encourage other Elixir developers to contribute regardless of experience.
I encourage you to check out builtwithelixir.com. and provide any feedback here or Github.
Thank you!!
Listing multiple types of content in a page template
In this episode we make an index page that renders multiple types of content into one table.
Our CMS has Articles, Episodes and Resources, all of which can be tagged under a unified tagging system. We’ll make each tag link to a view of everything else that has been tagged with the same topic, regardless of whether those pieces of content are articles, episodes or resource links.
Elixir: Do you have HTTP requests? You are doing them wrong!
This article covers the situation with HTTP clients in Elixir community and give some suggestions about making HTTP requests.
Graceful 404 pages in Phoenix
Have you ever wanted to make a 404 page in your elixir app that included the common elements from your layout, like the header and footer? By default you can’t do this because you don’t have access to the conn
(and for good reason).
Here’s a work-around, but use with care!
Pastry, library to turn maps and keyword lists to query strings.
I created a library that helped me parse options when doing HTTP requests, I sure could have used the URI module but this was practical for my needs.
Looking at ExVenture's Supervision Tree
The other week I watched The Hitchhiker’s Guide to the Unexpected by Fred Hebert and the talk inspired me to write out ExVenture’s (a MUD server) supervision tree to check that everything seems right. This post goes into detail what’s in ExVenture’s supervision tree.
https://blog.oestrich.org/2018/04/looking-at-supervision-trees/
How To Test Asynchronous Text Changes with Hound and Phoenix
Writing asynchronous acceptance tests with Hound for Elixir and Phoenix can be difficult, especially if you are using a JavaScript framework like React, Vue.js, or Angular. Here are some solutions to workaround race conditions. How To Test Asynchronous Text Changes with Hound and Phoenix
Opening Registration and CFP for The Big Elixir conference, taking place on November 8-9 in New Orleans
Join us for The Big Elixir on November 8th and 9th in the heart of The Big Easy as fellow Elixir enthusiasts come together to teach, learn, and explore all things Elixir!
Ticket Registration is open as well as our call for papers for anyone interested in speaking.
Check out our site for all the details: https://www.thebigelixir.com