James Carlson has made progress with making his Latex editor written in Elm to run on the desktop. It was done with the help of Tauri - a toolkit to make desktop applications using frontend frameworks, including Elm. Turns out, the process is pretty straightforward. While the results are impressive, I find the discussion talking about different approaches and how James went from the web server approach to investigating many other options, to finally settle on Tauri is more educating and inspiring.
Recently Luca Mugnaini ran an experiment: how does a frontend framework deal with simple errors introduced in the code. To give you an idea, what would happen if you misspelled
</spam>? Would you get a nice error? Would the website render anything in the browser? The contenders are VanillaJS, React, Vue, Svelte, and of course Elm. In the beginning of the experiment Luca writes down some caveats: not using any tests or linters, not using Babel or TypeScript, and a few others. With that in mind it is no wonder that other frameworks fared poorly. Having eslint running constantly to check for code issues would catch many of those errors early and give a pretty good message, pretty much what Elm compiler does. Nevertheless I find this experiment interesting and entertaining. Link
You might think that I live in a vacuum, but until now I never heard of Meteor or Tauri, and the above writeups from James and Anthonny are eye-openers for me about how the software can be developed and ported to different platforms.
Robin Heggelund Hansen announced the release of Elm Warrior: a tool (or rather a game) to help you learn Elm through playing. You implement a pure function that gets called every time your player moves on the map. There are 12 built-in maps to keep you busy, and you compete against other players.
Markus Laire has just released another Elm package (last week he released
malair/elm-safe-int) to deal with 64-bit integers. Here's the announcement on Discourse. There is also
folkertdev/elm-int64 which is meant to solve the same problem but in a different way. This was the reason mentioned by Markus to publish this as a new package.
dullbananas/elm-touch - a brand new package to deal with touch events. There is support for pinch to zoom, rotate, and move events.
Quote of the week
The more I learn about Elm (and functional programming in general), the more I learn about mathematics. And I am very happy for that as it makes me research more and more interesting scientific topics rather than just learning on Stack Overflow how to fix X with Y (of course one doesn't exclude the other).
I am extremely grateful to the Elm community for having so many interesting and smart people sharing their thoughts not only on simple topics for beginners, but also some deep research.
Here's a quote from Richard Dawkings I recently stumbled upon that aligns nicely with that:
It has become almost a cliche to remark that nobody boasts of ignorance of literature, but it is socially acceptable to boat ignorance of science and proudly claim incompetence in mathematics.