News for hackers. Stuff that matters.
Re:OnePage: An Easier Way to Browse Hacker News by crocus on Thursday July 24, 2008 @01:55PM (#255575)
This could revolutionize social news sites. Imagine if the average reddit/digg/slashdot user were to actually read the article he was commenting on first.
Re:OnePage: An Easier Way to Browse Hacker News by tdavis on Thursday July 24, 2008 @04:13PM (#255753)
I am less than confident that it would significantly affect the inanity of the comments.
Re:OnePage: An Easier Way to Browse Hacker News by danw on Thursday July 24, 2008 @07:58PM (#256036)
I'm thinking you could only allow someone to comment or vote after they've viewed the page by doing the :visited css trick
Re:OnePage: An Easier Way to Browse Hacker News by thaumaturgy on Thursday July 24, 2008 @09:12PM (#256122)
Replies to other comments ought to still be enabled, because threads don't always stay strictly true to the subject of the original post.

Otherwise, I think that's a pretty clever idea.

Re:OnePage: An Easier Way to Browse Hacker News by Tichy on Friday July 25, 2008 @05:07AM (#256427)
Presumably you have to be logged in to be able to comment, so it seems easier to just remember what every user has read.
Re:OnePage: An Easier Way to Browse Hacker News by richcollins on Thursday July 24, 2008 @03:42PM (#255690)
I prefer looking only at the information that is relevant to the current task. Having everything on one page reduces the time to switch contexts, but increases the effort required to process information in the current context.

Maybe something that made it easy to switch between contexts while preserving information hiding would be preferable. (keyboard shortcuts perhaps)

Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @03:55PM (#255708)
Good Suggestion. I could create a feature that would hide the news panel when you click on an article link, maybe turn it to a thin orange vertical bar running along the left side? Maybe a toggle preference feature, such as clicking comments above the article expands comments but collapse the article? Definitely things I could work in as user preference choices.
Re:OnePage: An Easier Way to Browse Hacker News by ars on Friday July 25, 2008 @09:40AM (#256583)
Can you also put the list of links in an iframe of the same size as the article pane?

So that the browser window does not get a scroll bar, and instead you have two scroll bars - one for each pane.

And BTW it's quite possible to have it auto size the iframe using CSS. You should not need to have it fixed.

Set:

HTML, BODY { height: 100%; } Then give the two iframes height's of 100%, and add a padding to the article iframe giving you space for the two orange bars, which you put in place with position fixed (either on top, or on bottom, as needed.)

i.e. if each bar is 10px high, then either do padding-top: 20px; (space for two bars), or padding: 10px 0px; (10 on top and on bottom)

Hope that helps.

Oh, also get rid of the padding/margin around the body.

Re:OnePage: An Easier Way to Browse Hacker News by migpwr on Thursday July 24, 2008 @03:10PM (#255658)
This is a keeper... thanks!
Re:OnePage: An Easier Way to Browse Hacker News by noor420 on Friday July 25, 2008 @04:08AM (#256404)
Yes, thanks a lot from me too.
Re:OnePage: An Easier Way to Browse Hacker News by jedc on Friday July 25, 2008 @06:58AM (#256475)
+1 from me... it's great!
Re:OnePage: An Easier Way to Browse Hacker News by dandelany on Thursday July 24, 2008 @09:05PM (#256114)
Nice script! I quite like it... though its too early to tell whether or not it'll become my preferred method of hacker newsing.

One big issue (may have been tarkin2's problem), but an easy one to fix, is that news.ycombinator.org also points to hacker news, but your script is only active on .com!

Another thing: is there any way you could set the height of the open comments/article frame to the height of the browser viewport (minus 25px for the header)? this gets rid of the annoying problem of scrolling all the way to the bottom of an article (or comments), and then having to switch focus to the main frame just to scroll to see the bottom of the internal frame.

Thanks for the helpful script!

Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @09:13PM (#256124)
Thank you dandelany :)

I think I fixed the .org problem. I will take a look at your viewport suggestion soon too.

Re:OnePage: An Easier Way to Browse Hacker News by markdupree on Thursday July 24, 2008 @03:34PM (#255684)
Easy...simple...I especially like the highlighting of the pages that have been read!
Re:OnePage: An Easier Way to Browse Hacker News by nir on Friday July 25, 2008 @01:57PM (#256900)
If anybody's up for it (my own CSS/JS skills aren't much use), you could probably build an online, non-Greasemonkey version of this with an app I've been working on: http://feedvolley.com/

(Basically it lets you take an RSS feed and present it in HTML templates, with whatever Javascript/HTML/etc you want. If you have any questions or need any help feel free to email me at [email protected])

Re:OnePage: An Easier Way to Browse Hacker News by Zev on Friday July 25, 2008 @02:12AM (#256357)
I like the idea a lot. The only thing I'd like to see in it is the option of having the sites stacked horizontally instead of vertically next to each other. Maybe I'm just weird but I find it easier to read something when there's two or three lines per paragraph instead of seven or eight. Less likely to get cross eyed and all..
Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @11:06PM (#256230)
It appears that when there is an article listed with 2 separate links in the title, it then doesn't auto populate the comments panel correctly. Clicking on the comments link for the comments you wish to read works properly still.

Ill get it fixed right away.

Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Friday July 25, 2008 @12:35AM (#256304)
Fixed the comments panel bug. The comments panel should load correctly for each article, even after clicking through "More".
Re:OnePage: An Easier Way to Browse Hacker News by tarkin2 on Thursday July 24, 2008 @04:32PM (#255786)
Help! I installed it, even restarted ff3, and it displays when i right click on the monkey, but i don't see a change... i'm on 1024x748 if that makes a difference.
Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @04:40PM (#255797)
hu, I'm not really sure why it wouldn't work. As far as external resources, it pulls jQuery off of the Google AJAX Library CDN. Maybe something is blocking it from getting the jQuery script?

Did you edit the screen size preference in the code? Maybe an extra character got tacked in there or forgotten.

HN community, any ideas?

Re:OnePage: An Easier Way to Browse Hacker News by AbgRhyre on Thursday July 24, 2008 @05:37PM (#255883)
Most likely NoScript. I had this same problem when I installed it.
Re:OnePage: An Easier Way to Browse Hacker News by tarkin2 on Friday July 25, 2008 @05:10AM (#256429)
You're right. NoScript was blocking googleapis.
Re:OnePage: An Easier Way to Browse Hacker News by dmix on Thursday July 24, 2008 @03:57PM (#255711)
I like it, I'm definitely going to use this.

The comments button at the top didn't seem to work on every page.

But works good none the less.

Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @04:02PM (#255723)
Yeah, I noticed that after click on the "More" link and browsing the second page of articles, that I ran into some problems with the comments bar. Sometimes it takes clicking on the comments link for the article. I will look into fixing this.
Re:OnePage: An Easier Way to Browse Hacker News by SomePoorSchmuck on Thursday July 24, 2008 @04:27PM (#255778)
Your willingness and enthusiasm to improve on this is greatly appreciated. I'm excited to see the final product!
Re:OnePage: An Easier Way to Browse Hacker News by truebosko on Thursday July 24, 2008 @02:10PM (#255593)
That is very cool. I always enjoy reading the comments of the article after I read it and this makes it a bit easier. I'll try it out
Re:OnePage: An Easier Way to Browse Hacker News by Rain0620 on Friday July 25, 2008 @12:05AM (#256275)
Great idea, this makes it a lot easier to go from one article to the next. I'll use it, thanks tdupree!
Re:OnePage: An Easier Way to Browse Hacker News by daniel-cussen on Thursday July 24, 2008 @09:37PM (#256149)
Feedback: color of header is set to orange by default. Should match header.
Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Friday July 25, 2008 @12:37AM (#256306)
Could you clarify what you mean?
Re:OnePage: An Easier Way to Browse Hacker News by graywh on Friday July 25, 2008 @10:39AM (#256646)
Once you get enough karma, you can change the color of the orange bar at the top of HN.
Re:OnePage: An Easier Way to Browse Hacker News by markbao on Thursday July 24, 2008 @06:36PM (#255937)
It's too bad this doesn't work in Safari with GreaseKit plugin.
Re:OnePage: An Easier Way to Browse Hacker News by tdupree on Thursday July 24, 2008 @07:56PM (#256034)
I'll look into what's required to make that work.
Re:OnePage: An Easier Way to Browse Hacker News by mcescher on Thursday July 24, 2008 @03:58PM (#255712)
Dang it, I had this same idea a while back, except with pre-loading the pages so you can mouseover titles on the left and the story instantly pops up on the right.

This would help get through Reddit way faster -- just slowly move the mouse downward and zoom through all the [PIC] and misleading title submissions.

Re:OnePage: An Easier Way to Browse Hacker News by agentbleu on Friday July 25, 2008 @05:58AM (#256457)
what about split view, this seems very similar and no one has mentioned that?