[elm-discuss] Re: [Feature] Ability to suppress some warnings (or don't generate them at all)

2017-08-10 Thread Jakub Hampl
Warnings are really recommendations - if you choose to ignore them you'll be fine. In elm, dangerous things are errors, not warnings. So I suggest if you don't like the suggestions, simply stop using the --warn flag. On Wednesday, 9 August 2017 03:44:11 UTC+1, Incomplete wrote: > > Whenever I

[elm-discuss] Re: Drawing Directed Graphs (?) in Elm

2017-08-05 Thread Jakub Hampl
In principle this sort of thing would be in scope for elm-visualisation to implement. However, as that particular approach entails a lot of work, I would like to hear about the details of the use case and whether the force layout approach could not be adapted to work. -- You received this

Re: [elm-discuss] Re: How to manage long running computations in Elm?

2017-07-03 Thread Jakub Hampl
ert Smith' via Elm Discuss <elm-discuss@googlegroups.com>, wrote: > On Friday, June 30, 2017 at 9:43:51 AM UTC+1, Jakub Hampl wrote: > > One way of approaching this is to show the user progress in an interesting > > way. In this example, the computation that calculates the final

[elm-discuss] Re: How to manage long running computations in Elm?

2017-06-30 Thread Jakub Hampl
One way of approaching this is to show the user progress in an interesting way. In this example , the computation that calculates the final layout of a network graph (which is pretty expensive) is animated so the user can watch

Re: [elm-discuss] Re: Force directed graph drawing in Elm

2017-06-06 Thread Jakub Hampl
; <https://github.com/d3/d3-force> in performance? > > > > > > On Saturday, June 3, 2017 at 7:57:14 AM UTC+2, Chad Stearns wrote: >> >> Awesome Jakub. >> >> When you merge that PR, I will probably start using it immediately. >> >> On Thursd

[elm-discuss] Re: Force directed graph drawing in Elm

2017-06-01 Thread Jakub Hampl
Actually there are two different libraries that do this: - https://github.com/folkertdev/graph-layout - https://github.com/gampleman/elm-visualization/pull/4 I would suggest taking a look at these (both use somewhat of a different approach) and seeing how they fit your needs. Neither of them is

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

2017-05-11 Thread Jakub Hampl
In elm-visualisation I use option #3 but build things into a /docs directory that github serves. This is done via https://github.com/gampleman/elm-example-publisher, which has a UI somewhat resembling bl.ocks.org On Monday, 8 May 2017 04:58:26 UTC+1, Matthieu Pizenberg wrote: > > Exploring a

Re: [elm-discuss] Re: ANN: TypedSvg

2017-04-20 Thread Jakub Hampl
https://codepen.io/anon/pen/gWrbxr On Wednesday, 19 April 2017 14:16:08 UTC+1, Duane Johnson wrote: > > > On Tue, Apr 18, 2017 at 7:20 AM, Jakub Hampl <kop...@gmail.com > > wrote: > >> Think of the element akin to the element in HTML. Yes, fairly >> of

Re: [elm-discuss] Re: ANN: TypedSvg

2017-04-18 Thread Jakub Hampl
a bug, the attribute is actually called stroke-width <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width>. On Tuesday, 18 April 2017 12:08:23 UTC+1, Rupert Smith wrote: > > On Tuesday, April 18, 2017 at 10:59:20 AM UTC+1, Jakub Hampl wrote: &g

Re: [elm-discuss] Re: ANN: TypedSvg

2017-04-18 Thread Jakub Hampl
https://developer.mozilla.org/en-US/docs/Web/SVG/Element#Text_content_elements elements can contain quite a number of children that allow you to do very precise formatting of the actual text content. There are plenty of usecases like custom fonts, rendering text on a path, text effects, etc.

Re: [elm-discuss] Re: Divide by zero?

2017-02-21 Thread Jakub Hampl
If you have such a case where correctness is much more important than ergonomics, nothing is stopping you from creating your own type that performs maths safely and using it through out your app. For many apps the ergonomic impact of that would be too large, so this is not done. On Tuesday,

[elm-discuss] Re: Documentation storage : IN or OUT ?

2016-12-17 Thread Jakub Hampl
Also note that for publishing public packages the compiler forces every exported function to have documentation -- 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] Re: D3 4.0 or D3-shape

2016-10-25 Thread Jakub Hampl
I'm the author of the aforementioned library. Arc generators happen to be next on my roadmap, which you can see on https://github.com/gampleman/elm-visualization/projects/1. I've marked things that should be reasonably easy contributions there as well :) -- You received this message because

[elm-discuss] D3js for 0.17??

2016-10-18 Thread Jakub Hampl
I wrote a library that is somewhat similar to d3 called gampleman/elm-visualization. It doesn't do any selections and doesn't contain all the "utilities" that d3 has (on purpose) and the number of visualisation tools available is limited (still working on expanding it). -- You received this