[elm-discuss] Re: Elm Language Server - Document and repository to coordinate and capture requirements effort

2017-09-12 Thread Håkon Rossebø
I considered both alternatives and actually started with only a markdown 
file on the repository. After some initial discussions, we landed on a 
separate Google Document for now, making it easier to write and comment 
directly for all. This can be changed back to a markdown document at any 
time if more people suggest this as a better alternative. Join in on the 
#elm-langauge-server Slack channel to discuss.


fredag 8. september 2017 20.42.13 UTC+2 skrev Roman Frołow følgende:
>
> Good, by why have a document outside of a git repository?
>
> Markdown is quite good for that and you can have precommit hook to 
> generate toc
>

-- 
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 Language Server - Document and repository to coordinate and capture requirements effort

2017-09-07 Thread Håkon Rossebø
(Also posted in elm-dev) Based on previous discussions and my own 
experience from the vscode-elm extension, having a common language server 
can help improve editor support and tooling features. Currently, many 
editor extensions use their own parsers to support a common set of features.

I've created a repository with issues and a requirements document to 
capture and discuss any features here - 
https://github.com/hakonrossebo/elm-language-server-requirements-specification

In this document, I've also tried to collect links to all previous 
discussions and reference implementations.

I hope this repository can help improve the coordination of effort to 
improve editor and tooling support.
 
This is just the initial work. Please suggest any improvements in the 
repository issues or create PRs for the requirements document.

-- 
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] What is the motivation for using google groups?

2016-11-28 Thread Håkon Rossebø
I really like the Discourse forum and think it works very good 
on https://elixirforum.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.


[elm-discuss] Re: Minimize Javascript for deploys

2016-09-13 Thread Håkon Rossebø
This is how the clojure compiler is used in the elm-mdl makefile:

java -jar closure-compiler.jar -O ADVANCED --assume_function_wrapper --js 
elm.js > /tmp/elm.js && mv /tmp/elm.js elm.js

I just tried it on one of my own projects and it seems to work fine.



mandag 12. september 2016 23.03.02 UTC+2 skrev Dmytro Gladkyi følgende:
>
> I just use gulp-minify from npmjs:
>
> var minify = require("gulp-minify");
>
>
> gulp.task("minify", ["build-elm"], function() {return 
> gulp.src("./elm.js") //elm.js is what elm-make outputs.pipe(minify())
> .pipe(gulp.dest("./"));});
>
>
> I also tried Google Closure Compiler - but it gave me errors regarding 
> uninitialized variables from elm lib
>
>
> On Monday, September 12, 2016 at 7:29:47 PM UTC+3, Jim Freeze wrote:
>>
>> Hi
>>
>> I can't seem to find in the docs how to minimize the javascript for 
>> production.
>>
>> Does elm provide these tools or are we to use other tools to uglify and 
>> minimize the javascript?
>>
>> Thank you.
>>
>> -- 
>> Dr. Jim Freeze, Ph.D.
>> (m) 512 949 9683
>>
>

-- 
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: Elm-mdl implementations - suggest projects that can be added to reference list

2016-08-31 Thread Håkon Rossebø
Is the source available for this project? It would be nice to share 
implementations with others.

Håkon

lørdag 20. august 2016 17.52.29 UTC+2 skrev Dmytro Gladkyi følgende:
>
> You can press on a blue Card (anywhere) and it will navigate back to list. 
> I'll add button for this anyway.

-- 
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: Elm + OAuth examples.

2016-08-27 Thread Håkon Rossebø
Auth0 also has a couple of articles here: 

https://auth0.com/blog/creating-your-first-elm-app-part-1/
https://auth0.com/blog/creating-your-first-elm-app-part-2/


torsdag 25. august 2016 15.36.58 UTC+2 skrev Rupert Smith følgende:
>
> There is this one but its elm 0.16, still very useful though:
>
> https://github.com/Gizra/elm-hedley
>
> Any others?
>

-- 
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: Elm + OAuth examples.

2016-08-27 Thread Håkon Rossebø
Elm-hedley actually has a branch with elm 0.17 
- https://github.com/Gizra/elm-hedley/tree/145-port-v0.17



torsdag 25. august 2016 15.36.58 UTC+2 skrev Rupert Smith følgende:
>
> There is this one but its elm 0.16, still very useful though:
>
> https://github.com/Gizra/elm-hedley
>
> Any others?
>

-- 
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: Elm-mdl implementations - suggest projects that can be added to reference list

2016-08-20 Thread Håkon Rossebø
Thanks - looks nice. I'll add it to the list. A possible improvement - I 
tried a couple of url's and could not find any way of navigating back to 
the article list.


fredag 19. august 2016 23.46.54 UTC+2 skrev Dmytro Gladkyi følgende:
>
> Hi Håkon,
>
> I have switched from React + Redux + Bootstrap to Elm + Elm Mdl my hobby 
> project:
> *https://offtie.com/* <https://offtie.com/>
>
> Project allows to save urls to read later without data connection or in 
> AirPlane Mode.
> Urls are parsed by www.readability.com and saved into LocalStorage.
>
> Site uses Service Workers (in JS) to cache all site resources so they are 
> available offline (works in Chrome, FF).
>
> *UI+backend connection is all in Elm + Elm Mdl. *Main.elm is 220 lines. 
> Can be reduced to 150.
> *LocalStorage stuff is done via ports.*
>
> Minified and gzipped bundle is in 5 times smaller than React + Redux 
> version.
>
> Minified gzipped Elm bundle is 42Kb + 26Kb material design css.
>
> React bundle (babelify + minify + gzip) was about 200Kb. + 70Kb bootstrap.
>
> On Tuesday, August 16, 2016 at 11:33:35 AM UTC+3, Håkon Rossebø wrote:
>>
>> Elm-mdl <https://github.com/debois/elm-mdl> - is getting more usage in 
>> various applications/projects. To improve documentation, we want to create 
>> a list of implementations - all kinds - simple to complex and use it as a 
>> reference on elm-mdl <https://github.com/debois/elm-mdl>. I would 
>> appreciate if people could suggest any implementations that can be added to 
>> this list.
>>
>> If you know any projects/applications/repositories - reply to this thread.
>>
>

-- 
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-mdl implementations - suggest projects that can be added to reference list

2016-08-16 Thread Håkon Rossebø
Elm-mdl  - is getting more usage in 
various applications/projects. To improve documentation, we want to create 
a list of implementations - all kinds - simple to complex and use it as a 
reference on elm-mdl . I would 
appreciate if people could suggest any implementations that can be added to 
this list.

If you know any projects/applications/repositories - reply to this thread.

-- 
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] Learning Elm and feeling alone in the world

2016-06-20 Thread Håkon Rossebø
After I've started learning Elm, I agree that the documentation for "basic 
functional programming" could be improved. "Learn You a Haskell" is a great 
resource  and I'm surprised that "Learn You an Elm" has not been mentioned 
here yet - http://learnyouanelm.github.io/. The first chapters from "Learn 
You a Haskell" has already been adapted. I hope the community can 
contribute more to this project 
- https://github.com/learnyouanelm/learnyouanelm.github.io


fredag 13. november 2015 20.26.36 UTC+1 skrev Joey Eremondi følgende:
>
> It's worth noting that LYAH is licensed under Creative Commons, so it's 
> potentially possible that we could make a copy of it and adapt it for Elm, 
> while keeping most of the great material (and humour). As long as it was 
> not for profit, and we gave credit to the original, it is allowed.
>
> On Fri, Nov 13, 2015 at 10:08 AM, Jason Zoladz  > wrote:
>
>>
>> "Learn You a Haskell" isn't "Haskell documentation."  (That's a straw 
>> man, and you know it.)  It's a book about how to *think* in a certain 
>> paradigm.  And a lot of that paradigm translates to Elm.
>>
>> When someone finds a task or concept hard, it's usually because they 
>> don't fully understand the fundamentals.  Someone struggling with Elm 
>> likely isn't having difficulty with the syntax.  (Evan has done a great job 
>> of setting it out succinctly.)  If you're struggling with Elm, and/or if 
>> Elm is your first language, you probably need to work through the 
>> "Structure and Interpretation of Computer Programs."  It *is* a 
>> *beginner's* book.  And there are tons of online courses that teach 
>> programming through it.
>>
>> So, yes, I think we should sometimes point people to sources outside of 
>> Elm if only because translating the greatest-hits-of-computation-books into 
>> Elm is a bit wasteful.
>>
>> As for your assertion that directing folks to Haskell guarantees failure, 
>> I think you underestimate your students.  Students -- heck, people 
>> generally for that matter -- don't need to coddled.  They need to 
>> encouraged to confront the fact that the real learning happens through 
>> struggling with new ideas.  Programming is hard.  You're not going to learn 
>> how to do it simply by reading "The Elm Architecture" and a few blog posts.
>>
>> FYI...  ("Concepts, Techniques and Models of Computer Programming" isn't 
>> about Haskell at all.  In fact, the author isn't a big fan of Haskell.  
>> It's the perhaps the successor to the SICP.)
>>
>>
>>
>> On Friday, November 13, 2015 at 11:09:02 AM UTC-5, Christopher Anand 
>> wrote:
>>>
>>> It is great that you have learned about FP in your first year of 
>>> programming, but that probably puts you in a pretty small minority.
>>>
>>> I wanted to know what issues beginners have so I could address them for 
>>> people learning ELM as their first programming language.  In many ways it 
>>> is a very good first language, but pointing people into Haskell 
>>> documentation is pretty much guaranteed to fail.
>>>
>>> Christopher
>>>
>>> On Nov 12, 2015, at 8:03 AM, Jason Zoladz  wrote:
>>>
>>> It doesn't make sense to pretend that Elm wasn't influenced by, and 
>>> doesn't inhabit, a broader functional landscape.  Pardon the pun, but Elm 
>>> has roots. If someone has a problem with a concept, it seems completely 
>>> reasonable to say:  You can read about that concept here, albeit in another 
>>> dialect of FP.
>>>
>>> (For example, Elm has a parsing library -- elm-combine.  You wouldn't 
>>> refer someone to Parsec tutorials to learn how it works?)  
>>>
>>> There are so many fantastic resources in the broader world of FP (e.g., 
>>> pretty much anything written by Richard Bird) that can help someone write 
>>> programs in Elm.  Why wouldn't we take advantage of those resources?
>>>
>>> One of the things that bothers me about the Elm community is (my 
>>> perception) that the community: (1) wants to pretend that programming is 
>>> effortless; and (2) believes that folks coming from Javascript are 
>>> intimidated by the depth of new ideas that Elm exposes.
>>>
>>> Look, I don't have any formal (i.e., university) CS education.   I 
>>> started programming in my spare time little more than a year ago.  The 
>>> (unfortunate?) reality is:  there are some things in this world that you 
>>> must tackle by sitting down with a thick book.
>>>
>>>
>>> On Tuesday, November 10, 2015 at 8:54:49 AM UTC-5, Christopher Anand 
>>> wrote:

 Simon,

 Are those the only/main things Learn You a Haskell is good for?  These 
 are the things we should be putting into beginner ELM books and tutorials. 
  
 Not that Learn You a Haskell is not a great book, but there are probably a 
 lot of people who are intimidated by the suggestion that you need to learn 
 Haskell first.

 Christopher

 On Nov 10, 2015, at 2:34 AM, Simon  wrote:

 When I first met 

[elm-discuss] Dynamically load SVG files

2016-05-30 Thread Håkon Rossebø
I'm trying out some SVG maps from here:

https://www.amcharts.com/svg-maps/?map=usa

Seems to be too much to embed inline. What would be the best way of loading 
SVG files dynamically?




-- 
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.