How to write a simple chat application
With a brand new authentication package - Coherence, Channels and Presence.
https://medium.com/@Stephanbv/elixir-phoenix-build-a-simple-chat-room-7f20ee8e8f9c#.apth0plzq
Benchmarking communication between Elixir and Ruby
Benchmarking communication between Elixir and Ruby described in last 3 posts.
https://blog.fazibear.me/elixir-ruby-dont-fight-benchmark-9c6f442de37e#.7tutheq7r
Numbers -- A generic wrapper to use *any* custom Numeric type!
Numbers is a wrapper exposing the generic functionality all kinds of (custom and built-in) numeric datatypes have. So you can use it to make your code fully number-agnostic!
The most fun might be that Tensor and ComplexNum now both follow Numbers’ Numeric behaviour ánd also use Numbers internally, which means that you can nest them arbitrarily! :D
Morphix -- now with morphification!
Version 0.0.3 adds the morphify, morphify!, and morphiflat! methods, as well as a bunch of new documentation.
morphify will take a list and a function and return a map, where, for each item in the list, the function applied to the item is the key to the item.
Also, atomorphify and atomorphiform prefer String.to_existing_atom, which is supposed to be safer.
Project ExCelsius: Measuring Temperature on a Raspberry Pi
An Elixir Nerves powered Raspberry Pi reads temperature from a DS18B20 sensor through 1-wire protocol: http://www.carstenblock.org/post/project-excelsius/
Connecting Ruby and Elixir with Erlectricity
Communicate between Ruby and Elixir using Erlang Ports and Erlectricity.
https://blog.fazibear.me/elixir-ruby-dont-fight-talk-with-erlectricity-dbf3af67d999#.xkq935iwh
Many to many and upserts
This is the 9th chap of our ebook “What’s new in Ecto 2.0 (beta version)” that José Valim presents Ecto.Changeset.put_assoc/4 in contrast to `cast_assoc/3.
<br>
Many to many and upserts « Plataformatec Blog
[Screencast] Per-user workers with custom queue processing
I’ve recorded a screencast explaining how I solved a problem in my current Elixir project using GenServer and Supervisor
Ehelper - Access Erlang manpages from the iex shell.
Ehelper creates an iex e command that can be used to access external documentation from iex. It has a pluggable backend that be used to search External documentation and comes with a backend that can parse Erlang man pages into a familiar style. It can also open Dash or hex urls.
https://github.com/philosophers-stone/ehelper
Example:
iex(4)> e :binary.split/3
:binary.split(subject, pattern, options)
split(Subject, Pattern, Options) -> Parts
Types:
Subject = binary()
Pattern = binary() | [binary()] | cp()
Options = [Option]
Option = {scope, part()} | trim | global | trim_all
Parts = [binary()]
Splits Subject into a list of binaries based on Pattern. If option global is
not specified, only the first occurrence of Pattern in Subject gives rise to a
split.
API wrapper for Medium hits v0.2.0!
This new release supports OAuth methods and improves the codebase! feedback or suggestions are welcomed! https://github.com/roperzh/medium-sdk-elixir
Building and Deploying your first Phoenix Application
This is a beginner post on my experience deploying my first Phoenix app to Heroku, it is quite straightforward:
https://medium.com/@celorisoli/building-and-deploying-your-first-phoenix-application-ee94f355ab4f
Coherence and ExAdmin - Devise and ActiveAdmin for Phoenix
This is for beginners. If you’re a Rails developer looking for a Devise and ActiveAdmin for Phoenix, this post might help:
http://www.akitaonrails.com/2016/12/06/coherence-and-exadmin-devise-and-activeadmin-for-phoenix
Phoenix GraphQL Tutorial with Absinthe: Authentication with Guardian
This is the third post in a series on building a GraphQL API in Phoenix with Absinthe. In this post I cover authentication with Guardian.
IntelliJ Elixir v4.7.0
- Mix ExUnit Run Configurations with create from context for directories, files, and lines.
- All mix Run Configurations get Working directory and Environment Variables support
- Go To Test/Test Subject
- Quick Fixes for common type spec typos
- Fix all those StackOverflows and NPEs for getPresentation
https://github.com/KronicDeth/intellij-elixir/releases/tag/v4.7.0
Vessel: Elixir MapReduce with Hadoop integration
https://zackehh.com/vessel-a-bridge-between-elixir-and-hadoop/
I wrote a small library which makes it straightforward to use Hadoop Streaming from inside Elixir. It also provides internal interfaces to use MapReduce from a command line or Elixir application.
Check out the blog post above which explains a bit about it, and then the repo lives here: https://github.com/zackehh/vessel
Tiny: a small and fast JSON library in Elixir
https://github.com/zackehh/tiny
Tiny is a super tiny JSON library (~150 SLOC) which encode/decodes JSON per the specification. It is the only JSON library for Elixir to correctly pass all tests in JSONTestSuite.
It is also slightly faster than Poison due to stripping out some extras I never use. It was mostly written for my own use case, but feel free to use it!
Automatically reloading tests with Elixir Phoenix and ExUnit on Ubuntu
Reload your Elixir Phoenix tests automatically with this little piece of code on Ubuntu.
Happy Coding! :)
https://jimmy-beaudoin.com/posts/elixir/automatically-reloading-tests-with-phoenix-on-ubuntu/
Elixir, Ruby, don’t fight. Talk… with Erlix
Another attempt to connect Elixir and Ruby together… This time with erlix. Ruby will act as an Erlang node!
https://blog.fazibear.me/elixir-ruby-dont-fight-talk-with-erlix-24b0f5ed8d12#.e1uu3qmpm
Phoenix GraphQL Tutorial with Absinthe: Add CRUD Using Mutations
This is the second post in a series on building a GraphQL API in Phoenix with Absinthe. I cover using mutations to add CRUD functionality https://ryanswapp.com/2016/12/03/phoenix-graphql-tutorial-with-phoenix-add-crud-using-mutations/
hedwig_simple_responders - A collection of Hedwig chat bot responders based off of hubot-scripts
We recently moved from Hubot to Hedwig for our Slack bot at Lab Zero but we missed all the cheesy responders that have become a large part of our Slack culture. hedwig_simple_responders is our answer to that. We’ve already ported over a dozen responders and will be adding many more in the near future. For those interested in helping to port more, check out the labzero/hedwig_simple_reponders repo on GitHub.
