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/

hackney 1.4.2 has been released

Just released hackney version 1.4.2 an HTTP client library for Erlang and Elixir.

Github: https://github.com/benoitc/hackney

Enjoy!

Elixir is not Ruby

Elixir is getting more attention, yet many people seem to see it as another Ruby. Let’s get past syntax and talk about what makes the environments so different.

http://zeroclarkthirty.com/2015-11-01-elixir-is-not-ruby.html

Just wrote my first version of ping-pong

Just wrote my first version of ping-pong in elixir. This might not be perfect, but to the best of my skills as of now. Kindly have a look and add your suggestions & comments

https://gist.github.com/bansalakhil/e63a4aa389eee5109a6c

Just released Toniq v1.0. https://hex.pm/packages/toniq : Simple and reliable background job library for Elixir

Just released Toniq v1.0. https://hex.pm/packages/toniq : Simple and reliable background job library for Elixir.

Github: https://github.com/joakimk/toniq

Recent presentation: https://dl.dropboxusercontent.com/u/136929/elixir_oct2015_toniq/index.html

Open-sourcing Erlangelist

I have ported my blog to Elixir/Phoenix and open-sourced the code.

http://theerlangelist.com/article/opensourcing_erlangelist

Previous page Next page