[elm-discuss] Re: Task ports: A proposal to make it easier to integrate JS with Elm.

2017-04-12 Thread Martin Norbäck Olivers
Yes, right now I want to make uuids by getting random numbers from window.crypto.getRandomValues. To generate good uuids without risk of collisions we need 128 bits of randomness, which the current random packages do not supply (they only supply 32, which is not enough). It would be great to

[elm-discuss] Notify me when JWT expires

2017-04-12 Thread Kasey Speakman
I made this module yesterday to notify me when a JWT bearer token expires. Thought I would share in case anyone found useful, maybe make a package later. https://gist.github.com/kspeakman/bd13d5b922a6abfcbb480a907161030c Basic usage (ignoring JWT parse errors) is: jwtString |>

[elm-discuss] Re: Call of init function behaviour

2017-04-12 Thread Nicholas Hollon
Glad you fixed your problem. If you give the button an onSubmit event handler, that should prevent the reload from happening, even if you are using Html.form. On Tuesday, April 11, 2017 at 11:46:10 AM UTC-7, Oliver

[elm-discuss] Re: WYSIWYG functionality

2017-04-12 Thread Daniel Wehner
It could be really interesting to also experiment with looking at https://draftjs.org/ / providing a port or a in elm implementation of it. https://github.com/thebritican/elm-editor seemed to have tried that, but there seemed no progress on that in the meantime. Am Mittwoch, 12. April 2017

[elm-discuss] Elm "missing library / I was blocked by ..." scoreboard?

2017-04-12 Thread Martin Janiczek
Would it be a good idea to create Elm "scoreboard" at canny.io or something similar? (See https://react-native.canny.io/feature-requests for example) Seeing Twitter @elmlang mentions like: "It's sad that we lack touch subscription support on @elmlang", it seems to me that we could aggregate