Re: [elm-discuss] Docs need update to 0.17 for HTML Attribute

2016-06-21 Thread Janis Voigtländer
Have you read the upgrade notes for going from 0.16 to 0.17?

https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md

The very first thing it says is that evancz/elm-html is now elm-lang/html.

So obviously the docs you need are at
http://package.elm-lang.org/packages/elm-lang/html.
​

2016-06-21 8:54 GMT+02:00 Zachary Kessin :

> Ok, so which is the correct doc?
>
> (You might want to put a pointer to the correct doc)
>
> Zach
>
> ᐧ
>
> On Tue, Jun 21, 2016 at 9:42 AM, Janis Voigtländer <
> janis.voigtlaen...@gmail.com> wrote:
>
>> That's a version of the library that will never be used with 0.17. So no,
>> it does not need a doc update.
>>
>> 2016-06-21 8:39 GMT+02:00 Zachary Kessin :
>>
>>> this page
>>> http://package.elm-lang.org/packages/evancz/elm-html/4.0.2/Html-Events
>>> still had references to Signal.Address
>>>
>>> --
>>> Zach Kessin
>>> Twitter: @zkessin 
>>> Skype: zachkessin
>>> ᐧ
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to elm-discuss+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elm-discuss+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Zach Kessin
> Your CRM Link
> 
> Twitter: @zkessin 
> Skype: zachkessin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: Learning Elm and feeling alone in the world

2016-06-21 Thread Joe Terry
Wow !! I have learned so much in the past several days ... of all the 
resources I've enjoyed   I enjoy DailyDrip  
and "Awesome ELM " the most ... 
because it's awesomely complete !!!

https://github.com/isRuslan/awesome-elm


On Saturday, November 7, 2015 at 4:12:22 AM UTC-8, Mohammad Alshafey wrote:
>
> Is there sufficient material online for someone to learn Elm? It seems 
> that the examples available each use different libraries and functions and 
> each with some unique elements. There are no tutorials only basic 
> introductions. The core library documentations are very abstract and 
> lacking. Feeling stuck. I want to learn but there's nothing to go on!
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Docs need update to 0.17 for HTML Attribute

2016-06-21 Thread Zachary Kessin
Yea I found them. I did read the note when I upgraded, but that does not
mean that when I went to go check the docs this morning I remembered to go
to the right place. Hence the thought that the old docs should have a
warning or the like with a link to the new version

Zach
ᐧ

On Tue, Jun 21, 2016 at 10:16 AM, Janis Voigtländer <
janis.voigtlaen...@gmail.com> wrote:

> Have you read the upgrade notes for going from 0.16 to 0.17?
>
> https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md
>
> The very first thing it says is that evancz/elm-html is now elm-lang/html.
>
> So obviously the docs you need are at
> http://package.elm-lang.org/packages/elm-lang/html.
> ​
>
> 2016-06-21 8:54 GMT+02:00 Zachary Kessin :
>
>> Ok, so which is the correct doc?
>>
>> (You might want to put a pointer to the correct doc)
>>
>> Zach
>>
>> ᐧ
>>
>> On Tue, Jun 21, 2016 at 9:42 AM, Janis Voigtländer <
>> janis.voigtlaen...@gmail.com> wrote:
>>
>>> That's a version of the library that will never be used with 0.17. So
>>> no, it does not need a doc update.
>>>
>>> 2016-06-21 8:39 GMT+02:00 Zachary Kessin :
>>>
 this page
 http://package.elm-lang.org/packages/evancz/elm-html/4.0.2/Html-Events
 still had references to Signal.Address

 --
 Zach Kessin
 Twitter: @zkessin 
 Skype: zachkessin
 ᐧ

 --
 You received this message because you are subscribed to the Google
 Groups "Elm Discuss" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to elm-discuss+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to elm-discuss+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Zach Kessin
>> Your CRM Link
>> 
>> Twitter: @zkessin 
>> Skype: zachkessin
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elm-discuss+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Zach Kessin
Your CRM Link

Twitter: @zkessin 
Skype: zachkessin

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Docs need update to 0.17 for HTML Attribute

2016-06-21 Thread Janis Voigtländer
Hence the thought that the old docs should have a warning or the like with
a link to the new version

Yes, that would be nice. But I guess you realize that I am not the person
who can put that link there. :-)
​

2016-06-21 9:42 GMT+02:00 Zachary Kessin :

> Yea I found them. I did read the note when I upgraded, but that does not
> mean that when I went to go check the docs this morning I remembered to go
> to the right place. Hence the thought that the old docs should have a
> warning or the like with a link to the new version
>
> Zach
> ᐧ
>
> On Tue, Jun 21, 2016 at 10:16 AM, Janis Voigtländer <
> janis.voigtlaen...@gmail.com> wrote:
>
>> Have you read the upgrade notes for going from 0.16 to 0.17?
>>
>> https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.17.md
>>
>> The very first thing it says is that evancz/elm-html is now elm-lang/html
>> .
>>
>> So obviously the docs you need are at
>> http://package.elm-lang.org/packages/elm-lang/html.
>> ​
>>
>> 2016-06-21 8:54 GMT+02:00 Zachary Kessin :
>>
>>> Ok, so which is the correct doc?
>>>
>>> (You might want to put a pointer to the correct doc)
>>>
>>> Zach
>>>
>>> ᐧ
>>>
>>> On Tue, Jun 21, 2016 at 9:42 AM, Janis Voigtländer <
>>> janis.voigtlaen...@gmail.com> wrote:
>>>
 That's a version of the library that will never be used with 0.17. So
 no, it does not need a doc update.

 2016-06-21 8:39 GMT+02:00 Zachary Kessin :

> this page
> http://package.elm-lang.org/packages/evancz/elm-html/4.0.2/Html-Events
> still had references to Signal.Address
>
> --
> Zach Kessin
> Twitter: @zkessin 
> Skype: zachkessin
> ᐧ
>
> --
> You received this message because you are subscribed to the Google
> Groups "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

 --
 You received this message because you are subscribed to the Google
 Groups "Elm Discuss" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to elm-discuss+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Zach Kessin
>>> Your CRM Link
>>> 
>>> Twitter: @zkessin 
>>> Skype: zachkessin
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to elm-discuss+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elm-discuss+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Zach Kessin
> Your CRM Link
> 
> Twitter: @zkessin 
> Skype: zachkessin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Support for binary data

2016-06-21 Thread Gábor Varga
This feature would come handy for me too.
Our use-case is that we get some encrypted data from an MQTT broker and it 
might be broken up to several messages. 
The binary data first has to be reassembled before it can be converted to 
UTF8 encoded strings.




On Thursday, April 7, 2016 at 1:18:17 AM UTC+2, Ian Mackenzie wrote:
>
> I'd love to have ArrayBuffers supported for doing WebGL stuff. For 
> rendering very large and complex scenes, I think it would be useful to be 
> able to do a lot of the heavy lifting (level of detail and occlusion 
> calculations etc.) on the server, and then just send compact ArrayBuffers 
> to the client that could be passed directly to 
> WebGLRenderingContext.bufferData() or similar (via an Elm wrapper, 
> presumably, but without any parsing/conversion/copying).
>
> On Tuesday, 12 January 2016 11:32:43 UTC+11, Evan wrote:
>>
>> I have been drafting Blob and ArrayBuffer APIs, but I wasn't sure who 
>> needed them.
>>
>> What is your particular use case?
>>
>> On Mon, Jan 11, 2016 at 4:55 AM, John Watson  wrote:
>>
>>> Can anyone tell me what the plans are for supporting binary data in 
>>> elm?  I'm thinking of a Byte (and some sort of Byte Array) type and also 
>>> implementing Blob in HTTP responses. 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Elm Discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to elm-discuss...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Support for binary data

2016-06-21 Thread John Mayer
I took a shot at starting a basic version of this in my fork of websocket
and a new package simply called binary. My approach was largely thin
wrappers on top of the spec.

Evan, is your draft public? No updates from you since January. IMHO, don't
try to carry this one yourself. This is an opportunity to spread the load
and develop yourself as a manager of contributors while building out the
process for accepting large contributions.
On Jun 21, 2016 6:09 AM, "Gábor Varga"  wrote:

> This feature would come handy for me too.
> Our use-case is that we get some encrypted data from an MQTT broker and it
> might be broken up to several messages.
> The binary data first has to be reassembled before it can be converted to
> UTF8 encoded strings.
>
>
>
>
> On Thursday, April 7, 2016 at 1:18:17 AM UTC+2, Ian Mackenzie wrote:
>>
>> I'd love to have ArrayBuffers supported for doing WebGL stuff. For
>> rendering very large and complex scenes, I think it would be useful to be
>> able to do a lot of the heavy lifting (level of detail and occlusion
>> calculations etc.) on the server, and then just send compact ArrayBuffers
>> to the client that could be passed directly to
>> WebGLRenderingContext.bufferData() or similar (via an Elm wrapper,
>> presumably, but without any parsing/conversion/copying).
>>
>> On Tuesday, 12 January 2016 11:32:43 UTC+11, Evan wrote:
>>>
>>> I have been drafting Blob and ArrayBuffer APIs, but I wasn't sure who
>>> needed them.
>>>
>>> What is your particular use case?
>>>
>>> On Mon, Jan 11, 2016 at 4:55 AM, John Watson  wrote:
>>>
 Can anyone tell me what the plans are for supporting binary data in
 elm?  I'm thinking of a Byte (and some sort of Byte Array) type and also
 implementing Blob in HTTP responses.

 --
 You received this message because you are subscribed to the Google
 Groups "Elm Discuss" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to elm-discuss...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] http request: How to access the whole response

2016-06-21 Thread William Casarin
Hey germain,

On Mon, Jun 20, 2016 at 11:23 PM, germain  wrote:
> IT'S WORK, thank you so much William ~

No problem.

> - Http.fromJson decoder (Task.succeed response) => why do you use
> (Task.succeed response) ? And not just give as argument "response"?
> Is it connected with `andThen` and its signature  andThen : Task x a -> (a
> -> Task x b) -> Task x b where a is "just" the response of the post request
> which must be transformed into a Task by using Task.succeed succeed : a ->
> Task x a in order to pass it to the fromJson function which requires
> fromJson : Decoder a -> Task RawError Response -> Task Error a ?

Exactly right, you answered your own question. Since we temporarily extracted
the response value using `andThen`, we need to wrap it up with succeed again so
that fromJson accepts it. Also the second argument to `andThen` is a function
that must return a task, and since `decoded` returns a task, it works out.

The error type has to be "Maybe" because we could hit a network error
before we get a response.

> - Do you know the difference between Task.Task and Platform.Task?

They're the same. They're aliased to each other.

Cheers,
William

---
https://jb55.com

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Support for binary data

2016-06-21 Thread Yosuke Torii
I need binary things too for two cases, uploading files and Web Audio. 
These are not special things.

I'd like to know the plans, when it is most likely to come (or how these 
features are prioritized).


2016年6月21日火曜日 19時36分59秒 UTC+9 John Mayer:
>
> I took a shot at starting a basic version of this in my fork of websocket 
> and a new package simply called binary. My approach was largely thin 
> wrappers on top of the spec.
>
> Evan, is your draft public? No updates from you since January. IMHO, don't 
> try to carry this one yourself. This is an opportunity to spread the load 
> and develop yourself as a manager of contributors while building out the 
> process for accepting large contributions.
> On Jun 21, 2016 6:09 AM, "Gábor Varga" > 
> wrote:
>
>> This feature would come handy for me too.
>> Our use-case is that we get some encrypted data from an MQTT broker and 
>> it might be broken up to several messages. 
>> The binary data first has to be reassembled before it can be converted to 
>> UTF8 encoded strings.
>>
>>
>>
>>
>> On Thursday, April 7, 2016 at 1:18:17 AM UTC+2, Ian Mackenzie wrote:
>>>
>>> I'd love to have ArrayBuffers supported for doing WebGL stuff. For 
>>> rendering very large and complex scenes, I think it would be useful to be 
>>> able to do a lot of the heavy lifting (level of detail and occlusion 
>>> calculations etc.) on the server, and then just send compact ArrayBuffers 
>>> to the client that could be passed directly to 
>>> WebGLRenderingContext.bufferData() or similar (via an Elm wrapper, 
>>> presumably, but without any parsing/conversion/copying).
>>>
>>> On Tuesday, 12 January 2016 11:32:43 UTC+11, Evan wrote:

 I have been drafting Blob and ArrayBuffer APIs, but I wasn't sure who 
 needed them.

 What is your particular use case?

 On Mon, Jan 11, 2016 at 4:55 AM, John Watson  
 wrote:

> Can anyone tell me what the plans are for supporting binary data in 
> elm?  I'm thinking of a Byte (and some sort of Byte Array) type and also 
> implementing Blob in HTTP responses. 
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to elm-discuss...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

 -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Elm Discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to elm-discuss...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] How to convince your boss to start using Elm in the company

2016-06-21 Thread Mats Stijlaart
Hi folks,

As a developer I am convinced that I want to build my front-end software 
with Elm, but I need some arguments to convince my boss. 

In my company a piece of front-end has to be rebuild and extended with a 
new front-end technology (currently Java JSP). I have already convinced my 
colleagues by rebuilding a single page in Elm. They are really 
enthusiastic, but I still have to convince my boss that it is the 'right' 
choice. In 2013 a part of the platform was rewritten in Angular 1.X. 
Angular 1.X will soon to be legacy technology when it is replaced with 2.0. 
My boss' concern is that within three years we will go through the same 
choice for a new technology, and he has to face the customer telling them 
that we have/want to rebuild the existing fronted to eliminate legacy code.

So, I have to convince my boss that from a business perspective it is a 
wise choice to put his money on Elm. One of the main questions to be 
answered is: is Elm going to be around tomorrow?

Does anybody have some good arguments/strong opinions why we should or 
should not adopt Elm as front-end language from a business perspective? Or 
what arguments did you use to convince your boss? 

Thanks,
Mats

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] How to convince your boss to start using Elm in the company

2016-06-21 Thread Peter Damoc
Evan works at NoRedInk which has a huge stake in Elm being around *and
being awesome*.
I would bet that Elm will be around tomorrow.

Regarding convincing your boss, the main use case scenario for an Elm app
is something that is highly complex and that needs to go. Elm is designed
for code evolution into something of increasing complexity.
The way Elm approached this is with a sound architecture that isolates the
complexity within tightly controlled borders and leaves the main bulk of
the code being simple functions and data structures.


That being said, there is a price to be paid.
Elm is still very young.
The language evolves and some pieces of code can become obsolete faster.
Documentation is scarce and with the move to 0.17 a lot of the old 3rd
party tutorials have become unusable.
You might also have some trouble finding extra developers if you want to
expand.





On Tue, Jun 21, 2016 at 10:10 PM, Mats Stijlaart 
wrote:

> Hi folks,
>
> As a developer I am convinced that I want to build my front-end software
> with Elm, but I need some arguments to convince my boss.
>
> In my company a piece of front-end has to be rebuild and extended with a
> new front-end technology (currently Java JSP). I have already convinced my
> colleagues by rebuilding a single page in Elm. They are really
> enthusiastic, but I still have to convince my boss that it is the 'right'
> choice. In 2013 a part of the platform was rewritten in Angular 1.X.
> Angular 1.X will soon to be legacy technology when it is replaced with 2.0.
> My boss' concern is that within three years we will go through the same
> choice for a new technology, and he has to face the customer telling them
> that we have/want to rebuild the existing fronted to eliminate legacy code.
>
> So, I have to convince my boss that from a business perspective it is a
> wise choice to put his money on Elm. One of the main questions to be
> answered is: is Elm going to be around tomorrow?
>
> Does anybody have some good arguments/strong opinions why we should or
> should not adopt Elm as front-end language from a business perspective? Or
> what arguments did you use to convince your boss?
>
> Thanks,
> Mats
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] elm-shadertoy updated for Elm-0.17

2016-06-21 Thread Conrad Parker
Hi,

I've updated elm-shadertoy to work with Elm 0.17. Thanks to Günther
Enthaler for updating elm-first-person, which this update is based on!

https://github.com/kfish/elm-shadertoy

>From the original announce (30 May 2014!):

It is basically a framework for using shaders from shadertoy.com on
webgl surfaces in elm. It replicates some of the inputs that shadertoy
would provide, using elm signals, and adds an elm_FragCoord vector.

Live demo is at: https://kfish.github.io/elm-shadertoy/

This shows some cubes with plasma, flame effects, a voronoi demo and a
raymarching terrain as surface textures. You could imagine the
raymarching scene as the texture on a window in your game world or
something :)

I'd love some help in implementing the "NOT (YET) supported" things
listed on that page, each of which already has an issue set up. In
particular, #3 (adding an input with the current date and clock time)
should be an easy way to get started.

have fun!

Conrad.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: How to convince your boss to start using Elm in the company

2016-06-21 Thread Charlie Koster
I think it's worth pointing out that even though Elm will be here tomorrow, 
Elm is still evolving. Take as an example the latest release. If you had 
sold your boss on Elm 0.16 six months ago and then 0.17 comes out with very 
large changes, what are you going to recommend? Do you recommend that you 
stick with 0.16 long term? Or do you rip the band-aid, ask for more 
schedule and money, and convert your Elm 0.16 app to Elm 0.17?

When talking about making a decision from a business perspective we are 
talking about personnel resources, schedule, and money. Are you able to 
justify the less-than-1.0 nature of Elm from a business perspective? Are 
you able to point at the benefits of Elm as outweighing any future risks?

I'm not trying to sway you one way or another. But speaking from my 
personal work situation I have considered this question and as the on-site 
Elm expert I don't consider Elm to be Production ready for the specific 
work that my company does yet. But that doesn't mean it's not ready for the 
type of work your company does.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] How to create an animation?

2016-06-21 Thread cassiedqs
How can I make a .gif?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Create random shuffle list structure

2016-06-21 Thread Juan Martin Buireo
Hi, I have developed a memotest in Elm 0.17.

My Model is the following:
type alias Model = List IndexedCard 
type alias IndexedCard = { id : Int, model : Card.Model }

where Card.Model is a module where I modeled a single card.

So now the game is working but the cards of the memotest always appear in 
the same order.

I initialize each card:
card1 = IndexedCard 1 (Card.init "images/blastoise.jpg") 
card2 = IndexedCard 2 (Card.init "images/charmeleon.jpg")
card3 = IndexedCard 3 (Card.init "images/raichu.jpg")
card4 = IndexedCard 4 (Card.init "images/diglett.jpg")
card5 = IndexedCard 5 (Card.init "images/venusaur.jpg")
card6 = IndexedCard 6 (Card.init "images/mewto.jpg")

and then cards = [card1, card2, card3, card4, card5, card6]

So i pass this to the init in the App.program.

My question is, how do I create this list random so that the cards appear 
in different order each time?

Thanks

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Re: How to convince your boss to start using Elm in the company

2016-06-21 Thread Zachary Kessin
Thankfully I work for myself, so I only had to convince myself.

I found the upgrades from 0.15 -> 0.16 -> 0.17 were a pain, but less of a
pain then the bugs that I would have had to track down with something like
angular or ExtJS

This opinion is probably worth what you paid for it :)
Zach
ᐧ

On Wed, Jun 22, 2016 at 6:01 AM, Charlie Koster  wrote:

> I think it's worth pointing out that even though Elm will be here
> tomorrow, Elm is still evolving. Take as an example the latest release. If
> you had sold your boss on Elm 0.16 six months ago and then 0.17 comes out
> with very large changes, what are you going to recommend? Do you recommend
> that you stick with 0.16 long term? Or do you rip the band-aid, ask for
> more schedule and money, and convert your Elm 0.16 app to Elm 0.17?
>
> When talking about making a decision from a business perspective we are
> talking about personnel resources, schedule, and money. Are you able to
> justify the less-than-1.0 nature of Elm from a business perspective? Are
> you able to point at the benefits of Elm as outweighing any future risks?
>
> I'm not trying to sway you one way or another. But speaking from my
> personal work situation I have considered this question and as the on-site
> Elm expert I don't consider Elm to be Production ready for the specific
> work that my company does yet. But that doesn't mean it's not ready for the
> type of work your company does.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Zach Kessin
Your CRM Link

Twitter: @zkessin 
Skype: zachkessin

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [elm-discuss] Create random shuffle list structure

2016-06-21 Thread Peter Damoc
Use
http://package.elm-lang.org/packages/elm-community/random-extra/1.0.0/Random-Array#shuffle

Use something like:

type Msg = ReplaceCards (List IndexedCard) | ...

init : List IndexedCard -> (Model, Cmd Msg)
init cards =
([], Random.generate ReplaceCards (Random.Array.shuffle cards))






On Wed, Jun 22, 2016 at 6:35 AM, Juan Martin Buireo 
wrote:

> Hi, I have developed a memotest in Elm 0.17.
>
> My Model is the following:
> type alias Model = List IndexedCard
> type alias IndexedCard = { id : Int, model : Card.Model }
>
> where Card.Model is a module where I modeled a single card.
>
> So now the game is working but the cards of the memotest always appear in
> the same order.
>
> I initialize each card:
> card1 = IndexedCard 1 (Card.init "images/blastoise.jpg")
> card2 = IndexedCard 2 (Card.init "images/charmeleon.jpg")
> card3 = IndexedCard 3 (Card.init "images/raichu.jpg")
> card4 = IndexedCard 4 (Card.init "images/diglett.jpg")
> card5 = IndexedCard 5 (Card.init "images/venusaur.jpg")
> card6 = IndexedCard 6 (Card.init "images/mewto.jpg")
>
> and then cards = [card1, card2, card3, card4, card5, card6]
>
> So i pass this to the init in the App.program.
>
> My question is, how do I create this list random so that the cards appear
> in different order each time?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.