― Ste (Fuzzy), Friday, 2 February 2007 13:21 (nineteen years ago)
― the original hauntology blogging crew (Enrique), Friday, 2 February 2007 13:28 (nineteen years ago)
― ledge (ledge), Friday, 2 February 2007 15:41 (nineteen years ago)
― Ed (dali), Friday, 2 February 2007 15:41 (nineteen years ago)
― ledge (ledge), Friday, 2 February 2007 15:48 (nineteen years ago)
― Forest Pines (ForestPines), Friday, 2 February 2007 16:15 (nineteen years ago)
"ISO 8601 describes several formats to define date, times, periods, and recurring dates, with different levels of precision and indetermination. After many discussions, W3C XML Schema selected a subset of these formats and created a primitive datatype for each format that is supported.
The indeterminacy allowed in some of these formats adds a lot of difficulty, especially when comparisons or arithmetic are involved. For instance, it is possible to define a point in time without specifying the time zone, which is then considered undetermined. This undetermined time zone is identical all over the document (and between the schema and the instance documents) and it's not an issue to compare two datetimes without a time zone. The problem arises when you need to compare two points in time, one with a time zone and the other without. The result of this comparison will be undetermined if these values are too close, since one of them may be between -13 hours and +12 hours of Coordinated Universal Time (UTC)."
from XML Schema by Eric van der Vlist. why is it a problem specifically for that range? does exactly one time need not to have a time zone? how close do the times need to be? can someone come up with an example illustrating exactly what the problem is? obviously if one time is not timezoned, the comparison will be indeterminate, but i have a feeling he means something else, or that there are other conditions that i'm just not seeing and this has been bugging me for two days and i have no one to ask or the people i ask don't answer so if you could i would love you so ilx thank you
― youn (youn), Wednesday, 7 February 2007 03:25 (nineteen years ago)
Obviously, if you compare 1st Jan 1963 00:00 with 8th Nov 1997 13:00, then for most purposes, the error caused by not having a time zone is pretty minimal.
It perhaps depends on why you think this is an issue, Youn... Why would it cause you problems? Are you sending documents across time zones?
― KeefW (kmw), Wednesday, 7 February 2007 09:01 (nineteen years ago)
For example, if you have the timestamp: Feb 7th 2007, 13:00 EST, and the timestamp Feb 7th 2007, 13:00 (with no zone specified), then obviously you can't tell which is earlier (or if they are equal). On the other hand, the timestamp Feb 5th 2007, 13:00 (no zone again) is always going to be earlier than the first one, because the two points are too far apart for specifying the timezone to make any difference.
In the context of XML it's not a problem if neither timestamp has a zone, because all timestamps without zones should behave as if they're all in the same time zone - this is what "this undetermined time zone is identical all over the document" means.
(xpost)
― Forest Pines (ForestPines), Wednesday, 7 February 2007 09:02 (nineteen years ago)
― I don't know whether to play the trumpet, read a book or be a lesbian. (aldo_cow, Wednesday, 7 February 2007 09:06 (nineteen years ago)
― Forest Pines (ForestPines), Wednesday, 7 February 2007 09:08 (nineteen years ago)
It's obviously just a FF problem, since it doesn't affect any other apps and the cursor is still free to move - it just won't change to a finger or whatever at the right time, or register a click immediately, or pause as text input is going in, or whatever I'm trying to to do. It's sounds like it's trying to check something, hence why I turned the other stuff off even though it wasn't causing a problem before.
― I don't know whether to play the trumpet, read a book or be a lesbian. (aldo_cow, Wednesday, 7 February 2007 09:13 (nineteen years ago)
Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, boolean given
for
$rs = mysqli_query($db, $query);while ($i = mysqli_fetch_row($rs)){
... (error given on the whileline)... this was running fine a couple of days ago, and is also identical to error-free code elsewhere.
― ledge (ledge), Wednesday, 7 February 2007 23:19 (nineteen years ago)
― ledge (ledge), Wednesday, 7 February 2007 23:34 (nineteen years ago)
― ^@^, Tuesday, 27 February 2007 10:56 (nineteen years ago)
― Forest Pines, Tuesday, 27 February 2007 10:59 (nineteen years ago)
― ^@^, Tuesday, 27 February 2007 11:02 (nineteen years ago)
― ^@^, Tuesday, 27 February 2007 11:13 (nineteen years ago)
― koogs, Tuesday, 27 February 2007 11:23 (nineteen years ago)
― ^@^, Tuesday, 27 February 2007 11:25 (nineteen years ago)
― Forest Pines, Tuesday, 27 February 2007 11:26 (nineteen years ago)
― Tracer Hand, Tuesday, 27 February 2007 11:41 (nineteen years ago)
― ^@^, Tuesday, 27 February 2007 11:57 (nineteen years ago)
― ^@^, Sunday, 4 March 2007 11:24 (nineteen years ago)
― NI, Monday, 5 March 2007 02:10 (nineteen years ago)
― koogs, Monday, 5 March 2007 06:49 (nineteen years ago)
― Ed, Monday, 5 March 2007 07:32 (nineteen years ago)
― jergincito, Monday, 5 March 2007 13:31 (nineteen years ago)
― Ed, Monday, 5 March 2007 13:33 (nineteen years ago)
― jergincito, Monday, 5 March 2007 13:33 (nineteen years ago)
― NI, Monday, 5 March 2007 18:46 (nineteen years ago)
― Archel, Monday, 5 March 2007 18:55 (nineteen years ago)
― svend, Monday, 5 March 2007 19:17 (nineteen years ago)
― akm, Monday, 5 March 2007 21:04 (nineteen years ago)
― JW, Monday, 5 March 2007 21:12 (nineteen years ago)
― akm, Monday, 5 March 2007 21:16 (nineteen years ago)
― Maria, Monday, 5 March 2007 21:29 (nineteen years ago)
― ^@^, Tuesday, 6 March 2007 11:58 (nineteen years ago)
― tissp, Tuesday, 6 March 2007 12:06 (nineteen years ago)
― Tracer Hand, Tuesday, 6 March 2007 12:08 (nineteen years ago)
― Tracer Hand, Tuesday, 6 March 2007 12:09 (nineteen years ago)
― ^@^, Tuesday, 6 March 2007 12:12 (nineteen years ago)
― Mark C, Wednesday, 7 March 2007 15:15 (nineteen years ago)
― koogs, Wednesday, 7 March 2007 15:51 (nineteen years ago)
― Jaq, Wednesday, 7 March 2007 15:52 (nineteen years ago)
― peteR, Wednesday, 7 March 2007 16:38 (nineteen years ago)
― Mark C, Wednesday, 7 March 2007 16:41 (nineteen years ago)
― peteR, Wednesday, 7 March 2007 16:59 (nineteen years ago)
― JW, Wednesday, 7 March 2007 17:14 (nineteen years ago)
― peteR, Wednesday, 7 March 2007 17:21 (nineteen years ago)