## digitalmars.D - Interesting observation [ot]

• uri (2/2) Mar 04 2011 This should likely go to d.learn or someplace else. As a simple exercise...
• Jonathan M Davis (3/14) Mar 04 2011 You're assuming that we have normal sleep patterns. ;)
• Nick Sabalausky (11/26) Mar 04 2011 A program like that would probably conclude that I jet-set between Hawai...
• Kagamin (2/16) Mar 04 2011 Isn't discrepancy between sleep time and dinner time diagnoses an abnorm...
• Daniel Gibson (12/14) Mar 04 2011 Of course you could just find out someones timezone by parsing the first...
uri <fun stuff.org> writes:
```This should likely go to d.learn or someplace else. As a simple exercise I
tried to build a tool that fetches a list of random news articles written by a
single person and determine his or hers time zone based on the frequencies.

I first thought the period of sleep would determine the daily rhythm, but that
doesn't seem to be the case. In http://piczasso.com/i/amj97.png I used
bearophile's data points and the sleep period gave GMT-4 .. GMT-3, dinner time
GMT+0 .. GMT+2, GMT+1 having the highest probability, which is the correct
answer. I wish U sleep all well and don't work too hard 24/7, the AI is
watching U.
```
Mar 04 2011
Jonathan M Davis <jmdavisProg gmx.com> writes:
```On Friday 04 March 2011 19:48:10 uri wrote:
This should likely go to d.learn or someplace else. As a simple exercise I
tried to build a tool that fetches a list of random news articles written
by a single person and determine his or hers time zone based on the
frequencies.

I first thought the period of sleep would determine the daily rhythm, but
that doesn't seem to be the case. In http://piczasso.com/i/amj97.png I
used bearophile's data points and the sleep period gave GMT-4 .. GMT-3,
dinner time GMT+0 .. GMT+2, GMT+1 having the highest probability, which is
the correct answer. I wish U sleep all well and don't work too hard 24/7,
the AI is watching U.

You're assuming that we have normal sleep patterns. ;)

- Jonathan M Davis
```
Mar 04 2011
"Nick Sabalausky" <a a.a> writes:
```"Jonathan M Davis" <jmdavisProg gmx.com> wrote in message
news:mailman.2200.1299299436.4748.digitalmars-d puremagic.com...
On Friday 04 March 2011 19:48:10 uri wrote:
This should likely go to d.learn or someplace else. As a simple exercise
I
tried to build a tool that fetches a list of random news articles written
by a single person and determine his or hers time zone based on the
frequencies.

I first thought the period of sleep would determine the daily rhythm, but
that doesn't seem to be the case. In http://piczasso.com/i/amj97.png I
used bearophile's data points and the sleep period gave GMT-4 .. GMT-3,
dinner time GMT+0 .. GMT+2, GMT+1 having the highest probability, which
is
the correct answer. I wish U sleep all well and don't work too hard 24/7,
the AI is watching U.

You're assuming that we have normal sleep patterns. ;)

A program like that would probably conclude that I jet-set between Hawaii
and Japan rather than living in Cleveland.

It's a *very* interesting idea, though. Might work great for other
disciplines. Although programmers tend to be the exceptions to many rules.
:)

Another interesting twist might be to run a spellchecker on the posts (but
first attempt to recognize code and psuedo-code and omit it from the
spellchecking), with the idea that more errors from the same person might
imply more fatigue (or maybe just more busy during the workday).
```
Mar 04 2011
Kagamin <spam here.lot> writes:
```Jonathan M Davis Wrote:

On Friday 04 March 2011 19:48:10 uri wrote:
This should likely go to d.learn or someplace else. As a simple exercise I
tried to build a tool that fetches a list of random news articles written
by a single person and determine his or hers time zone based on the
frequencies.

I first thought the period of sleep would determine the daily rhythm, but
that doesn't seem to be the case. In http://piczasso.com/i/amj97.png I
used bearophile's data points and the sleep period gave GMT-4 .. GMT-3,
dinner time GMT+0 .. GMT+2, GMT+1 having the highest probability, which is
the correct answer. I wish U sleep all well and don't work too hard 24/7,
the AI is watching U.

You're assuming that we have normal sleep patterns. ;)

Isn't discrepancy between sleep time and dinner time diagnoses an abnormal life
pattern?
```
Mar 04 2011
Daniel Gibson <metalcaedes gmail.com> writes:
```Am 05.03.2011 04:48, schrieb uri:
This should likely go to d.learn or someplace else. As a simple exercise I
tried to build a tool that fetches a list of random news articles written by a
single person and determine his or hers time zone based on the frequencies.

I first thought the period of sleep would determine the daily rhythm, but that
doesn't seem to be the case. In http://piczasso.com/i/amj97.png I used
bearophile's data points and the sleep period gave GMT-4 .. GMT-3, dinner time
GMT+0 .. GMT+2, GMT+1 having the highest probability, which is the correct
answer. I wish U sleep all well and don't work too hard 24/7, the AI is
watching U.

Of course you could just find out someones timezone by parsing the first
line of his replies (or the line before the quite)..
Like mine says "Am 05.03.2011 04:48, schrieb uri:" so you know that your
post was posted at 04:48 at my local time - with the knowledge when the
quoted post was posted in UTC (or your timezone or whatever) you can
easily find out the timezone of the poster (or at least the timezone he
uses on his computer).

Of course you can compare the real timezone with you calculated timezone
to find out how screwed up the sleeping patterns of people are ;)

Cheers,
- Daniel
```
Mar 04 2011