News for hackers. Stuff that matters.

ryankirkman

Show HN: cdnjs - RSS & Atom feeds for new JavaScript libraries

Hey guys,Now that we host over 300 libraries and regularly receive updates from the community we have added an rss/atom feed for cdnjs.com that keeps you up to date with the latest library additions and updates.The feed is located at http://cdnjs.com/rss.xml and http://cdnjs.com/atom.xmlTry the feed here: http://feedreader.com/myfeeds/add.html#url=http%3A%2F%2Fcdnjs.com%2Frss.xmlIf you have...

( Read More... | 2 comments | 12 points | on HN )
Re:Simple Relational Database Sync on Monday February 04, 2013 @07:37AM (#5163765)
Does the same sentiment hold for a heterogenous set of databases? e.g. Microsoft SQL Server <-> WebSQL
Re:Pushing Nginx to its limit with Lua on Saturday December 08, 2012 @08:58PM (#4893479)
One big thing they do is cache static assets for you at their edge locations. The majority of the bandwidth costs imposed by static images, CSS and JavaScript (assuming appropriate cache settings) should be offloaded onto CloudFlare once you set it up.
Re:Protocol-Relative URLs to Fix Mixed-Content Warnings on Thursday September 13, 2012 @11:43PM (#4519954)
At cdnjs, the homepage shows protocol relative URLs by default. We got the idea from Paul Irish: http://paulirish.com/2010/the-protocol-relative-url/
Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @07:23PM (#4415310)
Once a library is hosted it stays hosted forever.
Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @07:18PM (#4415296)
It doesn't work like that.

The CDN portion is completely independent of the website. The website is really just an index of the files on the CDN.

Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @05:04PM (#4414771)
We'll host any version of any library. It's just that no one typically adds versions of libraries older than we currently host.
Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @08:36AM (#4412381)
We have a very good relationship with Cloudflare. See these releases by Cloudflare:

http://blog.cloudflare.com/cdnjs-community-moderated-javascr... https://www.cloudflare.com/apps/cdnjs

As for Cloudflare's speed, you can see cdnjs's average ping time as measured by pingdom here: http://stats.pingdom.com/4jg86a2wqei0/362854

Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @07:57AM (#4412268)
Yep. We plan on launching the css component our our offering in the near future.
Re:Cdnjs - the missing cdn on Tuesday August 21, 2012 @07:55AM (#4412265)
Cloudflare pays for this. They've been sponsoring cdnjs for around a year now.

As for the security of our system, all javascript files are verified against official sources before going on the cdn. Additionally, we have many library maintainers submitting updates to their own libraries.

Beyond that the only question remaining is our personal integrity. Like any relationship with a third party, you're going to have to decide whether trusting us is an acceptable level of risk. If past performance is any indication of integrity, we have had no security incidents since we began in January 2011.

I think you're looking for an inverse relationship.

e.g. My car has 200hp and can do a quarter mile in 20 seconds. If I then increase my car to 400hp (a 100% increase), let's pretend I can now do a quarter mile in 10 seconds.

Thus, a 100% increase in performance drops cuts my quarter mile (or in this case processing) time in half.

Re:Show HN: Habit List - my first iOS app on Sunday May 20, 2012 @10:49PM (#4001036)
They seem to have a mobile app, as per the screenshot on their homepage. Besides a certificate error, it seems to work fine.

https://m.chains.cc/

Re:Show HN: I love Essential Mixes. So I made this. on Thursday May 10, 2012 @09:20PM (#3957064)
This is the greatest revolution in music listening for me in my entire life. I love electronic music and when I'm coding I want my music to flow non-stop. You can't get that with individual tracks.

I can't thank you enough! Props to helping people discover Essential Mixes.

The Facebook timeline acknowledges that many modern displays have more horizontal real estate than vertical real estate. The design reflects this. It uses much larger visual elements (boxes) than a line of text which means it maximizes its use of both vertical real estate and horizontal real estate.

The other thing you're not considering is that Facebook displays more than just text. If you're displaying images inline as well as text, it's going to be more compact if you interpolate each post in a zig-zag fashion rather than making posts vertically serial.

The example you provided doesn't really illustrate why timeline is bad for a website because it's an example provided in a completely different context.

tl;dr Website design is not command line interface design.

Hi quadrix, Do you have any more promo codes?
Re:Google's CDN is down (404) on Wednesday June 29, 2011 @11:26PM (#2712388)
cdnjs.com (running on CloudFlare infrastructure) is an alternative to Google's CDN. We should have every major script, but if we're missing anything feel free to fork at https://github.com/cdnjs/cdnjs and we'll get it up asap.

Disclaimer: I'm one of the founders of cdnjs.

Older »