Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amelius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2266 ms
·
32791.
▲
by
amelius
12y ago
> There is nothing in reactive programming that implies being incremental Yes there is. Because if it's not incremental, then you could replace any "reactive" program by one which just recomputes its outputs every time som
32792.
▲
by
amelius
12y ago
The problem I always run into with reactive programming is that of glitches, and stuff being recomputed more often than necessary. Glitches can appear when, for example, two inputs of a certain "functional box" change almost at th
32793.
▲
by
amelius
12y ago
Just wondering, if acceleration == gravity (equivalence principle), how would this be visualized in this model?
32794.
▲
by
amelius
12y ago
Yes, I agree that there should be cooperation between the library and the compiler. But that is also the case for RAII, for example, where the compiler provides the primitives (through language design, e.g., constructors, destructors, copy
32795.
▲
by
amelius
12y ago
Cool video. But I don't get it really :S I just skimmed through the documentation and it says: > In return for this effort, we get powerful debugging tools Is this the primary purpose of this tool? Or is it the undo feature?
32796.
▲
by
amelius
12y ago
> Immutable always returns itself when a mutation results in an identical collection, allowing for using === equality to determine if something has changed. But any smart equality-testing function would already include this.
32797.
▲
by
amelius
12y ago
I'm curious: what exactly makes a photon lose its entanglement? Is it an interaction with an atom (electron or nucleus)? If so, how can entangled photons even propagate through matter (fiber glass or the atmosphere) without becoming de
32798.
▲
by
amelius
12y ago
This is nice. But I'm wondering, why do garbage collectors always have to be written from scratch for each project? Why can't we just have a library that does garbage collection, and does it well? Of course, the library should tak
32799.
▲
by
amelius
12y ago
Well, it still doesn't make much sense to me. The article speaks of an allocation rate of 400 MB/sec. However, AFAIK, a memory allocator takes time proportional to the number of allocations, NOT the total amount of memory allocate
32800.
▲
by
amelius
12y ago
The short answer: if the probability of a collision is smaller than the probability of a meteor landing on your head, then you're fine.
32801.
▲
by
amelius
12y ago
Why do taxes always have to be so artificial? The reason to have income tax is to have people who can afford it contribute to society. I can see how that is a good thing. The reason to introduce an internet tax is what? To only have people
32802.
▲
by
amelius
12y ago
This seems interesting. But I find it a bit unsatisfying that it can only be used as a package manager then. How about using this functional machinery, e.g., for a general build system? A "functional make" so to speak. And I bet t
32803.
▲
by
amelius
12y ago
I believe the problem is not that we can't define the "experience of existence", because this phenomenon could exist entirely independently of our physical (scientific) reality. The problem is that there is an interaction b
32804.
▲
by
amelius
12y ago
The problem I have with this is representation. One's brain cells are a certain representation (in other words implementation). Would the same consciousness be present with another representation (e.g., computers on the internet)? How
32805.
▲
by
amelius
12y ago
Wouldn't it be cool if there were a library that could build relational APIs for any problem (including an optimizing SQL compiler)...
32806.
▲
by
amelius
12y ago
I'd rather see an OS and package manager that has a "functional" design (as in functional programming language, functional data structures). This would allow conflicting packages to be installed next to eachother in different
32807.
▲
by
amelius
12y ago
If you want to take the statistical approach, then you could also say that there exists a nonzero probability that it is not the case :)
32808.
▲
by
amelius
12y ago
But what does a CPU running an idle virtual machine do?
32809.
▲
by
amelius
12y ago
You say that the runtime is disappearing. But, if LLVM is being used, then since it provides the JIT, I'd say it is a really big part of the runtime, actually.
32810.
▲
by
amelius
12y ago
The best test of a language is to see if you can write the compiler itself in the language (step 1) and also if you can write the runtime system in that language (step 2). IMHO, both are required for a language to be considered a good "
32811.
▲
by
amelius
12y ago
I'm wondering: how does this compare speed-wise to other real-world JITs. For example, node.js (V8). Are there any tricks used in your VM which are not used by V8, and conversely?
32812.
▲
by
amelius
12y ago
The JVM is multi-language only because the languages were specifically designed and/or modified to run on it.
32813.
▲
by
amelius
12y ago
I'm curious: what kind of computational challenge are we talking about? Does image recognition take 1 second on a smartphone, or 2 hours on a supercomputer?