Better HN
topnewbestaskshowjobs
Log inSign up

improbable22

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

Submissions

comment 6y ago · link · parent

"Do the needful at the earliest" is the poster-child, but I'm struggling to find a great list to link.

The effective divergence time is much longer than since 1947 -- I believe that around 1900 people in England thought their cousins in India a generation behind in dress & everyday speech. And formal bureaucratic terms were already ossified, another classic is "out of station" (as in, out of town, away from the office) which IIRC is from east-india company days.

comment 6y ago · link · parent

This is almost an argument for not publishing code. If you publish all the equations, then everybody has to write their own implementation from that.

Something like this is the norm in some more mathematical fields, where only the polished final version is published, as if done by pure thought. To build that, first you have to reproduce it, invariably by building your own code -- perhaps equally awful, but independent.

comment 6y ago · link · parent

> Monte-Carlo can and should be deterministic and repeatable

I guess it can be made so, but not necessarily easy / fast (if it's parallel, and sensitive to floating point rounding). And sounds like the kind of engineering effort GP is saying isn't worth it. Re-running exactly the same monte-carlo chain does tell you something, but is perhaps the wrong level to be checking. Re-running from a different seed, and getting results that are within error, might be much more useful.

comment 6y ago · link · parent

Perhaps a more direct Julia analogy would be the built-in AbstractArray interface.

There is simply no question of how (to use their example) `mean(::CuArray; dims)` should work, it not only follows Base's notation, but extends the same `Statistics.mean` function, so that exotic arrays can be passed to packages written before the package defining them existed.

comment 6y ago · link · parent

This bakes in a particular version of the Plots library. Which is mostly great, but you need to re-bake to move on to a new version.

(All the standard libraries are baked in by default, in much the same way I think, and so can't be updated without making a new version of Julia. But they all load fast.)

comment 6y ago · link · parent

I think these overhead numbers are quoted as the percentage on top of what gets spent, rather than the percentage of the incoming cash. 50% overhead means that buying a 1M machine involves giving 500K to the institution.

(Still crazy high, of course!)

comment 6y ago · link · parent

In case this isn't clear, the telemetry being discussed is only doing anything when you ask the package manager to connect to a server, to download things.

comment 6y ago · link · parent

Anyone have long-run comparisons on fluff buildup? Hard to gauge changes in clothing / cases / etc I guess, unless you literally live with two phones.

comment 6y ago · link · parent

Haven't seen the movie but it is one of the drugs prescribed for altitude sickness. Or rather, one of the ones often carried for use in life-threatening cases.

comment 6y ago · link · parent

> it’s not extreme / superlative in any dimension. If you want raw performance ... good at all of those things... but

I guess the selling point is that being good at many things means you don't have to keep switching between all these languages, or glueing them together. Others have mentioned the composability benefits of this. But it also has a learning advantage, I think. You can incrementally learn to speed up the crucial piece of something. You can learn just enough metaprogramming to solve some problem you have.

comment 6y ago · link · parent

>if you're building a new line, you may as well make it high speed;

I think the thing to understand here is that mixing speeds is awful for capacity. There are some fast trains now, and everything else has to be scheduled around them, which means they each eat up many slots, to clear the line a safe distance ahead. There's lots of demand for more slow trains, which can't be run.

If you built a new slow line, you would still have this problem. And the slow trains want to stop many places, so you can't build the line through open fields, and building through towns is really expensive.

So you build a new fast line. And then it may as well go a little faster than the existing fast trains. But this increment isn't the main point.

Or at least that's my understanding. I don't doubt the price will grow. I have also heard there may have been other not-quite-as-fast options, refurbishing a disused line instead?

comment 6y ago · link · parent

Does the arxiv accept xetex yet? That's one constraint which kept me away.

comment 6y ago · link · parent

The heavier version looks better, but this involves messing with Metafont, which generates bitmaps. (And sadly his sample PDF links have died.)

I don't know of a way to heavier outline fonts. I believe the commonly used versions aren't in fact derived smoothly from Metafont, but either fitted to the bitmaps, or drawn by hand over them. That would have been a good time to correct this sad mistake.

comment 6y ago · link · parent

I think this is quite a hard problem to solve. A Python wrapper of some some monolithic C library can check & reject any input which doesn't meet the spec, and tell you why. But a Julia library typically wants to be generic, you should (for instance) be able to pass it weird numbers that contain units/error bars/gradient info, that the library designer knew nothing about, and have these propagate through. When this works it's great, but when it fails, the failure point tends to be 10 layers down, in internal workings you've never heard of. That's part of why error messages are inscrutable.

comment 6y ago · link · parent

These are true. But also, I think some of the weirdness is that a lot of people only do this once, struggle, and then move on. So the forums are full of people trying to find others with the same problem which none of them understand.

comment 6y ago · link · parent

By Adirondacks I think GP means the whole mountain range, https://en.wikipedia.org/wiki/Adirondack_Mountains . Would be curious though to know whether OSM has those roads.

comment 6y ago · link · parent

On an iphone, I can't recommend https://mapout.app/ enough. It's simple & good-looking, it's easy to download tiles of the area you need (not countries) while on wifi, but designed to work mostly offline. It's a few dollars up front & then zero nagging.

Friend on Android like OsmAnd, which sounds like a much bigger app, contours are an add-on IIRC. I think can even do things like editing the map & submitting your corrections.

I have never got around to printing maps, but have occasionally carried paper maps too. OSM is not as detailed as the best EU country maps, but is far better than anything on paper in most faraway mountain ranges.

comment 6y ago · link · parent

You're missing cmd+L (copy last command to cursor) and cmd+shift+L (last result).

Although, as others have said, many prefer the style of editing and re-running, rather than leaving the history above.

comment 6y ago · link · parent

No insight into Australian management, but having lots of valuable dirt to dig up does make it much harder to get going in other lines of business.

I think this is called "dutch disease" by economists: the high wages paid by the dirt-digging (early on) mean that you can't simultaneously be competitive in metal-bashing, which makes it hard to develop other industries.

comment 6y ago · link · parent

A key idea here is that, to keep this support, the firms were also obliged to export. Even small numbers, at a loss, at first, but they had to have paying customers in America. Firms that couldn't do this were allowed to go bankrupt / get swallowed up.

At least in Korea. In less successful countries, domestic top dogs were simply protected, and were quite happy to keep making cars from the '50s.

An excellent book on this story is "How Asia Works" by Joe Studwell. (On which I'd be interested to hear any opinions from actual Koreans.)

comment 6y ago · link · parent

I don't know, but the words we use for it are certainly influenced by our culture!

Here's a paper with nice graphs, drawing where different languages put the boundaries between words -- they divide up the hue-saturation space into a varying number of blobs:

https://www.pnas.org/content/115/31/7937

(The data isn't theirs, it was painstakingly colected by going and asking lots of people "what colour is this pantone?". The paper does some fancy stuff on top of that. But it has nice graphs.)

comment 6y ago · link · parent

If you found one, you get to brag about it. Give regional ted-X talks. Schmooze with people closer to the money than usual. I presume that's the main point.

comment 6y ago · link · parent

Just reading what everyone does may work. Here's a tiny package:

https://github.com/ChrisRackauckas/EllipsisNotation.jl

I think that `/src/Name.jl` must have the main module, and `/test/runtests,jl` tests. And the package manager cares about `Project.toml`. But beyond this there are no real rules enforced, although there really seems to be one way to do things.

Here's a much bigger project, organised the same way. `include(file.jl)` literally copies in the text, and it's somewhat conventional to collect all imports & exports in the main file:

https://github.com/JuliaNLSolvers/Optim.jl/blob/master/src/O...

Still no sub-modules. No files included in mysterious locations. Methods being defined for functions from elsewhere are all qualified, like `Base.show(io::IO, t::OptimizationState) = ...`

comment 6y ago · link · parent

How would you like modules to work?

It seems great to me that paths & source files are mostly irrelevant, you're free to re-organise without changing anything. And that `using Xyz` is always talking to the package manager. You can make sub-modules and say `using .Xyz`, but there's very little need to do so, and few packages do.

You can shoot yourself in the foot by including source twice, as you can by generating it with a macro, or simply copy-pasting wrong.

comment 6y ago · link · parent

Not my field, but at least some of it appears to be worked on seriously. This was an interesting recent blog post about making DNA-sequence processing go fast:

https://biojulia.net/post/seq-lang/

comment 6y ago · link · parent

Even turns in the vertical direction are a problem, for uncomfortably pushing you into your seat, or lifting the train off the rails. Which results in more bridges & tunnels than would otherwise be needed. Unlike slow trains, there is plenty of power for going up hills, but you can't switch to going down the other side.

While ordinary horizontal curves are cambered, IIRC the resulting train-vertical acceleration is still one of the limiting factors.

12345
11