<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aptivate &#124; A Blog for ICT4D &#187; Web</title>
	<atom:link href="http://blog.aptivate.org/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aptivate.org</link>
	<description>International I.T. Development</description>
	<lastBuildDate>Wed, 01 Feb 2012 14:09:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.6</generator>
		<item>
		<title>How can a $35 tablet computer change the world?</title>
		<link>http://blog.aptivate.org/2011/10/21/how-can-a-35-tablet-computer-change-the-world/</link>
		<comments>http://blog.aptivate.org/2011/10/21/how-can-a-35-tablet-computer-change-the-world/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 22:38:51 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Africa]]></category>
		<category><![CDATA[Appropriate Technology]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Teaching]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=966</guid>
		<description><![CDATA[Osama Manzar poses some very interesting questions about India&#8217;s new $35 tablet computer &#8220;for the poor&#8221;. However he doesn&#8217;t attempt to answer these questions, leaving the reader in no doubt that he thinks the answer is No! in all cases. I must admit to being skeptical about any such innovation, and I&#8217;ve been listening to [...]]]></description>
			<content:encoded><![CDATA[<p>Osama Manzar poses some <a href="http://www.livemint.com/Articles/2011/10/17000845/Aakash-may-not-help-bridge-the.html">very interesting questions</a> about India&#8217;s new $35 tablet computer &#8220;for the poor&#8221;. However he doesn&#8217;t attempt to answer these questions, leaving the reader in no doubt that he thinks the answer is <strong>No!</strong> in all cases.</p>
<p>I must admit to being skeptical about any such innovation, and I&#8217;ve been listening to <a href="http://tech.groups.yahoo.com/group/bytesforall_readers/message/14910">both</a> <a href="http://tech.groups.yahoo.com/group/bytesforall_readers/message/14921">sides</a> of the <a href="http://tech.groups.yahoo.com/group/bytesforall_readers/message/14929">debate</a> on the <a href="http://tech.groups.yahoo.com/group/bytesforall_readers/">BytesForAll</a> mailing list. Despite my skepticism, Osama&#8217;s questions have some answers, and I&#8217;d like to present them for comment.</p>
<blockquote>
<ul>
<li>India has one of the lowest ratio of teachers—just 456 teachers per million people.</li>
<li>Seventy-two percent of our primary schools have only three teachers or less.</li>
<li>25% of teachers were absent from school, and only about half were teaching, during unannounced visits to a nationally representative sample of government primary schools.</li>
</ul>
<p>How is the $35 tablet going to solve any of these problems?
</p></blockquote>
<p>Of course technology on its own is not going to solve these problems. It is just a valuable weapon in the armoury of those who would launch an all-out war on poverty (and other abstract nouns).</p>
<p>Kentaro Toyama, an ex-Microsoft guru turned ICT4D researcher, <a href="https://plus.google.com/113254845719530983612/posts/gtju48L8bYq">says</a> that &#8220;technology is [just] an amplifier of human intent and capacity.&#8221; And when faced with a task that&#8217;s possible but simply too large, an amplifier is exactly what we need. It doesn&#8217;t need to be high tech. Tanzania did just fine with radio, one of the oldest, simplest and most inclusive ICTs:</p>
<blockquote><p>
About ten years after independence, Tanzania decided to move towards universal primary education, almost doubling the number of children in school. The government estimated that it needed an extra 40,000 teachers. As the existing training colleges were producing only 5,000 new teachers a year, it was decided to recruit secondary school leavers and train them on an apprenticeship model, partly on the job and partly through distance education. Over a period of three years, they were posted in schools where they had a reduced teaching load. They then followed correspondence courses backed by radio programmes; they were supervised and tested on their classroom practices, and passed their examinations. Two evaluations found that they ended up reasonably competent in the classroom (Chale, 1993; quoted by Perranton, 2000; retrieved from <a href="http://archive.unu.edu/africa/files/UNU_RevitalizingHigherEducation.pdf">UNU</a>)
</p></blockquote>
<p>If India were to launch a massive teacher education programme, they would find it cheaper to implement that programme using technology. For example, they might distribute radios, TVs, portable audio players or even (heaven forbid!) computers to trainee teachers. It might take longer for those teachers to reach high standards, and more might drop out, without the personal connection and feedback of face-to-face training. Even so, one could train more teachers for more time and achieve a similar number of fully trained teachers at a lower cost.</p>
<blockquote><p>
In the business sector, more than 70% micro, small and medium enterprises (MSMEs) are not connected to information society to leverage opportunities of business and efficiency. How will the $35 tablet help in the financial inclusion of MSMEs, which are largely situated in small towns and remote areas?
</p></blockquote>
<p>It&#8217;s unfortunate that the tablet doesn&#8217;t include a long-range wireless network (such as GPRS), which must surely cover most of India as it does Africa. Even without an Internet connection, it can still provide useful services such as record keeping, business accounting and stock tracking to small enterprises. The tablet is based on Android, but the marketplace has been disabled, and this is a serious limitation. I think it&#8217;s likely to be overcome soon. When that happens, India&#8217;s many skilled software developers will be free to create localised applications for a potentially huge local market.</p>
<blockquote><p>Most of India’s 3.3 million non-governmental organisations (NGOs) are also located in remote areas—70% of them lack any sort of information and communication technology (ICT) infrastructure or connectivity, and have no websites.</p>
<p>How can the $35 tablet help these NGOs’ global outreach efforts or aid the millions of people working with them in rural areas?</p></blockquote>
<p>You probably know the answer to this question as well as I do: <em>The same way as computer and phones can, only more so.</em> Helping people to communicate and to do their work is exactly what ICTs do. All of them. With the possible exception of Angry Birds. A computer can help us to make leaflets, track visits to patients and beneficiaries, diagnose illnesses, improve farming techniques, or learn about anything we wish to know in the whole world of knowledge. </p>
<blockquote><p>Can it bring transparency in governance at this level?</p></blockquote>
<p>Good question. Not by itself, sure. Transparency comes from open data. The people might get together to publish what the government would rather hide, or pressure the government to release the data, but a $35 tablet won&#8217;t help them much.</p>
<p>When they do release that data, however, the usual problem is how to make use of it. Government data tends to be massive and unwieldy, and answering difficult questions takes much time and significant skill even with the best of data. I think that free, open, widecast media provide the biggest opportunity to make real use of transparency, and our use of the Internet as an enabler of democracy is the best example of that.  Potentially, a simple but powerful Internet device could help bring people together to investigate and answer those difficult questions. But by the sound of it, this tablet is not quite there yet. Hopefully it will be soon.</p>
<blockquote><p>
Since a large population of our country communicate verbally, and cannot read and write with ease, their preferred medium of content consumption and content production is audio-visual&#8230; But to make use of good multimedia content, you need powerful machines, not cheap and underperforming ones.
</p></blockquote>
<p>I disagree with that. I grew up with &#8220;multimedia content&#8221; on BBC Micros: simple games, moving blocks around a screen, simple word processors and spreadsheets and databases and graphics. A picture is worth a thousand words, and a simple, clear diagram can be worth far more than a complex, confusing one. Advanced graphics are no substitute for a visual designer&#8217;s ingenuity and skill. Wikipedia is &#8220;multimedia content&#8221; that is perfectly suited to a $35 tablet.</p>
<blockquote><p>
If the $35 tablet can do anything good to education in India, the only way is by handing them to each and every teacher and school management staff to monitor the workings and functioning of the school and its teachers&#8230;
</p></blockquote>
<p>Monitoring is an interesting application, and a double-edged sword. <a href="http://www.ids.ac.uk/go/idsperson/professor-robert-chambers">Robert Chambers</a>, the inventor of <a href="http://en.wikipedia.org/wiki/Participatory_rural_appraisal">participatory rural appraisal</a>, told us a story at the recent <a href="http://ict4d-finale.eventbrite.com/">ICT4D Finale</a> event in Cambridge of a hospital in India where the nurses were given mobile phones &#8220;to collect data at the source.&#8221; But the director of the hospital used it to monitor what they were doing, effectively spying on them. The nurses went on strike and eventually the director was fired. I think that for monitoring to have a positive benefit, it must be done with consent and a shared vision to use the data to improve performance, not to criticise and control.</p>
<blockquote><p>rather than assuming that each student will buy Aakash and India will become digitally literate overnight.</p></blockquote>
<p>I have to agree with that sentiment, although I&#8217;m not sure who raised it. Kapil Sibal, who takes the credit for inventing the $35 tablet, merely <a href="http://www.telegraphindia.com/1111016/jsp/7days/story_14628545.jsp">said</a>:</p>
<blockquote><p>This low cost device is part of our national mission on education through information and communication technology (NME-ICT) which will connect over 1,000 institutions across the country, enabling tonnes of web-based course content for free.</p></blockquote>
<p>Now that doesn&#8217;t sound so far-fetched, does it?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2011/10/21/how-can-a-35-tablet-computer-change-the-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 bit alpha png optimisation with pngquant</title>
		<link>http://blog.aptivate.org/2011/06/28/8-bit-alpha-png-optimisation-with-pngquant/</link>
		<comments>http://blog.aptivate.org/2011/06/28/8-bit-alpha-png-optimisation-with-pngquant/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 15:37:57 +0000</pubDate>
		<dc:creator>Jay Alvarez</dc:creator>
				<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=866</guid>
		<description><![CDATA[It looks like we may have found an alternative to great png optimisation at last, pngquant.  We really struggled with this issue on the Reaction Scorecards website as the homepage had some graphics with fine lines and alpha transparency which were proving difficult to optimise. In the past I have used Adobe fireworks which seemed [...]]]></description>
			<content:encoded><![CDATA[<p>It looks like we may have found an alternative to great png optimisation at last, <a href="http://www.libpng.org/pub/png/apps/pngquant.html"><strong>pngquant</strong></a>.  We really struggled with this issue on the <a href="http://ihpresults.net/">Reaction Scorecards</a> website as the  homepage had some graphics with fine lines and alpha transparency which  were proving difficult to optimise.</p>
<p>In the past I have used Adobe fireworks which seemed unrivalled in the open source world but <strong><a href="http://www.libpng.org/pub/png/apps/pngquant.html"><strong>pngquant</strong></a></strong> is just great.</p>
<p>The  command line tool allows you to squish the <strong>32bit png</strong> files output from  Inkscape into <strong>8 bit</strong> files with any number of colours from 2 to 255. To  make the test I used an <strong>11.9 kB</strong> inkscape file which when processed using <strong><a href="http://www.libpng.org/pub/png/apps/pngquant.html"><strong>pngquant</strong></a></strong> and 24 colours was perfectly acceptable and now had only a <strong>3.1 kB</strong> file size. Yippee!!. I&#8217;m a happy bunny</p>
<p><a rel="attachment wp-att-871" href="http://blog.aptivate.org/2011/06/28/8-bit-alpha-png-optimisation-with-pngquant/bunny-fs8/"><img class="size-full wp-image-871 alignnone" style="background-image: url(http://blog.aptivate.org/wp-content/uploads/2011/06/gradient-bg.jpg); margin: 20px; background-repeat:repeat-x;" title="happy transparent 8bit bunny" src="http://blog.aptivate.org/wp-content/uploads/2011/06/bunny-fs8.png" alt="happy transparent 8bit bunny" width="272" height="248" /></a></p>
<p><em>(MyPaint bunny 39 kB -&gt; Gimp bunny 53 kB -&gt; happy pngquant bunny 13 kB)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2011/06/28/8-bit-alpha-png-optimisation-with-pngquant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move over microsoft: Design&#8217;s going open source</title>
		<link>http://blog.aptivate.org/2011/05/19/move-over-microsoft-designs-going-open-source/</link>
		<comments>http://blog.aptivate.org/2011/05/19/move-over-microsoft-designs-going-open-source/#comments</comments>
		<pubDate>Thu, 19 May 2011 10:19:58 +0000</pubDate>
		<dc:creator>Jay Alvarez</dc:creator>
				<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=784</guid>
		<description><![CDATA[I’ve been designing websites since 1999 but switching from Microsoft Windows to Ubuntu has been one of those pivotal experiences worth sharing. Joining Aptivate as the in-house designer recently has given me the opportunity to challenge some pretty old work-flows and move towards a totally open source design practice. Aptivate work almost exclusively with open [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong>I’ve been designing websites since 1999 but switching from <a href="http://www.microsoft.com/windows/explore/default.aspx" target="_blank">Microsoft Windows</a> to <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> has been one of those pivotal experiences worth sharing. Joining  Aptivate as the in-house designer recently has given me the opportunity  to challenge some pretty old work-flows and move towards a totally open  source design practice.</p>
<p>Aptivate  work almost exclusively with open source software so it seems a great  idea to give Microsoft the push, and frankly I’d had enough of waiting 9  minutes for my laptop to reboot. That’s enough time for making 6 people  a cup of tea, water the plants and rearrange the desk; all good things  ONCE a day not 5 times when the PC crashes. 3 years of filling up with  junk makes a Windows PC very very sluggish and an unhappy designer with a  tidy workspace.</p>
<h2>Changing over &#8211; a gradual process</h2>
<p>Leaving  Microsoft was never going to a straight switch. Leaving a web platform  if you are dependent on it for your income is a scary thing.</p>
<p>Since  i cut my design teeth on Apple Macs and Adobe software in 1995, I have  moved gradually to Windows in a bid to be one step closer to the end  user who on the whole use this platform. I was still, however heavily  dependent on Adobe products, primarily <a href="http://www.adobe.com/products/fireworks.html" target="_blank">Fireworks</a> and <a href="http://www.adobe.com/products/dreamweaver.html" target="_blank">Dreamweaver </a>for interface design and development, but also <a href="http://www.adobe.com/products/illustrator.html" target="_blank">Illustrator </a>for vector graphics and <a href="http://www.adobe.com/products/photoshop.html" target="_blank">Photoshop</a> for photo editing. I know they are good, but really? couldn’t I achieve a good web result without them?</p>
<h2>Open source alternatives within Windows.</h2>
<p>Going  back a bit to before the anger towards the laptop really kicked in.  Finding open source alternatives was an exciting challenge. These were  readily available for Windows so I didn’t have to switch, just try them  out. I found a really useful website <a href="http://www.osalt.com/" target="_blank">www.osalt.com</a> which helps you to find open source alternatives to commercial software.</p>
<h3>Web development &#8211; Aptana 2</h3>
<p>Essentially I wanted an html/css editor with code completion, ftp client and project manager.. I tried <a href="http://www.osalt.com/amaya" target="_blank">Amaya</a>,  <a href="http://www.osalt.com/bluefish" target="_blank">Bluefish </a><a href="http://www.osalt.com/kompozer" target="_blank">KompoZer</a> and <a href="http://www.osalt.com/seamonkey" target="_blank">Mozilla SeaMonkey</a> which all had great features, but none of them did ALL the things I  wanted together and I really was a bit spoilt by having them all rolled  into one with Dreamweaver.  Finally I found <a href="http://www.osalt.com/aptana" target="_blank">Aptana 2</a> which whilst a bit fiddly to get started with seemed to have everything I needed, hurray!</p>
<ul>
<li> Best thing about Aptana  &#8211;  has to be the available plugin support for different types of project  such as php, python/django, javascript, svn and git. It’s very  comprehensive.</li>
</ul>
<ul>
<li>What I miss the most from Dreamweaver &#8211;  nothing&#8230; had I still been dependent on the WYSIWYG editor in  Dreamweaver then I could argue that this would be a bit deal, but since  most of my work is now with dynamic database driven sites, I tend to use  <a href="http://getfirebug.com/" target="_blank">Firebug</a> to make visual tweaks before committing them to code.</li>
</ul>
<h3>Web design &#8211; Inkscape</h3>
<p>A  key part of my work involves developing brand assets, icons and other  vector graphics for both web and print design. For this I had depended  on Illustrator. Quite quickly however I discovered <a href="http://www.inkscape.org/" target="_blank">Inkscape</a> . What an amazing product! it’s a bit clunky but it lets me do 90% of  the key design tasks I did in Illustrator and 60% of tasks I used to do  in Fireworks.  Essentially it is the easiest transition I have made on  this journey and means that I now only use Inkscape for designing for  the web.</p>
<ul>
<li>Best thing about Inkscape &#8211; The  ability to export 32 bit png files from any selection, the page or  object.  The other best bit is all the native SVG features I have yet to  discover!</li>
<li> What I miss the most from Illustrator &#8211; nothing worth mentioning.</li>
<li>What I miss the most from Fireworks &#8211; Image  optimisation &#8211; no image editing software that I’m aware of does a  better job of compressing and optimising all nature of image files than  Fireworks. It creates an 8 bit alpha png with a tiny size and smooth,  edging where transparent bits kick in. This for me is the single most  important missing feature of any open source alternative. Inkscape needs  a good image optimising tool.</li>
</ul>
<h3>Photo editing &#8211; Gimp</h3>
<p>Scaling,  cropping, optimising photos; that’s a big part of creating photographic  content for a website. Mainly I leave that to the end user but  sometimes I create photo-based graphics too.<br />
<a href="http://www.gimp.org/" target="_blank">Gimp</a> seems the most logical choice, as it suggests so itself, but I’m not  finding it intuitive and it seems to crash more often than not.  Fireworks has a limited range of bitmap editing tools compared to  Photoshop but integrates really well within the context of creating an  interface design as bitmap and vector graphic objects live happily on  the same layer or multiple layers. Now there are several open source  alternatives for this work such as but I’ll admit that I’m not finding a  great solution and again it’s the optimisation issue that makes me  frustrated.</p>
<h3>Designing for Low Bandwidth</h3>
<p>If  we need to create websites with small file sizes for countries with low  bandwidth then we need powerful optimisers. I found that Fireworks was  great because of the high compression rates achievable which result in  files more than half the size achievable using other programmes, open  source or commercial. So here is a proposal for a future project for  Aptivate &#8211; create an 8 bit Alpha transparency image optimiser that  challenges Fireworks.</p>
<h2>Switching to Ubuntu</h2>
<p>A  couple of months later I reformatted and partitioned the hard drive of  my Dell Precision 9300 workstation. I still wanted access to Windows, so  did a dual boot with an extra partition for shared files. Apart from my  video card packing in unexpectedly (nothing to do with the installation  I’m assured) , the installation went without a hitch. I was amazed by  how intuitive the Ubuntu interface was. Using the software install  centre, I was able to quickly and directly install all the applications I  needed. Start up and shut down was a mere seconds and as I was in  production mode within a couple of hours. I was more than happy to find  <a title="Dropbox" href="http://dropbox.com">Dropbox</a>, <a href="http://www.skype.com">Skype</a> and <a href="http://get.adobe.com/uk/reader/">Acrobat Reader</a> were also available. All in all it was  pain free, and&#8230; Ubuntu is actually graphically beautiful (not something I had anticipated at all).</p>
<h3>The dreaded Terminal</h3>
<p>Well  it’s inevitable even for a designer. The WYSIWYG addicts worst fear,  THE TERMINAL!!! agghh!! . A Baptism of code fire at Aptivate, no namby  pamby intro here. I had pulled down the designer’s defence gate and in  trickled (and sometimes poured) an endless stream of code, configuration  files, settings, database fixtures, tables, smart tricks and speedy  scripts, screen sharing and networking wizardry. Ah! then I had a cup of  tea. I’ll be a terminal ninja one day.</p>
<h3>Do I miss Windows?</h3>
<p>I  don’t miss windows. I booted into it shortly after installing Ubuntu,  and found it an empty experience, like going back to a house I you’ve  just moved out of but still have keys to. Can’t find the kettle to make a  cup of tea so not staying. I recently installed <a href="http://www.virtualbox.org/" target="_blank">virtual box </a>and now run several different versions of Windows XP to help me cross-browser debug CSS.</p>
<h3>Moving forward</h3>
<p>Apart  from using my new open source toolbox to help Aptivate refresh it’s  current website, there are things I want to do. It would be great to  contribute to the open source community and generally help to improve  already great products such as Inkscape. I’ve already started submitting  <a href="http://www.inkscape.org/" target="_blank">Inkscape</a> icons to the <a href="http://www.openclipart.org/" target="_blank">Open Clip Art Library</a> and it would be great if we developed the image optimiser I mentioned  before. There is also a lot of potential in interactive svg’s which  would be great to explore especially since Internet Explorer 9 supports  them.. oh Microsoft you are never forgotten&#8230;</p>
<p>If you are designer reading this, and fancy getting involved with Aptivate’s open source efforts somehow, <a href="http://contact-us/" target="_blank">get in touch</a>.  If you are a developer and have a secret optimiser up your sleeve,  please let us feed you and keep you amused because we want it!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2011/05/19/move-over-microsoft-designs-going-open-source/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apptivate for Development</title>
		<link>http://blog.aptivate.org/2011/05/13/apptivate-for-development/</link>
		<comments>http://blog.aptivate.org/2011/05/13/apptivate-for-development/#comments</comments>
		<pubDate>Fri, 13 May 2011 14:16:23 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[ihp]]></category>
		<category><![CDATA[MDGs]]></category>
		<category><![CDATA[openness]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[prices]]></category>
		<category><![CDATA[reaction]]></category>
		<category><![CDATA[sarpam]]></category>
		<category><![CDATA[visualisation]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=774</guid>
		<description><![CDATA[As I&#8217;m at the Open Data for Development Conference, I thought I should write a quick note about some of our recent openness achievements: SARPAM is a current Re-Action project to share drug price data across Southern Africa, helping countries negotiate a better deal from drug suppliers. IHP+Results is another Re-Action project, just completed, to [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m at the <a href="http://openforchange.info/oddc">Open Data for Development Conference</a>, I thought I should write a quick note about some of our recent openness achievements:</p>
<ul>
<li><a href="http://www.re-action.co.za/purpose/what-we-do/SARPAM/">SARPAM</a> is a current Re-Action project to share drug price data across Southern Africa, helping countries negotiate a better deal from drug suppliers.</li>
<li><a href="http://ihpresults.net/">IHP+Results</a> is another Re-Action project, just completed, to promote accountability among <a href="http://www.internationalhealthpartnership.net/en/about">IHP signatories</a> by sharing information on their health service improvements and progress towards meeting their Millennium Development Goals.</li>
</ul>
<p>You can find the source code for both these applications on <a href="https://github.com/aptivate">Aptivate&#8217;s GitHub</a>. Our intention is to agree with our partners to publish full source code wherever possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2011/05/13/apptivate-for-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Websites and Low Bandwidth Simulator in Go</title>
		<link>http://blog.aptivate.org/2011/02/16/offline-websites-and-low-bandwidth-simulator-in-go/</link>
		<comments>http://blog.aptivate.org/2011/02/16/offline-websites-and-low-bandwidth-simulator-in-go/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 11:29:38 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Appropriate Technology]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Digital Resilience]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Offline]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=768</guid>
		<description><![CDATA[Jon Thompson writes about Jeff Allen's interesting new work on tools for working with low bandwidth:

<ul><li>A web proxy that simulates low bandwidth connections, and</li>
<li>one that can be fed prepackaged content repositories to serve up when offline, or on the wrong end of a slow Internet connection.</li>
</ul>

Content management systems could be extended to integrate better with these tools and make sites automatically offlineable.]]></description>
			<content:encoded><![CDATA[<p>Jon Thompson writes about <a href="http://aidworkerdaily.com/2011/02/09/jeff-go-and-some-chicken-and-biscuits/">Jeff Allen&#8217;s interesting new work on tools for working with low bandwidth</a>:</p>
<blockquote><p>Jeff continues to try and solve the low bandwidth/high latency problems that aid workers face in the field every day and that we encountered in Indonesia. We all know the joy of VSAT networks that slow to a crawl because either some folks on the team are downloading stuff they shouldn’t be downloading or all the computers are infected with bandwidth sucking viruses. It appears Jeff has moved one step closer to sorting out some of the problems surrounding bandwidth optimization by utilizing the Go programming language.</p>
<p>Rather than try and explain to you what Jeff has done I’ll let you read ‘A rate-limiting HTTP proxy in Go‘ and ‘How to control your HTTP transactions in Go‘ and sort out what he is talking about. Hopefully, this post will bait Jeff into leaving a lengthy comment that explains exactly what the hell he is up to.</p></blockquote>
<p>My understanding is that Jeff is developing two useful tools:</p>
<ul>
<li><a href="http://blog.nella.org/?p=833">A web proxy that simulates low bandwidth connections</a>, similar to the <a href="loband.org/loband/simulator.jsp">Loband Simulator</a>. Jeff&#8217;s version is probably more accurate than ours because it doesn&#8217;t need to modify the web page, but ours might be easier for non-developers to try out, because you don&#8217;t have to install any software.</li>
<li>A web proxy that can be fed <a href="http://aidworkerdaily.com/2011/02/09/jeff-go-and-some-chicken-and-biscuits/#comment-49355">prepackaged content repositories to serve up</a>, so that you can take pre-prepared content (offline websites) with you into the field, and browse them through the proxy as though you were online.</li>
</ul>
<p>People have been trying to make offlineable websites for a long time. Some of the best examples so far are using entirely client-side (in-browser) technology, such as the <a href="http://www.logcluster.org/tools/log">Logistics Operational Guide</a>, developed by the World Food Programme for the Logistics Cluster, which can <a href="http://log.logcluster.org/portable.html">run entirely offline</a> using Google Gears.</p>
<p>Gears had a lot of potential for developers to create offlineable websites, but Google has abandoned its future development in favour of the open standard HTML5, which is not ready yet. So there&#8217;s no obvious and future-proof way to develop offlineable websites at the moment. Jeff&#8217;s proxy, combined with a spidering system, could be one way to download an entire site, even if it wasn&#8217;t designed to be downloaded by the developers.</p>
<p>Another important potential comes from content management systems (CMS) such as <a href="http://wordpress.com">WordPress</a>, <a href="http://drupal.org">Drupal</a> and <a href="http://joomla.org">Joomla</a>. More and more websites are developed using such systems, rather than coded from scratch. The systems know all of the pages on the site, and the links between them, and could easily build an offlineable version of the site for download into Gears, HTML5 or Jeff&#8217;s proxy. And one plugin could potentially enable thousands of sites to be offlineable, especially if it was included in the CMS distribution and enabled by default.</p>
<p>A few wikis such as MediaWiki, MoinMoin, DocuWiki and JSPWiki have a <a href="http://www.mediawiki.org/wiki/Talk:WikiText_Transfer_Protocol">programming interface</a> (XML-RPC or WebDAV) that allows a smart client to download pages in their original text format, which could make them more efficient to store offline and also potentially editable offline. Jeff&#8217;s proxy could be extended to support sites built in such wikis automatically. There are still some limitations to this approach:</p>
<ul>
<li>The pages would not look the same as the online versions, since the styling wouldn&#8217;t be downloaded and the effects of CMS plugins would not be visible;</li>
<li>It would probably still be quite slow to download an entire site this way, by spidering, without server-side support for downloading multiple pages at once;</li>
<li>Few websites are built out of Wikis, so the potential maximum reach is limited compared to better support for WordPress, Drupal or Joomla.
</li>
</ul>
<p>Anyway, I wish I knew Go, and had time to hack on Jeff&#8217;s proxy tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2011/02/16/offline-websites-and-low-bandwidth-simulator-in-go/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Svelte Web Design with SVG</title>
		<link>http://blog.aptivate.org/2010/10/06/svelte-web-design-with-svg/</link>
		<comments>http://blog.aptivate.org/2010/10/06/svelte-web-design-with-svg/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 07:37:50 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Appropriate Technology]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[svg]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=707</guid>
		<description><![CDATA[Web designers who care about efficiency and speed might like to have a look at Sam Ruby&#8217;s Blog. All images are embedded SVG in the XHMTL. No bitmaps at all. Notice how fluid it is, how it scales with the browser&#8217;s zoom in and zoom out controls (Control + and Control &#8211; in Firefox) and [...]]]></description>
			<content:encoded><![CDATA[<p>Web designers who care about efficiency and speed might like to have a look at <a href="http://intertwingly.net/blog/">Sam Ruby&#8217;s Blog</a>.</p>
<p>All images are embedded <a href="http://en.wikipedia.org/wiki/Scalable_Vector_Graphics">SVG</a> in the XHMTL. No bitmaps at all. Notice how fluid it is, how it scales with the browser&#8217;s zoom in and zoom out controls (Control + and Control &#8211; in Firefox) and as you resize the browser window.</p>
<div id="attachment_714" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/10/06/svelte-web-design-with-svg/intertwingly-screenshot/" rel="attachment wp-att-714"><img src="http://blog.aptivate.org/wp-content/uploads/2010/10/intertwingly-screenshot-500x232.png" alt="Screenshot of Sam Ruby&#039;s Blog" title="Screenshot of Sam Ruby&#039;s Blog" width="500" height="232" class="size-large wp-image-714" /></a><p class="wp-caption-text">Screenshot of Sam Ruby's Blog</p></div>
<p>The page is small, just 14.5k of HTML plus 6.6k of CSS. There&#8217;s 21k of JavaScript that isn&#8217;t required for the design. Even the drop-down menu at the top works with Javascript disabled. Finally there a WOFF web font that adds 40k (another nice technique). It would be nice to have web fonts <a href="http://en.wikipedia.org/wiki/Content_delivery_network">hosted</a> for cross-site caching.</p>
<p>One disadvantage of designing sites this way is that the page must be valid XHTML for inline SVG to work. This makes it difficult to support older browsers properly, because the server must send the content-type as <code>text/xhtml+xml</code>, not <code>text/html</code>. This will cause older browsers to download the page instead of rendering it. You could work around that with user agent sniffing. I think that <a href="http://wiki.habariproject.org/en/XHTML_vs_HTML">Internet Explorer might need that</a> in any case.</p>
<p>Another disadvantage is that very few <a href="http://en.wikipedia.org/wiki/Content_management_system">CMS</a>s currently support generating valid XHTML, so it&#8217;s difficult to know what tool we could recommend to help you to build and manage a website with inline SVG. Massimiliano of the Habari Project <a href="http://wiki.habariproject.org/en/XHTML_vs_HTML">says</a>:</p>
<blockquote><p>I don&#8217;t have any examples of blog software constructed this way&#8230; the only way to find out how many people would like having SVG on their blog is to provide a blogging tool which allows them to do it.</p></blockquote>
<p>Both issues could be worked around by using external SVG (in separate files) instead of inline (embedded in XHTML). External SVG files are more cacheable but require additional HTTP requests to fetch from the server the first time.</p>
<p>Most older browsers do not support SVG images, so although the site degrades gracefully, it looks very plain without any graphics. You could work around this with a server-side renderer that converts the SVG to PNG for older browsers.</p>
<p>I think this is an excellent example of a great technique that we could be using for many more sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/10/06/svelte-web-design-with-svg/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mobiles for Scientific Research</title>
		<link>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/</link>
		<comments>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 09:43:54 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[Offline]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PDAs]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[data collection]]></category>
		<category><![CDATA[africa]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[ictp]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=591</guid>
		<description><![CDATA[We know mobiles are very useful in areas where desktop computer and communications infrastructure is not easily available or affordable. And we&#8217;re very interested in mobile applications and scientific research in exactly these regions. So I was very interested to see a new training workshop being run by the Science Dissemination Unit (SDU) of the [...]]]></description>
			<content:encoded><![CDATA[<p>We know mobiles are very useful in areas where desktop computer and communications infrastructure is not easily available or affordable. And we&#8217;re very interested in mobile applications and scientific research in exactly these regions.</p>
<p>So I was very interested to see a new training workshop being run by the <a href="http://sdu.ictp.it">Science Dissemination Unit (SDU)</a> of the <a href="http://ictp.it">Abdus Salam International Centre for Theoretical Physics (ICTP)</a>. The workshop is on <a href="http://cdsagenda5.ictp.trieste.it/full_display.php?ida=a09152">Mobile Science: Sensing, Computing and Dissemination</a> and the deadline for applications is tomorrow, July 10th.</p>
<p>Quoting from the announcement: </p>
<blockquote><p>
The Science Dissemination Unit (SDU) of the Abdus Salam International Centre for Theoretical Physics (ICTP), with the assistance of the University of Washington (USA) and of the UCLA Centerfor Embedded Networked Sensing (USA) will hold a Workshop on &#8220;Mobile Science: Sensing, Computing and Dissemination&#8221; in Trieste (Italy) from the 2 to the 5 of November 2010.</p>
<p>Mobile applications offer tremendous benefits to academic research and<br />
education, and to society as a whole throughout the world. This is an<br />
opportunity that deserves attention and promotion, especially in less<br />
developed areas where mobile phones are the first telecommunications<br />
technology in history to have more users than in the developed world.
</p></blockquote>
<p>The specific things that interested me were:</p>
<dl>
<dt>The Mobile Science workshop aims to engage the scientific community in developing countries in the design, development, and deployment of the newest mobile scientific applications;</dt>
<dd>i.e. advocating appropriate mobile applications in scientific<br />
research/academia;</dd>
<dt>Participants will learn how to apply mobile technology tools to retrieve scientific data</dt>
<dd>I.e. designing mobile apps for science data collection;</dd>
<dt>how to apply appropriate web-based analysis to assimilate mobile data into scientific studies</dt>
<dd>I.e. web-based statistical analysis and presentation, like a free online version of SPSS? As far as I know this doesn&#8217;t exist yet. The closest that I can think of is the Google Docs spreadsheet, which is of course just a spreadsheet, requires an internet connection and doesn&#8217;t allow plugins for additional scientific analysis functionality. But there could be a very interesting app to develop here.</dd>
<dt>and how to share their scientific findings with a potentially large mobile audience.</dt>
<dd>I.e. <a href="http://www.aptivate.org/webguidelines/">low bandwidth design</a> with an emphasis on web standards for cross-platform compatibility, so that it works on the largest number of mobile devices.</dd>
</dl>
<p>If you want to apply, better get on your bike (or modem?) because the deadline is tomorrow. If you want to do mobile scientific research applications, please get in touch, we&#8217;d like to help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/07/09/mobiles-for-scientific-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simulating low bandwidth: Publishers for Development</title>
		<link>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/</link>
		<comments>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:09:55 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Design and Usability]]></category>
		<category><![CDATA[Engineer's Log]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[academia]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=472</guid>
		<description><![CDATA[We think that academic publishing is an area that's both critically important to development, and simultaneously becoming more and more inaccessible to the people who need it most. The average size of web pages has been growing much faster than the average speed of connections in developing countries. We built a low bandwidth simulator ourselves, and took it to INASP and the ACU's Publishers for Development conference in Oxford to persuade the journal publishers to optimize their sites to make them accessible to everyone.]]></description>
			<content:encoded><![CDATA[<p>We think that academic publishing is an area that&#8217;s both critically important to development, and simultaneously becoming more and more inaccessible to the people who need it most.</p>
<p>The average size of web pages has been growing much faster than the average speed of connections in developing countries, and journal websites are no exception, as you can see in <a href="http://blog.aptivate.org/2009/07/09/when-it-comes-to-websites-small-is-beautiful/">Alan&#8217;s blog post</a>:</p>
<div id="attachment_488" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/graph-2/" rel="attachment wp-att-488"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/graph-500x381.png" alt="Average page size has grown much faster than available bandwidth" title="Average Page Size vs Bandwidth" width="500" height="381" class="size-large wp-image-488" /></a><p class="wp-caption-text">Average Page Size vs Bandwidth</p></div>
<p>As Alan points out, the average journal&#8217;s home page in his sample would take over <strong>90 seconds</strong> to load on average, for researchers at universities in developing countries. Usability research has shown that people expect a computer to respond within 30 seconds. Making them wait longer interrupts their concentration, causes dissatisfaction and annoyance, and they <strong>often abandon the process</strong>. The biggest factor in user satisfaction is speed of response.</p>
<p>While this research probably did not include users who are accustomed to slow and unreliable computers, I think it&#8217;s safe to say that most people would find it annoying and difficult to use the Internet on a dial-up modem. And even a modem would have been preferable to some of the Internet connections that I&#8217;ve experienced (and paid for) in some countries in the last few years.</p>
<p>Academics have little ability to persuade their universities to upgrade their internet connections, at a cost of several peoples&#8217; salaries (several thousand dollars a month). The only people who can change this are the publishers of the journals, by optimising their journals&#8217; websites for users with slower connections.</p>
<p>But how to persuade the publishers that this is important? We built a low bandwidth simulator ourselves, and took it to Oxford, to <a href="http://www.inasp.info">INASP</a> and the <a href="http://www.acu.ac.uk/">ACU</a>&#8216;s <a href="http://www.inasp.info/file/f5c039878f09a104df806301113361a5/publishers-for-development-pfd.html">Publishers for Development</a> conference.</p>
<h3>What We Did</h3>
<p>We set up spare machine as a <a href="http://bwmo.net">bandwidth management</a> box, and used it as a network filter for the participants. They could come and plug their laptops into the box, and browse the Internet and their own websites at a simulated slow speed.</p>
<div id="attachment_504" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/table-layout/" rel="attachment wp-att-504"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/table-layout-500x302.jpg" alt="Table with server, router and laptops with exercise cards stuck on top" title="Exercise Table" width="500" height="302" class="size-large wp-image-504" /></a><p class="wp-caption-text">Exercise Table</p></div>
<p>We configured the box for transparent bridging. This allowed us to insert and remove it from the network easily, just by switching over a network cable, to demonstrate the difference between fast and slow loading of pages.</p>
<p>We gave the participants at the meeting tasks to perform on various publishers&#8217; websites, for example finding and downloading an academic paper by topic or researcher.</p>
<div id="attachment_502" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/publishers-testing/" rel="attachment wp-att-502"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/publishers-testing-500x408.jpg" alt="Participants watching and using the throttled laptops" title="Playing the Game" width="500" height="408" class="size-large wp-image-502" /></a><p class="wp-caption-text">Playing the Game</p></div>
<p>I think they found the activities enlightening, because we had some very good comments from some of the participants:</p>
<ul>
<li>&#8220;<em>We&#8217;re so pleased that Alan was able to work his magic at the recent PfD session &#8211; his delivery is innovative, dynamic and fact-packed so it really sparks enthusiasm from the audience&#8230; [which] is demonstrably channelled into action once people return to their places of work.</em>&#8220;<br />Publishers for Development Team</li>
<li>&#8220;<em>It was really useful to try the low bandwidth! [Our site] is already considered fast but it made us think even more around this issue, what else can we do etc.</em>&#8220;<br />Anonymous Participant
</li>
<li>&#8220;<em>Alan Jackson&#8217;s information about bandwidth was kind of shocking even if I knew it before, but to really experience it was very valuable. We are going to redesign DOAJ&#8217;s home page and this must be the starting point.</em>&#8220;<br />Sonja Brage, DOAJ
</li>
<li>&#8220;<em>Site speed is a major consideration for us, and I really enjoyed Alan/Aptivate&#8217;s session, experiencing the exasperation of trying (and failing) to connect via low-bandwidth&#8230; I have a feeling that there is &#8216;excess baggage&#8217; on a number of the pages&#8230;</em>&#8220;<br />James Kitchen, OECD
</li>
</ul>
<h3>How We Did It</h3>
<p>We used FreeBSD as the operating system for the software bridge, because its <em>dummynet</em> traffic shaper is relatively easy to use, and very good at simulating slow connections.</p>
<p>We wanted to use a laptop instead of a desktop machine, so that we could carry it to the conference easily, but we had hardware compatibility issues with FreeBSD on all the laptops we had available to us (mostly IBM Thinkpads). We ended up using a compact Fujitsu desktop box.</p>
<p>We installed FreeBSD 8 on it, and configured it to transparently bridge between two interfaces. Our internet access at the conference would be wireless, but we had issues with bridging wired and wireless interfaces together. So instead we used a <a href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series">Linksys WRT-54GL</a> router with the <a href="http://www.polarcloud.com/tomato">Tomato</a> firmware, which enables wireless client mode, to connect to the network:</p>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/throttler/" rel="attachment wp-att-493"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/throttler-500x328.png" alt="WRT-54GL connected to FreeBSD throttler connected to network switch connected to client laptops" title="Throttler Network Diagram" width="500" height="328" class="size-large wp-image-493" /></a><p class="wp-caption-text">Throttler Network Diagram</p></div>
<p>And this is what it looked like in the room. Notice the essential coffee and cupcake, without which the system mysteriously failed to work:</p>
<div id="attachment_503" class="wp-caption aligncenter" style="width: 509px"><a href="http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/server-closeup/" rel="attachment wp-att-503"><img src="http://blog.aptivate.org/wp-content/uploads/2010/06/server-closeup-499x408.jpg" alt="FreeBSD server, wireless router and a laptop" title="Network Close Up" width="499" height="408" class="size-large wp-image-503" /></a><p class="wp-caption-text">Network Close Up</p></div>
<p>We configured the FreeBSD box to bring up the bridge automatically at boot time, and to load a set of <em>ipfw</em> firewall rules to enable <em>dummynet</em>, the traffic shaper. On this box, the ethernet interfaces are called <em>em0</em> and <em>rl0</em>, so we added the following lines to <em>/etc/rc.conf</em>:</p>
<pre>
ifconfig_em0="up"
ifconfig_rl0="up"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm em0 addm rl0 up dhcp"

firewall_enable="YES"
firewall_type="/etc/ipfw.rules"
dummynet_enable="YES"
</pre>
<p>Then we created <em>/etc/ipfw.rules</em> with the following contents:</p>
<pre>
# with bridge mode, two nics. em0 is wan
add pipe 1 all from any to any out recv em0
add pipe 2 all from any to any out xmit em0
add allow all from any to any
pipe 1 config delay 700ms bw 40Kbit/s mask dst-ip 0x000000ff
pipe 2 config delay 700ms bw 40Kbit/s mask src-ip 0x000000ff
</pre>
<p>This configuration creates two <em>dummynet pipes</em>. Pipe 1 is for traffic received on the external interface (downloads), and pipe 2 is for traffic being sent out of the external interface (uploads). We have to follow this by a rule which allows all other traffic, otherwise local traffic (on the box itself) is denied by default when the firewall is enabled, which breaks local DNS and inbound SSH and makes the box pretty unusable on the console.</p>
<p>Then we configure both pipes to allocate 40 Kbps (kilobits per second) for each individual IP address in the private subnet (allocated by the DHCP server on the Tomato router) and a 700 ms delay in each direction, which gives a 1400 ms round trip time. This is somewhat higher than the expected 600 ms round trip for a connection by geostationary satellite.</p>
<p>The end result is that each user connects a laptop to the switch behind the box, gets an IP address from the DHCP server on the router, is NATted by the router onto the public network, and is able to browse the Internet with a connection of 40 kbps upload and download. If you remove the FreeBSD box, by connecting the switch directly to the router, you can access the public network at full speed.</p>
<p>One issue was that the public network used a captive portal, which we had to log into. We didn&#8217;t want each client on our network to have to log in separately, so we enabled NAT on the router, and in wireless client mode, all the NATted clients get the MAC address of the router, so the public network thinks that they&#8217;re all the same PC and doesn&#8217;t ask them to log in again.</p>
<h3>Why We Did it</h3>
<p>We think that members of universities and research institutions need to be able to join and participate in the global research community as equals, in order to play their part in assisting development in their home countries.</p>
<p>Programmes such as <a href="http://www.inasp.info/file/5f65fc9017860338882881402dc594e4/perii.html">PERii</a>, <a href="http://www.who.int/hinari/">HINARI</a> and <a href="http://www.aginternetwork.org/">AGORA</a> negotiate free or discounted online access to these journals for universities in developing countries. But the users still need to get online and access the content.</p>
<p>Online publishing for Western markets is usually designed for users with fast Internet connections, which Western universities have. But in other regions, universities often can&#8217;t afford fast connections, and this makes it very difficult for them to access these journals online.</p>
<p>Publishers for Development is bringing international publishers together who are interested in finding out how they might contribute to discourse and action around developing country access, encourage publication from developing country researchers and understand the diversity within research cultures/communities and the challenges these present.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/06/08/simulating-low-bandwidth-publishers-for-development/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>The Censorship Arms Race</title>
		<link>http://blog.aptivate.org/2010/04/07/the-censorship-arms-race/</link>
		<comments>http://blog.aptivate.org/2010/04/07/the-censorship-arms-race/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 13:00:57 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[Censorship]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=423</guid>
		<description><![CDATA[No security is perfect. There will always be ways around any security measure that we implement. However, no workaround is perfect either. Once we understand how it works, e.g. what the requests that it makes look like, we can block it. This quickly turns into an arms race between the user and the administrator.]]></description>
			<content:encoded><![CDATA[<p>Preface: This post discusses censorship. I want to be clear that I represent only my own personal views here, and I don&#8217;t personally support censorship in most cases. I think that freedom of access to information has a benefit and a cost, and the tradeoff depends on circumstances.</p>
<p>I think that censorship is useful when it serves a higher purpose, for example to save lives, or to save vital money for underfunded universities in countries where bandwidth is expensive and there are alternative ways for students to access the uncensored Internet for private browsing purposes. I&#8217;m opposed to censorship that requires leaving the country or changing your ISP to get around it.</p>
<p>Walubengo wrote on the BMO Training mailing list:</p>
<blockquote><p>Am just from the student labs and came across this sneaky little [software]:</p>
<p><a href="http://www.ninjacloak.com/">http://www.ninjacloak.com/</a></p>
<p>It basically allows my students to get behind the good old<br />
dansguardian/squid proxy_firewall; essentially allowing them to visit<br />
and download all and sundry (read porn, warez, torrents et al)</p>
<p>[H]ave been wondering why the clamour to &#8220;open-up&#8221; the internet &#8220;for<br />
research&#8221; had gone down (now I know).</p>
<p>Any quick counters? (beyond just blocking ninjacloak.com, since they are likely to get an equivalent sooner rather than later)</p></blockquote>
<p>I have never used ninjacloak and I don&#8217;t intend to, but I&#8217;m sure that if you post some logs of its use from your proxy server, we can figure out how to block it.</p>
<p>However, no security is perfect. There will always be ways around any security measure that we implement. However, no workaround is perfect either. Once we understand how it works, e.g. what the requests that it makes look like, we can block it.</p>
<p>This quickly turns into an arms race between the user and the administrator. The winner is usually the one with the most time, patience and determination. This may be a fight that you don&#8217;t want to take on.</p>
<p>In my view, if users really really want to access some blocked content, they will find a way. However, a good security system will make it possible to at least trace that they did so, if not exactly what they accessed. So my approach would be two-fold:</p>
<ol>
<li>Tackle the biggest problems first, and when they make sense. If someone uses ninjacloak to view a porn site once, it is hardly going to bring down your network, so you don&#8217;t need to care. If all your students are using TOR, AND it is bringing down your network, THEN it&#8217;s time to do something about it. If you don&#8217;t know what the biggest problem is, <a href="http://www.bwmo.net/pdf/chapter3.pdf">find out</a>.</li>
<li>Don&#8217;t forget that social measures are far more effective than technical ones. If students know that they are being watched, they are much less likely to try things like this. Make REALLY sure that everyone knows and understands your <a href="http://www.bwmo.net/pdf/chapter2.pdf">policy</a>. When you find students bypassing your security, <a href="http://www.bwmo.net/pdf/chapter7.pdf">go and talk to them</a>. If necessary, consider the use of formal sanctions, which are likely to have a stronger deterrent effect.</li>
</ol>
<p>If users think they are being treated unfairly or harshly, it can increase their determination to fight the system. If you have a good reason for censoring, because you can show them how much damage their actions are causing to legitimate or intended uses (such as academic research), they are much more likely to understand and comply with your requests, hopefully avoiding the need for sanctions.</p>
<blockquote><p>nb: but again, someone may ask, why not just open up the internet any way?</p></blockquote>
<p>Because (and only when) it wastes your precious bandwidth that&#8217;s better used for your core purpose (e.g. academic research), which is why you pay for the connection in the first place.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/04/07/the-censorship-arms-race/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Network Management Basics</title>
		<link>http://blog.aptivate.org/2010/04/07/network-management-basics/</link>
		<comments>http://blog.aptivate.org/2010/04/07/network-management-basics/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 07:43:20 +0000</pubDate>
		<dc:creator>Chris Wilson</dc:creator>
				<category><![CDATA[Censorship]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[university]]></category>

		<guid isPermaLink="false">http://blog.aptivate.org/?p=419</guid>
		<description><![CDATA[I&#8217;ve been asked for some advice on how schools and universities can take advantage of the increased bandwidth available with the arrival of the TEAMS and EASSY submarine cables in East Africa. Management of Internet connections is a big subject. Whole books have been written about it, including the freely downloadable How To Accelerate Your [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked for some advice on how schools and universities can take advantage of the increased bandwidth available with the arrival of the <a href="http://en.wikipedia.org/wiki/TEAMS_(cable_system)">TEAMS</a> and <a href="http://en.wikipedia.org/wiki/EASSy_(cable_system)">EASSY</a> submarine cables in East Africa.</p>
<p>Management of Internet connections is a big subject. Whole books have been written about it, including the freely downloadable <a href="http://bwmo.net">How To Accelerate Your Internet (BMO Book)</a>. However, for anyone who doesn&#8217;t have time to read it, I will briefly summarise the most important points that I can think of:</p>
<ul>
<li>have a clear, simple and strict <a href="http://bwmo.net/pdf/chapter2.pdf">Internet access policy</a>, and enforce<br />
it.</li>
<li>have enough bandwidth, AT LEAST 3 kbps per computer, uncontended. So if you have 1000 computers, you should have 3 MBits dedicated bandwidth, or 60 MBps if it&#8217;s shared or contended with a 20:1 contention ratio (typical ISPs).</li>
<li>have competent network administrators. If you don&#8217;t have them, then hire or train them.</li>
<li>implement good network management practices, e.g. by following the advice of the <a href="http://bwmo.net/">BMO Book</a>.</li>
<li>start by <a href="http://bwmo.net/pdf/chapter5.pdf">solving</a> the problems that users complain most about, to give them the best possible service.</li>
<li><a href="http://bwmo.net/pdf/chapter3.pdf">monitor your network</a> to understand how Internet bandwidth is being used.</li>
<li><a href="http://bwmo.net/pdf/chapter4.pdf">block misuses</a> of Internet access that are causing problems for legitimate use of the Internet connection.</li>
<li>ensure that client PCs have good, fast antivirus, perform well, are<br />
regularly reformatted and reimaged, and have strong local security to prevent unauthorized software installation.</li>
</ul>
<p>Far more information on all of these topics can be found in the BMO book. I suggest starting with the <a href="http://bwmo.net/pdf/chapter1.pdf">Introduction</a> if you&#8217;re interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aptivate.org/2010/04/07/network-management-basics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

