[Sugar-devel] Sugarizer Activity Set - GSOC 2016

James Cameron quozl at laptop.org
Sun Mar 20 16:57:56 EDT 2016


The data is offset by several hours.

On the old Sugar Moon activity, today's moon information is for "Sun 20 Mar 2016 08:54:55 PM GMT", but on your new activity it is for "Mon Mar 21 2016 07:54:55 GMT+1100 (EST)".

This test using Safari on Mac OS X.

On Sun, Mar 20, 2016 at 03:21:23PM +0530, Shirsh Zibbu wrote:
> Hello. I apologize for not replying earlier.
> I have finally worked out all the problems mentioned below and updated the [1]
> demo.
> 
> Please try it out and see if any more problems persist. I'd be more swift at
> making amends this time onward.
> 
> Bugs fixed:
> 
>>   • the data is offset from current date and time by several hours
>   • there is no compass direction marker or latitude longitude color legend
>     when grid view is enabled
>   • the toggle hemisphere view toggle button may become out of synchronization
>     with the displayed image
>   • the moon does not fit in Sugar Browse
> 
> *
> 
> On Mon, Mar 14, 2016 at 8:39 AM, James Cameron <[2]quozl at laptop.org> wrote:
> 
>     Out of synchronisation is mismatch between button state and moon
>     image.  It happens on first click with empty cache or fresh browser
>     instance.  It does not happen on page refresh.
> 
>     Reproducer:
> 
>     1.  start Firefox and open
>     [3]http://zhirzh.github.io/sugarizer-activity-moon/
> 
>     2.  wait for loading to complete,
> 
>     3.  click once in the Toggle Hemisphere View button,
> 
>     Expected result: both the button and moon image should change state.
> 
>     Observed result: only the button changes state.
> 
>     4.  click again in the Toggle Hemisphere View button,
> 
>     Observed result: both the button and moon image change state.
>    
>     On Fri, Mar 11, 2016 at 06:22:44PM +0530, Shirsh Zibbu wrote:
>     > Okay. I've just finished figuring out the causes of the problems:
>     >
>     >   • timezone problem is happening because js [1]Date() works with local
>     >     timezone, unless explicitly told to use GMT. needs some time, since
>     >     'daylight saving' can also become an issue
>     >
>     >   • i haven't yet implemented compass and legend. will do in the
>     following
>     >     days.
>     >
>     >   • i do not understand what you meant by 'out of
>     >     synchronisation'. i believe it means the button shows activated, even
>     when
>     >     the moon is not flipped (or vice versa). I hope I got that right.
>     (more
>     >     screenshots?)
>     >
>     >   • the problem with Sugar Browse is due to the fact that I am using css
>     >     transforms to center the canvas. apparently, some css features do not
>     >     work everywhere. will switch to js for centering.
>     >
>     > if any more problems pop up, please do tell me. i'd happy to correct
>     them.
>     > *
>     >
>     > On Fri, Mar 11, 2016 at 4:52 AM, James Cameron <[2][4]quozl at laptop.org>
>     wrote:
>     >
>     >     Your link is too long to copy and paste, but this link works fine:
>     >
>     >             [3][5]http://zhirzh.github.io/sugarizer-activity-moon/
>     >
>     >     I've tested using Firefox-45 on Ubuntu 14.04:
>     >
>     >     1.  the data is offset from current date and time by several hours,
>     >
>     >     (the today's moon information, next full moon, new moon, lunar
>     >     eclipse, and solar eclipse times are presented as GMT+1100 (AEDT) yet
>     >     the dates and times are exactly the same as the Moon activity on an
>     XO
>     >     laptop, which presents them as GMT, see attached screenshots,)
>     >
>     >     2.  there is no compass direction marker or latitude longitude colour
>     >     legend when grid view is enabled,
>     >
>     >     3.  the toggle hemisphere view toggle button may become out of
>     >     synchronisation with the displayed image,
>     >
>     >     I've also tested using Sugar Browse from git on Fedora 18 using an XO
>     >     laptop; the moon does not fit, see last of the attached screenshots.
>     >
>     >     Good progress.
>     >
>     >     On Fri, Mar 11, 2016 at 04:20:49AM +0530, Shirsh Zibbu wrote:
>     >     > *
>     >     > I have made some major progress in the past week in the
>     project Sugarizer
>     >     > Activity Set. To be precise, I have been porting Moon activity. I
>     have
>     >     prepared
>     >     > a [1]demo for the same.
>     >     >
>     >     > I would like to know other's opinions, especially the project
>     mentor, sir
>     >     > Lionel Laské and sir Michaël Ohayon, regarding my current work and
>     what
>     >     all
>     >     > changes are needed.
>     >     >
>     >     > References:
>     >     >
>     >     > [1] [4][6]http://t.sidekickopen46.com/e1t/c/5/
>     >   
>      f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?
>     >     t=http%3A%2F%[7]2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=
>     >     5100779840208896&pi=9738b7b8-0b1c-4a15-e4f2-9d8e700508b2
>     >
>     >     > _______________________________________________
>     >     > Sugar-devel mailing list
>     >     > [5][8]Sugar-devel at lists.sugarlabs.org
>     >     > [6][9]http://lists.sugarlabs.org/listinfo/sugar-devel
>     >
>     >
>     >     --
>     >     James Cameron
>     >     [7][10]http://quozl.netrek.org/
>     >
>     > References:
>     >
>     > [1] [11]http://t.sidekickopen46.com/e1t/c/5/
>     f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?
>     t=
>     https%3A%2F%2Fdeveloper.mozilla.org%2Fen%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FDate
>     &si=5100779840208896&pi=229fc1f0-7077-4812-b483-e132a0e3741b
>     > [2] mailto:[12]quozl at laptop.org
>     > [3] [13]http://zhirzh.github.io/sugarizer-activity-moon/
>     > [4] [14]http://t.sidekickopen46.com/e1t/c/5/
>     f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?
>     t=http%3A%2F%2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=
>     5100779840208896&pi=9738b7b8-0b1c-4a15-e4f2-9d8e700508b2
>     > [5] mailto:[15]Sugar-devel at lists.sugarlabs.org
>     > [6] [16]http://lists.sugarlabs.org/listinfo/sugar-devel
>     > [7] [17]http://quozl.netrek.org/
> 
>     --
>     James Cameron
>     [18]http://quozl.netrek.org/
> 
> References:
> 
> [1] http://t.sidekickopen04.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?t=https%3A%2F%2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=5100779840208896&pi=3796c3e3-50c8-487b-d234-21195a7f53d0
> [2] mailto:quozl at laptop.org
> [3] http://zhirzh.github.io/sugarizer-activity-moon/
> [4] mailto:quozl at laptop.org
> [5] http://zhirzh.github.io/sugarizer-activity-moon/
> [6] http://t.sidekickopen46.com/e1t/c/5/
> [7] http://2fzhirzh.github.io/
> [8] mailto:Sugar-devel at lists.sugarlabs.org
> [9] http://lists.sugarlabs.org/listinfo/sugar-devel
> [10] http://quozl.netrek.org/
> [11] http://t.sidekickopen46.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?t=https%3A%2F%2Fdeveloper.mozilla.org%2Fen%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FDate&si=5100779840208896&pi=229fc1f0-7077-4812-b483-e132a0e3741b
> [12] mailto:quozl at laptop.org
> [13] http://zhirzh.github.io/sugarizer-activity-moon/
> [14] http://t.sidekickopen46.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?t=http%3A%2F%2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=5100779840208896&pi=9738b7b8-0b1c-4a15-e4f2-9d8e700508b2
> [15] mailto:Sugar-devel at lists.sugarlabs.org
> [16] http://lists.sugarlabs.org/listinfo/sugar-devel
> [17] http://quozl.netrek.org/
> [18] http://quozl.netrek.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list