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 25, 2016 at 8:41:23 PM UTC+2, Evan wrote:
>>
>> Seems to be back! Actually sitting on the plane now, so I'm glad I found
>> out before it took off.
>>
>> Sorry for the trouble. I have some plans for package.elm-lang.org
>> that'll make download mirrors possible, so we'll be less open to problems
>> like this.
>>
>> On Saturday, June 25, 2016, Tobias Hermann  wrote:
>>
>>> OK, thanks for the information. Have a nice flight. :)
>>>
>>>
>>> On Saturday, June 25, 2016 at 7:58:58 PM UTC+2, Evan wrote:

 It is a GitHub problem. I have opened a support ticket and reached out
 to them on Twitter
 .

 Hopefully it will be resolved soon. Though since it is Saturday, the
 support staff is probably not in the office... Not really sure what actions
 to take. I will be getting on a flight soon as well, so I can try more
 things once I land.

 On Sat, Jun 25, 2016 at 1:30 PM, Tobias Hermann 
 wrote:

> Just wanted to compile something using evancz/elm-markdown and the
> download failed . Is this a github
> problem or have things moved?
>
 --
> 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] https://github.com/evancz down?

2016-06-25 Thread Evan Czaplicki
Seems to be back! Actually sitting on the plane now, so I'm glad I found
out before it took off.

Sorry for the trouble. I have some plans for package.elm-lang.org
that'll make download mirrors possible, so we'll be less open to problems
like this.

On Saturday, June 25, 2016, Tobias Hermann  wrote:

> OK, thanks for the information. Have a nice flight. :)
>
>
> On Saturday, June 25, 2016 at 7:58:58 PM UTC+2, Evan wrote:
>>
>> It is a GitHub problem. I have opened a support ticket and reached out to
>> them on Twitter .
>>
>> Hopefully it will be resolved soon. Though since it is Saturday, the
>> support staff is probably not in the office... Not really sure what actions
>> to take. I will be getting on a flight soon as well, so I can try more
>> things once I land.
>>
>> On Sat, Jun 25, 2016 at 1:30 PM, Tobias Hermann  wrote:
>>
>>> Just wanted to compile something using evancz/elm-markdown and the
>>> download failed . Is this a github
>>> problem or have things moved?
>>>
>>> --
>>> 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.
>


-- 
Sent from Gmail Mobile

-- 
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] https://github.com/evancz down?

2016-06-25 Thread Tobias Hermann
OK, thanks for the information. Have a nice flight. :)


On Saturday, June 25, 2016 at 7:58:58 PM UTC+2, Evan wrote:
>
> It is a GitHub problem. I have opened a support ticket and reached out to 
> them on Twitter .
>
> Hopefully it will be resolved soon. Though since it is Saturday, the 
> support staff is probably not in the office... Not really sure what actions 
> to take. I will be getting on a flight soon as well, so I can try more 
> things once I land.
>
> On Sat, Jun 25, 2016 at 1:30 PM, Tobias Hermann  > wrote:
>
>> Just wanted to compile something using evancz/elm-markdown and the 
>> download failed . Is this a github 
>> problem or have things moved?
>>
>> -- 
>> 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] https://github.com/evancz down?

2016-06-25 Thread Evan Czaplicki
It is a GitHub problem. I have opened a support ticket and reached out to
them on Twitter .

Hopefully it will be resolved soon. Though since it is Saturday, the
support staff is probably not in the office... Not really sure what actions
to take. I will be getting on a flight soon as well, so I can try more
things once I land.

On Sat, Jun 25, 2016 at 1:30 PM, Tobias Hermann  wrote:

> Just wanted to compile something using evancz/elm-markdown and the
> download failed . Is this a github
> problem or have things moved?
>
> --
> 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] https://github.com/evancz down?

2016-06-25 Thread Tobias Hermann
Just wanted to compile something using evancz/elm-markdown and the download 
failed . Is this a github problem or have 
things moved?

-- 
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: Interested in updating the 2DCanvas API

2016-06-25 Thread Rex van der Spuy
This is a great project!
We really need a library with 100% coverage of the Canvas Drawing API.

-- 
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] Interested in updating the 2DCanvas API

2016-06-25 Thread Lucas Desgouilles
Greetings,

I've been using evancz/elm-graphics (alongside elm-lang/animation-frame, 
elm-community/easing-functions, mgold/elm-animation) to develop overlay 
graphics (in the style of http://nodecg.com 
/ https://www.youtube.com/watch?v=x9PzBHgN29U ), and I've had a lot more 
fun using it.

But I found some of the canvas APIs are not available, which is why I'm 
currently interested in creating an alternative to elm-graphics, focusing 
on implementing a low-level interface to the HTML5 Canvas, which could then 
be used to recreate the higher-level API elm-graphics offers.

I've come to ask help about API design, I can see a few ways of doing it:

One being somewhat similar to elm-graphics, which would be passing 
instructions to the render function

view model =
Html.div []
[ Canvas.draw2D ( 200, 300 )
[ Canvas.fillStyleColor <| Color.rgb 0 255 0
, Canvas.fillRect 10 10 100 100
]
]

or even pipeline-style

view model =
Html.div []
[ Canvas.draw2D ( 200, 300 )
|> Canvas.fillStyleColor (Color.rgb 0 255 0)
|> Canvas.fillRect 10 10 100 100
]

or instead through Messages and in the style of The Elm Architecture, the 
Canvas would be its own component

update msg model =
case msg of
Alert message color ->
model
! List.map MsgCanvas 
[ Canvas.fillStyleColor color
, Canvas.fillText 10 10 message
]

MsgCanvas msg ->
{ model | canvas = Canvas.update msg model.canvas } ! []


view model = 
Html.div [] [ Canvas.draw2D ( 200, 300 ) model.canvas ]




How do you feel about them? What else should I know about canvas, 
interfacing with JS, etc?



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.