pmarreck/elixir-snippets
View on GitHub ↗ ★ 43 Elixir
Just some WIP in Elixir and related experiments
10 mentions on Hacker News by 2 people: 0 stories, 10 comments · first 2015-07-22 · latest 2024-09-29
20082026
-
…an encoding/decoding that "visibled" normally unprintable ASCII characters into printable UTF-8 https://github.com/pmarreck/elixir-snippets/blob/master/prin... Maybe we should bring field and record separators back and call it…
comment by pmarreck · 2024-09-29 · in MtCellEdit – Lightweight Spreadsheet Program -
…a "printable binary" format for better visual inspection of raw binary data (and a to/from format) https://github.com/pmarreck/elixir-snippets/blob/master/prin...
comment by pmarreck · 2024-03-26 · in Show HN: Comma Separated Values (CSV) to Unicode Separated Values (USV) -
…have plenty of single-file Elixir examples, many with tests included, in this elixir-snippets repo: https://github.com/pmarreck/elixir-snippets/blob/master/prin...
comment by pmarreck · 2023-03-09 · in Single File Elixir Scripts -
…core functionality of your code is fundamentally random (I once tested a maze generator this way https://github.com/pmarreck/elixir-snippets/blob/master/maze... ), use seeded random data.
comment by pmarreck · 2022-01-02 · in The argument against clearing the database between tests (2020) -
…function that didn't use floating-point (and thus resulted in rounding errors), I wrote my own: https://github.com/pmarreck/elixir-snippets/blob/master/math...
comment by pmarreck · 2020-09-29 · in Floating Point in the Browser, Part 1: Impossible Expectations -
…I experimented with it for at least a year before I decided to jump in, my "experiments" are here: https://github.com/pmarreck/elixir-snippets (I tend to use single-file dev for exploring simple ideas; this is not a general pattern used in…
comment by pmarreck · 2019-06-25 · in Elixir 1.9 -
Same here! https://github.com/pmarreck/elixir-snippets/blob/master/rpn_... I found it fun, and it was actually super easy to implement a stack-based language interpreter in an immutable pattern-matching language like Erlang/Elixir. It's…
comment by pmarreck · 2018-06-28 · in OpenPDF – A free Java library for creating and editing PDF files -
…after the code under test. It makes sure the test only runs when the file is loaded a certain way: https://github.com/pmarreck/elixir-snippets/
comment by pmarreck · 2016-06-27 · in A Case for the Pyret Programming Language -
…calculator (which suddenly became a Forth interpreter that could do things like compute factorial): https://github.com/pmarreck/elixir-snippets/blob/master/rpn_... Note that I was never educated in how to write compilers or transpilers (I…
comment by pmarreck · 2016-04-07 · in Show HN: Xjs – Elixir syntax, JavaScript semantics (or transpilers made easy) -
…(in my case I literally had to look up an efficient integer power algorithm and implement it, see https://github.com/pmarreck/elixir-snippets/blob/master/math... ) but the lack of native support there is weird (and Erlang's fault, really),…
comment by lectrick · 2015-07-22 · in Ask HN: Operational experiences with Elixir-lang