Article View: news.software.readers
Article #148364RRR_Puppy.
From: Jeff Relf
Date: Sun, 16 May 2004 11:45
Date: Sun, 16 May 2004 11:45
130 lines
6648 bytes
6648 bytes
Hi Jarrod Cifer,
Re: The development of my new multi-client, called RRR_Puppy.
You cited,
http://WhatExit.ORG/tal/mywritings/news-software-authors.html
Thanks, that was better than any cartoon.
WhatExit.ORG wrote:
" Ungraceful disconnects annoy news administrators
because they show up in logs. "
That was probably written back in 1985, by some obese sysop
who was obsessed about his little private fiefdom.
As an aside,
I'm taking my own sweet time to write RRR_Puppy.
I might be a couple of months
before I actually post with it.
My to-do list just keeps getting bigger and bigger.
My editor will be complex and all hand-coded.
Besides,
writing it is a lot more fun than using it Ever be.
Once it's done, it will just be another retarded utility.
WhatExit.ORG wrote:
' The subject of a followup ...
should begin with the 4 chars "Re: " '.
The subject line should have Nothing to do with
the References line. Nothing. Google is wrong.
( Nevertheless, I would never use RE: or Re(2): )
WhatExit.ORG wrote:
" The References: header ... should grow infinitely. "
That's a really bad idea,
but leaving in the original poster is ok.
WhatExit.ORG wrote:
" tin, trn, nn, and readnews "
...
" Software can be found by looking in the FAQ's for
comp.os.msdos.mail-news and alt.usenet.offline-reader.
Investigate this before you go reinventing the wheel. "
tin, trn, nn ? ... MS DOS ? I don't think so.
I don't need any such source code as a reference,
the NNTP interface is extremely simple.
I'm not using a shell-like interface,
it will be a very customized graphical interface.
In fact, I'm doing VRAM to VRAM copies,
( i.e. GPU blts, using DirectDraw 7, or maybe Direct3D 9 )
scaled to any resolution that I want,
with full and quick access to Windows and it's taskbar.
But when I do scroll, for debugging purposes,
scrolling is so fast that it's instant,
no delay whatsoever. None.
But the usual RAM-to-VRAM cursor Must be turned off.
( When my window is active )
So, to replace that cursor with a VRAM-to-VRAM one,
I have to handle invalidated regions on the taskbar.
( Which I haven't done yet ... Yuck )
To get that speed,
I use an 100-percent-CPU-usage event loop.
( Again, only when my window is active )
That way I can just set a flag to paint the main window,
rather than actually painting it.
( ShowTime is true when RRR_Puppy's window is active )
while ( 1 ) {
Paint_Maybe(); // 100-percent-CPU-usage here
if( ShowTime
&& ! PeekMessage( & Msg, 0,0,0, PM_NOREMOVE ) )
continue; // Do Time Criticals
GetMessage( & Msg, 0,0,0);
TranslateMessage( & Msg ); DispatchMessage( & Msg );
......
The paint routine has this at the beginning:
Paint_Maybe() {
if ( ! ShowTime || ! Paint_Req ||
Back_Buffer->GetBltStatus( DDGBS_ISBLTDONE ) < 0 )
return;
Back_Buffer->Blt( & Rec_Win, 0,0,
DDBLT_COLORFILL, & ErBlack );
// Note, it vastly simplifies the drawing process
// to erase the entire screen every time like this.
.....
WhatExit.ORG mentioned:
" the horrible I/O throughput
on most Intel-based computers "
How does a one megabyte per second Usenet connection
sound to you ? That's what I have at the University.
Including WinXP, CD burners, MS DevStudio C++, etc. .
These computers are all over the place.
Just plug in a Flash drive with RRR_Puppy and take off.
( No bullshit with installation or the registry )
At home, where I only have Win98
and a cheap dial-up connection,
I think RRR_Puppy will still be faster than anything else,
because I know what is and isn't crap,
so it's use of ports, such as 119, will be optimized.
Using XHdr,
I will only down load the most important headers,
such as the Path line.
( Path isn't even part of the normal XOver set ! )
Downloaded stuff will be saved and purged, of course.
WhatExit.ORG mentioned:
" Why get bogged down writing tons of NNTP code
when you can link to a pre-written client library ? "
No thanks.
Although I study plenty of source and object code,
( thank you much, open source, free software, people )
no one else's source code ever touches mine.
That should make RRR_Puppy load faster.
Of course I will link to a few decent DLL's,
like WinSock and IPicture which handles
.JPG's, .GIF's, .BMP's and all kinds of other media.
[ OleLoadPicturePath(); get_Handle() ]
Technical Details
Message-ID:
<1fmpaahye61q1$.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> <1h6z7z0iolx4f.dlg@jcifer.my-fqdn.de>Show Full Headers
Complete Article Headers
Message-ID: <1fmpaahye61q1$.dlg@x.Jeff.Relf>
Subject: RRR_Puppy.
Date: Sun, 16 May 2004 04:45:32 -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> <1h6z7z0iolx4f.dlg@jcifer.my-fqdn.de>
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: 130
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 0YFIIZO+MXIAHoG3rvW9IAzxChihv7CAVK6dJ5ngplqKkbhf5+
User-Agent: 40tude_Dialog/2.0.12.1 (4d5be9dc.129.211)
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++