Re: [Sugar-devel] Network version of Abecedarium: why and how
Hi Tom, Very good idea! Dont tested but yes it should works. The WebView already reference the home page using file://bundlepath/html/index.html. I dont see any reason it cant access local images on USB key. Of course, it require one USB key for each XO. Lionel. De : Thomas Gilliard [mailto:satel...@bendbroadband.com] Envoyé : mercredi 24 avril 2013 23:20 À : Walter Bender Cc : Lionel Laské; Sugar-dev Devel; satel...@bendbroadband.com Objet : Re: [Sugar-devel] Network version of Abecedarium: why and how Could the HTML5 files be addressed to a locally inserted USB? file:/// file:///\\ .. Tom Gilliard satellit On 04/24/2013 01:42 PM, Walter Bender wrote: Another thing you may consider is breaking it up into several activities (essentially removing one level hierarchy) and sharing a common database (on the school server or locally). -walter On Wed, Apr 24, 2013 at 4:38 PM, lio...@olpc-france.org mailto:lio...@olpc-france.org wrote: Hi all, Ive 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because weve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, ). So I choose to develop a new version named Abecedarium Net [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. Ive explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDd oZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org mailto:Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org mailto:Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Hi Gonzalo, Hmmm, interesting. Youre right its a good way to explore to reduce the package size. Plus, most of the times images are displayed in the game at maximum 70% of the real size. So, Im not sure reducing quality will be visible. Im going to try. About list of contents, it could be find here: [1]. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2N oMFMtejgxbHc#gid=0 De : godi...@gmail.com [mailto:godi...@gmail.com] De la part de Gonzalo Odiard Envoyé : mercredi 24 avril 2013 23:31 À : Lionel Laské Cc : Sugar-dev Devel Objet : Re: [Sugar-devel] Network version of Abecedarium: why and how Hi Lionel, 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. I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory Look: [gonzalo@localhost abc]$ ls -l total 152 -rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg -rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg -rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif -rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg -rw-r--r--. 1 gonzalo gonzalo 62549 dic 9 22:57 accountant.png (accountant2.jpg is with quality 70% and accountant3.jpg with 50%) I don't know about the audio, but maybe is possible improve there too. I would like have the list of words represented on these images on pootle. I imagine many activities can use this if is a shared resource. On Wed, Apr 24, 2013 at 5:38 PM, lio...@olpc-france.org mailto:lio...@olpc-france.org wrote: Hi all, Ive 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because weve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, ). So I choose to develop a new version named Abecedarium Net [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. Ive explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDd oZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org mailto:Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Hi, Lionel Besides any other optimizations, for a really quick and remorseless fix, you can run your images through Trimage, http://trimage.org/ , which uses some lossless compression libraries and seems to work nicely with your png resources (see attachment for an admittedly too small sample of results from your files, with impossible recursion added for fun). Best regards, David Rodriguez. El jue, 25-04-2013 a las 08:54 +0200, lio...@olpc-france.org escribió: Hi Gonzalo, Hmmm, interesting. You’re right it’s a good way to explore to reduce the package size. 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. I’m going to try. About list of contents, it could be find here: [1]. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0 De : godi...@gmail.com [mailto:godi...@gmail.com] De la part de Gonzalo Odiard Envoyé : mercredi 24 avril 2013 23:31 À : Lionel Laské Cc : Sugar-dev Devel Objet : Re: [Sugar-devel] Network version of Abecedarium: why and how Hi Lionel, 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. I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory Look: [gonzalo@localhost abc]$ ls -l total 152 -rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg -rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg -rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif -rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg -rw-r--r--. 1 gonzalo gonzalo 62549 dic 9 22:57 accountant.png (accountant2.jpg is with quality 70% and accountant3.jpg with 50%) I don't know about the audio, but maybe is possible improve there too. I would like have the list of words represented on these images on pootle. I imagine many activities can use this if is a shared resource. On Wed, Apr 24, 2013 at 5:38 PM, lio...@olpc-france.org wrote: Hi all, 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we’ve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …). So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I’ve explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- David Rodriguez Communications Infrastructure
Re: [Sugar-devel] Network version of Abecedarium: why and how
Nice, looking forward to do something with this. Gonzalo On Thu, Apr 25, 2013 at 3:54 AM, lio...@olpc-france.org wrote: ** ** Hi Gonzalo, ** ** Hmmm, interesting. You’re right it’s a good way to explore to reduce the package size. 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. I’m going to try. About list of contents, it could be find here: [1]. ** ** Best regards from France. ** ** Lionel. ** ** ** ** [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIcTBrN2NoMFMtejgxbHc#gid=0 ** ** *De :* godi...@gmail.com [mailto:godi...@gmail.com] *De la part de*Gonzalo Odiard *Envoyé :* mercredi 24 avril 2013 23:31 *À :* Lionel Laské *Cc :* Sugar-dev Devel *Objet :* Re: [Sugar-devel] Network version of Abecedarium: why and how*** * ** ** Hi Lionel, 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. I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory Look: [gonzalo@localhost abc]$ ls -l total 152 -rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg -rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg -rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif -rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg -rw-r--r--. 1 gonzalo gonzalo 62549 dic 9 22:57 accountant.png ** ** (accountant2.jpg is with quality 70% and accountant3.jpg with 50%) I don't know about the audio, but maybe is possible improve there too. ** ** I would like have the list of words represented on these images on pootle. I imagine many activities can use this if is a shared resource. ** ** ** ** On Wed, Apr 24, 2013 at 5:38 PM, lio...@olpc-france.org wrote: Hi all, 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we’ve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …). So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I’ve explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ** ** ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Hi David, Cool! I didn't know that tool. I'm going to try. Lionel. -Message d'origine- De : David Rodríguez Álvarez [mailto:dar...@activitycentral.com] Envoyé : jeudi 25 avril 2013 09:31 À : lio...@olpc-france.org Cc : 'Gonzalo Odiard'; 'Sugar-dev Devel' Objet : Re: [Sugar-devel] Network version of Abecedarium: why and how Hi, Lionel Besides any other optimizations, for a really quick and remorseless fix, you can run your images through Trimage, http://trimage.org/ , which uses some lossless compression libraries and seems to work nicely with your png resources (see attachment for an admittedly too small sample of results from your files, with impossible recursion added for fun). Best regards, David Rodriguez. El jue, 25-04-2013 a las 08:54 +0200, lio...@olpc-france.org escribió: Hi Gonzalo, Hmmm, interesting. You’re right it’s a good way to explore to reduce the package size. 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. I’m going to try. About list of contents, it could be find here: [1]. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodGF1X2lwRERIc TBrN2NoMFMtejgxbHc#gid=0 De : godi...@gmail.com [mailto:godi...@gmail.com] De la part de Gonzalo Odiard Envoyé : mercredi 24 avril 2013 23:31 À : Lionel Laské Cc : Sugar-dev Devel Objet : Re: [Sugar-devel] Network version of Abecedarium: why and how Hi Lionel, 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. I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory Look: [gonzalo@localhost abc]$ ls -l total 152 -rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg -rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg -rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif -rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg -rw-r--r--. 1 gonzalo gonzalo 62549 dic 9 22:57 accountant.png (accountant2.jpg is with quality 70% and accountant3.jpg with 50%) I don't know about the audio, but maybe is possible improve there too. I would like have the list of words represented on these images on pootle. I imagine many activities can use this if is a shared resource. On Wed, Apr 24, 2013 at 5:38 PM, lio...@olpc-france.org wrote: Hi all, 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we’ve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …). So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I’ve explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04V C1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661
[Sugar-devel] Network version of Abecedarium: why and how
Hi all, Ive 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because weve got other activities to deploy, we compute: - 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. - The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, ). So I choose to develop a new version named Abecedarium Net [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. Ive explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDd oZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Another thing you may consider is breaking it up into several activities (essentially removing one level hierarchy) and sharing a common database (on the school server or locally). -walter On Wed, Apr 24, 2013 at 4:38 PM, lio...@olpc-france.org wrote: Hi all, ** ** 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. ** ** We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we’ve got other activities to deploy, we compute: **- **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. **- **The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …). ** ** So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I’ve explained the full process in the activity description. 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. ** ** Best regards from France. ** ** Lionel. ** ** [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Could the HTML5 files be addressed to a locally inserted USB? file:///.. Tom Gilliard satellit On 04/24/2013 01:42 PM, Walter Bender wrote: Another thing you may consider is breaking it up into several activities (essentially removing one level hierarchy) and sharing a common database (on the school server or locally). -walter On Wed, Apr 24, 2013 at 4:38 PM, lio...@olpc-france.org mailto:lio...@olpc-france.org wrote: Hi all, 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. We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we've got other activities to deploy, we compute: -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. -The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, ...). So I choose to develop a new version named Abecedarium Net [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I've explained the full process in the activity description. 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. Best regards from France. Lionel. [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org mailto:Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Network version of Abecedarium: why and how
Hi Lionel, 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. I tried with one on gimp, but you can use imagemagick or similar to reprocess all the directory Look: [gonzalo@localhost abc]$ ls -l total 152 -rw-rw-r--. 1 gonzalo gonzalo 19228 abr 24 17:59 accountant2.jpg -rw-rw-r--. 1 gonzalo gonzalo 16029 abr 24 17:59 accountant3.jpg -rw-rw-r--. 1 gonzalo gonzalo 21789 abr 24 17:56 accountant.gif -rw-rw-r--. 1 gonzalo gonzalo 28391 abr 24 17:57 accountant.jpg -rw-r--r--. 1 gonzalo gonzalo 62549 dic 9 22:57 accountant.png (accountant2.jpg is with quality 70% and accountant3.jpg with 50%) I don't know about the audio, but maybe is possible improve there too. I would like have the list of words represented on these images on pootle. I imagine many activities can use this if is a shared resource. On Wed, Apr 24, 2013 at 5:38 PM, lio...@olpc-france.org wrote: Hi all, ** ** 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. ** ** We want to deploy the activity on our Nosy Komba deployment this year: 150 XO-1 and 50 XO-1.5. Because we’ve got other activities to deploy, we compute: **- **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. **- **The size of all activities that we planned to install, see the spreadsheet [1]. Unfortunately 100 Mo is too big for the XO-1 with some other big activities (GCompris, Tuxmath, TurtleArt, Speak, …). ** ** So I choose to develop a new version named “Abecedarium Net” [2] without any content included, so with a size of only 6Mo. 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. Because Abecedarium is wrote in HTML5, deploying the web server just mean to copy the content of the full activity on the server. I’ve explained the full process in the activity description. 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. ** ** Best regards from France. ** ** Lionel. ** ** [1] https://docs.google.com/spreadsheet/ccc?key=0ApkC1NVMZoZodDg5em1vaS04VC1vSDdoZ1Z5SHNJUXc#gid=0 [2] http://activities.sugarlabs.org/en/sugar/addon/4661 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel