[elm-discuss] Re: Elm Jobs Board

2016-11-18 Thread Pavan Rikhi
There's sometimes some Elm jobs up here: https://functionaljobs.com/ On Sunday, July 31, 2016 at 7:34:40 AM UTC-4, Andre Bolle wrote: > > Is there a place where people can advertise and look for Elm jobs? > > Andre > -- You received this message because you are subscribed to the Google Groups

Re: [elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread Nick H
I don't have a workaround. But it sound like it's worth opening a bug report On Fri, Nov 18, 2016 at 2:14 PM, John Watson wrote: > You mean just set the Accept header on the request to audio/midi? No, > exactly the same problem,

Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread Nick H
What if you just removed the port declarations from your package? That's only a few lines of code, and nothing else seems to depend on them (except a little Util function). The rest of your work could even be published to the package manager. On Fri, Nov 18, 2016 at 4:18 AM, 'Rupert Smith' via

Re: [elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread Nick H
Does anything different happen if you use a MIDI mimetype, like "audio/midi"? On Fri, Nov 18, 2016 at 5:33 AM, John Watson wrote: > I have a small MIDI > > file. With Elm 0.17

Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread OvermindDL1
On Friday, November 18, 2016 at 5:18:27 AM UTC-7, Rupert Smith wrote: > > I found using a port to enable global communication with the Auth module > from anywhere in my application (any time you get a 401 or 403 you invoke > 'unauthed') to be quite convenient. Perhaps I might find a better

[elm-discuss] Elm Http regression with requests for binary resources

2016-11-18 Thread John Watson
I have a small MIDI file. With Elm 0.17 (evancz/elm-http) I had been able to use the 'overrideMimeType hack' to tunnel the file through HTTP as if it were text. Here's a gist

[elm-discuss] Re: Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-18 Thread Wouter In t Velt
I tried this once with the idea to have some sort of "Elm is initializing" static HTML, to be replaced after my elm app loaded and ran. So for me this behavior wasn't what I needed at the time. (By now my elm app loads and runs in 1600ms first load, and 250ms with caching, so fortunately don't

Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
On Friday, November 18, 2016 at 11:17:23 AM UTC, Peter Damoc wrote: > > There are two approaches to interacting with JS: > 1. ports > 2. Native > > modules with ports cannot be packaged/published and are designed to be > used ONLY in the final product > modules with Native code can be

Re: [elm-discuss] Issue a command after view update

2016-11-18 Thread Wouter In t Velt
Op vrijdag 18 november 2016 11:22:51 UTC+1 schreef Tim Bezhashvyly: > > That's the issue. By the time load command is sent the HTML markup must be > already present at the page. > I am not to familiar with Google maps integration, but it looks like the actual update of the map in the DOM is

Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Of course - for some reason folds had completely escaped my mind. Thanks, Janis. On Friday, 18 November 2016 11:26:11 UTC, Janis Voigtländer wrote: > > 2016-11-18 12:19 GMT+01:00 John Watson : > > It is interesting to me that Maybe.Extra's or >>

Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread Janis Voigtländer
2016-11-18 12:19 GMT+01:00 John Watson : It is interesting to me that Maybe.Extra's or > > function is documented (quite readably) like this: > > ```elm > Just 4 `or` Just 5 == Just 4 >

Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Thanks for pointing this out. It is interesting to me that Maybe.Extra's or function is documented (quite readably) like this: ```elm Just 4 `or` Just 5 == Just 4 ``` but, of course, backticks have just

Re: [elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread Peter Damoc
There are two approaches to interacting with JS: 1. ports 2. Native modules with ports cannot be packaged/published and are designed to be used ONLY in the final product modules with Native code can be packaged/published but they have to be whitelisted. Their use is discouraged outside of the

Re: [elm-discuss] Return of Http.url function

2016-11-18 Thread Eduardo Cuducos
I totally agree that Http.url very useful… People more engaged in elm-dev: are there any chance to include it in a later version of elm-lang/http? Was this even discussed? Many thanks, On Fri, 18 Nov 2016 at 07:57 Andrey N. Ronin wrote: > Hi, folks! > > I offen used

[elm-discuss] Can't install native package using elm-github-install

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
https://github.com/gdotdesign/elm-github-install One of the reasons for this existing is to be able to share native modules outside of the official packages. My Auth code uses ports, I extracted it into a github project here: https://github.com/rupertlssmith/elm-auth Then referenced it in my

Re: [elm-discuss] Maybe oneOf

2016-11-18 Thread Janis Voigtländer
See https://github.com/elm-lang/core/commit/5f43ad84532bd4d462edf5c1ec22b7a62352a2db and the comments there. ​ 2016-11-18 10:51 GMT+01:00 John Watson : > Maybe oneOf > > has vanished in 0.18. Is it

[elm-discuss] Maybe oneOf

2016-11-18 Thread Jacky See
from the commit message it says "oneOf is weird in a strict language because it will definitely do all the work. Would be good to have a use case that seems legitimate before adding this back." https://github.com/elm-lang/core/commit/5f43ad84532bd4d462edf5c1ec22b7a62352a2db Personally, I have

Re: [elm-discuss] Issue a command after view update

2016-11-18 Thread Tim Bezhashvyly
In any case, if you want to render a google map on button click, the setup could be: > >- add a Msg called LoadButtonClicked or something, and add a button in >your view which triggers this (with onClick) >- in your update function, add a handler for LoadButtonClicked that >

[elm-discuss] Return of Http.url function

2016-11-18 Thread Andrey N. Ronin
Hi, folks! In the *evancz/elm-http* package i offen use Http.url function for building query string, but after upgrade to 0.18 to my regret I found that this function is no longer exist in new *elm-lang/http*. I know, where are many library out there with similar functionality, I had to use

[elm-discuss] Return of Http.url function

2016-11-18 Thread Andrey N. Ronin
Hi, folks! I offen used *Http.url* function from* evancz/http *for building query strings, but after upgrade to 0.18 to my regret I found that there is no such function in the* elm-lang/http*. I know there are many libraries with similar functionality, I had to use one of them sporto/erl

[elm-discuss] Maybe oneOf

2016-11-18 Thread John Watson
Maybe oneOf has vanished in 0.18. Is it intended that it will crop up somewhere in some other library or is there some sort of problem with it that I haven't tumbled to? -- You received this message because you are

[elm-discuss] Re: Ho to work with the DOM of element where Elm is 'embed'ed.

2016-11-18 Thread 'Rupert Smith' via Elm Discuss
On Thursday, November 17, 2016 at 5:30:29 PM UTC, Wouter In t Velt wrote: > > I tried that in 0.17, and the embedded elm stuff was placed after the last > existing child of the node where I embedded elm. > > So: > > > > > ... Elm stuff > > > I think that

Re: [elm-discuss] dependency problem with upgrading to 0.18

2016-11-18 Thread Nick H
I am looking at the github page for that project, and it's elm-package.json says something different: "dependencies": { "elm-lang/core": "4.0.0 <= v < 5.0.0" }, "elm-version": "0.17.0 <= v <