New updates

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

New updates

Juan Vuletich-4
Hi Folks,

I've just updated our github repo. News include a verbatim port of
VMMaker, and tweaks to SqueakCompatibility to make this possible. It
also includes a tweak to Transcript to make it "almost editable": if you
do "Workspace with contents" in the Transcript, the Workspace you get
gets updated when new stuff is added to the Transcript.

We also have an updated TerseGuide and a few new examples (thanks Dan!)
and some tweaks to support Hannes' port of Neo-CSV (thans Hannes!).

Cheers,
Juan Vuletich

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

KenDickey
On Sun, 10 May 2015 15:54:59 -0300
Juan Vuletich <[hidden email]> wrote:

> I've just updated our github repo.

Thanks much!!

However, time does not seem to move forward.
  (String streamContents: [ :strm | DateAndTime now printHMSOn: strm])
always returns the same value.

Interestingly,
  Time now.
advances!

-KenD

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Juan Vuletich-4
On Sun, May 10, 2015 6:38 pm, Ken.Dickey wrote:

> On Sun, 10 May 2015 15:54:59 -0300
> Juan Vuletich <[hidden email]> wrote:
>
>
>> I've just updated our github repo.
>>
>
> Thanks much!!
>
>
> However, time does not seem to move forward.
> (String streamContents: [ :strm | DateAndTime now printHMSOn: strm])
> always returns the same value.
>
> Interestingly,
> Time now.
> advances!
>
> -KenD

Hi Ken,

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?

What OS / VM are you using?

What do you get if you evaluate Time primLocalMicrosecondClock and Time
primMillisecondClock ?
Do you get increasing values?

Thanks,
Juan Vuletich

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

KenDickey
On Sun, 10 May 2015 19:21:29 -0300
"Juan Vuletich" <[hidden email]> 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

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Dan Norton
In reply to this post by Juan Vuletich-4
The following minor irritations appear in update 2318:

    Transcript will not stay where it was placed when the image was saved. In a reloaded
image, it has been moved.

    Author initials are no longer retained across image save/reload.

On 10 May 2015 at 15:54, Juan Vuletich wrote:

> Hi Folks,
>
> I've just updated our github repo. News include a verbatim port of
> VMMaker, and tweaks to SqueakCompatibility to make this possible. It
> also includes a tweak to Transcript to make it "almost editable": if
> you
> do "Workspace with contents" in the Transcript, the Workspace you
> get
> gets updated when new stuff is added to the Transcript.
>
> We also have an updated TerseGuide and a few new examples (thanks
> Dan!)
> and some tweaks to support Hannes' port of Neo-CSV (thans
> Hannes!).
>
> Cheers,
> Juan Vuletich
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org



_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Juan Vuletich-4
In reply to this post by KenDickey
On 5/10/2015 10:44 PM, Ken.Dickey wrote:

> ...
> 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!

Great catch Ken! Thank you! This bug could drive me mad for weeks, as
there's no way I would reproduce it, without changing time zones!

The problem was not resetting the LastTick class variable on image save.
It is fixed now.

Cheers,
Juan Vuletich

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Juan Vuletich-4
In reply to this post by Dan Norton
Thanks, Dan.

They are fixed now. Never refrain from reporting these!

Cheers,
Juan Vuletich

On 5/11/2015 10:05 PM, Dan Norton wrote:

> The following minor irritations appear in update 2318:
>
>      Transcript will not stay where it was placed when the image was saved. In a reloaded
> image, it has been moved.
>
>      Author initials are no longer retained across image save/reload.
>
> On 10 May 2015 at 15:54, Juan Vuletich wrote:
>
>> Hi Folks,
>>
>> I've just updated our github repo. News include a verbatim port of
>> VMMaker, and tweaks to SqueakCompatibility to make this possible. It
>> also includes a tweak to Transcript to make it "almost editable": if
>> you
>> do "Workspace with contents" in the Transcript, the Workspace you
>> get
>> gets updated when new stuff is added to the Transcript.
>>
>> We also have an updated TerseGuide and a few new examples (thanks
>> Dan!)
>> and some tweaks to support Hannes' port of Neo-CSV (thans
>> Hannes!).
>>
>> Cheers,
>> Juan Vuletich
>>
>> _______________________________________________
>> Cuis mailing list
>> [hidden email]
>> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Dan Norton
Thanks, Juan. That did it.

self refrain: false.  :)

On 13 May 2015 at 10:19, Juan Vuletich wrote:

> Thanks, Dan.
>
> They are fixed now. Never refrain from reporting these!
>
> Cheers,
> Juan Vuletich
>
> On 5/11/2015 10:05 PM, Dan Norton wrote:
> > The following minor irritations appear in update 2318:
> >
> >      Transcript will not stay where it was placed when the image
> was saved. In a reloaded
> > image, it has been moved.
> >
> >      Author initials are no longer retained across image
> save/reload.
> >
> > On 10 May 2015 at 15:54, Juan Vuletich wrote:
> >
> >> Hi Folks,
> >>
> >> I've just updated our github repo. News include a verbatim port
> of
> >> VMMaker, and tweaks to SqueakCompatibility to make this possible.
> It
> >> also includes a tweak to Transcript to make it "almost editable":
> if
> >> you
> >> do "Workspace with contents" in the Transcript, the Workspace
> you
> >> get
> >> gets updated when new stuff is added to the Transcript.
> >>
> >> We also have an updated TerseGuide and a few new examples
> (thanks
> >> Dan!)
> >> and some tweaks to support Hannes' port of Neo-CSV (thans
> >> Hannes!).
> >>
> >> Cheers,
> >> Juan Vuletich
> >>
> >> _______________________________________________
> >> Cuis mailing list
> >> [hidden email]
> >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
> >
> >
> > _______________________________________________
> > Cuis mailing list
> > [hidden email]
> > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
> >
>



_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Phil B
In reply to this post by Juan Vuletich-4
Juan,

On Sun, 2015-05-10 at 15:54 -0300, Juan Vuletich wrote:
> Hi Folks,
>
> I've just updated our github repo. News include a verbatim port of
> VMMaker, and tweaks to SqueakCompatibility to make this possible. It
> also includes a tweak to Transcript to make it "almost editable": if you
> do "Workspace with contents" in the Transcript, the Workspace you get
> gets updated when new stuff is added to the Transcript.
>

I just noticed the VMMaker in the compat packages.  I was curious if you
have looked at all into getting a simulator running? (i.e. running a
Cuis image within a Cuis image.  Yes, I understand this would be very,
very, painfully slow)  I'm not sure what the status of doing this is
even in Squeak but thought I'd ask...

> We also have an updated TerseGuide and a few new examples (thanks Dan!)
> and some tweaks to support Hannes' port of Neo-CSV (thans Hannes!).
>
> Cheers,
> Juan Vuletich
>

Thanks,
Phil


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Juan Vuletich-4
Hi Phil,

On 6/14/2015 8:47 PM, Phil (list) wrote:

> Juan,
>
> On Sun, 2015-05-10 at 15:54 -0300, Juan Vuletich wrote:
>> Hi Folks,
>>
>> I've just updated our github repo. News include a verbatim port of
>> VMMaker, and tweaks to SqueakCompatibility to make this possible. It
>> also includes a tweak to Transcript to make it "almost editable": if you
>> do "Workspace with contents" in the Transcript, the Workspace you get
>> gets updated when new stuff is added to the Transcript.
>>
> I just noticed the VMMaker in the compat packages.  I was curious if you
> have looked at all into getting a simulator running? (i.e. running a
> Cuis image within a Cuis image.  Yes, I understand this would be very,
> very, painfully slow)  I'm not sure what the status of doing this is
> even in Squeak but thought I'd ask...

Right now, it can generate the full C source for the VM and plugins. I
didn't try to use it to run a Cuis image (yet). It should be doable with
a reasonable amount of effort.

Cheers,
Juan Vuletich


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: New updates

Phil B
On Tue, 2015-06-16 at 09:40 -0300, Juan Vuletich wrote:

> Hi Phil,
>
> On 6/14/2015 8:47 PM, Phil (list) wrote:
> > Juan,
> >
> > On Sun, 2015-05-10 at 15:54 -0300, Juan Vuletich wrote:
> >> Hi Folks,
> >>
> >> I've just updated our github repo. News include a verbatim port of
> >> VMMaker, and tweaks to SqueakCompatibility to make this possible. It
> >> also includes a tweak to Transcript to make it "almost editable": if you
> >> do "Workspace with contents" in the Transcript, the Workspace you get
> >> gets updated when new stuff is added to the Transcript.
> >>
> > I just noticed the VMMaker in the compat packages.  I was curious if you
> > have looked at all into getting a simulator running? (i.e. running a
> > Cuis image within a Cuis image.  Yes, I understand this would be very,
> > very, painfully slow)  I'm not sure what the status of doing this is
> > even in Squeak but thought I'd ask...
>
> Right now, it can generate the full C source for the VM and plugins. I
> didn't try to use it to run a Cuis image (yet). It should be doable with
> a reasonable amount of effort.
>

Added to my list of things to play around with at around position
#1241... <sigh> I'll never get through this list...

> Cheers,
> Juan Vuletich
>



_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org