🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
27 messages
27 total messages Started by Dumplin Sat, 12 Jun 2004 17:56
[40tude] List index out of bounds error?
#149851
Author: Dumplin
Date: Sat, 12 Jun 2004 17:56
6 lines
1373 bytes
I was looking for a group and now I have the error List index out of bounds
in the status window....has been counting for about 10 mins......what is
that and how do I turn it off. 

Thanks!
Donna
Re: [40tude] List index out of bounds error?
#149868
Author: Mark Question
Date: Sat, 12 Jun 2004 22:46
12 lines
1321 bytes
On Sat, 12 Jun 2004 17:56:38 GMT, Dumplin wrote:

> I was looking for a group and now I have the error List index out of bounds
> in the status window....has been counting for about 10 mins......what is
> that and how do I turn it off. 
> 
> Thanks!
> Donna

Don't help that girl! She mostly uses OE!!! She never listens to me!

Hi, darling! ;-)
Re: [40tude] List index out of bounds error?
#149875
Author: Dumplin
Date: Sun, 13 Jun 2004 02:19
30 lines
2341 bytes
On Sun, 13 Jun 2004 00:46:07 +0200, Mark Question wrote:

> On Sat, 12 Jun 2004 17:56:38 GMT, Dumplin wrote:
> 
>> I was looking for a group and now I have the error List index out of bounds
>> in the status window....has been counting for about 10 mins......what is
>> that and how do I turn it off. 
>> 
>> Thanks!
>> Donna
> 
> Don't help that girl! She mostly uses OE!!! She never listens to me!
> 
> Hi, darling! ;-)

Yeah well looks like I am being ignored [some had put me in their kill
files....giggle] or they are all stumped.  Whatever maybe my scrolling
speed was too much for the program to handle.  Anyway so this is where you
have been hiding.....remember you can run but I will find your cute ass
eventually <G>

-- 

Remove INVALID to send me mail
============================================
"Humor is perhaps a sense of intellectual perspective:
 an awareness that some things are really important,
 others not; and that the two kinds are most oddly
 jumbled in everyday affairs."
--Christopher Morley
Re: [40tude] List index out of bounds error?
#149902
Author: Mark Question
Date: Sun, 13 Jun 2004 11:06
25 lines
1956 bytes
On Sun, 13 Jun 2004 02:19:45 GMT, Dumplin wrote:

> On Sun, 13 Jun 2004 00:46:07 +0200, Mark Question wrote:
> 
>> On Sat, 12 Jun 2004 17:56:38 GMT, Dumplin wrote:
>> 
>>> I was looking for a group and now I have the error List index out of bounds
>>> in the status window....has been counting for about 10 mins......what is
>>> that and how do I turn it off. 
>>> 
>>> Thanks!
>>> Donna
>> 
>> Don't help that girl! She mostly uses OE!!! She never listens to me!
>> 
>> Hi, darling! ;-)
> 
> Yeah well looks like I am being ignored [some had put me in their kill
> files....giggle] or they are all stumped.  Whatever maybe my scrolling
> speed was too much for the program to handle.  Anyway so this is where you
> have been hiding.....remember you can run but I will find your cute ass
> eventually <G>

Well, a man got to do what he's got to do, from time to time. I guess, I'll
come home soon. ;-)))
Re: [40tude] List index out of bounds error?
#149939
Author: Kristi
Date: Sun, 13 Jun 2004 20:42
25 lines
2345 bytes
Dumplin wrote:
> I was looking for a group and now I have the error List index out of bounds
> in the status window....has been counting for about 10 mins......what is
> that and how do I turn it off. 
> 
> Thanks!
> Donna

Assuming you're on the latest beta (35), you've probably got an error in
the db, fixed by deleting and letting Dialog recreate it.  Seems like I got
that occasionally long ago, but not recently.  Now I occasionally get
anomalies within a single ng (like stuff showing as watch that shouldn't -
I just unsub from the ng and resub and it re-creates its info and all is
well.  (costs me a whole 5 minutes on a big ng)  If it were me, I'd
probably delete everything NOT in the top directory (after backing up the
entire node first), and then start up dialog again and re-sub what you
need.
   For me, these probs are usually caused, not by dialog itself, but by
something outwardly acting on Dialog - another program locks the system and
the whole system has to be rebooted, or general system crash while Dialog
happened to be running (not caused by Dialog).
   I have tried a ton of ng readers and Dialog has been by far the most
trouble free and easy to use program for text and light binary!
hth
Kristi
Re: [40tude] List index out of bounds error?
#149949
Author: Dumplin
Date: Sun, 13 Jun 2004 22:18
32 lines
2510 bytes
On Sun, 13 Jun 2004 13:06:01 +0200, Mark Question wrote:

> On Sun, 13 Jun 2004 02:19:45 GMT, Dumplin wrote:
> 
>> On Sun, 13 Jun 2004 00:46:07 +0200, Mark Question wrote:
>> 
>>> On Sat, 12 Jun 2004 17:56:38 GMT, Dumplin wrote:
>>> 
>>>> I was looking for a group and now I have the error List index out of bounds
>>>> in the status window....has been counting for about 10 mins......what is
>>>> that and how do I turn it off. 
>>>> 
>>>> Thanks!
>>>> Donna
>>> 
>>> Don't help that girl! She mostly uses OE!!! She never listens to me!
>>> 
>>> Hi, darling! ;-)
>> 
>> Yeah well looks like I am being ignored [some had put me in their kill
>> files....giggle] or they are all stumped.  Whatever maybe my scrolling
>> speed was too much for the program to handle.  Anyway so this is where you
>> have been hiding.....remember you can run but I will find your cute ass
>> eventually <G>
> 
> Well, a man got to do what he's got to do, from time to time. I guess, I'll
> come home soon. ;-)))

Ok great but looks like the bunch has gone fishing for the weekend.

-- 
Remove INVAlID to send me mail
Re: [40tude] List index out of bounds error?
#149950
Author: Dumplin
Date: Sun, 13 Jun 2004 22:22
39 lines
3145 bytes
On Sun, 13 Jun 2004 16:42:18 -0400, Kristi wrote:

> Dumplin wrote:
>> I was looking for a group and now I have the error List index out of bounds
>> in the status window....has been counting for about 10 mins......what is
>> that and how do I turn it off. 
>> 
>> Thanks!
>> Donna
> 
> Assuming you're on the latest beta (35), you've probably got an error in
> the db, fixed by deleting and letting Dialog recreate it.  Seems like I got
> that occasionally long ago, but not recently.  Now I occasionally get
> anomalies within a single ng (like stuff showing as watch that shouldn't -
> I just unsub from the ng and resub and it re-creates its info and all is
> well.  (costs me a whole 5 minutes on a big ng)  If it were me, I'd
> probably delete everything NOT in the top directory (after backing up the
> entire node first), and then start up dialog again and re-sub what you
> need.
>    For me, these probs are usually caused, not by dialog itself, but by
> something outwardly acting on Dialog - another program locks the system and
> the whole system has to be rebooted, or general system crash while Dialog
> happened to be running (not caused by Dialog).
>    I have tried a ton of ng readers and Dialog has been by far the most
> trouble free and easy to use program for text and light binary!
> hth
> Kristi

Thanks Kristi.....I am using the latest version......upgraded my old copy
yesterday.  What happened was I clicked on the All tab to display all the
newsgroups on verizon's server and started scrolling down the page which
caused the error and continous beeps so I waited about 10 mins and it
cleared up.  I like this newsreader but have not used it much so still have
my training wheels on.  I forgot how to do a search on just one group and
couldn't find any help info.


-- 
Remove INVAlID to send me mail
Re: [40tude] List index out of bounds error?
#149961
Author: Kristi
Date: Sun, 13 Jun 2004 23:55
44 lines
3371 bytes
Dumplin wrote:
> On Sun, 13 Jun 2004 16:42:18 -0400, Kristi wrote:
> 
>> Dumplin wrote:
>>> I was looking for a group and now I have the error List index out of bounds
>>> in the status window....has been counting for about 10 mins......what is
>>> that and how do I turn it off. 
>>> 
>>> Thanks!
>>> Donna
>> 
>> Assuming you're on the latest beta (35), you've probably got an error in
>> the db, fixed by deleting and letting Dialog recreate it.  Seems like I got
>> that occasionally long ago, but not recently.  Now I occasionally get
>> anomalies within a single ng (like stuff showing as watch that shouldn't -
>> I just unsub from the ng and resub and it re-creates its info and all is
>> well.  (costs me a whole 5 minutes on a big ng)  If it were me, I'd
>> probably delete everything NOT in the top directory (after backing up the
>> entire node first), and then start up dialog again and re-sub what you
>> need.
>>    For me, these probs are usually caused, not by dialog itself, but by
>> something outwardly acting on Dialog - another program locks the system and
>> the whole system has to be rebooted, or general system crash while Dialog
>> happened to be running (not caused by Dialog).
>>    I have tried a ton of ng readers and Dialog has been by far the most
>> trouble free and easy to use program for text and light binary!
>> hth
>> Kristi
> 
> Thanks Kristi.....I am using the latest version......upgraded my old copy
> yesterday.  What happened was I clicked on the All tab to display all the
> newsgroups on verizon's server and started scrolling down the page which
> caused the error and continous beeps so I waited about 10 mins and it
> cleared up.  I like this newsreader but have not used it much so still have
> my training wheels on.  I forgot how to do a search on just one group and
> couldn't find any help info.

Easy!  Click the "Filtered" tab, type in some specific letters (like divx)
and the list will show those that satisfy the argument.  Note, the "show
groups that" is followed by a little down erropr that exposes a drop down
menu allowing you to refine your search.
   But I still say some part of the db is corrupted and should be rebuilt.
hth
Kristi
40tude & RRR_Puppy
#150023
Author: Jeff Relf
Date: Mon, 14 Jun 2004 15:35
35 lines
1915 bytes
Hi Kristi and Dumplin,

Dialog is a very fine newsreader, I say.
  If there's a better one  ( for me ), I don't know about it.

Having said that,
  Kristi's suggestion, unsubscribing, was a very good one.
  Only I'd just do a control-A, to select all messages,
  and then hit delete ...  It's much faster.

  And I'd try that before deleting anything else.

The file corruption problems are caused by 
  Mönnig's failure to close files in a more timely fashion,
  I posit.

  But, as Mönnig has long ago plonked me,
  or is otherwise occupied,
  I'll never know if that is true or not.

April First, 2004,
  is when Mönnig was to produce the final release.

  He did a flurry of changes at that time.

  His attitude towards me, justified or not,
  is what made me decide to write my own newsreader,
  which I'm calling  RRR_Puppy .

As a programmer myself  ( Win98, C++ ),
  I can afford to indulge myself like that.

  But RRR_Puppy is not a solution for anyone else ...
  at least not yet, and it may never be.
Re: 40tude & RRR_Puppy
#150024
Author: MLC
Date: Mon, 14 Jun 2004 15:51
10 lines
1629 bytes
lunedì 14/giu/2004 _Jeff Relf_ in
<news:_Jeff_Relf_2004_Jun_14_JOf5@NCPlus.NET>:

> His attitude towards me, justified or not,
>   is what made me decide to write my own newsreader,
>   which I'm calling  RRR_Puppy .

I like it! ;-)
-- 
Maria Luisa C - 14/06/2004 17.50.54
Re: 40tude
#150027
Author: Enrico C
Date: Mon, 14 Jun 2004 16:16
22 lines
1932 bytes
Jeff Relf | news.software.readers
in <news:_Jeff_Relf_2004_Jun_14_JOf5@NCPlus.NET>

> The file corruption problems are caused by 
>   Mönnig's failure to close files in a more timely fashion,
>   I posit.
 
>   But, as Mönnig has long ago plonked me,
>   or is otherwise occupied,
>   I'll never know if that is true or not.
 
> April First, 2004,
>   is when Mönnig was to produce the final release.

Marcus never said or wrote such a thing, AFAIK.

 
>   He did a flurry of changes at that time.


-- 
Give assistance not advice in a crisis. - Aesop (c.620-560 BC)
Italian for a puppy's growl ?
#150035
Author: Jeff Relf
Date: Mon, 14 Jun 2004 16:32
14 lines
1222 bytes
Hi MLC,

Re: The name of my new newsreader, RRR_Puppy.

You commented, " I like it !  ;-) ".

Thanks Maria, I respect your opinion.

Here in Seattle  ( and the U.S. ),
  rrrr is the sound of a puppy's growl.

  How would you write that in Italian ?

Re: Italian for a puppy's growl ?
#150044
Author: MLC
Date: Mon, 14 Jun 2004 18:10
25 lines
2063 bytes
lunedì 14/giu/2004 _Jeff Relf_ in
<news:_Jeff_Relf_2004_Jun_14_3xcX@NCPlus.NET>:

> Hi MLC,
> 
> Re: The name of my new newsreader, RRR_Puppy.
> 
> You commented, " I like it !  ;-) ".
> 
> Thanks Maria, I respect your opinion.

Thanks. Didn't you notice my User-Agent header? ;)

> 
> Here in Seattle  ( and the U.S. ),
>   rrrr is the sound of a puppy's growl.
> 
>   How would you write that in Italian ?

Asked to my Fido, its answer is: "rrrr" .

-- 
Maria Luisa C - 14/06/2004 20.04.03, here.
An optimist believes we live in the best of all possible worlds.
A pessimist is sure of it!
My vast army of lawyers.
#150047
Author: Jeff Relf
Date: Mon, 14 Jun 2004 18:52
13 lines
1311 bytes
Hi MLC,

You pointed out your: " User-Agent: RRR_Puppy "

Hey, that's an unauthorized copy.

But, seeing how you're such a nice girl and all,
  I won't send my vast army of lawyers after you ...

  a ten thousand dollar cashier's check will suffice.

P.S. I'm making fun of Microsoft et al, not you.
Re: My vast army of lawyers.
#150056
Author: MLC
Date: Mon, 14 Jun 2004 20:02
24 lines
2118 bytes
lunedì 14/giu/2004 _Jeff Relf_ in
<news:_Jeff_Relf_2004_Jun_14_4mVZ@NCPlus.NET>:

> Hi MLC,
> 
> You pointed out your: " User-Agent: RRR_Puppy "
> 
> Hey, that's an unauthorized copy.
> 
> But, seeing how you're such a nice girl and all,
>   I won't send my vast army of lawyers after you ...
> 
>   a ten thousand dollar cashier's check will suffice.
> 
> P.S. I'm making fun of Microsoft et al, not you.

LOL!
I joked a little because I liked that UA name and to test a Dialog script.
:)

Ciao,
-- 
Maria Luisa C - 14/06/2004 21.56.24, here.
My software never has bugs. It just develops random features.
Re: My vast army of lawyers.
#150057
Author: Tech Zero
Date: Mon, 14 Jun 2004 20:03
16 lines
1552 bytes
The voice of "Jeff Relf" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> Hi MLC,
> 
> You pointed out your: " User-Agent: RRR_Puppy "
> 
> Hey, that's an unauthorized copy.


Get Over it...   };8)

-- 
The Tech Zero, Maxx "What's That Score" Pollare...

Discordian Time:  153:02:02 (1) [no thud]
Re: Italian for a puppy's growl ?
#150062
Author: Kristi
Date: Mon, 14 Jun 2004 20:37
27 lines
1934 bytes
MLC wrote:
> lunedì 14/giu/2004 _Jeff Relf_ in
> <news:_Jeff_Relf_2004_Jun_14_3xcX@NCPlus.NET>:
> 
>> Hi MLC,
>> 
>> Re: The name of my new newsreader, RRR_Puppy.
>> 
>> You commented, " I like it !  ;-) ".
>> 
>> Thanks Maria, I respect your opinion.
> 
> Thanks. Didn't you notice my User-Agent header? ;)
> 
>> 
>> Here in Seattle  ( and the U.S. ),
>>   rrrr is the sound of a puppy's growl.
>> 
>>   How would you write that in Italian ?
> 
> Asked to my Fido, its answer is: "rrrr" .

therefore all puppies speak fluent Italian!   :o)
Kristi
-- 
Shuttle AN35N Ultra, XP2600Bart(11.5x400), 512mb, GeF3Ti200, WinXPproSP1. 
Defragger Raxco PerfectDisk6 rocks! fast! (I do not work for Raxco)
Re: Italian for a puppy's growl ?
#150063
Author: Blinky the Shark
Date: Mon, 14 Jun 2004 20:59
31 lines
2142 bytes
MLC wrote:

> lunedì 14/giu/2004 _Jeff Relf_ in
><news:_Jeff_Relf_2004_Jun_14_3xcX@NCPlus.NET>:

>> Hi MLC,

>> Re: The name of my new newsreader, RRR_Puppy.

>> You commented, " I like it !  ;-) ".

>> Thanks Maria, I respect your opinion.

> Thanks. Didn't you notice my User-Agent header? ;)


>> Here in Seattle  ( and the U.S. ),
>>   rrrr is the sound of a puppy's growl.

>>   How would you write that in Italian ?

> Asked to my Fido, its answer is: "rrrr" .

Digs are hip.  They understand nearly as many of, if not all,
the languages that humans do.  Even without going to school.

-- 
Blinky				        Linux Registered User 297263
AOL Diary		                http://snipurl.com/aoldiary
Nigerian Scam From Space                http://snipurl.com/iss419
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Re: Italian for a puppy's growl ?
#150065
Author: Blinky the Shark
Date: Mon, 14 Jun 2004 21:32
35 lines
2298 bytes
Blinky the Shark wrote:
> MLC wrote:

>> lunedì 14/giu/2004 _Jeff Relf_ in
>><news:_Jeff_Relf_2004_Jun_14_3xcX@NCPlus.NET>:

>>> Hi MLC,

>>> Re: The name of my new newsreader, RRR_Puppy.

>>> You commented, " I like it !  ;-) ".

>>> Thanks Maria, I respect your opinion.

>> Thanks. Didn't you notice my User-Agent header? ;)


>>> Here in Seattle  ( and the U.S. ),
>>>   rrrr is the sound of a puppy's growl.

>>>   How would you write that in Italian ?

>> Asked to my Fido, its answer is: "rrrr" .

> Digs are hip.  They understand nearly as many of, if not all,

Dogs.  Not digs.  They can probably type better than me, too.

> the languages that humans do.  Even without going to school.

-- 
Blinky				        Linux Registered User 297263
AOL Diary		                http://snipurl.com/aoldiary
Nigerian Scam From Space                http://snipurl.com/iss419
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
It's just a beautiful trip.
#150074
Author: Jeff Relf
Date: Mon, 14 Jun 2004 23:48
23 lines
1689 bytes
Hi Tech Zero,

I love writing code for just myself,
  it's kind of like climbing a mountain.

  It's just a beautiful trip, lots of scenery.
  
  Microsoft's software is like taking a Jumbo Jet ...
  miserable.

Speaking of mountains, back five thousand years ago,
  I wonder if the Himalayas made India the center of trade,
  East and West.

  Just like the Incas with their mighty Andes.

Such mighty mountains must be vital to humanity,
  our mother, if you will.

  And, Being in Seattle, where the Rockies meet the Pacific,
  thus forming numerous straits from Tacoma to Juneau ...
  It gives me hope for humanity.
Re: Italian for a puppy's growl ?
#150077
Author: Kurt
Date: Tue, 15 Jun 2004 00:02
18 lines
1847 bytes
Blinky the Shark wrote in 
news:slrnccs6c9.b3u.no.spam@thurston.blinkynet.net:

>>> Asked to my Fido, its answer is: "rrrr" .
> 
>> Digs are hip.  They understand nearly as many of, if not all,
> 
> Dogs.  Not digs.  They can probably type better than me, too.
> 
>> the languages that humans do.  Even without going to school.
> 

Well paws are a bit "handier" than fins <D&G>

-- 
Cheers,
Kurt  
 
Re: Italian for a puppy's growl ?
#150079
Author: Gord McFee
Date: Tue, 15 Jun 2004 00:19
37 lines
2094 bytes
On 14 Jun 2004 20:59:36 GMT, in
<slrnccs4do.b3u.no.spam@thurston.blinkynet.net>, Blinky the Shark
<no.spam@box.invalid> wrote:

> MLC wrote:
> 
> > lunedì 14/giu/2004 _Jeff Relf_ in
> ><news:_Jeff_Relf_2004_Jun_14_3xcX@NCPlus.NET>:
> 
> >> Hi MLC,
> 
> >> Re: The name of my new newsreader, RRR_Puppy.
> 
> >> You commented, " I like it !  ;-) ".
> 
> >> Thanks Maria, I respect your opinion.
> 
> > Thanks. Didn't you notice my User-Agent header? ;)
> 
> 
> >> Here in Seattle  ( and the U.S. ),
> >>   rrrr is the sound of a puppy's growl.
> 
> >>   How would you write that in Italian ?
> 
> > Asked to my Fido, its answer is: "rrrr" .
> 
> Digs are hip.  They understand nearly as many of, if not all,
> the languages that humans do.  Even without going to school.

Dogs ain't bad either.

<D&RFC>

-- 
Gord McFee
I'll write no line before its time
Time.
#150081
Author: Jeff Relf
Date: Tue, 15 Jun 2004 01:13
182 lines
6641 bytes
Hi MLC,

Ah, a Dialog script allowed you to change your
  User-Agent  line.  That's a  Very  cool feature, I think.

  Can you make a Message-ID like mine ?
  <_Jeff_Relf_2004_Jun_14_4mVZ@NCPlus.NET>
                          ^^^^
The 4 characters above are the low bits of
  Win98's high precision tic counter  ( See below ),
  expressed in base 62, using the ten digits, 0-9,
  plus the alphabet, A-Z, a-z, 2 * 26.
  ( NCPlus.NET is my ISP, a cheap dial-up account )

P.S.
  I fully realize that the following will make your eyes
  glaze over, but maybe some future Googler might enjoy it.

  If so, he can drop me a line at
    http://www.NCPlus.NET/~jeff_relf/ .
    ( Provided that I'm still using the same ISP then )

typedef LARGE_INTEGER Quad ;
typedef unsigned long ulong ;  typedef char * Line ;

__int64 _TimeUTC, _Tics, Int_Div, Secnd ;
double Secnd_Dub, _Secs ;

QueryPerformanceFrequency( ( Quad * ) & Secnd );

Secnd_Dub = Secnd ;

Int_Div = ( __int64( 1 ) << 32 ) * 1000 / Secnd ;

// Below is for  WM_  events, C is wparam and C2 is lparam.
MSG Msg ;  uint M, M_Ras, C ; ulong C2 ;

// Because Windows packs int16's into int32's.
ushort * P_C = ( ushort * ) & C, 
  * P_C2 = ( ushort * ) & C2 ;

int rv ; // a holding place for very temporary int's.

#define Tics \
  ( QueryPerformanceCounter( ( Quad * ) & _Tics ), _Tics )

#define Secs ( _Secs = Tics / Secnd_Dub )

#define GetMilliseconds \
  ( ulong ( ( Tics * Int_Div ) >> 32 ) )

#define TimeUTC \
  ( ( GetSystemTimeAsFileTime ( \
  ( FILETIME * ) & _TimeUTC ), _TimeUTC ) \
  / 10000  - 9435484800000 )

// " Win "  is my window, HWND.
// " Connected "  is the handle to the socket, a ulong.
#define Close ( WSAAsyncSelect ( Connected, Win, 0, 0 ), \
  closesocket( Connected ),  Connected = -1 )

So a timeout loop looks like this:

 double Due = Secs + 5 ;
  while ( Secs < Due  &&  
    ! ( Respond ( WM_USER + 2 ) && * P_C2 == FD_READ ) ) ;

Where Respond () simply checks for events,
  or returns the requested event, without ever waiting.

int Respond ( uint _M ) {  M = C = C2 = 0;

  while( PeekMessage( & Msg, 0,0,0, PM_REMOVE ) ) {
    TranslateMessage( & Msg );  DispatchMessage ( & Msg );
    M = Msg.message ;  C = Msg.wParam ;  C2 = Msg.lParam ;
    if ( _M && _M == M ) return 1 ; }

  Paint_Req = 1 ;  Paint_Maybe ( ); return 0 ; }
  // Paint_Maybe() is a VRAM-to-VRAM-only large window blt,
  //   ( it takes into account Win98's cursor and taskbar ),
  //   and it aborts rather than queuing blt commands.

And with my cheap dial-up,
  I had to write my own dial-up manager,
  which pings Time.NIST.GOV, port 37.
  ( National Institute of Standards and Technology )

  The NIST.GOV ping not only keeps my clock accurate
  ( to within a few deci-seconds ),
  it also lets me know when my cheap ISP is failing.

To wit:

  #define LOOP while ( 1 )

  #define SyncDown SetPriorityClass( \
    GetCurrentProcess(), NORMAL_PRIORITY_CLASS ); \
    return  _Wire ; // _Wire is the phone number, ignore it

  int Ti = 0 ;  __int64  Off_By = 0;  
  int Secs_ = 2 ;  double  Due = Secs + Secs_ ;  
  int Compares = 0 ; uint Delay_Net ;
  LOOP { 

    while ( Secs < Due &&  Connected < 0 
      && ! Logged_In ( NTP ) ) ;
    // Logged_In ( NTP ) reconnects to the NTP server,
    //   it doesn't actually login here,
    //   because Time.NIST.GOV is open access.
    //   It's WSAAsyncGetHostByName() is asynchronous.

    if ( Connected >= 0 ) { // Socket is still open.

      if ( ! Ti ) { 
        Sh ( " Pinging  %s ...", SrvNam );  Ti = 1 ;
        SetPriorityClass( GetCurrentProcess(), 
        REALTIME_PRIORITY_CLASS ); }

      while ( Secs < Due &&  ! Respond ( WM_USER + 2 ) ) ; }

    if (  M != WM_USER + 2 ) {  
      Close ;
      if ( ! Compares ) {  
        Ln.E -- ;  Sh (  " Failed to Ping %s.", SrvNam );
        SyncDown }

      Off_By /= Compares;  _Secs = fabs ( Off_By / 1000. ); 

      // Buff is just a huge global buffer.
      Line P = Buff + 90 ;
      Str ( P, "%3.1f", _Secs ); 

      // e.g. Makes  0.3  simply  .3
      if ( * P == '0' ) P ++ ;  
      
      Ln.E -- ; // This backs up a line in my shell. 

      Sh (  " %d Compares in %d Secs,"
        "  %s Secs %s.", Compares, Secs_, P,
        Off_By < 0 ? " Slow" : " Fast" );

      if ( _Secs >  360 )  { 
        Ln.E -- ;
        Sh( " To different to sync." ); SyncDown }

      __int64 File_TimeUTC = 
        10000 * ( TimeUTC + Off_By + 9435484800000 ); 

      SYSTEMTIME SysTime ;
      FileTimeToSystemTime( 
        ( FILETIME * ) & File_TimeUTC , & SysTime );
 
      // This actually sets my clock.
      SetSystemTime( & SysTime );  SyncDown }

    // if an error from recv(), this is not really needed
    //   as recv() returns the number of bytes read.
    if ( P_C2 [ 1 ] ) { Close ; continue ; }

    // This gets the two-way delay from the net traffic.
    if ( * P_C2 == FD_CONNECT )  { 
      Delay_Net = GetMilliseconds ; continue ; }

    if ( * P_C2 != FD_READ ) continue ; 

    ulong TimeUTC_NTP ;

    // Here the NTP server is giving me 4 bytes
    //   which happens every time I connect to it.
    rv = recv ( Connected, ( Line ) & TimeUTC_NTP, 4, 0 );

    if ( rv != 4 ) { Close ;  continue ; }

    Delay_Net = GetMilliseconds -  Delay_Net ;

    Off_By += ( __int64 ) ntohl( TimeUTC_NTP ) * 1000 
      + ( Delay_Net >> 1 ) - TimeUTC ;

    Close ;  Compares ++ ; }

And on and on ...
Re: My vast army of lawyers.
#150106
Author: Ted S.
Date: Tue, 15 Jun 2004 12:44
20 lines
1742 bytes
Somebody claiming to be Tech Zero <spamnet-june@dragonfur.ca> wrote in 
news:Xns95088EFFEDC10ZeroOne@raven.dragonfur.ca:

>> Hi MLC,
>> 
>> You pointed out your: " User-Agent: RRR_Puppy "
>> 
>> Hey, that's an unauthorized copy.
> 
> 
> Get Over it...   };8)

And besides, one can fairly easily edit the User-Agent string if one uses 
a proxy server.

-- 
Ted <fedya at bestweb dot net>
The way I see it, you raised three children who could knock out and hog-
tie a perfect stranger, you must be doing *something* right.
Marge Simpson, <http://www.snpp.com/episodes/7G01.html>
Re: Italian for a puppy's growl ?
#150108
Author: Enrico C
Date: Tue, 15 Jun 2004 13:16
15 lines
1912 bytes
MLC | news.software.readers
in <news:14ttzks0k5c5g.dlg@ID-187316.user.uni-berlin.de>

>> Here in Seattle  ( and the U.S. ),
>>   rrrr is the sound of a puppy's growl.
>> 
>>   How would you write that in Italian ?
> 
> Asked to my Fido, its answer is: "rrrr" .

But, if the puppy gets angry that would be more a "grrrr grrrr" :)

-- 
Cursing the weather is never good farming.
Cheshire Proverb
Re: My vast army of lawyers.
#150125
Author: Tech Zero
Date: Tue, 15 Jun 2004 18:59
20 lines
1952 bytes
The voice of "Ted S." drifted in on the cyber-winds, 
from the sea of virtual chaos...

>>> You pointed out your: " User-Agent: RRR_Puppy "
>>> 
>>> Hey, that's an unauthorized copy.
>> 
>> Get Over it...   };8)
> 
> And besides, one can fairly easily edit the User-Agent string if
> one uses a proxy server.


Proxy Server?  Well, I suppose you could say I have Dnews set-up as a 
Proxy, but the above was just a 2 second binary hack...  }:8b

-- 
The Tech Zero, Maxx "What's That Score" Pollare...

Discordian Time:  140:02:01 (1) [no thud]
Re: My vast army of lawyers.
#150129
Author: Blinky the Shark
Date: Tue, 15 Jun 2004 19:48
29 lines
2191 bytes
Tech Zero wrote:

> The voice of "Ted S." drifted in on the cyber-winds, 
> from the sea of virtual chaos...
> 
>>>> You pointed out your: " User-Agent: RRR_Puppy "
>>>> 
>>>> Hey, that's an unauthorized copy.
>>> 
>>> Get Over it...   };8)
>> 
>> And besides, one can fairly easily edit the User-Agent string if
>> one uses a proxy server.
> 
> 
> Proxy Server?  Well, I suppose you could say I have Dnews set-up as a 
> Proxy, but the above was just a 2 second binary hack...  }:8b

:)

Pan users may ascertain that such is easily accomplished here, as
well.  :)

-- 
Blinky				        Linux Registered User 297263
AOL Diary		                http://snipurl.com/aoldiary
Nigerian Scam From Space                http://snipurl.com/iss419
New Windows - Don't Wait For Longhorn!  http://snipurl.com/newwin 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads