Issue 43

I love rabbit holes. There are so many interesting things I don't know, and that's why I can easily get lost. Sometimes this can lead to some bizarre and dark corners of the Internet. Sometimes you can get a new and exciting hobby thanks to that (how I got into RC cars thanks to a video about torque vectoring).

This week as I was browsing through the news and updates, I saw a post by christophp in Slack where he re-created the Elm version of (story behind it). This was a code golf challenge. According to Wikipedia, code golf is...

...a type of recreational computer programming competition in which participants strive to achieve the shortest possible source code that implements a certain algorithm

If you're old enough, you've definitely heard of the demoscene where programmers create audio-visual programs and try to make them as small as possible. I used to have a full CD with these in the beginning of 00s collected from all parts of the Internet. Well, code golf is something similar but with extra rules and restrictions, e.g. you cannot use numbers in your source code, or mathematical operations, or some letters. Here's an example of a code golf challenge. The creativity with which people come up with various solutions is mind-blowing and reminds me of how mathematitians work (at least from what I know via friends and Numberphile): what would happen if I add a constraint here, and if I try apply some formula there. Exploring (and solving) these challendges on StackExchange can take hours and days.

As I was lost in code golf challenge explorations, Andrey Kuzmin and Ian Mackenzie have announced a new Elm Game Jam. The goal of the game jam is to write a game in Elm, and the topic this time 3D.

Andrey is also one of the organizers behind the Elm Bridge online event on the 21st of November. If you're new to Elm or functional programming, and want to get help with getting started, learn how to build interactive web apps, sign up.

Andrey Koppel shared the process they use to generate routes for pages when creating single-page apps. In short: you come up with a file naming convention, and then use CLI tools to dynamically generate routes and stitch them in the Main.elm file.

If you're using GraphQL you already know about elm-graphql created by Dillon Kearns. Together with Jeroen Dillon also creates a podcast about Elm, and this week they have released an episode about graphql. It took them 16 episodes to finally talk about one of the most popular packages :-)

The first time I heard about Ant Design is when I encountered elm-antd. This week its author Gio started doing live streams on Twitch where he's working on improving elm-antd. It's a good chance to learn not only the Elm, but also how to design libraries.

And to finish this week, here's a quote from the "Crime and Punishment":

The more cunning a man is, the less he suspects that he will be caught in a simple thing. The more cunning a man is, the simpler the trap he must be caught in.

This reminds me someone that the whole world was watching in the past 4 years.

Have a great week!

Show Comments