photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
🌈 An inclusive place for your photos, silliness, and convos! 🌈

Administered by:

Server stats:

243
active users

#elm

0 posts0 participants0 posts today

I wrote a blog post about an #Elm package I wrote called elm-knobs. Mostly, I give a few details about how I wrote the documentation, tests and such. I'm not one to publish packages often, so this was a learning experience on several fronts.

blog.agj.cl/2025/08/on-my-elm-

agj's blog · On my elm-knobs Elm package [agj's blog]Two years ago I made a simple Elm package to scratch my own itch, named `agj/elm-knobs` . I wanted a simple interface to tweak constants dynamically in order to see…

I like all #programming languages. I like even more those languages that an experienced #programmer could learn in a few hours, like #Elm, #TypeScript, #Gleam, and a few other similar ones.

I am not claiming that these languages will make all jaded programmers happy, for each has its own set of pluses and minuses. I am simply pointing out that "unquantifiable something" in their design that makes these languages easier to take up.

That "something" could well be #simplicity. The designers of these little languages seem to be more concerned with making the language users' lives easier through simplicity, instead of with impressing other language designers through complexity. This is also the same philosophy behind FORTRAN, LISP, C, and Smalltalk. And I would add ML, MATLAB, and Go to this list, too.

Is #elm a viable language at this time? Is it considered abandonware? Is anyone starting new projects with it?

After learning Isabelle/HOL lately I've resurfarced my love for strong type systems and ML-inspired languages and I may build my new project with Elm to see where it is.

Via #CTV News @ 2:47pm EDT on Sept 03, 2024

A total of four trees in #Edmonton have tested positive for #DutchElmDisease in what is the first appearance of the disease in the city.

All four have been removed and the city says it is taking "swift action" to assess all of the #elm #trees in the two affected neighbourhoods – #Killarney and #YellowheadCorridorEast – to contain the spread.

edmonton.ctvnews.ca/dutch-elm-

Edmonton · Dutch elm disease found in Edmonton for first timeA total of four trees in Edmonton have tested positive for Dutch elm disease in what is the first appearance of the disease in the city.

Disease has killed most of UK's elm #trees since the 1960s—but they may be making a comeback phys.org/news/2024-07-disease-

"Fortunately, a network of knowledgeable private citizens has taken up the mantle of elm research and poured time, effort into the trees... #elm enthusiasts import and care for resistant elm... monitor their suitability for the local environment, how the new trees compare with #elms of the past and their ability to host species such as the white-letter hairstreak #butterfly"

I've been wondering for a while how to put arbitrary HTML inside an #Elm app.

I wondered if I could register a custom HTML element which takes a string of HTML code as an attribute, and sets the innerHTML of its shadow root to that code. The Elm app could then create an instance of that element and pass a string of HTML to it.

It works!

Demo: can-elm-make-arbitrary-html-in

Source code: github.com/christianp/can-elm-

can-elm-make-arbitrary-html-in-a-custom-element.think.somethingorotherwhatever.comElm app by clp