Who needs a database when you have GenServers? Check out how you can use GenServers to implement a Memory Image architecture in your Elixir application!
ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
In this post we’ll build the relatively same to Elixir’s
String.upcase/1 stuff to address fancy UTF8 symbols by their names. The whole codebase contains 119 LOCs. In the end we’ll yield a bundle of modules, providing functions returning the UTF8 symbol given it’s name as a function name. The practical use of this package is beyond the scope of this post, but I am positive there could be many.
Do you have a Phoenix web project that you do not want hacked? Is PCI Compliance important for your project? Wouldn’t it be great if automated security scans happened on every code change?
This post is an intro to using the new Phoenix security scanning project “sobelow”. Covering using with umbrella projects and running the scans with a Continuous Integration system.
Here goes the second episode to help Java developers to better undestand how Elixir works. This post covers how we control flows, do loops and handle exceptions in Elixir compared to Java.
In Skyward we keep exploring new things and keep sharing things with developers. This post will help you to integrate payumoney payment gateway integration in Node.js and Meteor.js.
When we started integrating we have not found any node.js code from payumoney so we decided to study their PHP and ASP.net code and implemented the same in Meteor technology. Which you can easily use in node.js also. For more http://www.skywardsoftwares.co.in/blog/integrate-payumoney-payment-gateway-in-node-js-and-meteor-js/
Because of the recent debate and confusion on what the new Phoenix Contexts that are going to be added in Phoenix 1.3 do for you, I wrote a blog post explaining my vision regarding Contexts: https://panache.nu/blog/giving-phoenix-contexts-some-context
Sometimes, to debugging, it is very interesting to see low-level Erlang code generated by Elixir compiler. This simple task can help with it.
$ mix debeam Some.Module > some_module.erl $ cat some_module.erl -compile(no_auto_import). -file("lib/simple_module.ex", 1). -module('Elixir.Simple.Module'). -export(['__info__'/1]). ...
exmqttc is my wrapper library for the emqttc Erlang MQTT library that sprinkles on some callback magic and nice Elixir API - it could also serve as a nice example of how to used travis.ci for hex.pm release automation, test integration and so on.
I made a quick example showing how to get started with OpenTracing and Elixir. It uses the wonderful Otter library for Erlang. The example code has a
mix.exs file and shows off a couple of cool features like tagging spans and adding logs.
I just posted a new blog post on how I moved my pet project code from using a custom Task.Supervisor, Poolboy and custom GenServer to control batches into the new GenStage-based Flow library. The results are quite good but not as good as I expected. If anyone have any insights, let me know.