0.17 alpha

1,217 views
Skip to first unread message

Evan Czaplicki

unread,
Apr 25, 2016, 8:01:24 PM4/25/16
to elm-dev
LIST ONLY - NOT FOR SHARING

I have outlined things here. This way I can edit it if there are any problems!

Process: I want this thread to be focused on things like: I ran into problem X with the installer. It looks like link Y is broken. Etc. Otherwise, start new threads to talk about particular aspects of things.

Nick H

unread,
Apr 26, 2016, 12:26:52 AM4/26/16
to elm...@googlegroups.com
The links to the Elm Architecture Tutorial are broken in the docs for Platform.Cmd and Platform.Sub.

--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPGyE7ZmossTnSGe77UnV8kYjTRv%3DCu9dHZ6niRa9Na41Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Yosuke Torii

unread,
Apr 26, 2016, 12:34:56 AM4/26/16
to elm...@googlegroups.com
Thank you for all your work, Evan!!

Note: One person has reported that they needed to delete ~/.elm/ to get things working. Please let us know if this is true for you as well.
I ran into the same problem. In my Windows environment, deleting 'C:\Users\UserName\AppData\Roaming\elm' fixed it.

All others are working well for now. Also, elm-reactor looks nicer than before. I will report more after I play more with it :)

--
Message has been deleted

Paul Brauner

unread,
Apr 26, 2016, 6:20:42 AM4/26/16
to elm...@googlegroups.com
This is great!

To some extent, this is bringing elm closer to halogen, whose Html type is also indexed by the type of its messages (but also its commands).

Paul

On Tue, Apr 26, 2016 at 8:48 AM Janis Voigtländer <janis.voi...@gmail.com> wrote:

I have a question. One of the items under https://gist.github.com/evancz/4cc6c31dd4d56dfb8dd41727f4fe0229#remaining-work mentions moving Graphics.* to evancz/graphics. Before doing that move, will you consider the various pull requests currently open against elm-lang/core that are about fixing stuff in Graphics.*?

There are many relevant issues and many relevant pull requests. Moving issues over to a new repository will not be a big deal. For pull requests, it’s more of a concern. Everything that gets merged before splitting off will reduce hassle for contributors. Obviously, I’m not saying that all Graphics.*-related pull requests should just be merged. Many actually can’t, because there are merge conflicts with the current master branch. And others, while without merge conflicts, may not be suitable for merging because of other reasons. But there are certainly ones that are truly fixing stuff that needs fixing and that would be beneficial additions. If you want to go through to make decisions, here is the current list of pull requests (not issues) related to Graphics.* and not having merge conflicts:

https://github.com/elm-lang/core/pull/222
https://github.com/elm-lang/core/pull/456
https://github.com/elm-lang/core/pull/499
https://github.com/elm-lang/core/pull/504
https://github.com/elm-lang/core/pull/535
https://github.com/elm-lang/core/pull/544
https://github.com/elm-lang/core/pull/562


--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elm-dev/CAF7GuPGyE7ZmossTnSGe77UnV8kYjTRv%3DCu9dHZ6niRa9Na41Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.

Gusztáv Szikszai

unread,
Apr 26, 2016, 12:19:03 PM4/26/16
to elm-dev
I'm on Ubuntu 14.04 (64bit) and the binaries are not working (I have libgmp10 installed).

elm-make: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory 

I also tried on Ubuntu 15.04 (or 15.10 I can check tomorrow) (64bit) and it's working there (I also built it from source a couple of weeks ago ;) )

I too had to delete ~/.elm/ directory to get packages to install.

Frederick Yankowski

unread,
Apr 26, 2016, 12:29:15 PM4/26/16
to elm-dev

I just ported a simple app with ports to Elm 0.17: https://github.com/fredcy/elm-pw-reset-form/compare/0.17?expand=1

Although it feels weird to go entirely without Signal the changes seem really good to me. One small measure: `NoOp` is no longer needed.

I did stumble on a few things:

  1. The module that uses ports has to start with port module, literally.

  2. On one machine I had to wipe out ~/.elm to get elm-make to work; otherwise it would complain about “Could not find package elm-lang/core”.

  3. Static incoming ports don’t seem to be possible. I had to move that data into the model and use Html.App.programWithFlags to load that data into the model via the init function.

  4. In the JS it’s now Elm.MyApp.embed(... rather than Elm.embed(MyApp, ....

Frederick Yankowski

unread,
Apr 26, 2016, 1:23:23 PM4/26/16
to elm-dev

The generated JS for my app is quite a bit smaller in 0.17, as is the minified JS (via uglifyjs):

0.160.170.17 / 0.16
reset-elm.js3198971937570.61
reset-elm-min.js137042658840.48

Evan Czaplicki

unread,
Apr 26, 2016, 1:29:10 PM4/26/16
to elm-dev
Oh yeah, that's one of the things I did! You can also run it through Google Closure Compiler (definitely on simple mode) and it does pretty well. I was seeking more like 55kb?

--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.

Frederick Yankowski

unread,
Apr 26, 2016, 1:45:49 PM4/26/16
to elm-dev
The closure compiler with default options generates 61514 bytes of JS from the same 0.17 source as my above experiment. That's 45% of the minified (uglifyjs) size in 0.16.

Jamison Dance

unread,
Apr 26, 2016, 1:52:01 PM4/26/16
to elm-dev
This is really exciting. Thanks for all your great work Evan.

One question I have with the remove of Signal.Address is how to handle cross-component communication. In 0.16 I would often pass in multiple different Signal.Addresses of different action types for when one component needs to dispatch Actions that affect another component. I'm unclear of how to accomplish this same goal with changing Html to Html Msg.

Maxime Dantec

unread,
Apr 27, 2016, 5:19:14 AM4/27/16
to elm-dev
Any chance that someone with credentials can restart the demo server? I know it's super-late on the east-coast.


On Tuesday, April 26, 2016 at 2:01:24 AM UTC+2, Evan Czaplicki wrote:

Janis Voigtländer

unread,
Apr 27, 2016, 5:24:13 AM4/27/16
to elm...@googlegroups.com
Why does it need a restart? It's up and running this very moment.

--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.

Maxime Dantec

unread,
Apr 27, 2016, 12:22:03 PM4/27/16
to elm-dev
Weird... still down for me, and apparently everyone : http://www.downforeveryoneorjustme.com/159.203.88.24:1234

Janis Voigtländer

unread,
Apr 27, 2016, 12:24:17 PM4/27/16
to elm...@googlegroups.com
Definitely not for everyone. I visited it 10 seconds ago, without cache (since on another computer than a few hours ago).

Joey Eremondi

unread,
Apr 27, 2016, 12:55:23 PM4/27/16
to elm-dev

Possibly a DNS issue? Janis is in Germany, right? Where are you, Maxime?

Maxime Dantec

unread,
Apr 27, 2016, 1:09:15 PM4/27/16
to elm-dev
I'm in France, and http://www.isup.me/http://159.203.88.24:1234/examples seems to agree with, which is super-strange.

Mads Flensted-Urech

unread,
Apr 27, 2016, 1:41:42 PM4/27/16
to elm-dev
I have come across the "rm ~/.elm" problem - and started a seperate thread here

On Tuesday, April 26, 2016 at 2:01:24 AM UTC+2, Evan Czaplicki wrote:

Micah Geisel

unread,
Apr 28, 2016, 1:44:01 AM4/28/16
to elm-dev
Having trouble getting the Linux binaries to run on Ubuntu 15.04 (64 bit).

First issue:
$ ./elm
-bash: ./elm: No such file or directory

Fixed with:
$ sudo apt-get install libc6-i386

Second issue, like Gusztáv's above:
$ ./elm
./elm: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory

Stuck on this one, because libgmp10 package is installed... I also verified that the file does indeed exist and is in my lib load path. Any ideas?

Gusztáv Szikszai

unread,
Apr 28, 2016, 3:25:20 AM4/28/16
to elm-dev
The npm installer is updated  and working for me `npm install elm@alpha -g`

Micah Geisel

unread,
Apr 28, 2016, 4:07:11 AM4/28/16
to elm-dev
Confirmed this works around the Linux binaries issue.

Ronn Ross

unread,
May 5, 2016, 9:56:58 AM5/5/16
to elm-dev
Gusztáv, Thanks for updating the npm installer. Working great on Mac.

RGBboy

unread,
May 8, 2016, 10:35:22 AM5/8/16
to elm-dev
I managed to give 0.17 a go on an existing project and I have to say I really like the changes. I am looking forward to what these changes will open up for the elm community. One thing that I have not been able to figure out is how to embed elm in node.js. I used to be able to use elm's worker method but that seems to have been removed. Is there something I am missing?

ric...@ritsoftgh.com

unread,
May 9, 2016, 3:39:01 AM5/9/16
to elm-dev
Finally got the chance to test 0.17 but I'm unable to compile the code.


Error is
u:\PlayGround\Elm\Testing 0.1.7\testsrc>elm make sample1.elm
failed with 'FailedConnectionException2 "159.203.88.24" 8000 False connect: failed (Connection refused (WSAECONNREFUSED))' when sending request to
    <http://159.203.88.24:8000/all-packages?elm-package-version=0.17&since=2016-05-09%2006%3A59%3A44.1062224%20UTC>


I'm able to access 159.203.88.24:1234 though.
Installed elm using elm-0.17-rc2.exe

How do I get this to work?

Evan Czaplicki

unread,
May 9, 2016, 3:45:49 AM5/9/16
to elm-dev
The old binaries are out of commission. See this post to get the latest binaries. They should be working well.

--
You received this message because you are subscribed to the Google Groups "elm-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-dev+u...@googlegroups.com.

ric...@ritsoftgh.com

unread,
May 9, 2016, 4:14:06 AM5/9/16
to elm-dev
Thanks. Everything is working fine now.
Reply all
Reply to author
Forward
0 new messages