Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wheatBread
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
Solving the 1+N Query Problem
(acadia.engineering)
59 points
by
wheatBread
23d ago
|
54 comments
2.
▲
by
wheatBread
8y ago
I updated the official guide ( https://guide.elm-lang.org/ ) to try to do a better job at that. It covers "routing" and JS interop much more clearly I think. So I recommend starting there and then asking around in t
3.
▲
by
wheatBread
10y ago
It "scales well" because of shouldComponentUpdate. That lets you avoid building huge chunks of virtual DOM as your app becomes very large. The trick is that the same exact optimization is available in Elm and Angular 2 (with diffe
4.
▲
by
wheatBread
10y ago
I think it is worthwhile stopping by the Elm slack channel to ask this. You have framed the question in a weird way. The answer is kind of "these things are not really related in any direct way" but I feel like you are asking a di
5.
▲
by
wheatBread
10y ago
Definitely not ignoring. I talk about the relation between Elm and that sort of stuff in https://youtu.be/Agu6jipKfYw Lots of things look similar in this area that are not. I also offer an analysis of "higher order&quo
6.
▲
by
wheatBread
10y ago
They key difference is that when you create an event emitter in JS, you now have a resource to manage. Where does that go in your app? In each component? How does the component know how to turn these off if it is no longer in use? In the ro
7.
▲
by
wheatBread
11y ago
That's Standard ML for you ^ I'm excited that Haskell could bring more developers to ML-family languages.
8.
▲
by
wheatBread
11y ago
You need a garbage collector either way, so doing one implies you have pretty much succeeded at the other. So it's like two stepping stones that are right next to each other and quite a long jump away :P I think we'll get there th
9.
▲
by
wheatBread
11y ago
I think so! I'd like to get Elm running way faster than JS in browsers (which is possible thanks to some design choices) and that'd involve getting all this together. That opens things up on lots of different platforms, including
10.
▲
by
wheatBread
12y ago
You can do stuff in JS really easily with [ports]( http://elm-lang.org/learn/Ports.elm ). The TodoMVC example in Elm does this to use localStorage: https://github.com/evancz/elm-todomvc/blob
11.
▲
by
wheatBread
12y ago
I think the core ideas can be used in many settings, that is true. One can use a pattern like this in C if they want. I think there are a couple questions to consider when asking "how does language really help?" 1. How much is the
12.
▲
by
wheatBread
12y ago
At one point we were trying to name every part of a union type in Elm. Calling things "tags" instead of "constructors" seemed quite nice, but ultimately, it seemed like we couldn't get the perfect name.
13.
▲
by
wheatBread
12y ago
We discussed this to death on the mailing list, and this was definitely a consideration! People searching for it online will very likely be searching for "elm union type" where they'll quickly find examples and docs. Furtherm
14.
▲
by
wheatBread
12y ago
I started looking into Rust again while picking the term "union type" because of their choice to use the term "enum". I ran into the Result type in some code I was reading and it just made so much more sense to me as a n
15.
▲
by
wheatBread
12y ago
Yeah, this is in for 0.14. I forgot to mention it in the announcement, but Jason deserves a huge thank you for this improvement!
16.
▲
by
wheatBread
12y ago
The debugger has been available online for a while ( http://debug.elm-lang.org/ ). It explains how it works and has some more interesting examples than stamps :)
17.
▲
First Person 3D Navigation, written in Elm
(github.com)
1 points
by
wheatBread
12y ago
|
0 comments
18.
▲
by
wheatBread
12y ago
Ah, cool! I think he told me about this work when we chatted at ICFP last year, but wasn't able to find it. So thanks for the link!
19.
▲
by
wheatBread
12y ago
Type inference works on all Elm programs, but it's best practice to add type annotations. In the WebGL examples, I felt it made things a bit clearer since folks are probably not familiar with how WebGL works. Once you get comfortable r
20.
▲
by
wheatBread
12y ago
The most novel stuff was about how to handle asynchrony and concurrency without unexpected/unwanted glitches, though I think formulating things in a way that is simple, accessible, and efficient was important too. My thesis ( http:&#x
21.
▲
by
wheatBread
12y ago
Whoa, I'm surprised to hear that I "didn't know anything about FRP when I made Elm". A huge part of developing Elm was doing literature review and making new contributions to FRP ( http://people.seas.harvard.e
22.
▲
Elm 0.12.3 – Hardware accelerated 3D rendering with WebGL
(elm-lang.org)
101 points
by
wheatBread
12y ago
|
37 comments
23.
▲
by
wheatBread
12y ago
It's about mutability vs immutability. I think Zach explains the whole idea of immutable arrays really well: http://www.infoq.com/presentations/julia-vectors-maps-sets
24.
▲
by
wheatBread
12y ago
Elm normally generates <noscript> tags that are pretty good. It has come in and out of the compiler for various reasons, so it should be back in again at some point. Sorry for the trouble!
25.
▲
by
wheatBread
12y ago
The project is supported by Prezi with the aim of making it production ready ( http://engineering.prezi.com/blog/2013/05/21/elm-at-prezi/ ) and all development effort is focused on that. With the tw
26.
▲
by
wheatBread
12y ago
That was a really fun and inspiring workshop! If you are interested in concurrency in browsers, there were two interesting talks about that ( https://www.youtube.com/watch?v=PBDJYkSwVFs and https://www.youtube.co
27.
▲
Elm's Time-Traveling Debugger
(debug.elm-lang.org)
235 points
by
wheatBread
12y ago
|
56 comments
28.
▲
Elm 0.11 - easily embed in HTML and talk to JS
(elm-lang.org)
9 points
by
wheatBread
13y ago
|
0 comments
29.
▲
Package manager for Elm released, making it easy to share libraries
(elm-lang.org)
8 points
by
wheatBread
13y ago
|
0 comments
30.
▲
by
wheatBread
13y ago
I never use it in examples, but mainly because of feedback that I get. When I use them, beginners tell me they can't figure out what's going on. When I don't use them, no one tells me things! :) So for a beginner text, I thin
More ›