Hacker Newsnew | past | comments | ask | show | jobs | submit | niggler's commentslogin

Now TSLA is up 21% (67.90 last trade)


What happened to the original title "Unreal JavaScript"? The biggest focus of the article is emscripten, not asm.js.


Retina macbook pro early 2013, chrome 26. Zooming some of the plots is noticably slow (and zooming out of the Hopf Bifurcation plot occasionally causes chrome to stop responding)


Cool, thanks. We could probably tone down the size of our demos.


How does this compare to raphael (http://raphaeljs.com/) ?


From my understanding Raphael is specific to the SVG context. Two.js is renderer agnostic, you can choose whether it draws in SVG, canvas, or webgl. This is one of many differences between the two.


On the contrary, Raphael is an abstraction on top of SVG and VML (Microsoft's vector format). It's quite useful when you have to support IE.


>Raphael is an abstraction on top of SVG and VML

Still specific to vector graphics rendering.

So not "on the contrary", but "to be exact".


"Well, actually..."


I did a whole diagram editor in Raphael. In the end we had the client installing ChromeFrame because there are still some different behaviors in IE.


Rapahel does SVG but most importantly it also renders VML when SVG is not supported by the browser, as a result it supports IE6+ unlike two. (don't get me wrong I still think two is great)


Raphael is SVG or VML (for IE <9)


Thanks for the clarification!


Raphael has no support to work with groups of elements.


Raphael supports sets of elements:

http://raphaeljs.com/reference.html#Paper.set


Not the same - e.g. rotating a set of elements causes each individual element to rotate around their individual centers, rather than causing the group to rotate around a central pivot.


Pseudo-Grouping can be made in Raphael. However each elements gets transformed one by one. At 100+ elements, things get very laggy.


"... will we have to endure over the next month"

So long as people click on those pages, everyone with even the most minute point will write to their hearts' content. I'm surprised that this page didn't have a million ads on it


There are proper keyboards for the ipad (this is being typed on a logitech ultrathin keyboard ipad cover)

I haven't tried the surface version of office, but the web versions of office definitely lack features compared to the desktop versions (for example, array formulae)


I wish licensing was emphasized more in this discussion.

Including a license is the #1 reason myself and many other people stray away from code on the internet. I won't touch a project if it's not stated properly.

And to be clear, just writing that your project is MIT licensed or sticking it in a package.json or making a small remark in your README doesn't cut it. You need to follow the terms of the license you wish to use (my comment on the matter: http://blog.nig.gl/post/48848761220/just-saying-something-is...)

(always a good read: http://www.codinghorror.com/blog/2007/04/pick-a-license-any-...)


I'm curious - have you been burned by issues with licenses in the past? I've never had licensing affect me in any tangible way and so they are really more of a vague theoretical, and thus low priority, concern for me. But I am vaguely aware that this is theoretically the wrong position to have while yours is the right one.


> I'm curious - have you been burned by issues with licenses in the past?

If you count "not being allowed to use $LIBRARY because your company's lawyers won't let you use improperly code", then this is incredibly common.

The alternative scenario - using code released under an ambiguous license and then later getting sued for it - is much less common with large companies simply because good legal teams won't let that happen (see the above scenario).

I'm sure there have been examples of it, though - I know I've heard of those stories myself, even; I just can't think of them at the moment.

Unfortunately, it seems that most FOSS code on Github is not actually properly licensed: http://www.theregister.co.uk/2013/04/18/github_licensing_stu...


It's better to be safe than sorry, as the saying goes. I've never been burned personally. I'm also pretty sure that anyone working for a large software company is warned about using third party code or snippets found on expertsexchange or stackoverflow or random blogs.

Normally people are well intentioned, but sometimes you stumble upon repos with very strange licenses (for example, a javascript repo that has operating system restrictions https://github.com/stephen-hardy/xlsx.js/issues/8 ).

It's usually not of a concern for most people working on small projects (after all, another party has to notice and then decide to take action), but if you are trying to enter an industry with a highly litigious incumbent then you should make sure your ducks are in a row first.


That all makes perfect sense. I think I misread your original comment somewhat - I read it as "licenses are the #1 thing I consider when evaluating projects", rather than "of the projects I decide not to use after evaluating, licenses are the #1 reason for that decision", which isn't the same thing at all.


When my company was getting aquired we sent them the license details of some 50 projects as part of the DD, the lawyers emailed back and said to only include licenses to things we that were either not open source or that were substantial to the tech stack. SciPy, NumPy, Python, and GNU/Linux was all that was sent.


That codinghorror.com article is great and is a must read for any developers on the fence about attaching a license to their open source projects. I have to admit I was feeling both awkward and douchey debating whether I should attach a license to a few miscellaneous projects that no one may ever even see.

"That's ironic, considering the whole reason I posted the code in the first place was so other developers could benefit from that code. I could have easily avoided this unfortunate situation if I had done the right thing and included a software license with my code."

Also, a nice summary of various licenses. Thanks


You're completely off on this subject. The copyright holder can do whatever he wants with it - including releasing it under multiple, different licenses. The onus is on the licensee - a person who obtains the licensed code, to honor the license given to him. It's the responsibility of the licensee to comply with the terms of the license and republish whatever needs republishing when (if) he redistributes the code.


None of your statements contradicts points from my comment, my post, or the coding horror post. If you are releasing code and not putting in a license or doing so improperly, don't expect others to use it. CH focused on one facet (missing a license) while I focused on a different facet (how to add a license properly)


> And to be clear, just writing that your project is MIT licensed or sticking it in a package.json or making a small remark in your README doesn't cut it.

My point is that it does cut it. It's up to the licensee to include the license, not the copyright holder. There is nothing improper about specifying the license and not including it in its entirety. That's just your personal interpretation of it, that has nothing to do with copyright law.


Unfortunately, the situation has only gotten worse in 2013


    set -o vi
sets vim bindings for bash (and there's a similar thing for the libreadline)


you have changed my life


aka:

    echo 'set -o vi' >> ~/.inputrc
And you no longer need to have it in your bashrc at all any longer because bash uses readline.


There are many americans working at medical device companies that will be affected by the 2.3% medical device tax. Zimmer, for example, cited the medical device tax as the reason for firing a thousand workers a few years ago.


I don't know that case. Normally, such claims are a lie (using an opportunity to reorganise the company to exploit the workers more) and it seems highly unlikely that 2,3% on anything could lead to that. So the margin before was that thin that the tax lead to thousand workers being more expensive than productive? That is highly unlikey, especially with medical device companies.

And besides, it doesn't invalidate the ethical point that it is right to privide medical insurance, even if true.


To clarify: it is an excise tax and applies to the _gross sale price_, not the profits (so even if the division runs at a loss, they still have to pay). http://www.irs.gov/uac/Medical-Device-Excise-Tax:-Frequently... I'd agree with your skepticism if it were affecting net (after employee salaries etc).

> And besides, it doesn't invalidate the ethical point that it is right to privide medical insurance, even if true.

Your original point was "There are no good reasons to be against the Act", so my response was pointing to a reason why someone would be against the act: I'm pretty sure that being laid off due to a regulation is a pretty good reason to be unhappy


> To clarify: it is an excise tax and applies to the _gross sale price_, not the profits (so even if the division runs at a loss, they still have to pay). http://www.irs.gov/uac/Medical-Device-Excise-Tax:-Frequently.... I'd agree with your skepticism if it were affecting net (after employee salaries etc)

AKA a sales tax. Which don't generally lead to broad-scale layoffs when they're imposed. Did California have massive layoffs when they raised their tax on everything in the entire economy in January? How about when Canada introduced a brand new 7% across the board sales tax in 1991?

As a business, the standard way of responding to that kind of tax is to raise your prices correspondingly (to an appropriate level set by your supply/demand curves of course).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: