Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
i_s
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
i_s
11y ago
Looks like it still requires a signup, but lets you watch a few streams before it blocks you with the signup modal.
92.
▲
by
i_s
11y ago
That depends on your program. If your function is pure, you can memoize, and then it will be a fast pointer check.
93.
▲
by
i_s
11y ago
It is incredibly easy to write a function that creates an input field and keeps track of the state wherever you want, so I don't think that is a valid criticism at all.
94.
▲
by
i_s
11y ago
Types do have a lot of benefits but they also come with a big cost: some programs are very hard to express in modern type systems. For example, consider a pattern that is becoming more common today in UI programming (even in plain javascrip
95.
▲
by
i_s
11y ago
You have to implement it yourself. For some apps, you may need to do this anyway for perf reasons, because you don't want to parse the same HTTP response body more than once.
96.
▲
by
i_s
11y ago
> The theory of complex systems reminds us that aggregates can have properties that are not traceable to any individuals themselves. Game theory tells us that incentives and constraints can get so messed up that developments take on an e
97.
▲
by
i_s
11y ago
A component being processed via returning false from shouldComponentUpdate is very very different from a component being processed by running the render method and then doing a diff, so that is not a good model.
98.
▲
by
i_s
11y ago
No it isn't, I'm talking about avoiding render computation, and then therefore the diffing. If 1 render method gets called that contains 10 elements, and 99 other render methods are not called because of returning false from shoul
99.
▲
by
i_s
11y ago
Yeah, but if you chunk the items (groups of 10, lets say) in components, you can return false from shouldComponentUpdate in all but the last component, and therefore be fast.
100.
▲
by
i_s
11y ago
Yeah, but this is significantly worse than performance comparisons that have already been done. See here for example: http://elm-lang.org/blog/blazing-fast-html TodoMVC is way more realistic because items are actually
101.
▲
by
i_s
11y ago
> And "homoiconity" makes absolutely no sense. The source code of every programming language is an AST literal, and in principle every language can have macros by allowing compile-time AST to AST functions. It makes perfect sen
102.
▲
by
i_s
11y ago
I took one of his classes. Didn't know he had done so much, that is awesome.
103.
▲
by
i_s
12y ago
Some of the criticisms the author points out still hold. For example, criticism that React doesn't give a place to plug in to do post-processing on nodes is valid, and is even a point that David Nolen makes in the video you linked to.
104.
▲
by
i_s
12y ago
Almost any native UI framework (iOS, Android, WPF on windows, etc) has better layout options. Some of them like iOS have options that are not as beginner friendly (AutoLayout), but they are still better overall if you are trying to develop
105.
▲
by
i_s
12y ago
Xledger - Software Engineer(Sr., Jr. Frontend/backend candidates welcome) Local, Colorado Springs, CO. Must be legally able to work in the US. We cannot sponsor visas. Xledger is a finance, project, and business information system that
106.
▲
by
i_s
12y ago
Imperative coding may be useful to for implementing the API, but that does not mean it is necessary to expose an imperative API to developers. For example, in the browser, W3C and the browser vendors could have exposed a React-like API, i
107.
▲
by
i_s
12y ago
This technology looks great. It is too bad Facebook doesn't have their own platform like iOS or Android. It's becoming pretty clear that they have a much better handle on UI technology than Apple, Google, Microsoft, or anyone real
108.
▲
by
i_s
12y ago
Are all the issues with Swift to be expected, or does it seem like there are more issues with Swift than one would normally expect normal from a new programming language?
109.
▲
by
i_s
12y ago
This is very true. My brother just told me about a class he took on C# in which the teacher gave him a C on an assignment because of 2 things: 1) he had a using statement that reached far into a library, and 2) he used the "var" k
110.
▲
by
i_s
12y ago
There are some things about software that are objective, such as simplicity. Rich Hickey talks a lot about this. http://www.infoq.com/presentations/Simple-Made-Easy
111.
▲
by
i_s
12y ago
> This, a thousand times, but I believe it also requires an intention of humility behind the question. Yeah, this is very important. Otherwise, using a question instead of a statement is patronizing.
112.
▲
by
i_s
12y ago
If the JVM is slow at loading dependencies, that fact is very relevant when talking about the startup time. > startup time of Clojure has nothing to do with the JVM Startup time has everything to do with the VM. Check out this post, comp
113.
▲
by
i_s
12y ago
Depending on how it is done, one benefit could be you'd be able to use java/clojure/scala to build command line tools, something few people do now because of the slow JVM startup time.
114.
▲
by
i_s
12y ago
You check if is there before you access it with . or [].
115.
▲
by
i_s
12y ago
It only throws if you access the property with the [] or . syntax, so I don't think this particular thing is a big problem.
116.
▲
by
i_s
12y ago
Om also stores all app state in a single object, but lets you give components a window into that state ('cursors') in order to maintain modularity. If there turns out to be a problem with this general approach, it won't be a
117.
▲
by
i_s
12y ago
If you have a slow react component that uses mutable data structures for state, and implementing shouldComponentUpdate is hairy, you could always switch to using immutable data structures for that component's state instead. That change
118.
▲
by
i_s
12y ago
> I want to stress this once more – for an average app you can skip React or other virtual DOM at start and only go for it once it gets too slow (or never). I don't think this is good advice. It would be better to just start by usin
119.
▲
by
i_s
12y ago
Yehuda Katz argues that it does not: http://yehudakatz.com/2012/01/10/javascript-needs-blocks/
120.
▲
by
i_s
12y ago
Your grounds for disagreeing are bogus. Check out "How to Disagree" [0] by Paul Graham. You are at one of the lowest levels: "DH2. Responding to Tone." [0] http://www.paulgraham.com/disagree.html
More ›