1,209 karma · joined Feb 10, 2016 (10y ago) · 426 submissions
comment 8y ago · link · parent
For the sake of the battle, however, I will save my pickyness for another time.
comment 8y ago · link · parent
I have not yet found such a simple description for any other DVCS, although I admit that given that Git is everywhere nowadays has not motivated my to do much research.
In the particular case of Fossil, if I read https://fossil-scm.org/index.html/doc/trunk/www/concepts.wik... (which is supposed to explain the concepts), it already begins explaining workflows, specifying that I have to choose between two alternatives, for which I do not even have a complete explanation (what happens if I divert from the suggested workflow?). Now that is what I call complex!
comment 8y ago · link · parent
Computer languages make no exception: they are nothing else than formalisms to express computations. As for every other formalism, the meaning of signs is chosen to be what appears most comfortable in that context by the formalism designer. The statement "x = x+1" has very different interpretations depending on whether you consider it written in C or in standard polynomial equation theory; but in both cases there is a well known meaning for it. In exactly the same way the word "case" has different meaning depending on whether your are reading in English or in Italian.
comment 8y ago · link · parent
Rules should be valid for all and applied uniformly.
comment 8y ago · link · parent
comment 8y ago · link · parent
Also, some authors seem to take for granted some concepts (such as the properties of the quantum gates) that are not explained anywhere and not obvious to me.
Still, an interesting read.
comment 8y ago · link · parent
comment 8y ago · link · parent
Neither it is true that FP guarantees more readability or understandability, which actually depends a lot on what your are used with. If you are used to imperative, FP will probably be a real pain. It is not even true that shorter functions are in general more readable the longer ones: I can immediately understand pages of code and struggle on two lines, depending on what they do and how they are written.
The actual point of FP, as I see it, is that it decouples a function from the context it is executed into. A pure function is not influenced by its context (the global status) and does not influence it (it has no side effect). Actually, for a pure function the context does not exist. So if you want to read or understand it, you can ignore the context; and viceversa you can ignore the function when studying any other. The only interaction between different functions remain the explicit calls, which are easier to track than the implicit coupling given by the global context.
So that is the advice from FP that I would give to every programmer: when writing a function, try to use the global context as few as possible, possibly even not at all.
All the other stuff with lists, zipping and lambdas is fun and useful, but it is not the real heart of FP.
comment 8y ago · link · parent
comment 8y ago · link · parent
Sometimes it says (in Russian) there is an error fetching the paper: I understand that in such a case it does not have the paper, but the paper is available on GenLib, so you can go there. But it is not frequent.
comment 8y ago · link · parent
On the act itself, I am in the number of those who think this should be taken extremely seriously and it is good ground for losing the license and criminal charges. Scarring someone's body (against their own will) has been for long (and until a few decades ago) a sign of property and slavery, and although I do not think this was what this surgeon intended, it still must be considered an extreme humiliation. Also, a surgeon's professional position usually entails an important amount of responsibilities and power, so violation of the public's trust in them are very important matter.
comment 8y ago · link · parent
All of this just to have the paper. During reading, you still need to check the Russian original and ask a Russian friend (as Google translator is not necessarily to be trusted on mathematical texts) for some points that make no sense and turn out to be mistranslations. Not to mention the references to other Russian papers from the sixties that could be even more difficult to find.
On the other hand I have to mention that the paper actually contained the theorem I wanted and the proof was reasonably clear. The author also replied helpfully to an email I sent him! So this was definitely worth the effort. I was lucky!
comment 8y ago · link · parent
All of this depends on me knowing what happens inside git and the git insides being rather simple (a hash tree with a handful of object types); I think I would like Mercurial (or any other DVCS) much more if I knew the same about it: can someone suggest places where this is described?
381.
Paperbackup: backup secret keys on a PDF of QR codes(github.com ↗)
2 points · by giomasce · 8y ago · discuss
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
I liked very muche Collapse by Jared Diamond. He discusses some cases of this type, starting from the iconic history of Easter Island.
comment 9y ago · link · parent