News for hackers. Stuff that matters.
Re:Flotr2 : a library for drawing HTML5 charts and graphs by simonsarris on Wednesday May 16, 2012 @10:47PM (#3985121)
Oh dear. 100kb is bad for this sort of thing? Does anyone know if that's a commonly held view?

I've been working on a Canvas library for full-powered diagramming for a year and a half and it currently weighs in at 597kb minified. (private alpha going on right now, so its nearing final size)

It's super awesome and covers an enormous amount of enterprise diagramming needs like customizable nodes, links, layouts, an undo manager, data binding, models, overviews, events, commands, tools, you get the idea.

But do you think people will reject it based on the size? Do you think not having a slimmer version would be a deal breaker?

Re:Flotr2 : a library for drawing HTML5 charts and graphs by zmmmmm on Thursday May 17, 2012 @03:12AM (#3985844)
> Oh dear. 100kb is bad for this sort of thing? Does anyone know if that's a commonly held view?

Not at all. For what you are actually getting 100kb is awesome. However I like to develop really light pages especially for mobile. It's not even all about download size, mobile browsers can bog down even just parsing and keeping JS in memory.

Re:Flotr2 : a library for drawing HTML5 charts and graphs by heyitsnick on Thursday May 17, 2012 @06:12AM (#3986252)
Just the core of Google Charts if 150kb. 100kb seems light to me and certainly not a deal breaker. But grandparent question is still a good one, is it possible to slim it down if you just use one chart? Probably a common usage is just to have one or two graphs of the same type on a site.
Re:Flotr2 : a library for drawing HTML5 charts and graphs by vidar on Thursday May 17, 2012 @07:45AM (#3986500)
Any chance for getting into the alpha?
Re:Flotr2 : a library for drawing HTML5 charts and graphs by gringomorcego on Wednesday May 16, 2012 @11:17PM (#3985205)
Well it only matters if it's going to get loaded a bazillion times. I mean, if you're focusing on something that's really good at a small domain, than I don't think you have anything to worry about. People keep optimizing crazily based on the assumption that it's going to be everywhere, which seems to be a bit overly optimistic.