Article View: news.software.readers
Article #148429Parallel processing.
From: Jeff Relf
Date: Mon, 17 May 2004 11:43
Date: Mon, 17 May 2004 11:43
112 lines
6091 bytes
6091 bytes
Hi Tech Zero, Re: How my client will use the XHdr command, not XOver. You suggested, " Expensive ... Your newsreader will be slower and not all news servers support the XHDR command nowadays. ". All the NNTP servers that I use have XHdr. And it is faster, because I use a slow dialup at home. Fewer bytes transmitted means faster downloading. At the university, where I have a megabyte per second Usenet connection and CD-burners, it's still not a big deal ... I won't be using it that much. Re: How I'll be using only the References line to thread, never the Subject line. You commented, " Anon servers completely strip out the references header. " I don't care that much about anonymous posts. You commented, " AOL and similar services [ keep ] only the MID of the message that's being replied to ". That's all that's need to build a thread. As an aside, when my client posts, it will limit the number of MID's to 5 or 6. I'll be sorting on score and the message-number. ( i.e. The order that they appear on the server ) I purge anything older than 5 days, So the date will be mostly used to report how old a post is ( in the list of messages ), expressed in days-hours-minutes from the current time. ( So those numbers would change as time goes by ) You asked, ' Do you plan on "fixing" already broken quotes or will you be leaving them all "untouched" ? ' Yes, but because sometimes characters are missing, ( e.g. Knode ), I think I'll use an an ascii 2 to flag where the old line breaks were. ( i.e. Making them colored, visible, and editable ) Yes, bodies will be editable right in the viewer, no need to launch a new window or anything. Edited or not, the whole thing will appear as a link. ( Launching a link will remove the ascii 2's, of course ) The body will be null terminated, lines will be separated with ascii 10's. Unicode will be converted to ascii, at least at first. Wrapped lines will have ascii 1's in them where they wrap ( removed when posted, of course ). Links will always be launchable, even in drafts. You probably don't care about this, but, I think I figured out how to turn off Win98's cursor, which interferes with my VRAM to VRAM ( GPU ) blts. My client is always in full screen mode with a taskbar, but a Very annoying feature of Win98 is that Windows owns all the messages in the taskbar, I can't see them, yet it is drawing on my window. The solution is to ensure that my window is always topmost whenever it's active. ( so annoying popups won't even be possible ) I must also ensure that my window is always minimized and using GetMessage() ( to cut down on CPU usage ) whenever it's not active. Moving the mouse in the task bar does not deactivate my app, but clicking anywhere in it would ... thus causing my client to minimize itself. So you will ever see an inactive window. Whenever you see it, it is active. No need to ever find a place to click to activate it. I had to do the above because GetCursorPos() in a no-wait event loop is the only way I could track if some portion of the cursor was hitting the taskbar or not. I need to know that so I can pause my painting. ( My painting would interfere with the taskbar's cursor ) All that limits which ( Custom ) cursors I can use under various scenarios. My client draws it's own cursor by drawing the entire window ( VRAM to VRAM ) on WM_MOUSEMOVE events. Other than this problem with the taskbar, it's working quite well. Thanks to GetBltStatus( DDGBS_ISBLTDONE ) in a no-wait event loop, there can never be a delay due to painting, it's just impossible. e.g. Scrolling ( when debugging ) happens just as fast as I can send data to it, and not a millisecond slower. VRAM to VRAM blt's using a GPU is a form of parallel processing.
Technical Details
Message-ID:
<t1ylyejpbv80.dlg@x.Jeff.Relf>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!not-for-mailReferences:
<802a22e30a2a346f0ab6bf7520fd2530@news.bubbanews.com> <irgnc.12959$Hs1.1958@newsread2.news.pas.earthlink.net> <409e3152.29547607@news-server.houston.rr.com> <2g6qkgF52ka5U1@uni-berlin.de> <eD4g#4cNEHA.892@TK2MSFTNGP09.phx.gbl> <409e57aa.2284374@news-server.houston.rr.com> <41s1a0h15n564v8sg9318cp8sbrmlq69ua@4ax.com> <2gca3sF16pepU1@uni-berlin.de> <dfbdc50292e91a464fbdcd136c77769e@news.teranews.com> <40a104b3.69215586@news-server.houston.rr.com> <c7uobt170v@news1.newsguy.com> <40a3d0e6.27012541@news-server.houston.rr.com> <c81i0j0ejl@news4.newsguy.com> <40a48ede.75643749@news-server.houston.rr.com> <d772ef0d5fc38dc146ee38f3fa88efba@news.teranews.com> <40a4c3f9.3459895@news-server.houston.rr.com> <MPG.1b0f61005dd245d39898da@news-50.giganews.com> <40a6191c.1156282@news-server.houston.rr.com> <40a657ed$0$172$892e0abb@auth.newsreader.octanews.com> <1ugxez4dizvb1$.dlg@x.Jeff.Relf> <Xns94EBF2B04BAD0ZeroOne@raven.dragonfur.ca>Show Full Headers
Complete Article Headers
Message-ID: <t1ylyejpbv80.dlg@x.Jeff.Relf>
Subject: Parallel processing.
Date: Mon, 17 May 2004 04:43:08 -0700
From: Jeff Relf <Me@Privacy.NET>
References: <802a22e30a2a346f0ab6bf7520fd2530@news.bubbanews.com> <irgnc.12959$Hs1.1958@newsread2.news.pas.earthlink.net> <409e3152.29547607@news-server.houston.rr.com> <2g6qkgF52ka5U1@uni-berlin.de> <eD4g#4cNEHA.892@TK2MSFTNGP09.phx.gbl> <409e57aa.2284374@news-server.houston.rr.com> <41s1a0h15n564v8sg9318cp8sbrmlq69ua@4ax.com> <2gca3sF16pepU1@uni-berlin.de> <dfbdc50292e91a464fbdcd136c77769e@news.teranews.com> <40a104b3.69215586@news-server.houston.rr.com> <c7uobt170v@news1.newsguy.com> <40a3d0e6.27012541@news-server.houston.rr.com> <c81i0j0ejl@news4.newsguy.com> <40a48ede.75643749@news-server.houston.rr.com> <d772ef0d5fc38dc146ee38f3fa88efba@news.teranews.com> <40a4c3f9.3459895@news-server.houston.rr.com> <MPG.1b0f61005dd245d39898da@news-50.giganews.com> <40a6191c.1156282@news-server.houston.rr.com> <40a657ed$0$172$892e0abb@auth.newsreader.octanews.com> <1ugxez4dizvb1$.dlg@x.Jeff.Relf> <Xns94EBF2B04BAD0ZeroOne@raven.dragonfur.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers,comp.os.linux.advocacy
Lines: 112
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de HbIlWXhfYvgQdQBqS1LsogRUe8Ev025h9qyNPADwTuaxTlE+p0
User-Agent: 40tude_Dialog/2.0.12.1 (880d42c7.65.97)
X-Face: V|9[5IY]/OB15+<DlkA6*rsaeJb?9HnEE@[CAy1koT:N4Ew'*#35g{6z1>}/e:m!6.qw'Kzn@$#""CJQl/Uv"R,&G?sNO"{#LEEnS3lQRnT#Ql#'3ySQ80}u7Q<`+B@;
Y; 81AnK'_PD^fm.3T/<-i~YdZ%Q}b?:-]{Lr#s6.N,r(}
X-Newsreader: Win98 C++