Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65100
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.021 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'dan': 0.09; 'second.': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'badly.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'missing?': 0.16; 'storing': 0.16; 'temperatures': 0.16; 'utc,': 0.16; 'weird': 0.16; 'wrote:': 0.18; 'help.': 0.21; '(the': 0.22; '(in': 0.22; 'cloud': 0.22; 'cc:addr:python.org': 0.22; '31,': 0.24; 'sorry,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'external': 0.29; 'converting': 0.30; 'cool': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'crash': 0.31; 'everyone': 0.33; 'fri,': 0.33; 'device': 0.34; 'problem': 0.35; 'knows': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'representing': 0.36; "didn't": 0.36; 'should': 0.36; 'pm,': 0.38; 'either': 0.39; 'range': 0.61; "you're": 0.61; 'details': 0.65; 'subject:. ': 0.67; 'therefore': 0.72; '100': 0.79; 'liberty': 0.84; 'meters': 0.84; 'temperature': 0.84; 'water.': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=o8hSX3+hFNb0nbza8EsbFgIHsko7dEpY6mGnl+E4Y0c=; b=bXbzuXhA2Chmi7TXqIbAXEyEw7Imq18iHH8u9/NTfIf4HwcbVAk57IHgmRFkMArMjZ k72C4II1/lyqUUmXbBcBGcMIg8MHTU7/aWwId6+v05tND9yrx5gKceM8k5YF55q8YyLJ ZBDmQT3EGSNKEUAsBEKQhy6Jx9Ws3iE4QosDK98G7qOdtSfx2VC9RL4PyhbXtrMP6d3Q 9orQXWOKvoMJLSrSlw1MvvpCPcIE4VO1ur3MY8HqBtPkTx1gsW4aDPUiwBpaFz6MXYqj 4kEZxdbzfL68q9KU3oap0d4Z/1tJw9dfQb9yk1wayGR/PxtiQG4eOpwMC+io8ZzVfzy8 YW2w== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.201.10 with SMTP id jw10mr19085676pbc.25.1391150550239; Thu, 30 Jan 2014 22:42:30 -0800 (PST) |
| In-Reply-To | <lcffr9$7rb$1@dont-email.me> |
| References | <mailman.6092.1391016578.18130.python-list@python.org> <lcbj8s$f6n$1@reader1.panix.com> <3g6je9h7fp29pebi7aa04tigc50hm3vepj@4ax.com> <CAPTjJmrTqapnN0gKUCrHvf9sGXNXaMTT1CNeALy3sF+HKkBz4g@mail.gmail.com> <qsbje9l6jd74p4sgbcjb8nth864vm0mtcs@4ax.com> <52E9BB8C.80000@mrabarnett.plus.com> <mailman.6107.1391052484.18130.python-list@python.org> <d913833c-cfc1-4514-a3b4-ed3338def941@googlegroups.com> <lcdqlv$dge$1@reader1.panix.com> <lcf7kd$gbt$2@dont-email.me> <52eb287c$0$29972$c3e8da3$5496439d@news.astraweb.com> <lcffr9$7rb$1@dont-email.me> |
| Date | Fri, 31 Jan 2014 17:42:30 +1100 |
| Subject | Re: pytz question: GMT vs. UTC |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6198.1391150554.18130.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1391150554 news.xs4all.nl 2863 [2001:888:2000:d::a6]:49497 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65100 |
Show key headers only | View raw
On Fri, Jan 31, 2014 at 5:28 PM, Dan Sommers <dan@tombstonezero.net> wrote: > ObPython: My program retrieves temperatures (in Kelvins) from an > external device (the details of which I am not at liberty to discuss) > and stores them in the cloud (because that's where all the cool kids > store data these days), and there's something really weird going on. > > > $ python ./program.py > temperature1 is -100 K > temperature2 is 100 K > temperature2 is hotter than temperature1 > > But everyone knows that -100K is hotter than 100K. I tried converting > to UTC, but that didn't help. What am I missing? I'm sorry, you have completely misunderstood the problem here. You are storing data in the cloud, which means you're representing everything with water. It is therefore fundamentally illogical to use any temperature outside the range [273.15K, 373.15K], because otherwise your cloud will freeze or boil, and either way, it'll crash badly. Plus, converting to UTC? Puh-leeze. You should be using kilogram meters per second. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pytz question: GMT vs. UTC Skip Montanaro <skip@pobox.com> - 2014-01-29 11:29 -0600
Re: pytz question: GMT vs. UTC Grant Edwards <invalid@invalid.invalid> - 2014-01-29 19:02 +0000
Re: pytz question: GMT vs. UTC Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-29 19:17 -0500
Re: pytz question: GMT vs. UTC Chris Angelico <rosuav@gmail.com> - 2014-01-30 11:28 +1100
Re: pytz question: GMT vs. UTC Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-29 20:50 -0500
Re: pytz question: GMT vs. UTC MRAB <python@mrabarnett.plus.com> - 2014-01-30 02:40 +0000
Re: pytz question: GMT vs. UTC Chris Angelico <rosuav@gmail.com> - 2014-01-30 14:27 +1100
Re: pytz question: GMT vs. UTC wxjmfauth@gmail.com - 2014-01-30 00:45 -0800
Re: pytz question: GMT vs. UTC MRAB <python@mrabarnett.plus.com> - 2014-01-30 11:51 +0000
Re: pytz question: GMT vs. UTC Grant Edwards <invalid@invalid.invalid> - 2014-01-30 15:21 +0000
Re: pytz question: GMT vs. UTC Dan Sommers <dan@tombstonezero.net> - 2014-01-31 04:08 +0000
Re: pytz question: GMT vs. UTC Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-01-31 04:37 +0000
Re: pytz question: GMT vs. UTC Dan Sommers <dan@tombstonezero.net> - 2014-01-31 06:28 +0000
Re: pytz question: GMT vs. UTC Chris Angelico <rosuav@gmail.com> - 2014-01-31 17:42 +1100
Re: pytz question: GMT vs. UTC Dan Sommers <dan@tombstonezero.net> - 2014-02-01 06:30 +0000
Re: pytz question: GMT vs. UTC Roy Smith <roy@panix.com> - 2014-01-31 10:00 -0500
Re: pytz question: GMT vs. UTC Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-31 09:59 +0000
Re: pytz question: GMT vs. UTC Pete Forman <petef4+usenet@gmail.com> - 2014-02-02 12:45 +0000
Re: pytz question: GMT vs. UTC wxjmfauth@gmail.com - 2014-02-02 06:38 -0800
Re: pytz question: GMT vs. UTC Grant Edwards <invalid@invalid.invalid> - 2014-02-02 16:03 +0000
Re: pytz question: GMT vs. UTC Rustom Mody <rustompmody@gmail.com> - 2014-01-30 23:02 -0800
Re: pytz question: GMT vs. UTC wxjmfauth@gmail.com - 2014-01-31 02:17 -0800
Re: pytz question: GMT vs. UTC Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-31 14:50 +0000
Re: pytz question: GMT vs. UTC Roy Smith <roy@panix.com> - 2014-01-31 10:04 -0500
Re: pytz question: GMT vs. UTC Robert Kern <robert.kern@gmail.com> - 2014-01-31 15:08 +0000
Re: pytz question: GMT vs. UTC Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-01-30 19:44 +1300
Re: pytz question: GMT vs. UTC Christian Heimes <christian@python.org> - 2014-01-30 10:49 +0100
Re: pytz question: GMT vs. UTC wxjmfauth@gmail.com - 2014-01-30 02:10 -0800
Re: pytz question: GMT vs. UTC Grant Edwards <invalid@invalid.invalid> - 2014-01-30 15:23 +0000
Re: pytz question: GMT vs. UTC Larry Martell <larry.martell@gmail.com> - 2014-01-30 10:28 -0500
Re: pytz question: GMT vs. UTC Chris Angelico <rosuav@gmail.com> - 2014-01-30 21:10 +1100
Re: pytz question: GMT vs. UTC Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-01-30 20:18 -0500
csiph-web