{"id":16605978,"url":"https://github.com/frm/elixir-intro","last_synced_at":"2026-04-20T15:31:09.551Z","repository":{"id":77806748,"uuid":"44253028","full_name":"frm/elixir-intro","owner":"frm","description":"Repository for the Elixir: A Talk For College Students lecture","archived":false,"fork":false,"pushed_at":"2015-10-14T18:52:33.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-09T00:24:11.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-14T14:26:30.000Z","updated_at":"2015-10-14T14:26:54.000Z","dependencies_parsed_at":"2023-03-06T19:15:44.357Z","dependency_job_id":null,"html_url":"https://github.com/frm/elixir-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frm/elixir-intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frm%2Felixir-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frm%2Felixir-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frm%2Felixir-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frm%2Felixir-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frm","download_url":"https://codeload.github.com/frm/elixir-intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frm%2Felixir-intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32053162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T01:03:54.013Z","updated_at":"2026-04-20T15:31:09.522Z","avatar_url":"https://github.com/frm.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir: A Talk For College Students\n\nThis was a talk made during CodeWeek 15 @ [Dept. Informática](http://www.di.uminho.pt), [UMinho](http://www.uminho.pt/en/home_en), for [CeSIUM](https://github.com/cesium).\n\nThis repository contains the code examples used during the talk plus a more complete version. It does not contain the best possible version, but a friendlier one, with lots of different resources.\n\nSlides are available [here](https://speakerdeck.com/frmendes/elixir-a-talk-for-college-students).\n\n## Queue\n\n`queue` is the implementation of the Queue module used during the talk. Made using `GenServer`, it has 3 simple functionalities:\n\n- **put**: add an element to the front of the queue\n- **poll**: remove and return the first element of the queue\n- **front**: show the first element of the queue (does not remove it)\n\n## Server\n\n`server/lib` contains several files and modules:\n\n* `Server.V1` is an echo server that only accepts a single client at a time. It's the first example given during the talk.\n* `Server.V2` is that same echo server, using pattern matching to fix the crash issue.\n* `Server.V3` accepts multiple clients simultaneously, but only echos back at them. First use of Supervisors.\n* `Server` is the first of three modules that implement a simple TCP chat. It's the parent, accepting module.\n* `Server.Handler` is the second of these three modules. It creates a messenger and stands by, waiting for messages to send to its client.\n* `Server.Messenger` is the last module that composes the server. It listens to messages sent by its client and spreads them across every `Server.Handler` connected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrm%2Felixir-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrm%2Felixir-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrm%2Felixir-intro/lists"}