Re: [elm-discuss] Re: Improving collaboration - part 2

2016-06-03 Thread Noah Hall
> I must say one of the main reasons I'm not using Elm today nor do I plan to > use it on the medium term is how slow paced, constraining and tightly > controlled it is. I disagree that it's slow paced. I agree that it is constrained and tightly controlled. Part of this is the focus on

Re: [elm-discuss] Re: Feature Request: Code Generation/ Macro System

2016-06-12 Thread Noah Hall
FWIW I've already turned json-to-elm into kind-of-macros for my own personal usage along with a couple of other things. I don't think that elmx is a compelling use case though. I think it's best to leave that stuff to the react people. Things like decoders, encoders, reducing boilerplate,

Re: [elm-discuss] elm-stuff causing troubles after each updates

2016-05-30 Thread Noah Hall
Share your elm-package.json. we have had this problem at NRI, and the tooling under https://github.com/NoRedInk/elm-ops-tooling#elm_deps_check help to maintain consistency of the elm-stuff folder -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group.

Re: [elm-discuss] https://github.com/evancz down?

2016-06-25 Thread Noah Hall
Actually, the flakiness of github is one of our biggest problems of elm in production. So we have internal caching mirrors On Saturday, June 25, 2016, Tobias Hermann wrote: > No Problem. I think github usually can be considered very reliable though. > > > On Saturday, June

Re: [elm-discuss] Documentation for packages removed from Core is too hard to find

2016-05-23 Thread Noah Hall
https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md#update-elm-packagejson On Mon, May 23, 2016 at 7:06 PM, Alexander Biggs wrote: > If I google "elm keyboard" today, here is the series of steps I follow > before figuring out how to do keyboard

Re: [elm-discuss] Sublime Text 3 highlighting in 0.17

2016-05-23 Thread Noah Hall
The maintainer for the plugin is sadly unresponsive. There's been a couple of offers to take it over, and it's been forked to elm-community, but apparently the process to get it updated upstream with sublime package control is complex. I'm not sure. for now, you can add a `--where` as a comment

Re: [elm-discuss] Is there a way to investigate a Html tree?

2016-07-28 Thread Noah Hall
My implementation of server-side rendering allows you to do exactly that, without turning it to a string. Checkout how this is implemented -> https://github.com/eeue56/elm-server-side-renderer/blob/master/src/Query.elm#L51 On Thu, Jul 28, 2016 at 11:21 AM, Peter Damoc wrote: >

Re: [elm-discuss] Is there a way to investigate a Html tree?

2016-07-28 Thread Noah Hall
tion > is smarter (ready for Json decoding) > > Am I missing something or misreading the code? > > > > > On Thu, Jul 28, 2016 at 1:46 PM, Noah Hall <enali...@gmail.com > <javascript:_e(%7B%7D,'cvml','enali...@gmail.com');>> wrote: > >> My implemen

Re: [elm-discuss] Elm Jobs Board

2016-07-31 Thread Noah Hall
#jobs on the slack channel. http://elmlang.herokuapp.com/ On Mon, Aug 1, 2016 at 1:17 AM, Joey Eremondi wrote: > Advertising jobs, this is probably the best place, though you'll probably > get good feedback on reddit.com/r/elm as well. > > You can look for jobs here, but

Re: [elm-discuss] How to do Context in 0.17 (passing in multiple Addesses to a view)

2016-07-27 Thread Noah Hall
This is what our accordion looks like in 0.17: https://gist.github.com/eeue56/d0a2f901dc2fe36ab4562940b7fd28e4 it was a +7 -11 diff :) Otherwise, you want `Html.App.map`. Make a component that has it's own "update" function, with it's own messages. Map them and pass the messages down from the

Re: [elm-discuss] Writing tests on elm-lang/html data structures

2016-07-17 Thread Noah Hall
Yep, if you want to use karma On Sun, Jul 17, 2016 at 6:40 PM, Conrad Dean <conrad.p.d...@gmail.com> wrote: > By that do you mean write the test suite in JS and call elm with ports? > > On Sat, Jul 16, 2016 at 5:22 PM, Noah Hall <enali...@gmail.com> wrote: >> >>

Re: [elm-discuss] Writing tests on elm-lang/html data structures

2016-07-16 Thread Noah Hall
We've been using this -> https://github.com/eeue56/elm-server-side-renderer for testing that in 0.17. On Saturday, July 16, 2016, Conrad Dean wrote: > I want to write tests for https://github.com/evancz/elm-markdown , but > I'm having problems comparing Html objects. >

Re: [elm-discuss] Using Elm on the server (full stack Elm webapps )

2017-01-26 Thread Noah Hall
I've already done this. Full stack elm is not a feasable option right now. You can use elm to drive your logic if you want but the amount of boilerplate and overhead from the runtime make it inefficent for a server. For full stack elm, with the server code in elm, youll find yoyrself fighting

Re: [elm-discuss] Re: [early prototype] Elm-Data: a server loading code generator

2017-01-19 Thread Noah Hall
t, since elm-format can > smooth over a lot of bumps in a hacked-together system. I'm more comfortable > in Ruby but Noah Hall has written some JSON tools in Python that I'd like to > build on if it makes sense to do so (he's left NRI so maybe not?). I've left NRI, not vanished and therefor

Re: [elm-discuss] Maintainers wanted

2017-01-20 Thread Noah Hall
Please move these to elm-community. I can help move them over. Reach on slack on #elm-community On Fri, Jan 20, 2017 at 7:38 PM, Joey Eremondi wrote: > Might these be candidates for migrating to elm-community? > > On Fri, Jan 20, 2017 at 2:29 AM, Bogdan Popa

Re: [elm-discuss] Proposal for a 1st-class, officially-supported CSS package

2016-09-13 Thread Noah Hall
elm-css doesn't need extra first class Elm support. It has first class Elm support - everything is a function. As Nick said, focus on how you _use_ elm-css. It's plenty first-class enough wihtout burdening the compiler with excessive language features. On Tue, Sep 13, 2016 at 7:17 PM, Nick H

Re: [elm-discuss] Post mortem for my first attempt at using Elm in a real app.

2016-09-19 Thread Noah Hall
On Mon, Sep 19, 2016 at 3:08 PM, Peter Damoc wrote: > Middle Phase > > Once the build environment was set up, things started to move a little > faster. I then ended up needing CSS and after playing a little bit with > elm-css and hitting several missing properties I decided to

Re: [elm-discuss] How are you handling images references in Elm with Webpack?

2016-11-14 Thread Noah Hall
We solved this recently! You can checkout the loader here -> https://github.com/NoRedInk/elm-assets-loader The code lives in index.js. It's currently not fully released yet, but some docs live here -> https://github.com/NoRedInk/elm-assets-loader/blob/master/index.js#L3 On Mon, Nov 14, 2016 at

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

2016-11-23 Thread Noah Hall
At NoRedInk, we use a single elm code base with multiple entry points for each different page with a unique elm app. This is ideal in terms of build time and reliabitly, as everything can be built and once and share a single lot of packages. We also use the webpack loader for this style of app

Re: [elm-discuss] Rename Just to Something, as the counterpart to Nothing?

2016-11-21 Thread Noah Hall
Has anyone actually encountered anyone being confused by the names? I haven't. I think this a solution to a problem that doesn't exist. On Mon, Nov 21, 2016 at 6:15 PM, Will White wrote: > I think that’s because you already know what Just means. I don’t think it’s >

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

Re: [elm-discuss] What ways are there of running Elm server side?

2016-11-23 Thread Noah Hall
The canoncial server-side Elm example is the take-home, https://github.com/noredink/take-home, written by me. AFAIK it is still the only full stack-Elm application. It also lists good reasons as to not take that approach and why it should be avoided at all costs. If you want to render code on the

Re: [elm-discuss] Unpublishing a package

2016-11-21 Thread Noah Hall
The elm-community has been depreciating things every time a new Elm release comes along, by simply just not publishing for that version. On Tue, Nov 22, 2016 at 12:33 AM, Richard Feldman wrote: > There is no unpublish feature, and it's important that there never be

Re: [elm-discuss] Help with beginner program

2016-11-02 Thread Noah Hall
In order to install elm at version 0.16, just do: npm install -g elm@0.16 In order to re-install elm at version 0.17, just do: npm install -g elm@0.17.1 On Wed, Nov 2, 2016 at 8:06 PM, Federico Venturini wrote: > Hi everyone! > I'm writing a brief report on Elm and FRP

[elm-discuss] This week, we hit 5000+ users on Slack

2016-10-16 Thread Noah Hall
>From our Slack weekly update: > In total there are 5190 people on your team (up 210 from last week) (that's not including 11 disabled accounts). I think that's pretty cool. Lots of people to help and be helped! Here's a link for anyone unfamiliar -> http://elmlang.herokuapp.com/ -- You

Re: [elm-discuss] Re: Should and so on be part of Html?

2016-12-14 Thread Noah Hall
Yes, you can use `Html.node` for those. You might be better to wrapping it with that stuff yourself outside of Elm though. On Wed, Dec 14, 2016 at 5:18 PM, 'Rupert Smith' via Elm Discuss wrote: > On Wednesday, December 14, 2016 at 3:50:29 PM UTC, Rupert Smith wrote:

Re: [elm-discuss] Elm static source analysis

2016-12-16 Thread Noah Hall
I'm working on a linter, but right now, elm-format is your best bet for maintaining code format. We use this with the `--validate` flag to ensure that all checked in code matches elm-format. On Fri, Dec 16, 2016 at 5:58 PM, Gian Giacomo Ermacora wrote: > Hello

Re: [elm-discuss] Re: Instaslling Elm 0.17 and Elm 0.18 at the same time.

2016-11-30 Thread Noah Hall
To expand on what simon said: If you're using multiple Elm versions in production, use the version installed via a local npm and make all your tooling refer to node_modules/.bin/elm-make and friends. That way you can have a global install of elm at a version, but still use 0.16 for a particular

Re: [elm-discuss] How does evancz.Markdown work?

2017-01-04 Thread Noah Hall
It does support custom and supports markdown as a special case - https://github.com/eeue56/elm-server-side-renderer/blob/master/src/ServerSide/Markdown.elm However, it doesn't convert it to html on the server side. That should be trivial to add - just a called to marked, but I haven't needed it

Re: [elm-discuss] Is it possible to programmatically start an Elm program via Native?

2017-01-07 Thread Noah Hall
It's not 100% clear to me what you want to do, but if you ping me on #elm-dev on slack then I can probably help. Better to discuss it there On Sat, Jan 7, 2017 at 12:18 PM, Peter Damoc wrote: > I'm trying to explore how one could implement web-components in Elm natively > using

Re: [elm-discuss] Isomorphic web apps with Elm?

2017-01-09 Thread Noah Hall
It's easier to say: code shared between client and the server than isomorphic and have everyone understand you. Isomorphic means a lot of different things to different people. Say what you mean, and more people will be able to take part and understand :) On Mon, Jan 9, 2017 at 3:24 PM,

Re: [elm-discuss] Isomorphic web apps with Elm?

2017-01-09 Thread Noah Hall
Let's not use Javascript names for things here here: you mean shared code between client and the server. Like everything else in the area, I have already done this in the take-home: https://github.com/noredink/take-home#support-summary It was very, very nice. It allows for seemless APIs that

Re: [elm-discuss] Re: Upgrading to 0.18 and elm-webpack-starter

2016-12-22 Thread Noah Hall
FWIW there's a patch I've been working on to make change detection more consistent. I'll release it as 4.1.2 soon On Fri, Dec 23, 2016 at 6:34 AM, Nathan Eldridge wrote: > I'm not certain of your configuration, but in our current project we pretty > much use the standard: > >

Re: [elm-discuss] Re: Elm "faster than JavaScript" (version 0.18) - NOT - Parts I and II...

2016-12-27 Thread Noah Hall
Tight calculation loops and performance matters a lot in some cases such as complex form validation. I've spoken with at least one company suffering these bottlenecks with Elm, but it was resolvable by just changing how the data is modelled. For performance in production, if you're not running a

Re: [elm-discuss] Re: 'Native' -> 'Kernel': a msgpack example

2017-03-24 Thread Noah Hall
> The work around is a native file along the lines of (or see this NoRedInk > library): Sidenote: That is not a NoRedInk library. I do not work at NoRedInk any more. It's a eeue56 library. It's important to distinct the two. On Fri, Mar 24, 2017 at 4:19 AM, Martin Bailey

Re: [elm-discuss] Re: Help with Jupyter/IPython notebook kernel for Elm

2017-03-28 Thread Noah Hall
If you join the https://elmlang.slack.com and join #elm-dev, I can help you out (eeue56) On Tue, Mar 28, 2017 at 4:53 PM, Berry Groenendijk wrote: > Hi Austin, > > I like Jupyter/iPython a lot as a concept. I did not use it a lot though. > And Elm seems to be like a

Re: [elm-discuss] Is a decoder the right level of abstraction for parsing JSON?

2017-03-18 Thread Noah Hall
Http://json2elm.com. auto generating json "codecs" (decoders and encoders) has existed for more than a year already. On Friday, March 17, 2017, Kasey Speakman wrote: > Another update. I figured out how to get the encoders and decoders out of > the ports using a native

Re: [elm-discuss] Re: Elm events 2017

2017-04-05 Thread Noah Hall
Forgot a link for flatmap: http://2017.flatmap.no/ On Wed, Apr 5, 2017 at 4:50 PM, Noah Hall <enali...@gmail.com> wrote: > There's a talk about Elm at flatmap by Erik Wendel, and a workshop run > by me. Also, we're running https://osloelmday.no, a day dedicated to > Elm talks in O

Re: [elm-discuss] Re: Elm events 2017

2017-04-06 Thread Noah Hall
Mine is going to be different, and the CFP is open, so I doubt there will be much duplication :) Luke is also going to be talking in Oslo, and they're not going to speak at ElmEurope. The goal is to have a complementary conference to ElmEurope, so people can go to both :). You can check out the

Re: [elm-discuss] Module intermittently missing from compiler output

2017-04-13 Thread Noah Hall
Never seen this before. Pop on to elm-dev on slack and I can help out. Will be afk til Sunday though On Thursday, April 13, 2017, Kevin Yank wrote: > For awhile now, we’ve been seeing intermittent issues with our build, > where a particular module in our application will

Re: [elm-discuss] Re: Comments on the TEA Components package

2017-04-19 Thread Noah Hall
Hey folks, I just want to say, it's really really really hard to reply to these posts which are both really long and really dense. It's better to answer in a terse, short format. This is a conversation - not a blog post. Longer comments and responses are usually better in a blog post, because

Re: [elm-discuss] Why `let`?

2017-04-22 Thread Noah Hall
Two notes: Let bindings do not have order. Using them in the way suggested implies order. In this world, they would have to be ordered or confusion would reign. This is more imperative style. I've actually really disliked this in CoffeeScript/Ruby, that implicitly the last item in the block is

Re: [elm-discuss] Simple way to screen-share an application written in Elm?

2017-03-03 Thread Noah Hall
Like oh-so-many things, I implemented this about 1.5 years ago now. I even gave 2 talks on it. With Elm 0.17, you can implement it in under 30 lines of code, using firebase as a host. Sadly, the recordings of both the talks I gave on it are lost. But you can read it here ->

Re: [elm-discuss] Simple way to screen-share an application written in Elm?

2017-03-03 Thread Noah Hall
ack is generally the best way to get it :) On Fri, Mar 3, 2017 at 1:09 PM, 'Rupert Smith' via Elm Discuss <elm-discuss@googlegroups.com> wrote: > On Friday, March 3, 2017 at 10:55:30 AM UTC, Noah Hall wrote: >> >> Like oh-so-many things, I implemented this about 1.5 years ago now

Re: [elm-discuss] Re: Elm events 2017

2017-04-05 Thread Noah Hall
There's a talk about Elm at flatmap by Erik Wendel, and a workshop run by me. Also, we're running https://osloelmday.no, a day dedicated to Elm talks in Oslo on the 10th of June. The call for papers are open! On Wed, Apr 5, 2017 at 4:15 PM, Austin Bingham wrote: > If

Re: [elm-discuss] Re: Moving on

2017-04-25 Thread Noah Hall
Open an issue here: https://github.com/elm-community/manifesto and we'll discuss On Tue, Apr 25, 2017 at 12:36 PM, 'Rupert Smith' via Elm Discuss wrote: > On Monday, April 24, 2017 at 4:59:43 PM UTC+1, Jakub Hampl wrote: >> >> Typed SVG is a fantastic and much

Re: [elm-discuss] How to get typed-svg into elm-community?

2017-04-25 Thread Noah Hall
Like I replied in that thread, open an issue at https://github.com/elm-community/manifesto and we will discuss there. Looks like one has already been created: https://github.com/elm-community/Manifesto/issues/69 On Tue, Apr 25, 2017 at 4:45 PM, 'Rupert Smith' via Elm Discuss

Re: [elm-discuss] Ports seem contrived when trying to format a value as money

2017-04-29 Thread Noah Hall
The recommended approach is to rewrite the logic you need into Elm. Otherwise, what you can do is make your model store the current money, then pull it back in through a port. Store the input money, as a placeholder until it has been calculated and recieved back into Elm. It should look something

Re: [elm-discuss] New guidelines for posting on Elm-discuss

2017-05-07 Thread Noah Hall
Please move this discussion to another thread. On Sun, May 7, 2017 at 1:29 PM, Rex van der Spuy wrote: > > > On Sunday, May 7, 2017 at 1:06:14 AM UTC-4, Dave Rapin wrote: >> >> The problem with slack is that discussions are lost after you hit their >> limit (which wasn't

Re: [elm-discuss] Ports seem contrived when trying to format a value as money

2017-04-30 Thread Noah Hall
>> integration. If this can't be smoothly integrated with ports (we've all felt >> that pain), the next best option is to write the elements of the plug-in >> that you need in elm. >> >> On Sunday, April 30, 2017 at 1:37:04 PM UTC-4, Noah Hall wrote: >>> >>

Re: [elm-discuss] Literature reviews repo

2017-05-01 Thread Noah Hall
I suggest making this repo part of the elm-community org, if it is to be made. On Mon, May 1, 2017 at 10:14 AM, Oliver Searle-Barnes wrote: > In https://groups.google.com/forum/#!topic/elm-discuss/yHiAJ_wcG3c Max > proposes that we put together some literature reviews. If

Re: [elm-discuss] Ports seem contrived when trying to format a value as money

2017-04-30 Thread Noah Hall
Witold, this it not the advice that we give to people exploring such problems in Elm. There are many reasons why Native bindings are bad. A single error in your JS will cause the _entire_ application to crash unrecoverably. Wrapping things as a result will not help you catch those errors. Writing

Re: [elm-discuss] New guidelines for posting on Elm-discuss

2017-05-05 Thread Noah Hall
gt; than pointing people to the rule book every once in a while. > > From my POV almost everyone comes with the right attitude here. > > > > On Fri 5. May 2017 at 03:33, Noah Hall <enali...@gmail.com> wrote: >> >> Hi folks, >> >> We've come up with some

Re: [elm-discuss] Re: Best practices to create examples for an elm package?

2017-05-08 Thread Noah Hall
Best practice: - Use elm-doc-test for examples whereever possible, don't just write documentation examples. They easily fall out of sync. If your doc-tests start to look too crazy, it's possible your API could be simplified. - Have a test suite. Depending on your problem, your test suite may need

Re: [elm-discuss] New guidelines for posting on Elm-discuss

2017-05-06 Thread Noah Hall
For contrast, consider the Elm community on Slack. Friendly and welcoming, all kinds of questions get answered. Here, flamewars and personal attacks happen far too often, and it's really giving Elm a bad name, despite being a minority of people. On Sat, May 6, 2017 at 3:37 AM, John Orford

[elm-discuss] New guidelines for posting on Elm-discuss

2017-05-04 Thread Noah Hall
Hi folks, We've come up with some new rules for posting on elm-discuss. You can see them here . The goal is to have a healthier, happier mailing list, with more people feeling like they want to take part. -- You

Re: [elm-discuss] Ports seem contrived when trying to format a value as money

2017-04-30 Thread Noah Hall
scratch in Elm or using > subscriptions for pure functions is nothing but making Elm people suffer > instead of getting things done. > > Native bindings are not bad per se. Just use it wisely, be pragmatic or we > will read another "Moving on", by Dwayne Crooks" this time. > >

Re: [elm-discuss] Re: Moving on

2017-04-30 Thread Noah Hall
This thread is too long to be productive. Please make a new thread, if you wish to continue the discussion here, with a relevant title to the particular part of this conversation you wish to continue in. When a thread gets long like this, hitting multiple topics, it's hard for anyone but those