<div dir="ltr">Nice, looking forward to do something with this.<div><br></div><div style>Gonzalo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 3:54 AM, <span dir="ltr"><<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Gonzalo,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hmmm, interesting. You’re right it’s a good way to explore to reduce the package size.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m going to try. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">About list of contents, it could be find here: [1].<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Best regards from France.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> Lionel.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">[1] <a href="https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0" target="_blank">https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0</a> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></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""> <a href="mailto:godiard@gmail.com" target="_blank">godiard@gmail.com</a> [mailto:<a href="mailto:godiard@gmail.com" target="_blank">godiard@gmail.com</a>] <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</span></p><div class="im"><br><b>Objet :</b> Re: [Sugar-devel] Network version of Abecedarium: why and how<u></u><u></u></div>
<p></p><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi Lionel,<u></u><u></u></p><div><div class="h5"><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.<u></u><u></u></p>
</div><div><p class="MsoNormal">I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory<u></u><u></u></p></div><div><p class="MsoNormal">Look:<u></u><u></u></p></div><div><div><p class="MsoNormal">
<span style="font-family:"Courier New"">[gonzalo@localhost abc]$ ls -l </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Courier New"">total 152</span><u></u><u></u></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><u></u><u></u></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><u></u><u></u></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><u></u><u></u></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><u></u><u></u></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><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">(accountant2.jpg is with quality 70% and accountant3.jpg with 50%)<u></u><u></u></p></div><div><p class="MsoNormal">I don't know about the audio, but maybe is possible improve there too.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I would like have the list of words represented on these images on pootle. I imagine many activities <u></u><u></u></p></div><div><p class="MsoNormal">
can use this if is a shared resource. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><div><div class="h5"><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></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:<u></u><u></u></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">Hi all,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><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><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><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><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Because we’ve got other activities to deploy, we compute:</span><u></u><u></u></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><u></u><u></u></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><u></u><u></u></p><p class="MsoNormal">
<span lang="EN-US">Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …).</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><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><u></u><u></u></p><p class="MsoNormal"><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><u></u><u></u></p>
<p class="MsoNormal"><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><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I’ve explained the full process in the activity description.</span><u></u><u></u></p>
<p class="MsoNormal"><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><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Best regards from France.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> Lionel.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><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><u></u><u></u></p>
<p class="MsoNormal"><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><u></u><u></u></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" target="_blank">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><u></u><u></u></p>
</blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>