1,852 karma · joined Nov 10, 2008 (18y ago) · 533 submissions
comment 13y ago · link · parent
I can't stress this enough, but there is simply no goal for evolution. Up until relatively recently, it just so happened that larger brains and other features we consider 'human' have been beneficial. Even if it may not be a big factor now, don't decry it as evolution being 'dead', or even worse, that people are devolving.
If certain genetic traits allow certain people to pass their genes down to more offspring then you have all you need. It's a very simple concept with major consequences.
comment 14y ago · link · parent
comment 14y ago · link · parent
(function() {
var __opal = Opal, self = __opal.top, __scope = __opal, nil = __opal.nil, __breaker = __opal.breaker, __slice = __opal.slice;
var __a, __b;
return self.$puts((__a = 1, __b = 2, typeof(__a) === 'number' ? __a + __b : __a['$+'](__b)))
})();
The first line just declares some Opal-specific variables (__scope, nil, __breaker, etc.), which I guess are created whether or not they're actually used. The second line defines the temporary variables used to store the numbers. Then, depending on the type, it either actually adds them or use its own '$+' function, which I guess it adds to the prototype for all objects.In terms of having to ever debug something like that, I agree that it'd probably be a huge pain.
comment 14y ago · link · parent
Is the IDE supposed to have it's own revision history stored somewhere? I understand how it might be an IDE's job to recognize individual functions but there's no way it is supposed to keep track of changes. That is entirely the source control's job.
> 2. This information should be stored separately from the source code files, as a meta-data to the project, not the individual files.
What information? This doesn't change your code in any way, it analyzes it and stores the data resulting from that in the datomic db.
3, 4, 6 are entirely subjective, it's rather clear plenty of others find this interesting and useful. I do agree that the query language isn't pretty.
5. Maybe someone will dislike Datomic enough to implement this as an emacs package. The source for codeq itself is open source, datomic is only a storage backend.
7. Let's be straight, judging from the points you made you certainly didn't go into this with no bias. Some of us don't get angry just because it comes from Hickey.
comment 14y ago · link · parent
More specifically, where git mostly looks at code as a collection of files and differences in individual lines, codeq breaks it down into code as a collection of semantic units (function definitions for clojure, possibly class definitions, methods, etc. if other languages are supported). Your version control system would actually understand if a particular method had been moved from a subclass into a parent class, instead of just considering it as lines being deleted here and added elsewhere.
comment 14y ago · link · parent
comment 14y ago · link · parent
In this case, the fact that on average bots seemed scored as more "human" than actual humans is more of a sign of a critical flaw in the judging system than any great progress. It looks like they reduced typical human behavior to some very simple things, such as holding a grudge or other irrational behavior. If that was a major part of the judges' criteria (consciously or subconsciously) then all this contest proved is that bots can be programmed to be more irrational than human players.
comment 14y ago · link · parent
comment 14y ago · link · parent
If you believe that functional languages don't meet those criteria, can you provide evidence for that? For example, from what I've gathered Clojure certainly has high quality libraries, an emphasis on speed when needed (performance is frequently superior to Python's), has debugging facilities, is easy to learn for someone with functional experience (just as Python or Java are relatively easy to learn for those with imperative experience) and can still be picked up with a little extra work otherwise, and has been used in production in large projects. I don't know about its hardware support so I won't comment on that.
comment 14y ago · link · parent
(function1 (function2 1 2 3))
function1(function2(1, 2, 3))
There is no difference in the way we read the first over the second.comment 14y ago · link · parent
Thinking that their actions may be done to warn of poisonous food sources isn't as far-fetched as you make it out to be. It has a clear evolutionary benefit. As for grief, it is beneficial in tight communities as it helps strengthen social bonds. This is why people are less affected by the death of a stranger than that of a close relative. But blue jays are not highly social animals and the dead bird in question is one they have never seen before anyway. Scientifically, grief is actually one of the less likely possibilities as there doesn't seem to be any reason why they would grieve an unknown bird.
And does grief really make emotional sense? When a person finds a body on the street, what do they do? They call for help. Afterwards a crowd may gather as the police cordon off the area. But the crowd isn't grieving, they're simply morbidly curious.
comment 14y ago · link · parent
But when you consider that written records had already long existed elsewhere in the world and that 'prehistoric' can go as far back as ancient mammals and even dinosaurs, it becomes a rather vague term.
However, in this case it's useful to describe it as prehistoric because this is the only type of evidence we have of their culture. Since there are very few written records, archaeological remains are the best bet for learning more about them, which is why finding something this well-preserved can be particularly exciting.
Otherwise, as far as I know human the brain belonged to is pretty much anatomically and genetically the same as modern humans.
comment 14y ago · link · parent
I wasn't the most tech-literate child, but at least I've come a decent way since then.
comment 14y ago · link · parent
comment 14y ago · link · parent
The attitude that Clojure is only for some enlightened few who are worthy enough to understand it is extremely alienating. Lisps aren't that hard, homoiconicity isn't that opaque, the benefits of using Clojure can be explained in practical terms that most developers can understand, if not at first be convinced by. All these concepts can be explained succinctly in text.
Saying that Clojure is only for those who share some 'vision' is hand-wavy at best, insulting at worst.
Edit: My guess is that Datomic is targeted towards Clojure devs because they are already experienced with Datomic's philosophy and will understand the system better. It also provides a smaller and highly receptive market. They can then focus on perfecting the software instead of training a large number of people in the philosophy behind Clojure and Datomic.
comment 14y ago · link · parent