by publicfig · 13y ago · 0 comments
Also, this is great. Really a solid interface.
EDIT: I would honestly like to see this scale on desktop, just because it's a pretty great interface for Hacker News.
EDIT 2: Nevermind, realized that it worked by acting as a sidebar on wider monitors. That makes sense.
I haven't figured out how to comment, but I'more of a lurker, so that's fine (it'll keep me from making a fool of myself too much). And there's that initial loading time with a blank, white background that is almost certainly the iPhone's fault.
Swapping over to it now that this is written!
I see this delay on forecast.io as well. It could very well simply be a latency issue.
Looks like no framework was used to build this (except for Zepto, I guess). Total size for JS is 55kb, for comparison Angular 1.0.7 minified is 78kb. CSS adds another 30kb, including the ico font that's base64 encoded in style.css. 115kb for the whole page on a fresh load, on subsequent loads it's only something like 4-5kb. Very nice!
JS is uglified. Libraries takes 55% of file size, and rest is my code.
1. I've done away with a lot of the features the OP has - such
as comments (unless it's Ask HN), time of post and link. This
has made it more lightweight and faster to load on slow mobile
networks in my area.
2. Also, it's only updated twice a day since I actually built
this for myself to stop spending so much time on HN.
3. And since I found myself only reading the front page on my
commute to work, it aggregates all the front page articles into
one nice page instead of opening one article up at a time.
Not to take away from the OP, but would love any feedback on the whole "less is more" approach.Looks like a few [1][2] have already made the efforts to write filtering based on karma score.
Edit: The OP's app is very close to what I want, but instead of limiting to top 10, use a point threshold directly.
1: https://github.com/fractastical/Hacker-News-Filter 2: http://hnapp.com
[1] Wasn't sure of how many people read comments before the article, or read them at all - I stopped when I found that it gave me a biased read, especially on the Show HN type posts.