Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skinney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
361.
▲
by
Skinney
10y ago
Read the two last words of that sentence. I agree with you, I use Elm every day.
362.
▲
by
Skinney
10y ago
Don't understand how typeclasses would help you here. If you want immutable single source of truth, which is what Elm provides, you would do the same thing in Javascript/React and Clojurescript/Om. I follow the same pattern i
363.
▲
by
Skinney
10y ago
Used to write in clojure and clojurescript myself. While it's definetly nicer than React, React did come first (om and reagent are just bindings around React. The way om and reagent are faster than React out of the box, is what inspire
364.
▲
by
Skinney
10y ago
It should be mentioned here that if map had the same implementation for both Array and List, map for arrays would probably be 10-20x slower than what it is today. In that case, is it really boilerplate?
365.
▲
by
Skinney
10y ago
What is "the right thing to do"? Depends doesn't it? Just because other languages have support for something like typeclasses, doesn't mean that it's the right thing for Elm to have. The fact that NoRedInk are perfe
366.
▲
by
Skinney
10y ago
"Code is the easy part" First you need to figure out what exactly the Elm community wants and needs. Once you have a pretty good idea of that, you can start prototyping things. Elm is still young, and the most pressing concerns fo
367.
▲
by
Skinney
10y ago
0.17 === 0.17.0. The latest version of Elm is actually 0.17.3
368.
▲
by
Skinney
10y ago
Keep in mind that Evan works at a company that has 55k lines of Elm in production. Neither Evan, nor the lead-developer of the company, feel that typeclasses, or something like it, needs to be in the language right now.
369.
▲
by
Skinney
10y ago
Evan has several times said that he's open for typeclasses. Problem is that they have a profound effect on the language, and so they have to be done right. He doesn't know what the right implementation of that might be at the mome
370.
▲
by
Skinney
10y ago
Elm's virtual dom was inspired by Clojurescript's om, which was based off of React. So yeah, this is not true.
371.
▲
by
Skinney
10y ago
When he removed the feature it was after consulting the community ( https://github.com/elm-lang/elm-compiler/issues/985 ).
372.
▲
by
Skinney
10y ago
The version number is 0.17. This means breaking and backwards incompatible changes between releases.
373.
▲
by
Skinney
10y ago
Go essentially went with the node solution (node_modules). Go's pm will essentially just ensure the version that resides in vendor/, and will work more like yarn than npm. This is, of course, not unique to node. Having a global ve
374.
▲
by
Skinney
10y ago
+ is specified in the core library, so yeah.
375.
▲
by
Skinney
10y ago
Closure doesn't really have a standardized format. It does, however, not like that you mix string and dot access for object (obj['str'] vs obj.str), which Elm does a couple of places.
376.
▲
by
Skinney
10y ago
The way Elm outputs JS today, it doesn't really have much to gain from being Closure compliant. Even uglify manages to remove most dead code from an Elm "blob", because Elm outputs javascript with a single scope. An Elm app i
377.
▲
by
Skinney
10y ago
Elm is working on server side rendering and it will come once it's ready. When it comes to dead code elimination, it is true that the compiler currently does not have that. Luckily, the compiled js is just a series of functions (namesp
378.
▲
by
Skinney
10y ago
For what, I would assume, is a minor portion of your total lines of code.
379.
▲
by
Skinney
10y ago
I usually refer to everything that isn't GC as 'manual'. RAII is an abstraction on top of manual management, you still need to decide what type of pointer/lifetime the allocated object should have, making it manually man
380.
▲
by
Skinney
10y ago
Because the C++/Rust way of memory management is better for some things, but worse for others. I've worked with several different projects during my career, and not once did we require manual memory management. A GC based language
381.
▲
by
Skinney
10y ago
The problem with Java is that most things are a pointer, which means the GC has to deal with it. Go on the other hand allows the user to specify which things should be a value and what should be a pointer, which significantly decreases stre
382.
▲
by
Skinney
10y ago
> Obviously, you can't affect the laws in the EU which as an EFTA member you don't have to implement. Sure, as an EFTA member we have a veto, which we always never use because it always trigger repercussions or sours or relatio
383.
▲
by
Skinney
10y ago
Switzerland and Norway (where I'm from) has the worst of it. They're essentially member states without any voting privileges. We pay a large sum of money each year, and we implement a most of their laws, without any representation
384.
▲
by
Skinney
10y ago
Difficult to do. Cold start time is slow on the free plan because they have to start a "server". They don't need to do this with the paid plan, but then again, you're paying for uptime of a server. Serverless don't
385.
▲
by
Skinney
10y ago
Heroku is much slower at resuming on incoming traffic, because it has to boot up a dyno to serve your code. A cold start on Heroku usually takes 30 seconds (for me anyways). A cold start on AWS Lambda takes 2-5 seconds, which the user won&#
386.
▲
by
Skinney
10y ago
I think it might have something to do with the fact that the payment model isn't connected to a server instance, but how often your code is run. Heroku, GAE etc. are server-oriented. Your code is running on a dyno or an instance, and y
387.
▲
by
Skinney
10y ago
Depends on what you mean by serverless I guess. GAE (and Heroku for that matter) still has the notion of code running on an instance, dyno, server whatever. When I think of serverless, I think of Azure Functions, AWS Lambda and the like, wh
388.
▲
by
Skinney
10y ago
The main problem for me, is that Flow doesn't support Windows (yet?). I've been working solo on a frontend a couple of months now, and the team has just been extended with a new developer (yay). However, he uses Windows, and so al
389.
▲
by
Skinney
10y ago
Assuming that there is a totally free market in the first place. Norway is a socialist country. All public transportation (and infrastructure) is owned by state or county. That will change somewhat soon, as private companies will be allowed
390.
▲
by
Skinney
10y ago
Forget Tesla. Stuff like this makes it interesting for other companies to join the competition. And competition is good.
More ›