Live data from Hacker News

Raphael.js 2.0 beta release is out - GitHub

github.com

1–10 of 19 posts

Re: Raphael.js 2.0 beta release is out - GitHub

#4
post #2

Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...

It's also difficult to contribute. Because of the one-commit-per-release strategy, Pull Requests aren't accepted (though the changes normally end up in the next release).

Re: Raphael.js 2.0 beta release is out - GitHub

#5
post #2

Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...

Also, a ChangeLog would be great.

Or, for that matter, per-version documentation.

Re: Raphael.js 2.0 beta release is out - GitHub

#6
post #3
post #2

Which is really and genuinely great, except the author is still releasing the code in essentially impossible-to-review code drops: https://github.com/DmitryBaranovskiy/raphael/commit/164c349e...

Yeah. I wish he knew about "Commit early, commit often"...

He does. Also, he doesn't like contributions that much because most of the contributions he gets are (his words) "bad". Dmitry is ultra talented, but some of his opinions are bound to shock a few developers. If interested, see this interview with him on The Changelog:

http://thechangelog.com/post/631899187/episode-0-2-5-rapha-l...

Re: Raphael.js 2.0 beta release is out - GitHub

#8
post #3

Earlier quoted context omitted.

Yeah. I wish he knew about "Commit early, commit often"...

He does. Also, he doesn't like contributions that much because most of the contributions he gets are (his words) "bad". Dmitry is ultra talented, but some of his opinions are bound to shock a few developers. If interested, see this interview with him on The Changelog: http://thechangelog.com/post/631899187/episode-0-2-5-rapha-l...

Thanks!

Re: Raphael.js 2.0 beta release is out - GitHub

#10

round = function (num) { return +num + (~~num === num) * .5; }; What does ~~num do?

~ is bitwise NOT. For a number it returns the ones complement: ~N = -(N+1)

So ~~num I think would return the original value. The only reason I can see would be to coerce it into some kind of number type.

Post reply on HN