What Elixir related stuff are you doing?

Oooh, I’ve dreamed of similar before, especially one that would track multiple files at once.

So, just for the fun of it, I added multiple file tracking. It differentiates each file with a different color. If you pass more files than there are colors it’ll cycle over the color list. Colors can also be supplied via the command line as a comma separated list

4 Likes

Begin to restart on Elixir and Phoenix by building Some GIS-Event web application

  • elixir + phoenix
    • websocket
  • openlayer
  • postgres
  • flutter (mobile)

:slight_smile:

5 Likes

In this period, trying to slowly bootstrap myself on nerves!
Made a (dumb) thing https://github.com/kpanic/nerves_morse just for fun

8 Likes

Recently I’ve been working on improving the systemd integration for our single Elixir / Phoenix app that we’ve got running so far, as well as improving logging, fixing some data synchronization bugs, working on our deployment config a bit, etc.

All this is mostly to prepare for moving from a manual workflow, where operators have been entering data into forms in the web UI in order to handle particular types of requests, to an automated workflow where these requests will be entering the system via Kafka.

I’ll be exciting to start working a bit with Kafka going forward, so really looking forward to that! :partying_face:

5 Likes

Hello folks,

I’m very new to Elixir (and still a beginner programmer).
I’m working through the Udemy course by Stephen Grinder and the Pragmatic Programmers course.
After I’ve learned a bit more about Elixir and Phoenix, I would like to create a simple CRUD application.

I find Elixir a friendly language. The syntax is quite nice (except for anonymous functions imho). Pattern-matching is awesome.

8 Likes

Rewrote Magnetissimo to be an umbrella application and cleaned the hell out of my crawlers to be much much more straightforward.

https://github.com/sergiotapia/magnetissimo/tree/master/apps/magnetissimo/lib/crawlers

I’m focusing on adding support for torznab so Radarr and Sonarr can integrate with it seamlessly!

5 Likes

I finished the Elixir/Phoenix course by Stephen Grinder on Udemy. It was a nice overview but a bit shallow. I’m also not that happy that it uses Phoenix 1.2.
I will continue with the Pragmatic Programmers course which is much more indepth and then continue with the book “Programming Phoenix”.

3 Likes

I do lots of code reviews, and we have a standard where you always type a jira task number of the first part of a commit message. I had developed quite a few batch files for making this a little easier, but I always had to copy and paste the shas and files when i wanted to specific a subset of files (like non-compiled typescript files from node). I decided to write an elixir escript to make things even easier. now I just run gittool.bat and it’ll provide me a list like this

0 2f6d3c37   Author     Mon Mar 25 16:15:51 2019 -0400  XXX-100: ignore case
   gittool/gittool
   gittool/lib/gittool.ex
1 240a852a   Author    Mon Mar 25 15:55:44 2019 -0400  XXX-100: gittool
   gittool.bat
   log-filename.bat
   mremoterdp.xml
   mremoterdp.xml.20190325-1057108793.backup
2 1124030a   Author     Mon Mar 25 15:55:13 2019 -0400  XXX-100: gittool
   gittool/.formatter.exs
   gittool/.gitignore
   gittool/README.md
   gittool/config/config.exs
   gittool/gittool
   gittool/lib/gittool.ex
   gittool/mix.exs
   gittool/test/gittool_test.exs
   gittool/test/test_helper.exs

Now I have a list of all the files modified, who did it, when. Then I can just type the number of the commit I wish to inspect, and it’ll launch the default git difftool for each file in that commit. I haven’t made this one public yet, I still have some clean up and documentation to do. If you are interested in this let me know, if I get enough interest I’ll work on cleaning it up to make public.

3 Likes

Working on a brown bag presentation on Elixir and Erlang to give here at Microsoft.

17 Likes

Right now I’m learning.

As a motivating exercise, I’m pondering the scenario that @Cruz posted regarding calculating subtotals and seeing what I come up with. Along the way I’m discovering that pattern matching + function heads really simplifies things. Very cool stuff. :sunglasses:

Meanwhile, I’m reading some books. I’ve made a first reading through the sequential-logic portion of Programming Elixir 1.6 (PragProg) and made it to the Ecto chapter of Programming Phoenix 1.4 (PragProg). I’m really enjoying these two books but I feel like I’m missing a little bit of detail and context, so I’m going to slow my pace just a touch.

I’ve also been catching up on some sample chapters of other books. I read the first chapter of Programming Erlang (PragProg) and instantly wanted more; Joe’s writing style really speaks to me (rest in peace, Joe), so I plan to take a break from the Elixir books and read this one to the end.

5 Likes

Currently I am learning from Mastering Phoenix Framework book by Shankar Dhanasekaran

5 Likes

Writing a queueing service that reads large csv / other files to save these in the database. Only problem 1. was to control the resources (cores that are reading/building structs and parsing strings) and 2. the database insert statements (too long causes timeouts, transaction conlicts etc…)

Next up is cleaning up the application! Want to follow “the little elixir & otp guidebook” principles for cleaner code with supervisors, after that going to try distribution for the processing part. (what if 2 people upload 2 huge zips at the same time?)

3 Likes

Just published my first (written with my awesome coworker Bryan Hunter) library to Hex.pm! :slight_smile: – the first open-source Elixir library to be released by HCA Healthcare.

https://hexdocs.pm/elixir_hl7/readme.html

It takes the primary medical message format, HL7, and let’s you apply jQuery/D3-style selects and transforms to the “documents”.

We’re currently working to build an Elixir library for HL7’s successor, FHIR.

Hopefully, we can push Elixir as a solution for medical systems integration! :slight_smile:

P.S. thanks to all the great developers here who answered questions about Elixir as we worked on it!

11 Likes

Trying to test different CI CD tools and integrate it with a basic Phoenix project.

Right now considering these options:

  • GitLab CI CD tool
  • CircleCI
  • Jenkins (-> too annoying with Elixir I think)
3 Likes

I’m developing an academic information system while i’m learning Elixir/Phoenix
Actually i’m reading docs of every module I have to treat with to make things work well.
I’ve recenty migrated my project to Phoenix 1.4, that changed a lot of stuff like brunch -> webpack and Poison -> Jason

3 Likes

Finally I’ve been able to start digging into the Kafka integration for our app, and it’s been an adventure… For one thing, getting KafkaEx to interact conditionally with Kafka seems to be a challenge; eg. I want to have an on/off switch, and further I don’t want my entire app to die just because Kafka happens to go down. The Kafka integration, for us, is just one part of the app’s functionality, and it’s completely viable to live without for a few days at a time if needed.

Currently looking to see how much I can decouple our GenConsumer + the Kafka worker process from the supervision tree, so that we can handle reconnection attempts w/ backoff etc. :sweat_smile:

2 Likes

I had a similar experience trying to get kafka to work. In the end we decided to use redis streams and roll our own client for it which ended up taking less time than I spent trying to get kafka to work properly.

2 Likes

Hi AstonJ, I am just curious about Elixir, in particular the message passing, which seems quite powerful and simpler than Akka in Scala… if you know about any good resource to learn more about it, please do feel fee to point me out.

3 Likes

Check out our Books section @vhorta - we are really lucky to have some amazing Elixir resources :003: Good luck and let us know if you have any questions :023:

3 Likes

I just published a simple program to fetch lyrics (and video link) of your favourite song
:musical_score::film_projector: GitHub - kpanic/lyrics: Get the lyrics (and video link) of a song

I would consider it for personal use and personal enjoyment :slight_smile:

6 Likes