Book Erlang and Elixir for Imperative Programmers
I have published a book (my first) a few days ago: Erlang and Elixir for Imperative Programmers. It gives an introduction to both languages in the context of functional concepts for developers more used to Java, C# and similar languages than to the functional paradigm.
Please browse here for a 20% discount or download a sample. The book is finished, but I am planning an update in the next few days with a new (small) chapter and fixing of typos and code bugs.
Wolfgang
FakerElixir generates fake data for you
FakerElixir is an Elixir package that generates fake data for you. Whether you need to seed your database, create factories for your project, FakerElixir is here for you.
Some basic examples
FakerElixir.Helper.pick(["paris", "athens", "london"]) # "london"
FakerElixir.Internet.email(:popular) # "candelario@gmail.com"
FakerElixir.Internet.url(:safe) # "https://www.stefan-little.org/"
Locales
Other Faker packages don’t really let you custom the data of the locales. We do. Did I tell you, you can set the locale at the runtime ?
FakerElixir.set_locale(:en) # :ok
FakerElixir.Address.city # "Baltimore"
FakerElixir.set_locale(:fr) # :ok
FakerElixir.Address.city # "Issy-les-Moulineaux"
https://github.com/GesJeremie/faker-elixir
Thanks for reading, give me your feedbacks !
… and if you like it, maybe you could star it ?
rebar3_elixir_compile, a rebar3 elixir compiler plugin is now available on hex.pm. https://github.com/barrel-db/rebar3_elixir_compile
The barrel-db project just published rebar3_elixir_compile 1.0.0.
rebar3_elixir_compile is a a rebar3 elixir compiler plugin that allows you to mix elixir application an libraries with Erlang applications in your erlang projects. It works with any erlang applications or release.
You can find the source code on github: https://github.com/barrel-db/rebar3_elixir_compile
The plugin is available on hex.pm as well: https://hex.pm/packages/rebar3_elixir_compile
Enjoy!
BeamBA 2016 - September 28th - Erlang, Elixir, Efene & LFE Buenos Aires Meetup @ Inaka's offices
inaka will be hosting the first BeamBA Meetup on September 28th
We’ll have 3 speakers:
- Carlos Pantelides will be presenting edu-ciaa-nxp and talking about how to integrate Erlang in it.
- Mariano Guerra will be talking about building languages on top of the BEAM.
- Federico Carrone will compare Erlang with Elixir, according to his experience.
Setting up Gitlab CI for Elixir and Phoenix
Basically an example .gitlab-ci.yml for a Phoenix app.
https://mathis.wiehl.xyz/setting-up-gitlab-ci-for-elixir-and-phoenix/
Serving Single/Multiple Ember Apps inside Phoenix
Serving static pages is not a problem inside Phoenix, all you need to is to allow static files in a specific directory, from your endpoint configuration.
https://medium.com/@mustafaturan/serving-single-multiple-ember-apps-inside-phoenix-f0a7528387ea
Connecting machines in a local network using Elixir nodes
Distribution out-of-box is one of the great features any Elixir application can have due to how Erlang VM operates, and it is one of the reasons the language is gaining popularity.
It is the ability to easily create clusters (scaling horizontally) instead of depending in one single machine resources (scaling vertically) to perform any computation. The most important, you can get this advantage of a distributed system anytime, without modifying any core functionality of your project.
Check it out: https://pedroassumpcao.ghost.io/connecting-machines-in-a-local-network-using-elixir-nodes/
Understanding Elixir Recompilation
Understanding Elixir recompilation behavior:
http://milhouseonsoftware.com/2016/08/11/understanding-elixir-recompilation/
Solve your sudoku puzzles with Elixir — Part-2
Hi guys ! I have just released part-2 of Solve your sudoku puzzles with Elixir !
AES_128 in CTR mode and RSA
Published two libraries for working with AES_128 in CTR mode and RSA. https://github.com/anoskov/aes-ctr-ex
https://github.com/anoskov/rsa-ex
Feedback is welcome!
Counter Caching in Phoenix
I’ve just published Counter Caching in Phoenix! Feedback is most welcome.
Elixir Remote Meetup #3 is coming in 1 week
The second Elixir Remote Meetup is happening 1 week from today, on August 23rd. More details here: https://www.bigmarker.com/remote-meetup/Elixir-Remote-Meetup-2
We hope to see you there!
rebar3_elixir a rebar3 plugin to build and embed #Elixir applications in #Erlang projects
Happy to announce the first release of rebar3_elixir a rebar3 plugin to build and embed #Elixir applications in #Erlang projects. https://github.com/barrel-db/rebar3_elixir
Using Phoenix with Docker
Setting up Phoenix is relatively easy but how can you make sure every developer is running the same version of each dependency in your infrastructure?
In this post, I go over the basic dependencies in Phoenix installed on OS X. Then, I set up the same in Docker - ensuring that every piece of my application is the same on anyone’s machine working on the project.
Why Phoenix is exciting for the modern web
Hello everyone. Here is a post I wrote about my learnings on what Phoenix brings to the web, with Elixir and Erlang Virtual Machine.
Server integration testing in Phoenix
Server integration tests in Phoenix should be fast, readable and maintainable. phoenix_integration has similiarities to Capybara, but is better as it Elixir/Phoenix native. Learn how and why to use it.
Elixir Machine Learning library (currently only Neural Networks implemented)
https://github.com/sdwolf/exlearn
I’ve been working on this for a while, following http://neuralnetworksanddeeplearning.com/ as a guide. I plan to add more machine learning algorithms but currently I focus on Neural Networks.
Solve your sudoku puzzles with Elixir
Hi guys ! Here is a series of post that can help you solving your sudoku puzzles with Elixir !
https://medium.com/@benng/solve-your-sudoku-puzzles-with-elixir-4e21f0621372#.3vusexpsn
Abacus.eval "1 + (2 / 4)" == 3
In case you ever wanted a safe way to evaluate mathematical expressions in Elixir, this is it!
