Article View: news.software.readers
Article #255953Re: Can i update you on the online reader i'm creating?
From: Sandman
Date: Fri, 01 Nov 2013 18:15
Date: Fri, 01 Nov 2013 18:15
197 lines
10504 bytes
10504 bytes
In article <eaSp0sb3-3sNYimCBK2V3N8L1@narkive.com>, test <pnppdviu-test@user.narkive.com> wrote: > >It actually looks to be quite slick, not very "pretty" yet, perhaps, but > >functional. > > Slick? Are you talking about the colours? I think that it's not "pretty", > but it really is functional. No, I meant "slick" as in "cool" or "smooth" slick adjective 1 done or operating in an impressively smooth and efficient way > >It seems it lists all posts, greying out those you have read, are you > >range.-bundling them like in a normal newsrc or are you keeping track of > >the read status of each and every post by the user? > > I keep track of the read status of every post, both on the local > and server side (i push the read status to the server once in a while, so > that it's updated across multiple computers if that's your case). Seems inefficient as time progresses, and you'll have tens of thousands of data points to compare against when looking at any given batch of articles. Hopefully, you're indexing it and joining in the dataset when collecting the threads But it can be quite the staggering amount of posts. Start indexing some top 100 usenet groups today, and you'll probably end up at 100,000 posts in a couple of weeks (just this group has 282,389 posts in the spool). Now, if you have 1,000 users who incidentally read all these groups (just to keep the math clean) you'll have 1,000 * 100,000 posts in the stats DB, that 100,000,000 - or one hundred million - posts in the DB, for only 1,000 users. The old-fashioned way of doing it, and the way it's been done in the .newsrc file for decades, is that you have ranges set up. So the file may look like this: news.software.readers 0-282389,282388,282387 What that means is that the user has read (or marked read) ever single post from the group from the start of the spool (or DB in your case) to the end - *except* two articles which are still marked as unread. This hinges on the ability for a user to mark a group read, or mark all read, or "catchup" as it's usually called. Basically, you open the news group, and get post 282380 to 282389 for instance, 10 posts. You read 8 of them, then there is still two left unread, when your software updates the newsrc, those are added to the back of the list. (disclaimer: It could be the other way around - that the two extra ID's are also read, I actually don't remember, it doesn't matter). Yes, this can become unwieldy after a while, but if you know this, you also know what posts to fetch from the DB since you don't have to fetch read articles. Long reply, sorry :) > >It also seems to list threads in one view, opening them in an hierarchical > >view to the right, but how does it show me the last unread post if it's > >buried in 23 layers of hierarchy? > > It simply does so. Every parent is closed if read, and every unread post > is "open" by default if unread. This is what happens in an example i > created for you: > http://i.imgur.com/KB5A4rd.png Right, which means that the first unread message can be "open" off-screen, and all I see is 40 levels of closed posts, because the only unread one is open, but doesn't fit in the view... It could be a problem. > >> Demo #3 (first draft (bottom-left) of my message-navigation system, i hope > >> to move forward from the usual threading or "metro" (macsoup) view) > >> http://i.imgur.com/O3waqVs.png > > >Not sure what the radial thing to the left is supposed to be? > You start from the center, and you can see the replies to the first post. > If you read them, they become opaque. You can then follow how the thread > evolved using that thing Hmmm, ok. That's a bit nifty I suppose. It's a graphical view of the entire thread. After some 500 replies to the thread, it would probably become quite useless (and resource-demanding to create). How do you make it as it is now? > >Also, the threading is a bit... non-descript. It's part of the entire "not > >so pretty, yet" part I suppose, but it all looks very flat and... with tons > >of lines to the left side. > > The lines are there to make it more evident to who what reply is for, > it's something reddit-style. I guess that i will have to revisit them. Yes, I understand that. But I don't like it :) > >My approach was to have a list view and a read view, but I can certainly > >appreciate seeing more posts at the same time. But still, the way I would > >want to do it is, in ascii form (monospaced font needed): > > > >First mode, no group selected: > > > >+-------------+---------------------------------+ > >|Grouplist |Welcome | > >| | | > >| | | > >| | | > >| | | > >| | | > >| | | > >| | | > >| | | > >| | | > >+-------------+---------------------------------+ > Yes, that's what i also want to do. If nothing is selected, i would show > some introductory info. > > >Group selected, groups is now a popup where I can select any other group: > > > >+-------------+---------------------------------+ > >|My groups |Post | > >|-------------| | > >|Threads | | > >| | | > >| | | > >| | | > >| | | > >| | | > >| | | > >+-------------+---------------------------------+ > Collapsing the groups as a popup or pop-under is an idea to spare space, > yes. However given the really little space stolen by this group list as > of now, i don't really thing it to be a good idea. Well, when reading one group - I have no interest in letting all my other groups take *any* space really. To each his own, of course. > It's around 150px when it's large (it's user-resizable). A minimum of > 1000px wide monitor is recommended with this interface (1024x768 and > above), so 150px is really trascurable. It's really good to have the list > always available imho. MOnitor sizes don't concern me - my web browser is never maximized. But, it's probably around 1000 pixels wide at any given point. > >And, if a thread contains more than one post: > > > >+-------------+-----------+---------------------+ > >|My groups |Posts |Post | > >|-------------| | | > >|Threads | | | > >| | | | > >| | | | > >| | | | > >| | | | > >| | | | > >| | | | > >| | | | > >| | | | > >+-------------+-----------+---------------------+ > > I'm sorry, but i don't think to be a good idea. We are all used > to scroll up-down to see more content, not from left to right. This is how pretty much all news clients displays it though. I don't know of any news client that mixes the list with the content (other than maybe Google Groups - but everyone hates Google groups). You have one group view, one list view (which can be threaded) and one article view. The ability to have one post in one view makes it easy to create a link directly to that post. If your software gives threads unique ID's (which it should) then the URL could be: /reader/news.software.readers/<thread-uid>/<post-uid> (not mID) Great for linking to that one post. Google Groups moved away from this, unfortunately, and now it's one big mess. > Also, almost every thread has more than one post. If one thread has > less than one post, it's usually not worth caring (and probably spam). Huh? All new threads have one post, this one that you created now had exactly one post until I replied to it, you know. :) > Thanks for the feedback, I'm sorry for the "radial thing" being a mess > as of now, but i think you will like it once that you see it working ;) It's a nifty idea, could be useful. I like it better than the "tree" idea. Hopefully it has some useful "popup" information when mousing over it -- Sandman[.net]
Technical Details
Message-ID:
<slrnl77rtk.po3.mr@irc.sandman.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!et7no6151350wib.1!news-out.google.com!ft6ni1448wib.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<eaSp0sb3-ik4O4rDHIGinpvmT@narkive.com> <slrnl77cdm.ovp.mr@irc.sandman.net> <eaSp0sb3-3sNYimCBK2V3N8L1@narkive.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnl77rtk.po3.mr@irc.sandman.net> Subject: Re: Can i update you on the online reader i'm creating? Date: Fri, 01 Nov 2013 18:15:15 +0000 From: Sandman <mr@sandman.net> References: <eaSp0sb3-ik4O4rDHIGinpvmT@narkive.com> <slrnl77cdm.ovp.mr@irc.sandman.net> <eaSp0sb3-3sNYimCBK2V3N8L1@narkive.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!et7no6151350wib.1!news-out.google.com!ft6ni1448wib.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail X-Received: by 10.180.210.242 with SMTP id mx18mr1756072wic.6.1383329716427; MIME-Version: 1.0 Newsgroups: news.software.readers Lines: 197 X-Trace: individual.net WJsxBDxE2xyBgSBHKgxYpgOBkzGZiSb5xBE56eCK86TKmRpPg= Cancel-Lock: sha1:KbMlW0Jxgdl3MkL+iPIxg8ZB2Gg= User-Agent: slrn/pre1.0.0-18 (Linux) X-Original-Bytes: 10200