Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #614554

People woke me up; so I slept 4 hours today, twice, for a total of 8.

From Jeff-Relf.Me <@.>
Newsgroups comp.os.linux.advocacy, sci.physics, comp.lang.c++
Subject People woke me up; so I slept 4 hours today, twice, for a total of 8.
Date 2017-01-21 04:44 -0800
Organization Glorb Internet Services, http://www.glorb.com
Message-ID <Jeff-Relf.Me@Jan.21--4.44A.Seattle.2017> (permalink)
References <Jeff-Relf.Me@Jan.19--0.57A.Seattle.2017> <o5rv5b$vf8$2@dont-email.me> <Jeff-Relf.Me@Jan.19--8.20P.Seattle.2017>

Cross-posted to 3 groups.

Show all headers | View raw


I wrote:
> Given this ( tracking when my monitor was off ):
>   http://Jeff-Relf.Me/SleepLog.TXT
> Produce this:
>   A table showing every HalfHour of the day OffLine, last 15 months:
>   http://Jeff-Relf.Me/SleepPat.HTM  http://Jeff-Relf.Me/SleepPat.PNG
> 
> Search for the line that ends with "offline:";
> then plot the 8.5 ( hours ) from the line below.

People woke me up; so I slept 4 hours today, twice, for a total of 8.
From 1:30pm to 5:30pm, 4 hours; and 11pm to 3am, another 4 hours.

Some of today's data: <<

 9.3 hours awake, 65% offline.

 4.0        Jan 21 {  2:57 A, 2017 }:41       Vиɭφ
       1.0  Jan 20 { 10:57 P, 2017 }:44       VиȻω  >>

The offline hours were 3 seconds short of a full 4 hours;
so it didn't get the "23.2 hour Day, 38% offline:" line.

So I decided to ignore the "23.2 hour Day, 38% offline:" lines;
instead, I plot _any line showing 4+ hours offline; to wit:

  //  B points to a "SleepLog.TXT" line.
  //  B[-1], a short, is the leading spaces.
  //  AtoF() is _wtof().  fDur, a float, is the hours offline.

  B && *B && B[-1] <= 1 && B[5] == 32 && B[6] == 32 
    && ( fDur = AtoF( B ), fDur >= 4 ) )

The line after ( B = *++PP ) is the start of the run.

Back to sci.physics | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Every OffLine hour of the day, last 15 months. Jeff-Relf.Me <@.> - 2017-01-19 00:57 -0800
  Re: Every OffLine hour of the day, last 15 months. noTthaTguY <abu.kuanysh05@gmail.com> - 2017-01-19 10:19 -0800
  You can use SQL, Excel or Visual Basic, if you'd rather. Jeff-Relf.Me <@.> - 2017-01-19 20:20 -0800
    People woke me up; so I slept 4 hours today, twice, for a total of 8. Jeff-Relf.Me <@.> - 2017-01-21 04:44 -0800
      Re: People woke me up; so I slept 4 hours today, twice, for a total of 8. Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> - 2017-01-21 17:57 +0000
  When I'm likely to be asleep. Jeff-Relf.Me <@.> - 2017-01-19 20:33 -0800

csiph-web