Better HN
topnewbestaskshowjobs
Log inSign up

pathsjs

472 karma · joined Sep 17, 2014 (12y ago) · 223 submissions

Submissions

comment 7y ago · link · parent

Unfortunately, it is only partially cross platform (no Linux client) :-(

comment 7y ago · link · parent

I think we agree. I am not sure of the percentages, but there are some people that prefer cars, others that prefer public transport, other that prefer bikes. The way you phrased your comment seemed to assume that car is a preference for everyone, which in my experience is not true (although of course it is for some people)

comment 7y ago · link · parent

Well, it seems to me that you don't get it. In the city where I live, car traffic is not especially impractical, and I drive from time to time. But if I have the chance to go somewhere by subway, I prefer that, since I can read or do seomthing else in the meantime. If I can walk, this is even better.

For longer travels, a train is always better than a car for me: I can read, watch a movie, study. The time of arrival is known in advance unless there are delays and I can just relax.

You seem to assume that everyone prefers to be in a car, but this is just not the case

comment 7y ago · link · parent

As the author of at least one HTTP server library ( https://github.com/andreaferretti/rosencrantz ) do you find anything missing in its documentation?

comment 7y ago · link · parent

As a non native speaker, I could not understand what was wrong in your child's answer, until I read the replies to your message. Even now, it still sounds a perfectly reasonable answer (and question too - maybe you want to put protections on that table or whatever)

comment 7y ago · link · parent

Uh, sorry, I don't know how I could have missed that!

comment 7y ago · link · parent

Well, how this compares to the http://theoatmeal.com/comics/mantis_shrimp ?

comment 8y ago · link · parent

As a mathematician turned to deep learning, I would say you overstimate the promises of deep learning a bit :-)

comment 8y ago · link · parent

Uh? Is Nim defunct? I wouldn't say so!

comment 8y ago · link · parent

In fact the result has little to do with computer science - it is purely a mathematical result. The way points are sampled (uniform distribution) is clarified in the text

comment 8y ago · link · parent

The obvious question is actually the converse: assume all even moments of the distance are integers - does it follow that S^(n-1) is a group (hence n=1, 2 or 4)?

comment 8y ago · link · parent

In fact, I do :-)

comment 8y ago · link · parent

As it turns out, you can have a powerful macro system without s-expr syntax (e.g. Scala, Nim). In any case, you jus need to write functions that operate over trees, which you can do in any language. That this tree is not immediately reflected in the actual syntax is just a minor hindrance

comment 8y ago · link · parent

Well, it's the other way round. In Italy supermarkets evolved to contain bakeries, because otherwise people would not buy supermarket bread. Nowadays you can find pretty good bread at the supermarket, but it is all fresh

comment 8y ago · link · parent

Also, mathematicians! I don't have precise statistics, but anectodally when I was in my (under)graduate years it seemed like every mathematician was dating another one, unlike what I saw happen in other faculties

comment 8y ago · link · parent

I still undersatnd it that way, what else?

comment 8y ago · link · parent

It makes sense to let client code handle allocations and whatnot. What I cannot find is how to pass one or more tensors (given, I suppose, by some shape parameters and a pointer to the data buffer) to Tensor Comprehensions.

I would have expected that operations expressed in the tensor language could be compiled once and for all (for a given target) into a DLL, and then it would be just a matter of passing the right buffer and shape parameters to a function. I see no reason why this should not be easily handled in C (which makes it easier to bind it from most languages).

If I understand correctly, DLPack is the format of choice to express a tensor, and ATen is not required, but I cannot find examples using DLPack

comment 8y ago · link · parent

I could not find how to integrate this into a C++ program. Does it need ATen or is there a lower level of integration? Is there even the possibility of getting C bindings?

comment 8y ago · link · parent

Thank you, I had completely misunderstood! :-D

comment 8y ago · link · parent

I find it weird that the metaphor here is that smart devices will become as ubiquituous as electric peelers, which I have never seen in my life :-? I still peel my fruit by hand - if that - and I have never seen anyone do otherwise

comment 8y ago · link · parent

An exercise that I made during my degree and phd years in maths was to always take notes in a consistent notation across the various lectures, regardless of the convention used by the teacher. It forced me to pay attention and as a bonus I have a consistent set of notes for most undergraduate mathematics :-)

comment 9y ago · link · parent

I don't understand your comment - do you mean that every story has to be related to America in some way? (by which I guess you mean the United States of America, by the way, which is one of many countries inside the two America continents)

comment 9y ago · link · parent

Uh... Google play?

comment 9y ago · link · parent

Usually it is because as soon as the build gets a little complex, you need to define your own logic. In a minute, you are scripting your build tool with a Turing complete language. And of course users of language X want to script their build using X.

That just makes sense - define a build DSL inside your own language. For some reasons, though, the de facto build DSL used by Scala suffers by all the issues mentioned by Li Haoyi in his blog post

comment 9y ago · link · parent

It is a thing, and here where I live (Italy) is pretty popular - I would say more than Uber, for what it's worth.

It is a service to arrange long trips from one city to another with other people, so that the driver can share the ride and get compensated from passengers (and also have company) in return

comment 9y ago · link · parent

This is a good point. Still, for instance, the binomial left/right to indicate political position is common across many languages

comment 9y ago · link · parent

The remark is that the two words, while apparently interchangeable, in actual use are not. One is often used with positive meaning related to dexterity and so on. Also, they have different political meanings. So they are not at all symmetric in actual use, much like every other word pair

comment 9y ago · link · parent

I would have never guessed

comment 9y ago · link · parent

My comment was a little tongue in cheek, but it seems I was not able to convey this. Anyway, roman numerals do just fine to number centuries, which are rarely used to do computations.

My point is that it all amounts to familiarity, and while people complain about someone mentioning the XIXth century, apparently everyone forgets that someone across the ocean may have the same difficulties hearing about someone being 6ft tall.

comment 9y ago · link · parent

Absolutely common in Italy as well. If someone doesn't like this convention... well, this is more or less what we think when we meet articles measuring weight in pounds or height in feet ;-)
12345
8