How To Make The Elixir Shell (IEX) Save History

If you’ve ever used irb, node or pretty much any other command line REPL, you probably really miss being able to use the up and down keys to recall your last commands from a previous session in iex.

Here I’ll show you how easy it is to get this functionality in IEX.

https://zen.id.au/how-to-make-the-elixir-shell-iex-save-history/

Atom Editor for Elixir Development

If you haven’t checked out the Atom text editor, now might be a good time. It is opensource, free, cross-platform and works with well for Elixir Development. In this post I show what Packages/Plugins work well and what they do.

http://brainlid.org/elixir/2015/11/12/atom-editor-and-elixir.html

Links in Elixir

What did I learn about linking Elixir processes, with cool visualizations! http://eddwardo.github.io/elixir/links/2015/11/04/links-in-elixir/

Implementing the game of life with elixir

Since i won’t be able to join this year’s code retreat, i tried to do it on my own with elixir. Surprisingly, i achieved my first end to end game of life implementation with elixir.

The result can be found here

Using Compound Unique Indexes to Validate Uniqueness of Ecto Associations

In this short blog post I want to show you how easy it is to use Ecto validations together with PostgreSQL unique indexes to validate the uniqueness of an association.

http://blog.praveenperera.com/using-compound-unique-indexes-to-validate-uniqueness-of-ecto-associations

New Elixir experiment series: scalesmall (@dbeck74)

This is the first episode of my experiment series with a distributed messaging server in Elixir. I call it ‘scalesmall’, because the goal is to make a scalable server optimized for small messages.

Not much actual Elixir code yet, more thoughts and ideas.

http://dbeck.github.io/Scalesmall-Experiment-Begins/

Writing a Blog Engine in Phoenix and Elixir: Part 5, Markdown Support

I’ve posted a new entry in this tutorial series. This time we’ll be adding markdown support and a better text editor into our blogging platform. This post covers:

  • Implementing a third-party javascript markdown editor
  • Enabling markdown support from our database
  • Stripping dangerous user input

https://medium.com/@diamondgfx/writing-a-blog-engine-in-phoenix-and-elixir-part-5-markdown-support-fde72badd8e1

Writing a Blog Engine in Phoenix and Elixir: Errata 1

I’ve published a small catch-up post that deals with a few bugs and issues that myself or others have noticed with the blog engine we’ve been writing so far. This post covers:

  • Writing a functional transformation for models
  • Using Phoenix Html’s select helper
  • Writing a find_or_create-style function for Ecto for our seeds
  • Finding and updating dependencies that are out of date

https://medium.com/@diamondgfx/writing-a-blog-engine-in-phoenix-and-elixir-errata-1-b370269b66c7

Tooling means Education

Read why tooling is important when onboarding new Alchemists and what this is all about:

<img src=”http://trivelop.de/public/images/2015-11-09/credo-suggest-peak.png”>

http://trivelop.de/2015/11/09/good-tooling-means-education/

Package for easy access to Overpass API

We at CodeForGermany Chemnitz started the package overpass - a Overpass API wrapper for easy querying of Openstreetmap data in JSON and XML.

https://github.com/CodeforChemnitz/elixir-overpass

Have fun! @symptog, @rhflow_de

Queerlink ~ A simple URL shortener written in Elixir

Queerlink is a URL shortener written in Elixir, relaying on Sugar Framework, and developed and used by folks from Queertoo.

Today, Queerlink reached v2 and has been deployed at hemochro[.]me. I did not take the time to code a nice front-end, but the README should be enough for the moment.

The blog post is located here.

Guts of Phoenix websocket channels

Phoenix framework can handle up to 2 Million Websockets on a single machine. In this post we are going to look at how the Phoenix channels are designed.

http://www.zohaib.me/guts-of-phoenix-channels/

Elixir powered Raspberry Pi using Docker

I’ve made a few of Docker images for running Erlang and Elixir on the Raspberry Pi.

ESpec 0.8.5 has been released

There are a lot of discussions about ESpec expect(…).to syntax. Some guys hate this RSpec clone with parentheses and dots. There is also a discussion about removing tuple modules from Elixir in the future.

ESpec 0.8.5 introduces a new expectation syntax without annoying parentheses! Instead of expect(answer).to eq(42) you can write expect answer |> to eq 42. And, of course, you can use should: answer |> should eq 42.

So, choose the best for you!

ESpecPhoenix has been updated to 0.1.8 and supports new syntax too.

Github: https://github.com/antonmi/espec

Enjoy!

Mixology: ExMachina

I’ve written my first post dealing explicitly with an Elixir library, this time a Factory library called “Ex Machina”, provided by the fine folks at Thoughtbot! It covers rewriting our previous TestHelper to instead use factories and explores some of the syntax and functions provided, as well as implementation ideas.

https://medium.com/@diamondgfx/mixology-exmachina-92a08dc3e954

Fetching Reddit Posts using Elixir

I continuing developing my application by fetching posts and comments from reddit.

http://learningelixir.joekain.com/fetching-reddit-posts-from-elixir/

CQRS with Elixir and Phoenix

I implemented the CQRS (Command Pattern Responsibility Separation) pattern for a REST server I am writing in Elixir and Phoenix. It was surprisingly easy, thanks to OTP and Elixir’s macros.

http://jfcloutier.github.io/jekyll/update/2015/11/04/cqrs_elixir_phoenix.html

try write something

try write something

Editor’s note: it worked! ┻━┻︵ (°□°)/ ︵ ┻━┻

ExMachina for Elixir: Factories with a Functional Twist

ExMachina makes it easy to generate Elixir test data using factories. It works out of the box with Ecto associations and embeds, and can be easily composed to make creating data extremely flexible.

https://robots.thoughtbot.com/announcing-ex-machina

Playing Poker with Elixir (part 2)

This continues the series on creating a poker application with Elixir. In this post, I create a GenServer to keep track of a poker hand.

http://blog.tokafish.com/playing-poker-with-elixir-pt-2/

Previous page Next page