Article View: news.software.readers
Article #260234When my monitor comes on after 4 to 16 hours of being off...
From: Jeff-Relf.Me
Date: Sun, 01 May 2016 01:45
Date: Sun, 01 May 2016 01:45
48 lines
3455 bytes
3455 bytes
<h2><PRE Style='Font-Family: OCR A, monospace !important;'>
You (ClutterFreak) asked me:
> Could you describe how your sleep software works?
> http://jeff-relf.me/SleepPat.PNG
> http://jeff-relf.me/SleepPat.HTM
When my monitor comes on after 4 to 16 hours of being off,
it's assumed ( not always correctly ) that I just woke up;
so, whenever I'm away from the keyboard that long,
with the monitor off, it gives a false positive.
To see the "SleepPat" report, I hit "SleepPat" (a toolbar item).
"X.EXE" is always running, recording monitor Off/On events.
The log ( SleepLog.TXT ) looks like this:
7.4 hours awake, 41% offline.
.2 Apr 30 { 5:56 P, 2016 }:49 Vɹʁʩ
.6 Apr 30 { 5:41 P, 2016 }:59 Vɹɾჵ
1.1 Apr 30 { 5: 8 P, 2016 }:23 Vɹɹʏ
2.8 Apr 30 { 4: 4 P, 2016 }:17 VɹɮϿ
1.7 Apr 30 { 1:17 P, 2016 }:29 Vɹɒთ
1.1 Apr 30 { 11:35 A, 2016 }:14 Vɹȷш
20.8 hour Day, 46% offline:
7.1 Apr 30 { 10:30 A, 2016 }: Vɹt0
4.0 Apr 30 { 3:26 A, 2016 }:30 Vɸღʖ
The "Vɹʁʩ" stuff is the number seconds since 1970,
as is the standard, in Base360 (to save screen space).
const wchar Digits[] = // In code_point order, for binary search.
L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
L"ȴȵȶȷȸȹȺȻȼȽȾȿɀɁɄɅɌɍɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂ"
L"ʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯ"
L"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρςστυφχψω"
L"ϐϑϒϓϕϖϗϘϙϚϛϜϝϞϟϠϡϰϱϲϳϴϵ϶ϷϸϹϺϻϼϽϾϿ"
L"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
L"აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵ";
const uint Base360 = ( sizeof Digits - 1 ) / szChr ;
const int mxDigits = 9 ; // ln(2^64)/ln(360) + 2 = 9.5
Technical Details
Message-ID:
<Jeff-Relf.Me@Apr.30{6.45P.Seattle.2016}>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mailReferences:
<ng1mra02k95@news7.newsguy.com> <D349AE08.716FA%usenet@gallopinginsanity.com> <Jeff-Relf.Me@Apr.30{3.02A.Seattle.2016}> <ng2g0q11r7a@news6.newsguy.com> <Jeff-Relf.Me@Apr.30{3.53P.Seattle.2016}> <60t714qs2lty$.xze6z2mar8rr.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Apr.30{6.45P.Seattle.2016}>
Subject: When my monitor comes on after 4 to 16 hours of being off...
Date: Sun, 01 May 2016 01:45:58 +0000
From: Jeff-Relf.Me <@.>
References: <ng1mra02k95@news7.newsguy.com> <D349AE08.716FA%usenet@gallopinginsanity.com> <Jeff-Relf.Me@Apr.30{3.02A.Seattle.2016}> <ng2g0q11r7a@news6.newsguy.com> <Jeff-Relf.Me@Apr.30{3.53P.Seattle.2016}> <60t714qs2lty$.xze6z2mar8rr.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.advocacy.(1483839).mbox.7z!not-for-mail
Newsgroups: comp.os.linux.advocacy,sci.physics,news.software.readers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 48
NNTP-Posting-Host: /zlDkqjrFG1Uj/denlv3LA.966.posting.glorb.com
Content-Type: Text/HTML; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Sun, 1 May 2016 01:45:58 +0000 (UTC)
User-Agent: Jeff-Relf.Me/X.ZIP
X-Notice: Scanned by Mr. Bill
X-Received-Body-CRC: 4034520344
X-Received-Bytes: 3428