[elm-discuss] Elm-discuss admin help?

2016-11-24 Thread Duane Johnson
I've been away on a Thanksgiving trip this week and have not had time to approve newcomer posts to this mailing list. There are usually 2-3 newcomers per day, posting for their first time. Would another admin check to see if there are posts needing approval? Thanks, Duane -- You received this

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Erkal Selman
@Max: I think Eve does, what you want. I mean uniting events, http requests, model access. They are all accessed by "search". Look at this page: http://docs.witheve.com/handbook/blocks/ (I know very little about Eve. I was just reading this page) On Thursday, November 24, 2016 at 7:17:27 PM

[elm-discuss] Decoding childNodes textContent

2016-11-24 Thread Laurence Roberts
I've become stumped by a json decode issue where the code compiles correctly but does not appear to actually run. If you run this code below, open your console, enter anything in the editable element and click out of it. I would expect the message `"Write!"` to be logged but it is not. Equally

Re: [elm-discuss] How to structure the code for a PersonSection widget?

2016-11-24 Thread Vlad GURDIGA
> > What types of updates are possible? For every type of person there is a set of fields, so by updates I mean the changes to those fields. Are the sorts of updates allowed with companies & individuals very similar > or very different? I guess they can be considered similar in that they

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Max Goldstein
Regarding simple type systems, experiments, and language features for library authors -- finding the right abstraction is hard. In 0.18, there's an HTTP abstraction, so you can run requests in parallel (but not arbitrary effects: racing a file read and a file delete is a bad idea!). Then

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Nick H
I found out about the 0.18 release and elm-conf EU via Twitter. Also lots of announcements there about live coding sessions, local meetups, etc. I can try to echo some of that stuff here if the organizers don't do it, but I am only on Twitter sporadically. But there is a wealth of community

[elm-discuss] Re: Pre-requisites for learning Elm?

2016-11-24 Thread Razi Syed
It's Elm specific. This class is offered in first year and in first semester so there are no pre-requisites. But there obviously feels like there are prequisites because I'm totally lost. On Sunday, October 23, 2016 at 5:56:54 PM UTC-4, OvermindDL1 wrote: > > Elm is definitely a front-end

[elm-discuss] What do I need to know before attempting to learn ELM?

2016-11-24 Thread Razi Syed
Are there any prerequisites I should know before trying to learn ELM? I've never programmed in my life before, and the elm website's tutorial seems to assume the reader already has some sort of background in programming since I don't understand a lot of terminology. Where do I start? -- You

Communication between >1 Elm.Main with effects? (Was Re: [elm-discuss] Can't install native package using elm-github-install)

2016-11-24 Thread 'Rupert Smith' via Elm Discuss
On Tuesday, November 22, 2016 at 4:59:22 AM UTC, Gusztáv Szikszai wrote: > > I think you are looking for something like this: > https://github.com/gdotdesign/elm-ui/blob/master/source/Ui/Helpers/Emitter.elm > > It's a pure Elm pub / sub effects module (and possibly the most minimal > example

[elm-discuss] Re: Structure for multiple small "apps" when using Elm with webpack (elm-webpack-loader)

2016-11-24 Thread Robin Heggelund Hansen
Define "big blob of js" React, the framework alone, is around 54kb gzipped, my elm SPA is currently half that gzipped. Also, you would load the same blob once, as it's cached in your browser. Currently, if you split your app up into multiple entry points, those would still require the Elm

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread 'Rupert Smith' via Elm Discuss
On Thursday, November 24, 2016 at 2:38:07 PM UTC, Rupert Smith wrote: > > On Thursday, November 24, 2016 at 8:54:33 AM UTC, Zachary Kessin wrote: >> >> I wish I could go to Elm-conf eu, but right now I don't have the budget >> to travel. >> > > Paris 8/9 June 2017 - https://elmeurope.org/ - Is

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread 'Rupert Smith' via Elm Discuss
On Thursday, November 24, 2016 at 8:54:33 AM UTC, Zachary Kessin wrote: > > I wish I could go to Elm-conf eu, but right now I don't have the budget to > travel. > Paris 8/9 June 2017 - https://elmeurope.org/ - Is this the Elm-conf EU we are talking about? It says: CFP rules Elm Europe 2017

[elm-discuss] Re: Structure for multiple small "apps" when using Elm with webpack (elm-webpack-loader)

2016-11-24 Thread Rafał Cieślak
Robin: I would just keep everything in one Elm app, then use a router to display > the correct page. The problem I see with this is that our app is not SPA, so each page that needs an Elm app would need to load a big blob of JS with dependencies of all the Elm modules in our source code.

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Erkal Selman
Let me quote some text from that post to be more precise about what I mean when i say "we need examples" *Why?* > Examples are lightweight and informal; they can often be made in a few > minutes; they lack the ceremony of polished graphics or official tools. Yet > examples are a powerful medium

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Zachary Kessin
Some of this makes me a bit twichy. I think one of Elm's great advantages is that while its type system is good it is also simple. Having tried haskell and quickly drowned I am in favor of keeping the types as simple as possible Zach On Thu, Nov 24, 2016 at 1:11 PM, John Orford

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Oliver Searle-Barnes
Something that I feel isn't acknowledged is that it's ok to have a language with more advanced features for library authors than library consumers. I don't see that it follows that having more advanced features makes the language harder to use for beginners (I'd argue the opposite even). I do

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread John Orford
Oliver, I understand. But... we are swimming in a sea of imperative programmers. A lot of FP is not obviously better for them. >From my POV, this is Elm's greatest strength and weakness. It would be so easy to be a PureScript and corner a hardcore niche, where 'power' is everything. Elm has a

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Wouter In t Velt
My learning curve has been similar to what Oliver describes. IMHO, there still a large gap between The Official Guide and the community platforms, that needs to be filled. The Official Guide is a great doc, but it has very few examples, and mostly entry-level and small. Outside the guide, the

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Oliver Searle-Barnes
I'm definitely still in the process of moving my thinking into a functional approach (currently working through Programming Haskell and Bartosz Milewski 's Category Theory series on youtube, both recommended by other Elmers so thanks!). The lack of

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Peter Damoc
On Thu, Nov 24, 2016 at 11:17 AM, Oliver Searle-Barnes wrote: > The fact remains though that I don't feel I can offer a sound > justification as to why it's far more complicated to do these things in > Elm. Elm strives to be easy for users to understand, in this area it is >

Re: [elm-discuss] What do people thing about the idea of Elm Remote Conf

2016-11-24 Thread Zachary Kessin
I forgot about those :) Zach On Thu, Nov 24, 2016 at 11:18 AM, Peter Damoc wrote: > How would this be different from the current Elm Remote Meetups? > > > On Thu, Nov 24, 2016 at 10:56 AM, Zachary Kessin > wrote: > >> I know Charles Max Wood of Ruby

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Oliver Searle-Barnes
I'm going to touch on a couple of sensitive areas here, hopefully you'll take my comments in the manner they're intended, to try and expose problems that newcomers from other frameworks face so that we can think about how we might improve the situation. I've been using Elm a good portion of

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Peter Damoc
On Thu, Nov 24, 2016 at 11:01 AM, John Orford wrote: > On the perennial CSS-in-Elm topic - I think Elm's lack in this regard > reflects a general lack of being able to do CSS in an elegant manner > (correct me if I am wrong). > > I am pretty sure if there was a clear way

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Peter Damoc
On Thu, Nov 24, 2016 at 10:54 AM, Zachary Kessin wrote: > What topics should we cover? > That's like putting the cart before the horses. We need first to develop a coherent vision to where do we want to take Elm. I'll reuse a map from a book that I'm reading now: [image:

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread John Orford
On the perennial CSS-in-Elm topic - I think Elm's lack in this regard reflects a general lack of being able to do CSS in an elegant manner (correct me if I am wrong). I am pretty sure if there was a clear way to do CSS right generally, Elm would've jumped on that band wagon. Having said all

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Matija Srček
I'm having fun learning programming as a hobby and Elm is the most beautiful, friendly, clean and focused language that I've tried, including JS frameworks. I see it as a great solution for building logic and structure (HTML) of an app. It's true, styling (CSS) is almost completely absent. Elm

Re: [elm-discuss] What Elm needs to move forward

2016-11-24 Thread Noah Hall
I had submitted a couple of talks on advance Elm usage for elm-conf, but sadly that never happened. I have however talked about this kinda thing in local meetups and in the remote meetup. Sadly the most interesting and relevant one (on how to not get blocked with Elm in production) failed to