Back when I wrote plain old Javascript: "Alright I've implemented everything except the Javascript part. It'll be a mess, I totally don't want to work on that."

After switching to : "Alright I've implemented everything except the Elm part. Meh, not in the mood."

I don't think there'll ever be a time where I look forward to writing dynamic front-end stuff.

Manipulating URLs in is a nightmare. The official Url package comes with one of those wonderfully type-safe APIs that covers only a few use cases. There's no way to modify a query parameter in an existing URL, for example.

The Erl library looks more promising, let's give that a try.

Trying to make my site compatible with [1]. The Javascript runtime is BSD, my own code is AGPL, and both compile down into a single JS blob. The LibreJS "spec" doesn't seem to have a way to mark a single chunk of code as having multiple licenses. :blobthinking:

1. gnu.org/software/librejs/free-

I initially blamed for this slowness, but nope, you can throw 200 Elm widgets on one page just fine. 👌

Fighting with again. I want the selected option in a <select> node to be declaratively set, just like any other input value. But Elm does not update its internal view of the <option> DOM nodes when the user changes the selection, so the diffing algorithm doesn't detect that the DOM and the view are not in sync, and hence doesn't perform any updates. I have a solution, but it involves patching the generated Javascript. :blobcatoh:

Slowly pushing more code into production. No complaints from users so far. :blobooh:

Automatically generating code is fun and all, but maybe I need to split the generated code into several files. 109 symbols for various unrelated things in a single namespace gets a bit messy. :blobblush:

On the one hand, I much prefer server-side generated HTML with a little bit of Javascript to enhance parts of it. On the other hand, once said enhancements become even slightly more complex, this approach results in a horribly unmaintainable mess of DOM manipulation, and an alternative approach is needed. That's when I prefer to write the entire thing in , but at that point nothing works anymore with NoScript.

Why is web development so annoying?

niu.moe

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !