677 karma · joined Jan 8, 2017 (9y ago) · 329 submissions
comment 8y ago · link · parent
We ate all of them when we showed up, in the american case c. 10000BC, long before iron weapons.
My point is that if the wild horses we first met were similarly tame, then surely we would have eaten them too. We didn’t. So probably they weren’t.
So that can’t be what stopped us domesticating african animals.
comment 8y ago · link · parent
The only argument offered for the Why in the title is this one:
> Moreover, zebras have evolved alongside man, whereas European animals mostly evolved in the absence of man (we didn’t migrate out of Africa until relatively recently).
Yet clearly we weren’t such a shock to the horse’s ancestors that we simply ate them all... as we did everything in the Americas. Maybe because of earlier proto-humans? So is this some kind of goldilocks argument?
comment 8y ago · link · parent
Your function also has three pieces, and the only difference from `y ( x ) = x` is that you've chosen to specify a derivative at zero, i.e. y(x+ϵ) = if ( x==0 ) { 0+0ϵ } else { x+1ϵ }. Which you may have reason to do, say to tell your optimiser to stop pushing on the wall.
comment 8y ago · link · parent
If your loop is computing something like f(g(...h(x))) i.e. applying functions in sequence, starting with x, then there's no problem -- dual numbers will compute the correct derivative.
If the loop is an implementation detail, like I think the poisson distribution p(λ,k) is often computed with a loop up to k... then making λ a dual number still works. Clearly you can't differentiate on k, because it's an integer.
comment 8y ago · link · parent
In calculus class this would be ill-defined / ambiguous, but the computer is simple-minded and picks one answer.
This doesn't seem like a major flaw to me. What are you using this for which would care? Maybe you have something like a rectification which produces exactly x=0 much more often than 1 in 2^32... in which case a function like your y amounts to a special case for this.
If you cared you could write a special case for the derivative too, here's one which will give y'(0)=42 but otherwise the automatic derivative:
julia> y(x) = x>0 ? x : -2x
julia> y(x::Dual) = x==0 ? dual(0, 42) : (x>0 ? x : -2x)comment 8y ago · link · parent
Or to say that another way, since the derivative by definition changes x infinitesimally, it never changes on which side of the conditional x is located.
comment 8y ago · link · parent
comment 8y ago · link · parent
This article is about relatively new things, but if you rewind 100 years, you find people thinking hard about this in simpler contexts. Gibbs is the big name, who essentially re-wrote thermodynamics (the study of heat, which until then had been thought of as some kind of invisible fluid) in the statistics of microscopic particles. This often involves counting the number of different possible states, for instance of all the atoms in a gas. Gasses whose molecules have two atoms (like N_2, compared to He) have larger heat capacity precisely because there are more different ways that these bi-atoms can be oriented, i.e. more information is needed to write down their states completely.
The older, thermodynamic, description is in a sense an optimally compressed representation of this microscopic picture. It keeps only what little information is visible to giants like us, who cannot see the individual atoms.
comment 8y ago · link · parent
The point of the article is that we think we cannot. And the fact that the upper bound grows not as the volume of space, but as the area of its boundary, has deep and subtle implications which we're slowly trying to figure out.
comment 8y ago · link · parent
At least it was when I did Chicago -> SF a few years ago. It was great, after the prairies you woke up in Denver & lots more people got on, spent a day going through the Rockies, sleep, and then a day in the Sierras. (I'm pretty sure we spent some of the night parked in a siding.)
comment 8y ago · link · parent
The typical problem paper has a small data set, on which the authors tried 20 different things, one of which achieved p<0.05 and got published. The result tells you nothing meaningful about the world (or more often, tells you something about how its authors wish the world worked). But re-running their code on their data set will not reveal the problem.
comment 8y ago · link · parent
You complain about Sin[] but not about ugly things like np.sin()? Also I think you're looking for
Sin[θ] //TraditionalForm //TeXFormcomment 8y ago · link · parent
Does this idea apply to small countries? It's possible that democratic pressure, by people who know what's available in Denmark etc. just across the border, would mean the country could end up getting credit cards, and then paypass, not much later than elsewhere. But nationalising the equivalent sector of the US banking system in 1950 would, as you say, leave everyone writing checks forever.
For the same reason, communism worked much better at catch-up industrialisation (just steal the blueprints for a steel mill, and build it) than for subsequent consumer products (where you need to experiment and feel the way).
comment 8y ago · link · parent
Why isn't every Tesla tracking all the lanes it can see, and the behaviour of every option at every exit, and flagging cases where one of the other lanes does something weird, or dangerous, half a mile later?
comment 8y ago · link · parent
Flux is essentially nothing but some clever use of Julia's type system:
https://github.com/FluxML/Flux.jl
There's some ability to generate javascript too, which you can try here: http://fluxml.ai/experiments/mnist/ . Edit: I see it's actually using deeplearn.js == TensorFlow.js for this, details at https://github.com/FluxML/FluxJS.jl
comment 8y ago · link · parent
I think Apple understands this. The freedom you desire has ecosystem effects which I don't want.
You may quibble about precisely how hard is hard enough. Maybe they could loosen up a little bit, walk some middle path, and satisfy both of our desires. Maybe. Has anyone done it? Apparently people will sign anything you ask them to in order to play farmville. And every jailbreak seems like a security hole I'd rather not have.
comment 8y ago · link · parent
There's a balance to be struck in how certain these things should be before being published, for sure. The p-hacking plague is a symptom of setting this certainty bar too low, or equivalently, the required level of novelty too high.
Things which stay constant are the job of standards bodies, and textbook writers... these are important too, but different.
comment 8y ago · link · parent
A bit earlier, the famous anecdote is about Einstein's offence that the Phys Rev editor would dare to send his paper for review at all -- apparently this would not have happened at a German journal of that era: http://www.preposterousuniverse.com/blog/2005/09/16/einstein...
comment 8y ago · link · parent
I have actually been paid by some journals, but only a token amount, like $30/paper.