Better HN
topnewbestaskshowjobs
Log inSign up

improbable22

677 karma · joined Jan 8, 2017 (9y ago) · 329 submissions

Submissions

comment 8y ago · link · parent

I had a binary search in mind, if that counts as sophisticated :) Just surprised by orig GGP's assertion that more inlining would automatically be faster.

comment 8y ago · link · parent

Even with a simple heuristic, wouldn't you try to pick this magic number 600 so that it's about as likely to be too big as too small?

Or is the problem very asymmetric, that inlining too-large pieces has dramatic downsides that failing to inline small pieces does not? Or is it just that the magic number was chosen decades ago, and the tradeoffs (perhaps re memory) are different now?

comment 8y ago · link · parent

Krakow has a hybrid system like this which seems to work well. The docks are just dumb metal, and the bike has u-lock with which you can equally well lock it to a street sign.

Locking a bike anywhere away from a dock costs you a little extra, and there is a bounty for rescuing such bikes... but most of them live at the docks, so you know where to go to get one. If the dock is full you can lock it anywhere nearby too.

Edit: https://en.wavelo.pl/

comment 8y ago · link · parent

There is work on rotationally invariant networks, e.g. for identifying galaxies, or cells under a microscope. For example:

https://arxiv.org/abs/1612.04642

https://arxiv.org/abs/1805.12301

I haven't looked closely enough to be sure if they literally had complex activations, but this seems like an obvious use. Maybe they would have, if only tensorflow made it easy.

comment 8y ago · link · parent

Older languages also had to exist in a much less networked world. The more 2.0 changes can be done by a robot making a PR, the less concerning they will be.

comment 8y ago · link · parent

Yes, the package situation seemed much better 6 months ago, on v0.6. Because so much changed in v0.7, it would (IMHO) have made sense to release 1.0 alongside v0.7.1 or something.

(But I guess there are various pressures, not to delay, too.)

comment 8y ago · link · parent

I'm complaining that there isn't one uniform distribution. For example uniform in x on [1, 2] is different to uniform in 1/x on the same interval, and which one you draw from may matter. You have to be told. In fact every (one-variable) distribution is uniform in something!

"pick a random point inside a circle" comes with an implicit "uniformly according to the ordinary euclidean metric on the paper". I guess it's a judgement call that this is obvious enough, but "a random chord" is clearly not... otherwise we wouldn't be here!

comment 8y ago · link · parent

Paradox seems like a strong word for this. "Draw a random chord" is almost a pun, draw from what distribution? Until you tell me, there really is no one answer.

comment 8y ago · link · parent

But perhaps not quite as critical as for current transplants? At least that's my uneducated guess... anyone know?

comment 8y ago · link · parent

Well, here it's cos(acos(x)) and sin(acos(x)), which are easier. But still that's pretty smart, I did not know this.

comment 8y ago · link · parent

That's the correct volume element, but not what you want.

The volume inside radius r grows as r^3. It's the inverse of this _cumulative_ density function which maps uniform-in-r numbers to uniform-in-volume ones.

comment 8y ago · link · parent

Note that his last way does cos(acos(cosϕ))) after generating cosϕ uniformly. Which is a waste, you can just set sinϕ = sqrt(1-cosϕ^2).

After fixing that, this way is faster for me. Some trig, but no branches.

Edit: https://pastebin.com/UExZ5Siw

comment 8y ago · link · parent

To be fair about this, the time window in which a large proportion of papers were online but gated was about a decade (depending on field, obviously).

Was this worse than before? The option of going to a suitable library did not suddenly vanish. The web just let you know what was there.

comment 8y ago · link · parent

> There are hundreds of advanced statistical models that you can only run in R. Coded by the people who invented those models, most likely.

Does this not seem worrying? If there's exactly one implementation in use by everyone, and nobody has read the original paper closely enough to build it independently & check?

comment 8y ago · link · parent

Did they move there with an already-diagnosed kid?

There was a professor in the news for leaving New Zealand (I think) recently for exactly this reason. Because his kid was autistic (or something) the authorities were highly reluctant to grant him residency & hence lifelong care.

Edit: here's the story, 13-year-old stepson in fact: https://www.theguardian.com/world/2016/feb/16/prestigious-ac...

comment 8y ago · link · parent

Quite a few US states are bigger than EU countries which manage to run their own decent systems. (e.g. NY: 19 million, Switzerland: 8 million.) What's the argument against letting them run it?

Maybe there have to be some federal ground rules. But having wider experimentation would seem like a good thing, for discovering good ways to run a system.

comment 8y ago · link · parent

There are lots of other systems besides single-payer (like the NHS grandparent mentions liking) or the US. It isn't some law of nature that anything "in-between" is doomed to failure.

For example, read a bit about the Swiss system:

https://en.wikipedia.org/wiki/Healthcare_in_Switzerland

comment 8y ago · link · parent

Lots of places do exactly this. In fact the last time I applied for a passport, it was completely paperless, no paper forms to enter, no stapled-on photos to scan. It's hard to believe this would not be cheaper, in 2018.

Visa applications too -- sometimes there's one kiosk-like machine which wants your fingerprints as well.

comment 8y ago · link · parent

Exactly. It seems that fast chips in slim laptops are like fast chips in phones. They may be worth having for performance on 2-second tasks, and might keep up with a desktop there.

If what you care about is performance on 2-hour tasks, there's just no chance, that's a completely different thing.

comment 8y ago · link · parent

On iphone, the nicest looking app I found is called MapOut.

Very slick, works well, offline. I guess aimed more at outdoor use than cities, or driving.

comment 8y ago · link · parent

To be fair, my first guess from the title was Reinhold Messner. Different kind of solo. (And perhaps a better candidate for having strange biology?)

comment 8y ago · link · parent

Thanks, this is interesting. It would be somehow satisfying if their LINPACK benchmarks would actually not be beaten by Google et al. (And their real workloads too.)

But how tightly can you really connect 27000 GPUs? Would be curious if anyone has a more technical article handy about what's different.

comment 8y ago · link · parent

What's the definition of "one supercomputer" for the purposes of TOP500?

For example, why doesn't one of Google's warehouses qualify? Or the whole of Google, for that matter. A bit of googling didn't find my anything very satisfactory.

comment 8y ago · link · parent

QED is great, I think it really gets across one way of thinking about these things.

Agree with @ahelwer that Brian Greene isn't terribly useful. Have not read Zee & Smolin's popular books... but for what it's worth, Zee is a serious guy & writes great textbooks, Smolin is not.

comment 8y ago · link · parent

It does work offline, if you’ve got the right language pack downloaded.

Very useful indeed. (And on iOS too, someone above asked.)

comment 8y ago · link · parent

Yes, this is aimed at the same people, I believe. Doodle in Python and then work harder on the critical part.

I think this works best when you have some loops pushing arrays of Float64 around. And worst if you'd like to pass some library a million little functions to optimise which depend on some strange data type you just defined... Cython is quite a limited sub-language. But certainly many current Julians made a living this way in the past.

comment 8y ago · link · parent

Last week's discussion on matrix multiply:

https://news.ycombinator.com/item?id=17164737

I guess the claim is that you could write all that in Julia, and hope to be competitive, while you could never do this in (pure) Python. It would still be a lot of work, and would require you to think about the cache, there's no way around that.

The selling point here (it seems to me) is that you can easily doodle up the most naive version of whatever algorithm you're thinking about, and then start optimising to the degree needed, where needed, without having to start over in C or something.

comment 8y ago · link · parent

Yes, it's JIT compiled.

And my (very crude) understanding is that the stronger type system makes this much easier than in Python. The compiled version of any function is specific to the types of its inputs, and thus need not contain any further checks: simple functions often end up with literally the same assembly as C would produce.

comment 8y ago · link · parent

Ah right, I forgot about that! Not that Iraq was anywhere near an ice sheet, but it was a whole lot drier.

Still, is the argument that there were no climatically suitable zones in 20k.BC? That they were smaller, too small for some critical mass of proto-farmers?

comment 8y ago · link · parent

If insect-resistant means tsetse fly (which was why the idea if taming zebras was briefly fasionable) then it’s worth noting that this wasn’t a problem until 1896, when the rinderpest killed all the cattle, whose grazing had kept the land grass not bush.

For the owners of said cattle, one answer is like the maize: they already had cows!

These farming and cow-herding people were busy replacing other african peoples. Why the others didn’t domesticate zebra... comes back to why weren’t they farming too? I don’t know if we have a great theory for why farming started when it did, anywhere: what kept the mesopotamians away from farming from 20000-10000 years ago?

1
7891011