Live data from Hacker News

List.js

listjs.com

41–50 of 90 posts

Re: List.js

#42

This is more in the aggregate, but what is considered best practice when loading JS scripts in a page in terms of sum-total size? This script (looks cool, btw) comes in at 7k. It seems very easy to me to add "7k here, another 7k there" and next thing you know your page needs to go on a diet. Question is: what's the threshold that everyone follows?

I think more important than script bandwidth is # of requests.

As long as you combine your scripts, and use Google's APIs to load the cached version of common libraries like JQuery and JQuery UI. You could easily be using 10 of these libraries and still be wayy ahead of the curve as far as bandwidth is concerned.

Re: List.js

#43
post #5

Earlier quoted context omitted.

lol.. hn is on the list.

The screenshot is of an older version of HN. pg, Did the change occur as a result of showing up on Contrast Rebellion? There's a fair amount of merit to downvoted comments having their contrast lowered.

I hate that, personally. I don't always have to agree with whoever downvoted, or sometimes I'm just curious about what it said.

Especially the lowest contrast, after several downvotes, that's just stupid, because it's pretty much unreadable unless you select the text. So you know there's text, but you can't really read it, then why show it at all?

Re: List.js

#44
post #36

I only realized there were examples on the front page after visiting HN. They're completely below the fold for me (1440x900). The examples page had a similar problem. The examples (pretty close to the fold) looked like comments. I went to read the comments, seeing if anyone had suggested live examples be put on the site. The contact list example won't let me add contacts if I click "edit" on one row, then delete that…

Good point about the fold and the name. I added the name to the menu and maybe I will make the logo smaller.

I also added a note about that the contacts-example could contain bugs. My purpose with the example is the show the possibilities with add(), values() and remove(). There fore I have tried to minimize the amount of code (and there by some functionalities). But I will of course fix real bugs if there are any.

The Documentation-link now leads to the readme!

Thanks for your input!

Re: List.js

#45

Looks a lot like quicksand[1] without any of the fancy effects. Or am I missing something? [1] http://razorjack.net/quicksand/

It looks like quicksand doesn't have text search, and is also about twice the size (14KB).

Re: List.js

#46
post #4

kinda neat...but...you need to read: http://contrastrebellion.com/ and redesign your site...easily the biggest violation of my eyes ever.

The list.js is completely and easily readable.

Re: List.js

#47
I'd like to see something like this for Backbone collections, e.g. it would take a query on model attributes and generate a subset of the original collection. Then any views (not just lists) tied to this subset would update automatically.

In fact I think with _.fiter() you could probably do this in a few lines.

Re: List.js

#48
post #45

Looks a lot like quicksand[1] without any of the fancy effects. Or am I missing something? [1] http://razorjack.net/quicksand/

It looks like quicksand doesn't have text search, and is also about twice the size (14KB).

The filter by type is actually a text search. But filter by function is always more general and powerful.
Post reply on HN