alice-teacher But we used a random number generator

Daniel Abeshouse dabeshou at andrew.cmu.edu
Fri Apr 29 18:46:29 EDT 2022


Carlos,

Thanks for sharing this.
Looking at the code, both in this project and in Alice, I can't see where a negative value would come from.
It has not happened on my machine, so diagnosis is more difficult.

I am wondering if there is an error in the animation logic that is somehow overshooting the target value.
(I am kind of grasping at straws, but this code is complex enough to be suspect.)

Is there anything you can say about the machines where the problem is seen?
What OS are they running?
Are they especially underpowered or overworked?

Experiments you might try, if you are so inclined:
- Have the ogres say the size they being set to and see if that matches you see.
- Change the resize duration to 0, to bypass the animation logic and see if it still happens.

Wish I could provide a clear answer for you. Hopefully we can eventually.

-Daniel Abeshouse
Alice Project


> On Apr 29, 2022, at 3:15 PM, Carlos Bovell via alice-teachers <alice-teachers at lists.andrew.cmu.edu> wrote:
> 
> Hi,
> 
> Here's the project we wrote that gives us upside down ogres. I didn't see where the negative numbers would come in, but some student stations (and my teacher station) would give some ogres--sometimes more than one--upside down!
> 
> Thanks,
> Carlos
> <PutOgresInOrder10.a3p>_______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu <mailto:alice-teachers at lists.andrew.cmu.edu>
> To change settings or unsubscribe visit:
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers <https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20220429/7ecf763e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1405 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20220429/7ecf763e/attachment.p7s>


More information about the alice-teachers mailing list