Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
andreaferretti
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
andreaferretti
9y ago
What about noise cancelling earphones? They should allow to listen to music much less loud - any adverse effect is known?
2.
▲
by
andreaferretti
9y ago
Apparently, according to all the discussion following James Damore being fired, even USA have problems accepting the ideal of free speech fully. I am not sure that Germany is any more illiberal in this respect
3.
▲
by
andreaferretti
9y ago
You may want to try Nim. It is an imperative language with meta programming capabilities, some functional features and an effect system
4.
▲
by
andreaferretti
9y ago
Unrelated, but please remember that not everyone here is a native English speaker. It is hard to make head or tails of your comment with all these abbreviations
5.
▲
by
andreaferretti
9y ago
I think the actual reason why it failed was that it was not Ubuntu at all. When I got mine, I expected to be able to apt-get install everything. The form factor may have been wrong and uncomfortable, but from day 1 I would have access to th
6.
▲
by
andreaferretti
10y ago
Nim has pretty decent interop with C++. In general, though, you are right that C is much much easier to interop with
7.
▲
by
andreaferretti
10y ago
How is Rust type system helpful? If the codegen produces valid Rust, the Rust type system will not give errors. If it doesn't, I'd say it is a bug of the higher level language - and at best the user is going to see a type error of
8.
▲
by
andreaferretti
10y ago
It's not that writing a GC is impossible - of course it is doable. The issue is that objects written in this hypothetical language will always make use of the GC because they do not have lifetime information in the first place. So the
9.
▲
by
andreaferretti
10y ago
In fact, as a compilation target, one wants a language with a lax semantics, not a strict one. This is (one of the reasons) why so many languages compile to C, instead of - say - to C++. Consider this fact for example: many languages make u
10.
▲
by
andreaferretti
10y ago
I was tricked by "A thousand pictures on the kitchen floor, Talked about a hundred years or more."
11.
▲
by
andreaferretti
10y ago
Hi antirez, I think we just have two opposing views about what constitutes simplicity. I agree that Redis has the rare advantage that one can understand a command at a time, and the cheat sheet is essentially all that is needed to work with
12.
▲
by
andreaferretti
11y ago
Can anyone explain the sexual reference? I am not a native English speaker
13.
▲
by
andreaferretti
11y ago
I think Nim would be ideal for that kind of applications, in particular neural networks stuff. But definitely we are not there yet. I try to explain my reasons in this blog post: http://rnduja.github.io/2015/10/21&
14.
▲
by
andreaferretti
11y ago
But this is not at all what you said in the parent post. You said "Rust is in a category of performance that GC languages never reach in practice". This is not a claim about safety. Every time I have benchmarked something, Nim has
15.
▲
by
andreaferretti
11y ago
How does it work exactly? Both languages check things at compile time, but of course in c++ the length has to be known statically. Does idris generate code at runtime for the right size?
16.
▲
by
andreaferretti
11y ago
This is exactly the use case I ran into most often, and I have designed a small library precisely to do these computations without touching the DOM. If you want to have a look, it is on https://www.github.com/andreaferretti&
17.
▲
by
andreaferretti
11y ago
Yeah, the graph chart is buggy, and advertised as such. I have been wanting to improve that for a while, but I did not find the time yet...:-(
18.
▲
by
andreaferretti
11y ago
Thank you for the feedback! Actually, the whole point of the library is to generate shape information based on data, and the actual rendering is left to the user. So the demo is left as an example, and I don't want to add too many feat
19.
▲
by
andreaferretti
11y ago
Also, Nim would be a good fit for those domains. Macros and custom operators allow one to write dsl for numeric and scientific programming, and you have complete control over memory layout. There is a gc, but you can tune it very precisely
20.
▲
by
andreaferretti
11y ago
I happen to find sbt one of the few build tools (together with lein) that are decent enough. Do you have any particular reason for your dislike?
21.
▲
by
andreaferretti
11y ago
For those who want to try it in a more modern context, there is this recent port of spitbol patterns for Nim: https://github.com/Henry/Nimbol
22.
▲
by
andreaferretti
11y ago
Yeah, I never noticed this particular reference, not knowing the poem itself
23.
▲
by
andreaferretti
11y ago
I guess that apart from the "Divina Commedia", it could be "L'infinito" by Giacomo Leopardi. But "If" is pretty well-known, as well as many things by Shakespeare
24.
▲
by
andreaferretti
11y ago
I may be ignorant, but I find weird that this is reported as the most famous poem of the 20th century in America, and possibly the world. In fact, I had never heard about it at all. Honest question: is it that well-known? I don't think
25.
▲
by
andreaferretti
11y ago
Done, thanks
26.
▲
by
andreaferretti
11y ago
For an example of a similar technique in Nim: https://github.com/unicredit/linear-algebra/ If I understand correctly the author remark about the lack of Rust support for value parameters, it seems that it should b
27.
▲
by
andreaferretti
11y ago
Shameless plug: you may want to have a look at my library https://github.com/andreaferretti/paths-js which is made for exactly this purpose. My frustration was that D3 wants to have control over the DOM, but most fram
28.
▲
by
andreaferretti
11y ago
So the author acknowledges the fact tht for many profession, college education is still required, but assumes that his son will get into programming, where it not that needed and hence decides not to save money?
29.
▲
by
andreaferretti
12y ago
Really nice and easy to use! I have added an example to the Paths.js demo where I show how it can integrate with Vivus to provide animation of the generated paths http://andreaferretti.github.io/paths-js-react-demo/
30.
▲
by
andreaferretti
12y ago
Yes and no. In fact, Nim can be used without a GC. Actually the GC of Nim is written in Nim, which certinaly proves the point. Now, it is not really convenient to avoid the GC in Nim, and you certainly do not have the safety features of Rus
More ›