<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Hi Gonzalo,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Hmmm, interesting. You’re right it’s a good way to explore to reduce the package size.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Plus, most of the times images are displayed in the game at maximum 70% of the real size. So, I’m not sure reducing quality will be visible.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I’m going to try. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>About list of contents, it could be find here: [1].<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Best regards from France.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>                Lionel.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>[1] <a href="https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0">https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0</a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De :</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> godiard@gmail.com [mailto:godiard@gmail.com] <b>De la part de</b> Gonzalo Odiard<br><b>Envoyé :</b> mercredi 24 avril 2013 23:31<br><b>À :</b> Lionel Laské<br><b>Cc :</b> Sugar-dev Devel<br><b>Objet :</b> Re: [Sugar-devel] Network version of Abecedarium: why and how<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Lionel,<o:p></o:p></p><div><p class=MsoNormal>Almost 65 MB are in the html/images/database directory, I think you can reduce the size of these images to 1/4 of the actual size, just saving as gif or jpg and playing a little with the properties, without loosing too much quality.<o:p></o:p></p></div><div><p class=MsoNormal>I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory<o:p></o:p></p></div><div><p class=MsoNormal>Look:<o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-family:"Courier New"'>[gonzalo@localhost abc]$ ls -l </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>total 152</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>-rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>-rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>-rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>-rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>-rw-r--r--. 1 gonzalo gonzalo 62549 dic  9 22:57 accountant.png</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>(accountant2.jpg is with quality 70% and accountant3.jpg with 50%)<o:p></o:p></p></div><div><p class=MsoNormal>I don't know about the audio, but maybe is possible improve there too.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I would like have the list of words represented on these images on pootle. I imagine many activities <o:p></o:p></p></div><div><p class=MsoNormal>can use this if is a shared resource. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Apr 24, 2013 at 5:38 PM, <<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi all,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>I’ve released last week my Abecedarium activity for Sugar 0.96+. One issue with this activity is that, due to number of contents (1500 images and sounds), its size is about 100Mo.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Because we’ve got other activities to deploy, we compute:</span><o:p></o:p></p><p><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'>          </span><span lang=EN-US>The free space on a XO-1 and XO-1.5 with Sugar 0.96 without any activity: 550 Mo for XO-1, 2645Mo for XO-1.5.</span><o:p></o:p></p><p><span lang=EN-US>-</span><span lang=EN-US style='font-size:7.0pt'>          </span><span lang=EN-US>The size of all activities that we planned to install, see the spreadsheet [1].</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …).</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>The idea is to deploy all contents on a school/web server instead of into the activity. A config file in the activity has to be set with the URL of the content, or it could be set from a dialog popup. The activity test the network regularly and display the status.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>I’ve explained the full process in the activity description.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>I will test it myself on our School Server at Madagascar but do not hesitate in the meantime to test it and give me feedback.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Best regards from France.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>                Lionel.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>[1] <a href="https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0" target="_blank">https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0</a> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>[2] <a href="http://activities.sugarlabs.org/en/sugar/addon/4661" target="_blank">http://activities.sugarlabs.org/en/sugar/addon/4661</a> </span><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>Sugar-devel mailing list<br><a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br><a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>