Live data from Hacker News

Spin.js, a pure JS spinner

fgnass.github.com

31–40 of 70 posts

Re: Spin.js, a pure JS spinner

#31
post #26
post #3

A spinner generated from http://www.ajaxload.info/ is 673 bytes. The minified javascript from this is ~3K. I suppose the trade off is features and flexibility, but I don't find myself needing much out of my ajax spinners.

Also keep an eye on: http://www.w3schools.com/html5/html5_form_input_types.asp

Please don't link to w3schools. Thanks http://w3fools.com/

Re: Spin.js, a pure JS spinner

#32
Tested it on my iPhone 3gs - after some scrolling around and zooming (trying to reach the controls) the spinner "locked up" - it's no longer spinning, every bar is simply pulsing together in time, like a luminescent jellyfish.

I wonder if this could happen in a regular browser, too?

Re: Spin.js, a pure JS spinner

#34
post #30
post #25

Earlier quoted context omitted.

Doesn't that defeat the purpose, though? Progress indicators are designed to make you think things are going faster than they are. If you want to display accurate information, why not just display it?

"Progress indicators are designed to make you think things are going faster than they are." Says who? I think progress indicators are intended to communicate more-granular details about the true progress towards some goal ... hence their name.

That doesn't even pass the sniff test. What progress indicator can you come up with that provides more or better information in the same space than "95% loaded" or "10.7/75MB of files copied"? Why do you think progress bars so frequently do not include that straightforward information?

It's a scam. It's a nice scam, of course, since it makes computers seem faster, and that's most of what really matters, but a scam nonetheless.

Re: Spin.js, a pure JS spinner

#36
post #31
post #26

Earlier quoted context omitted.

Also keep an eye on: http://www.w3schools.com/html5/html5_form_input_types.asp

Please don't link to w3schools. Thanks http://w3fools.com/

The w3schools site provides an excellent overview of the new input types and there browser support in this case. So maybe next time please don't link to w3fools (stupid site imho) but provide a better link.

Re: Spin.js, a pure JS spinner

#37
post #34
post #30

Earlier quoted context omitted.

"Progress indicators are designed to make you think things are going faster than they are." Says who? I think progress indicators are intended to communicate more-granular details about the true progress towards some goal ... hence their name.

That doesn't even pass the sniff test. What progress indicator can you come up with that provides more or better information in the same space than "95% loaded" or "10.7/75MB of files copied"? Why do you think progress bars so frequently do not include that straightforward information? It's a scam. It's a nice scam, of course, since it makes computers seem faster, and that's most of what really matters, but a scam no…

Progress bars are what you make them. There are many accurate progress bars in use(Windows 7 file copy, YouTube progress bar). They are not inherently designed to mislead.

Re: Spin.js, a pure JS spinner

#38
post #34
post #30

Earlier quoted context omitted.

"Progress indicators are designed to make you think things are going faster than they are." Says who? I think progress indicators are intended to communicate more-granular details about the true progress towards some goal ... hence their name.

That doesn't even pass the sniff test. What progress indicator can you come up with that provides more or better information in the same space than "95% loaded" or "10.7/75MB of files copied"? Why do you think progress bars so frequently do not include that straightforward information? It's a scam. It's a nice scam, of course, since it makes computers seem faster, and that's most of what really matters, but a scam no…

It's not about better information, it's about speed of information. You can look at a progress bar and instantly gauge the progress of your task. "10.7/75MB copied" is more precise, but of less intrinsic value--I have to calculate in my head where the halfway point is. To get a percentage in my head out of those numbers is even harder.
Post reply on HN