I’m learning Elixir while making an IRC bot
Just finished little project inspired by Nth Prime in Elixir exercise from Exercism. I’ve implemented Sieve of Eratosthenes prime numbers search algorithm with different Elixir/Erlang structres: ETS, Array, Map, MapSet and List. And made a simple speed/efficiency comparison: https://github.com/yuriibodarev/elixir_primes
Right now I’m reading “Binaries, strings, and char lists” of “Getting Started” guide and have began to read “Introducing Elixir” O’Reilly book.
Currently I am working on learning Elixir through reading docs and starting a small project.
I’m writing tests for my toy url shortener app.
Trying to figure out how Elixir test works - like does it start the whole application while testing?
I am working on Pull Request #5841 which will add the possibility to convert and compare across varying calendar representations to Elixir.
Still just dabbling for now. I’ve been looking at more general stuff on functional data structures, which is interesting, though not directly Elixir related.
Learning in parallel with Scala to prepare for my next project.
I’m exploring the separation of domain from web interface as encouraged by Phoenix 1.3. And seeing how it can be extended towards what ports and adapters architecture looks like in Elixir.
I’ve got a toy poker umbrella project that, so far, is just shuffling cards. I’m planning three interfaces:
- Command line
- Regular HTML page request/response
- Events over Phoenix channels
I’ve built tiny little wrapper for ngrok to play a little bit with ports: https://hex.pm/packages/ex_grok
Too many at once. I’m implementing “Pong” to see how Entity-Component-System works, then a mild distraction caused me to start reimplementing a work scheduler we wrote last year in Scala and then I had issues with clean unit testing approaches so another library was born. Looks like i’ll be popping that stack in the coming weeks so I can finally complete the world’s most convoluted version of Pong
Poker software is a perfect case to use/trainee phoenix/elixir.
Frankly not much lately. (Posting here to qualify for extra giveaway entry!) Probably going to a local “Code & Coffee” meetup this weekend, hoping to get back to the Exercism.io exercises, now that I’ve looked into what a zipper (data structure) is…
Zippers are awesome!
I’ve been in a heavy busy period at work myself, been building *so*many*reports*!
Working on some API’s for React-Native apps at work. And going to update one of my neglected side projects (DoctorsOfSrilanka.com) to Phoenix 1.2 during the weekend.
Have you done anything in this? what are the results ? are you keen to share?