Hacker News new | past | comments | ask | show | jobs | submit | more anti-pattern's comments login

Ah, that makes sense. Thanks for explaining it! This was my first time using SVG. So, what is the best solution? Defining SVG styles in a style tag?


That would work, yes.


Yeah, for some reason Firefox won't show the gradient. Not sure why. In the meantime I made it so it would fallback to a solid color.


jgraham explains it in this comment http://news.ycombinator.com/item?id=5307583


Whoops, it looks like Firefox doesn't like SVG gradients. I'll look into that. Thanks!


Oh I remember seeing that when it came out. Did you take it down?


Yeah, someone from Apple emailed me and asked me to - so I did.


Oh, interesting. Did they give a reason? Was it legal? MacRumors has been doing this for some time, I can't imagine that there's anything illegal about it.


I want all of those things.


I've looked at their data, but I believe I've dropped some things that they consider releases. The whole thing is kind of subjective as to what constitutes a release or not. But no, I didn't just scrape their site. I compiled my own data from a variety of different freely available sources.


Might I ask why you built your own, knowing there was an almost identical offering in place for years? For example, did your different choice of releases cause a statistically significant shift in arrival times? I imagine you've done analysis comparing your approach to theirs.


I built my own because their design, and I mean literally the way they visualize the data, isn't very good. Or rather, it's not as good as it could be. They even updated the design a year or two ago and all they did was give it a coat of paint, rather than rethinking how to best visualize the data.


> I built my own because their design, and I mean literally the way they visualize the data, isn't very good. Or rather, it's not as good as it could be.

I love your approach :) it's very helpful!


That's a great reason! I agree their design sucks and yours is orders of magnitude more usable.

It's just too bad that you have to re-collect the same data. N historically up-to-date data sources for N designs is just unscalable.


Indeed. Maybe I'll post the data on GitHub or something.


You're very welcome :)


Yeah I was trying to decide whether it needed one or not. So far people seem to be getting it, but I might still add one.


Right now I'm just doing a simple average, but I'll definitely starting adding weighting and other ways of influencing the estimate.


Hmm, what OS, browser, and version are you on?


Most likely has to do with not having the font you are expecting (Myriad Pro), as well as different defaults in size in browsers. My sans-serif font that you are falling back to is Droid Sans at 15 font size. The fixed width of the svg you are working with is making the whole area you are trying to fit things in to be too small.

In short: Lack of responsive web design


Mountain Lion + Chrome on a retina MBP.

On FireFox the text is also cut off and the blue bars do not show up: http://imgur.com/CfHWnzJ

Update: Upgrading from Firefox 17 to 19 fixed the issue with the blue bars.


Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: