+ 507 additions, - 24,624 deletions
github.com
github.com
tomdale started a project in a framework he's comfortable in and said he plans to iterate on the site. Who cares if it's a little slow? It's a dick move to copy the source from Firebug and file a pull request.
This pull request doesn't genuinely help the project.
There are a few vocal people that want everyjs.com to load in a reasonable amount of time in a desktop browser, as well as on their mobile phone arguing against proponents saying that this will not be an issue as sproutcore evolves.
Currently, in the latest chrome on OS X 10.6.7, the site takes a whole second to render and then doesn't even show me any libraries - apparently the json that defines the libraries is empty. I'm leaning towards thinking not using sproutcore for this particular site is a good idea, although it is a great illustration of one of sproutcore's pain points (namely, speed, compression and mobile support).
Can't wait until sproutcore 2.0 is closer to a release candidiate.
Also, I'd like to commend Tom for staying classy in the pull request and not getting into a flame war about the merits SproutCore.
That said, this pull request does highlight one DRY opportunity: git submodules [1]. The jQuery+SproutCore integration here could've been two submodule 'links' rather than 24,000 lines of copied .js library code.
As long as the dependencies are on git and the commit 'version' you're linking to doesn't disappear, you're good.
As long as you link to the version you link to, it won't disappear in your local repo, and you can re-publish that as necessary :)
[1] See https://github.com/bkerley/design-miami-challenge-apr-2011/t... for one using the free http://pages.github.com/ hosting.
Generating a small static HTML page from a JSON object using a multitude of JS libraries is overkill and degrades poorly. Not to mention all the other issues it causes: http://news.ycombinator.com/item?id=2598273
Annotated HTML is the best tool for the job here.
it also means that because the list is JSON, he already has an API of sorts.
when i saw the site i too wondered why it wasn't plain html, but i think the above reasons are legitimate enough.
mostly though, it's just some guys project. who cares if it doesn't load fast enough on your phone?
sstephenson: unless your goal is to publicly embarrass tomdale, there must be something more productive for you to do. You presented your commit in such a way that it makes him look bad, and that phrasing in your pull request appears to be intentional.
> sstephenson: unless your goal is to publicly embarrass
And then immediately in the next sentence, suggest that tomdale is some kind of dog?
> He's clearly not very competent, what is the point in rubbing his nose in it?
He's not a dog. He's a person with feelings. He's also a fellow HNer:
http://news.ycombinator.com/threads?id=tomdale
You disappoint me justin_vanw.
I can't believe I'm posting this, but are you genuinely suggesting that contributing a patch to an open-source project is somehow worse than calling the project's author incompetent (your words) on Hacker News?
I could learn to be more careful about people's feelings regardless. Sorry tom, I don't know you and I shouldn't have commented.
There's no point in jumping down anyone's throat for experimenting with new technologies though. Keep up the classy responses on Github :)