Better HN
topnewbestaskshowjobs
Log inSign up

pathsjs

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

Submissions

comment 9y ago · link · parent

Right. You still need docker for that, though

comment 9y ago · link · parent

For one thing it is a single binary, which is much easier to handle than, say, jekyll, for people that do not use ruby

comment 9y ago · link · parent

1) Last time I tried it was reasonably fast for a dynamic language - somewhat slower than javascript (V8) but faster than python (cpython) to give you a ballpark

2) Yes, but ou will not use native widgets. The way you write applications is: you write code by modifying the behaviour of objects in the Pharo application (which is your editor, debugger, GUI, version control system and so on), then you strip off the parts you don't need (such as what you used to write the application in the first place). Hence you will probably use the default Pharo widget system (take a look at some Pharo screenshots to get an idea)

3) Last time I checked it was planned, but there was nothing yet

comment 9y ago · link · parent

It surely is not avaiable on mine. Maybe it's a local thing?

comment 9y ago · link · parent

In fact I tried on Chrome and it seems to work there. Not sure what is going on in Firefox

comment 9y ago · link · parent

Apparently, books written in Pollen do not support scrolling (or it's just me? I am using Firefox on a Mac)

comment 9y ago · link · parent

Production teams at great companies seems to assume this is a Phd in something applied. Theorical Phds exists as well (e.g. pure maths)

comment 9y ago · link · parent

I have been doing mathematics up until a couple of postdocs - and based on first hand experience I think that the story of young mathematicians is mostly a myth.

Maybe people in their 60s were not at the center of research, but I would say that the field was dominated by people in their 40s (certainly not by 20-something).

I cited the Fields medal, because their artificial limitation on age is one of the first things that comes to mind when talking about the subject

comment 9y ago · link · parent

I would question whether this is actually true. Stats on Field medalists have to be taken with a grain of salt, given that it is awarded at 40 years top in the first place

comment 9y ago · link · parent

You can test it against https://unicredit.github.io/cello/

comment 9y ago · link · parent

Definitely not ELI5

comment 9y ago · link · parent

Well, these are mutable, but only in the ST or IO monad - which is a guarantee, but at the same time it is not quite the same thing. You cannot just accumulate state by mutating some stuff, then in a separate part of the program mutate it again.

Which is intentional, of course, but quite opposite to the imperative mindset.

About {#- Language Strict #-}, thank you - I was not aware of it.

I think the first example in this post https://markkarpov.com/post/migrating-text-metrics.html makes it clear that, while one can program in imperative style, it is not at all natural, and it is going to introduce as much boilerplate as, say, trying to program in functional style in Java 6

comment 9y ago · link · parent

Yet there are not many large codebases in languages with HKT, and even those which are there (mainly big Scala projects) do not use HKT

comment 9y ago · link · parent

Don't know... mutable collections? A way to make sure things are evaluated without writing seq every other line?

comment 9y ago · link · parent

Actually I am not an expert at all, my field of study was algebraic geometry

comment 9y ago · link · parent

I think it is an elliptic equation as in elliptic partial differential equation https://en.wikipedia.org/wiki/Elliptic_partial_differential_... (the simplest one being the Laplace equation, which is satisfied by harmonic functions).

As far as I know, there is no direct link between elliptic PDEs and elliptic curves.

Elliptic PDEs are called like that because the coefficient in the second order term look like those of the equation of an ellipse (as opposed to parabolic or hyperbolic PDEs)

Elliptic curves take their name because they were first studied in the context of elliptic functions, which are certain integrals that arise in computing the arc length of an ellipse. Even then, the kind of elliptic curves used by number theorists are generalizations where the algebraic form of the curve is the same, but the field of coefficients is a finite extension of the rationals (while the first appearance was with complex numbers). There is a relation between the two, but in general the study of the curve over the complex field only tells part of the story.

I am not aware of any more direct relations, but it would be fascinating to learn that there is something that relates them!

comment 9y ago · link · parent

How does Perelman proof involve elliptic curves? I thought it was about properties of the solutions to the Ricci flow equation, hence more of a difficult problem in PDE. I have no clue where elliptic curves would arise

comment 9y ago · link · parent

I tried to look for some math topics, such as "harmonic analysis", "lie algebras" and "model theory" - unfortunately none of the matches were relevant for any of the queries

comment 9y ago · link · parent

The AST of Nim is a simple tree, the only thing is that the nodes of this tree are tagged with a kind that represents the kind of syntactic element, since the language is not homoiconic

comment 9y ago · link · parent

Nim and Scala are not homoiconic, yet they both have true macros

comment 9y ago · link · parent

Npm and many other package managers support custom repositories just fine

comment 9y ago · link · parent

If you want a little more customizability, make sure to try https://www.madoko.net/

comment 9y ago · link · parent

Yeah, I know, I don't want to use docker. The problem is that C and C++ offer no real option in this camp. I'd be happy with anything that resolves and download dependencies, builds them locally (using CMake?) and adds the correct headers and library dir configurations to my project. But I could not find anything that really works

comment 9y ago · link · parent

The problem is that it does not manage and version dependencies for you. Say I start a new C++ project where I want - say - use ZeroMQ and also Folly to parse JSON. Where do I start? Should I install ZeroMQ and its headers globally? What if the version changes? Will it conflict with other system libraries? Well, better start using Docker. What if the version I need is not in the Ubuntu repositories yet? I need to add to the dockerfile instructions to download and install the dependencies... you see, things get out of hand real fast

comment 9y ago · link · parent

I feel the opposite. There's no shortage of startups trying to serve you every kind of food on the planet quickly and cheaply, but more often than not the enjoyment is in actually going out and spending some time at the restaurant or preparing a nice dish on your own

comment 9y ago · link · parent

Linking to external C libraries is trivial. If the library is written in C++ and does not expose a C api, things can become much more difficult

comment 9y ago · link · parent

The point is that many technical users do not install custom versions of Android, though. We all agree on non technical users, but changing Android version is still more complex, to the point that many people comfortable with upgrading a desktop will not mess with their phone

comment 9y ago · link · parent

Depends on the country. In Italy, Netflix cannot distribute house of cards because it sold the rights to do so to sky

comment 9y ago · link · parent

I think you mean that usually testing monoliths is easier (no network and so on) but I am not sure, can you clarify?

comment 9y ago · link · parent

For IQ, in fact, I agree. That one accepts obesity as normal is telling (not everyone here is American, you know?)
12345
8