Re: [elm-discuss] Parsing JSON — one more victim

2016-07-26 Thread Eduardo Cuducos
Yay, deployed: https://github.com/cuducos/cunhajacaiu It's a tiny project that I use to test my Elm skills and, surely, to learn Elm. Nothing very complex, Elm is updating the stopwatch, and loading the news — loading both initial data from different JSON API (but once loaded, no interaction is

Re: [elm-discuss] Re: port module for JS interop.. without main/view ?

2016-07-26 Thread Yonatan Kogan
We're doing this at work and I've strongly considered writing some promise layer (disclaimer: I know nothing about observables). I was going to do this by building a javascript module to manage the interface between JS and elm that would assign every message into elm a unique ID (monotonically

[elm-discuss] Re: Elm Remote Meetup #3 (August) is coming...talk proposals?

2016-07-26 Thread José Lorenzo Rodríguez
Hey Josh! Thanks for keeping up with this great meetup idea. I really enjoyed the talks from last time. I could talk a bit about the work I've been doing in the elm-webdriver repo if you think that would bee good material for it. On Tuesday, July 26,

[elm-discuss] Re: port module for JS interop.. without main/view ?

2016-07-26 Thread Jörg Winter
Thanks! Guess you mean somehow combining (join, merge..) 2 Observables (sending + receiving to/from a port) to correlate the request(=send) with the reply(=subscribe-callback) ? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe

Re: [elm-discuss] Re: What are the largest Elm codebases that can be shown to someone contemplating a switch to Elm?

2016-07-26 Thread Nick Hollon
Have you subscribed to Elm Weekly (elmweekly.nl)? > On Jul 26, 2016, at 7:49 AM, Conrad Dean wrote: > > an elm reading list, for docs, tutorials, and large projects, would be a > pretty great community resource > >> On Tue, Jul 26, 2016 at 9:37 AM, Luke Westby

[elm-discuss] Re: port module for JS interop.. without main/view ?

2016-07-26 Thread Jörg Winter
ok.. admittedly going a bit offtopic here.. Did you actually mean Rx Subject ? otherwise, how would Observable help with correlating a port-send to a port-subscription event ? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from

Re: [elm-discuss] Touch module in Elm 0.17

2016-07-26 Thread Janis Voigtländer
I don’t think there was a technical reason or specific complication. The Touch module had simply never been really finished API-wise, and during the transition from Elm 0.16 to 0.17 there was no priority to polish touch support in particular. So while stuff like Keyboard and Mouse and Graphics was

Re: [elm-discuss] Parsing JSON — one more victim

2016-07-26 Thread Peter Damoc
To paraphrase Satchmo, "If lots more of us helped each other, we’d solve lots more problems. And then this world would be better." I'm glad I could help. ;) On Tue, Jul 26, 2016 at 2:27 PM, Eduardo Cuducos wrote: > Peter, thank you so much. > > You could be very mean due to

Re: [elm-discuss] Parsing JSON — one more victim

2016-07-26 Thread Peter Damoc
OK, So, first, you had a typo in the decoder. it says "chidren" instead of "children" This is why it is better to first debug the decoder with fake but valid data and then move to retrieve the data from a live source. You do this by just prettifying the json and pasting it into a triple quote

[elm-discuss] Re: Elm Brackets extension

2016-07-26 Thread 'Thomas Prebeck' via Elm Discuss
I did work on it a little bit. I plan on implement support for elm-oracle and elm-format in the next couple of days. The link to the brackets extension on "http://elm-lang.org/install; is pointing to the version which is not maintained and does not work on linux/mac. Who can I write to to get

Re: [elm-discuss] Parsing JSON — one more victim

2016-07-26 Thread Peter Damoc
The links you tried to post are broken. Have you tried creating a small sample JSON to test your decoders on? On Tue, Jul 26, 2016 at 11:17 AM, Eduardo Cuducos wrote: > Hi all, > > I'm tryind to parse Reddit JSON > <#m_1784857688894315202_m_-844639499985301489_> but I