Building a Return Statement in Elixir

Now you can feel like you’re writing Ruby again. What could possibly go wrong?

https://blog.codedge.io/dont-try-this-at-home-building-a-return-statement-in-elixir/

Iteraptor :: each/map/reduce/map_reduce for nested terms

https://github.com/am-kantox/elixir-iteraptor
https://hexdocs.pm/iteraptor/Iteraptor.html#content

The library for easy iterating/mapping/reducing cumbersome deeply nested Elixir terms (maps, keywords, lists) went 1.0.0.

Iterate any deeply nested term like I am five.

Calculating Bitcoin Address in Elixir

In this article, I explain how to calculate a Bitcoin address in Elixir having only a private key: http://k.lelonek.me/bitcoin-address

Brex: A Specification Pattern implementation in Elixir

Using brex you can easily: define, compose, and evaluate your business rules to dynamically drive the flow of your application.

It was built to enable you to generate your business rules on the fly from configuration or some other form of persistence.

https://github.com/Zeeker/brex

Phoenix Chat for your Rails application

Today I’m going to show you just another one Phoenix chat application that can be easily added to your existing project and have some other nice features

Phoenix Chat for your Rails application https://medium.com/@korolvs/elixir-beside-rails-2b94414bcb03

Public database of Elixir security vulnerabilities

We needed a database of security advisories for Elixir packages, but none existed. We’ve created this repo to serve that role, and populated it with all the existing vulnerabilities we’re aware of (thanks to the great work of Griffin Byatt on Sobelow).

All data is 100% public domain, and we hope this will become a useful resource for automated security tools.

How to retrieve GenServer state after termination ? The practical guide.

The practical guide on how to get back the GenServer previous state. https://medium.com/blackode/how-to-retrieve-genserver-state-after-termination-the-practical-guide-1bafcff780bb

Article Image

Deep understanding of the usage of Supervisors and GenServer together to achieve the fault tolerance.

Drab 0.7.2 is out: reusable components are now easier to make!

This release is focused on Shared Commanders and how to create components with them. Do not miss the new example in the tutorial page!

hackney (http client for Erlang applications) version 1.12.0 has been released!

I just released a maintenance release of hackney version 1.12.0 wich containes many fixes: https://github.com/benoitc/hackney/blob/master/NEWS.md#1120—-2018-04-03 . It’s available as usual on hex: https://hex.pm/packages/hackney .

Next release will be a major one with many new additions and support of latest protocols. Enjoy!

Using Mocks Safely in Elixir Tests

Sooner or later, as your Elixir codebase grows, you’re going to hit a point in your tests where you need to avoid running a particular function.

https://medium.com/stuart-engineering/using-mocks-safely-in-elixir-tests-d88f36a04882

A Simple Notification System using Phoenix PubSub and pg_notify

Send yourself emails when users sign up or change their subscription plans

https://medium.com/@bnchrch/get-notified-of-user-signups-and-plan-changes-automatically-using-postgres-phoenix-pubsub-e67d061b04bc

Editing topic tags as a list in a Phoenix form

In this episode we set up functions to add and remove tags on our various types of content en masse, and create edit forms that use them.

Last episode we created a data model for a CMS that involves multiple types of content (video episodes, articles and resource links) that can all be tagged under a unified system.

Get your Elixir/Phoenix performance metrics 📊 in Chrome Dev Tools

Bring Phoenix server-side performance metrics to Chrome’s Developer Tools (and other browsers that support the Server Timing API) via the plug_server_timing package. Production Safe™.

screen

New full stack Ember.js & Phoenix course released

Embercasts has launched a full stack Ember.js with Phoenix course: https://www.embercasts.com/course/full-stack-ember-with-phoenix/watch/whats-in-this-course-phoenix

benchee is now called bunny!

edit: This was an April’s fools joke. However, bunny will remain functional. It’s only implemented as a thing wrapper around benchee

Your favorite benchmarking library benchee has been renamed to bunny - we figured, no better time to announce this courageous name change than Easter Sunday! You can find more reasoning over in this blog post!

AlloyCI v0.5.0 has been released!

AlloyCI v0.5.0 is out, marking the first anniversary of the initial commit. It includes a completely new design, major changes to builds and build artifacts, and more! Check it out: https://medium.com/@patocano/alloyci-v0-5-released-4d42520ad626

https://github.com/AlloyCI/alloy_ci

Writing Elixir stubs for better testing

A handy technique to create and use stubs for your Elixir projects, leading to better tests, more maintainable code, and a lot of fun while using ETS, match specs, and macros. We used these techniques to take unit testing to the limit in our Elixir projects.

http://tech.adroll.com/blog/dev/2018/03/28/elixir-stubs-for-tests.html

How to trace a GenServer’s Execution? Elixir/Erlang

An article for beginners and who have started playing with GenServers Enable tracing using the debug option.

This explains how to debug the messages and log to the console with a simple option.

Pond - A tiny library for creating state aware functions without spawning new processes.

Pond

Look at the end of README.md for some Callbag reactive streams examples.

erlang-rocksdb 0.17.0 has been released #erlang #elixirlang #rocksdb

i released this morning erlang-rocksdb 0.17 with support of rocksdb 5.11.3, some performance improvements in CRUD operations and batches and a faster build: https://hex.pm/packages/rocksdb … enjoy!

Previous page Next page