What took you way too long to figure out?

Browsers don’t create the html standard, at least not directly. Also completely natively implemented form controls are a nightmare to customize. We’re only just seeing browsers adopt a styleable select from work comming out of GitHub - openui/open-ui: Maintain an open standard for UI and promote its adherence and adoption.

Multiple select is imo even harder, because it’s not just that it’s not customizable, but also that multiple select is plain old bad UI in the first place. And while there are alternatives I personally don’t consider any of those universally good.

OpenUI however does truely seem to be able to make progress happen looking at the things they proposed that turned into standards.

I have only one such problem that’s scalable to the universe size! Just think that for years you have written macros that generates some functions/macros and documented the generated code inside quote do … end block and then you realize that you can simply use @callback attribute for documentation purposes (like for example Ecto.Repo is doing). :thinking:

This was because the behaviours I remembered were pigeonholed for 3rd-party modules and not for the code you generate. I’m still in a process of rewriting all related projects. :sweat_smile:


That’s said the best topic is of course the never ending story:

How to center a div?

I recommend to watch:

2 Likes

The best way for a looooong time which worked from the very beginning was <td align=center valign=middle> :smiley:

2 Likes

Here is a list of keyboard shortcuts available in the IEx/erl shells:

Found in this Erlang Forum post while I was scrounging for some unrelated info.

There’s some neat stuff in there. e.g. Ctrl + ] can be used to auto-close the ), ], and } brackets.

5 Likes