Yesterday I was invited to do an interview with the man behind Erlang Punch, Mathieu Kerjouan. Mathieu is a truly great programmer, an absolutely excellent interviewer, and it was a lot of fun to get to do something task-focused with him like this. He asked some pretty broad questions about Erlang as a language, as […]
Tag: erlang
Rational number arithmetic in Erlang | FQA 2
This is post number 2 in an ongoing series called Foundations of QAnal. Outline The goal for today is for you to understand what a rational number is how it is represented in Erlang how the operations are defined basic properties of the operations This is going to be brief (ish). I want to talk […]
Experimental new series: Foundations of QAnal
I may or may not stick with this. I am having horrible writer’s block trying to write this all out in a LaTeX PDF, Erlang, my videos, or in my Revelations. So I’m trying the blog medium. The blog has the “fire and forget” property. So we’ll see. QAnal is my fork of mathematics. QAnal […]
Erlang: How to browse ZX/Erlang source files on Windows
Windows is a profoundly annoying development platform for non-MS languages and a fairly rare deployment target so it doesn’t really get much in the way of attention or tooling. The smoothest Erlang experience on Windows so far is running applications via Vapor (a GUI frontend for ZX), but that depends on applications being developed and […]
Erlang: Protip — `throw` is an antipattern
throw is bad. EEP 0049 is a whole set of bad ideas. Deeply nested case is bad. Using if where it doesn’t belong is bad. try … catch is bad, but there are a handful of builtins and library functions that force you to use it instead of providing an ok | error return (use […]
erlang-questions: A tale of push VS pull and authority VS lolberty
I just plowed through my email backlog for the first time in a long time to find that the venerable and seemingly eternal resource for n00bs and webtards in need sage graybeard advice known as the “erlang-questions” mailing list is now deprecated by the Erlang Something-or-other (Foundation? whatever). I suppose this means they intend to […]
Building Erlang 23.3.4.3 on Devuan/Debian/Ubuntu
Erlang R24 is out! …but there are, as usual with a version X.0 release, a few rough edges (enough of them around the important-but-annoying WX and OpenGL updates that I’ll be writing another post about that shortly…). In the meantime, R23.3.4.3 is excellent and quite reliable. The steps for building with kerl are nearly identical […]
Random: The Erlang runtime (aka BEAM) when fed bad data
Valgrind “Hello, World!”: Python 3.6 VS Python 2.7 VS Erlang R23
I’ll just leave this here… Python 3.6 Python 2.7 Erlang R23 (On this one I can include the entire output.) Hey, Python! What the actual fsck is going on here?!? Jeebus… The Good Idea Fairy came along and convinced the webtarded among you to start throwing kitchen sink features in (“walrus operator” — yeah, great […]
Erlang: Socket experiments preliminary to writing a web server from scratch
A relative newcomer to networking in Erlang, Dr. Ajay Kumar, has started a self-educational project to create a web server from scratch in Erlang to give himself some first-hand insight into how TCP sockets work in Erlang and how web servers work in general. Web servers are a thing almost everyone has written against or […]