101 LINQ examples in Elixir
Exploring data manipulation with the 101 LINQ examples using Elixir’s Enum and for comprehensions https://github.com/omnibs/elixir-linq-examples
My discoveries about Elixir processes
What did I learn about Elixir processes in the the wild. http://eddwardo.github.io/elixir/2015/10/22/elixir-pingpong-table/
Scaffold a Phoenix project with namespaced resources
I wrote a very simple article on scaffolding a Phoenix project with namespaced resources.
Check it out: http://buff.ly/1LPLjs0
Sprint Poker – Free Agile Estimating Tool
Free Open Source Agile Estimating Tool written in Elixir, Phoenix and React. http://blog.elpassion.com/sprint-poker/
Streaming work through a process pool
I wrote a blog post on using Elixir Streams to push work through a process pool and send the results back out in a Stream. You can read about it here: http://bit.ly/1ZW3JNW
Writing a Blog Engine in Phoenix and Elixir: Part 3, Adding Roles to our Models
I wrote up part 3 of the tutorial series on writing a blog engine in Phoenix! This time we’re covering add a “role” concept to the models we’ve written so far!
Exon v0.0.3
Exon is a tool used to register the items (machines, screens, lasers, 48 ports switches) you may have at home or in your hackerspace. it provides a hybrid API and stores the data in ETS/DETS tables. Last night, I released v0.0.3 which brings a few adjustments in the JSON part of the protocol and warns if you try to register two items with the same name. Feel free to write a client for it in your favourite language, I wrote a spec sheet for this purpose.
Parallel Processing for Elixir
I just pushed the typical “Hello World” for Elixir (parallel map) so I don’t have to copypaste it again and again for every new project.
Wrapping up the TCP small message experiment series (by @dbeck74)
I finally reached the 3M messages per second range: http://dbeck.github.io/Wrapping-up-my-Elixir-TCP-experiments/
The experiment sources are now on github.
I just published “Testing Validations in Elixir and Ecto”
I’ve published a new tutorial expanding on testing other different validations available for models!
https://medium.com/@diamondgfx/testing-validations-in-elixir-and-ecto-677bd8a071a1
How to set tests as pending in your ExUnit suite
Just published a new blog post about recreating RSpec’s “pending” feature in Elixir and ExUnit. Check it out here.
Understanding Lists
List is a basic data structure in functional programming, but I found it’s often not well understood by many programmers. In this post I’m explaining how lists work and implementing couple of basic lists functions like map or length.
Embedding Elixir Structs in Ecto Models
With Ecto, you can embed individual or arrays of structs directly inside another model. This makes it easy to pull up records without having to do a SQL join, since the record is on the same table. A couple examples of when you might want to do this are for settings or addresses.
LearningElixir: ElixirConf 2015 Report
I had a chance to go to ElixirConf 2015 in Austin, Texas. The conference was a great and I learned a lot. I’ve written a bit about my favorite talks of the conference. Read more here.
Write and publish your first Elixir library
Today I published a blog post about how to write your first Elixir library and how to publish it to Hex.pm. Check it out here.
Debugging Phoenix with IEx.pry
I just published a little side-post to my blog tutorial series in Elixir and Phoenix, this time covering how to debug your application in development mode using IEx.pry!
Last episode in the TCP experiment series passes over 2M msg/sec (by @dbeck74)
If you are new to this series: I started experimenting with a TCP server in Elixir to receive small messages (and learn Elixir). The initial attempts didn’t go so well:
- 22k msgs/sec: http://dbeck.github.io/simple-TCP-message-performance-in-Elixir/
- 100k msgs/sec: http://dbeck.github.io/Four-Times-Speedup-By-Throttling/
- 250k msgs/sec: http://dbeck.github.io/Over-Two-Times-Speedup-By-Better-Elixir-Code/
- 2M msgs/sec: http://dbeck.github.io/Passing-Millions-Of-Small-TCP-Messages-in-Elixir/
The good thing is that I have learned something at every experiment and now I think I have the tooling to start something serious in Elixir.
Compile-time work with Elixir macros
Hey there :), I wrote an article about doing work at compile time inside macros.
http://andrealeopardi.com/posts/compile-time-work-with-elixir-macros/
Third episode of my Elixir TCP experiments arrive to 250k msg/sec (by @dbeck74)
In the third episode of my Elixir TCP experiments I gained another 2.5x speedup by improving my Elixir code (being more Elixir-ish):
http://dbeck.github.io/Over-Two-Times-Speedup-By-Better-Elixir-Code/
