[elm-discuss] Re: Seeking feedback: CSS Modules in Elm

2017-06-04 Thread Marek Fajkus
Interesting project! We had this problem too but have decided we don't want to lock us to webpack so much (even though we're currently using it). If you're interested you can have a look at http://package.elm-lang.org/packages/GlobalWebIndex/class-namespaces/latest. Simply we're just generatin

Re: [elm-discuss] Unexpected Time.every drift over time

2017-06-04 Thread Aaron VonderHaar
Time.every relies on javascript's setInterval. Do you see the same drift in Safari/node using setInterval? If you need more accurate timing, it's possible to attempt that now using a combination of Time.now and Process.sleep (every time you get a message, check the timestamp and calculate how lon

[elm-discuss] Unexpected Time.every drift over time

2017-06-04 Thread RGBboy
I have been using Time.every for a project that requires ticks at a constant interval. I found that different platforms drift by varying amounts. Some platforms seem to oscillate around the desired 0 millisecond drift. This is acceptable for my use case. However some platforms constantly increa