[Cuis] New updates
Ken.Dickey
Ken.Dickey at whidbey.com
Sun May 10 20:44:16 CDT 2015
On Sun, 10 May 2015 19:21:29 -0300
"Juan Vuletich" <juan at jvuletich.org> wrote:
> On Sun, May 10, 2015 6:38 pm, Ken.Dickey wrote:
> > However, time does not seem to move forward.
> > (String streamContents: [ :strm | DateAndTime now printHMSOn: strm])
> > always returns the same value.
> >
> > Interestingly,
> > Time now.
> > advances!
..
> On Windows, with both a recent Cog and an interpreter, it seems to work
> ok. Have you tried various VMs, especially one that used to work ok for
> you?
image 2280 works
image 2318 fails
with same VM and platform.
> What OS / VM are you using?
Samsung ARM Chromebook w Crouton / Ubuntu (trusty)
>> uname -a
Linux localhost 3.8.11 #1 SMP Mon Apr 27 08:39:10 PDT 2015 armv7l armv7l armv7l GNU/Linux
>> squeak -version
4.0-3284 #1 Mon Mar 23 23:23:08 PDT 2015 gcc 4.6.3 [Production VM]
StackInterpreter VMMaker.oscog-eem.1113 uuid: 9b08eea7-d3db-440f-ba64-16abc799fcf8 Mar 23 2015
VM: r3284 http://squeakvm.org/svn/squeak/branches/Cog Date: 2015-03-23 13:04:06 -0700
Plugins: r3275 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
Linux bruichladdich 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
plugin path: /usr/local/bin/../lib/squeak/4.0-3284 [default: /usr/local/lib/squeak/4.0-3284/]
> What do you get if you evaluate Time primLocalMicrosecondClock and Time
> primMillisecondClock ?
> Do you get increasing values?
Yes. The values look roughly equivalent in 2280 and 2318.
Ah! I think I found the root of the problem.
The image save timestamp was
(10 May 2015 3:39:16.01 pm)
The clock on your time zone is ahead of mine, so I was testing BEFORE the image was saved.
The Cuis image was saved at 15:39 (your local time)
My testing here started at 13:24 (my local time)
NOW (19:41 local time) the UpdatingStringMorph on the panel is working in 2318.
Looks like we need to use GMT for timestamps to avoid the problem. Not an immediate crisis, however.
Whew!
--
-KenD
More information about the Cuis
mailing list