{"id":868,"date":"2006-06-19T19:58:02","date_gmt":"2006-06-19T19:58:02","guid":{"rendered":"http:\/\/software.sil.org\/wesay\/?p=868"},"modified":"2017-04-27T20:27:28","modified_gmt":"2017-04-27T20:27:28","slug":"towards-a-prototype","status":"publish","type":"post","link":"https:\/\/software.sil.org\/wesay\/towards-a-prototype\/","title":{"rendered":"Towards a Prototype"},"content":{"rendered":"<p>As we have written before, we are beginning our project by checking out the technical feasibility of running a graphical, <a href=\"http:\/\/mono-project.com\/\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">mono<\/a> based dictionary application on the most demanding of a target platforms, the <a href=\"http:\/\/laptop.org\/\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">OLPC<\/a>. Now, we can\u2019t actually get an actual production version of one of <a href=\"http:\/\/www.pimpthelaptop.com\/\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">these laptops<\/a> yet, but we can load an emulator with the operating system that will be on it. The next step would be to load Mono, find out what libraries the OLPC is missing, add those, and then run our application. This would at least tell us how hard it is to get Mono running on the OLPC OS, and let us check how well our test program runs in 128K of RAM. It would help us answer two out of <strong>three of our big questions<\/strong>:<\/p>\n<p>1) How difficult is it to get Mono running on top of the stripped-down Linux OS on the OLPC?<\/p>\n<p>2) Is it feasible to run our app, with our provisional architecture (which includes db4o), in 128 meg of RAM?<\/p>\n<p>We spent a couple days working on that and found it hard going. Fortunately we have friends way over in Calgary that are working on this problem, and they are more skilled in these things. So, we\u2019re going to depend on them, and we\u2019ll move on to something that will help us answer our third question:<\/p>\n<p>3) How will a Mono\/GTK\/<a href=\"http:\/\/www.db4o.com\/\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">db4o<\/a> perform on a relatively <a href=\"http:\/\/wiki.laptop.org\/index.php\/Hardware_specification\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">slow machine<\/a> like the OLPC?<\/p>\n<p>At this point, we really don\u2019t know how to test the speed when using an emulator. Sure, the emulator slows it down a lot, but how much? Eventually, we hope to acquire some benchmarks done on the actual hardware, which we can then compare with benchmarks from the emulator. In the meantime, we will be setting up an old, slow desktop machine for speed tests.<\/p>\n<p>Soooo\u2026we are now building a prototype to run on the old machine. Eric and I spent some time this morning doing the <a href=\"http:\/\/alistair.cockburn.us\/index.php\/Using_CRC_cards\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">CRC Card<\/a> thing, which I have always read about but never actually tried. I personally didn\u2019t get anything out of what we wrote on them, but I did like being able to move the physical cards around. Things are tough to rearrange on a whiteboard.<\/p>\n<p>Later, Eric and I started <a href=\"http:\/\/en.wikipedia.org\/wiki\/Pair_programming\" title=\"\" class=\"external\" target=\"_blank\" rel=\"noopener\">pair programming<\/a> on the data layer, based on the design we came up with. So far, I haven\u2019t had any pairing experiences where I didn\u2019t feel like my brain was on idle 70% of the time. I know there is a bunch of strategic thinking I\u2019m supposed to be doing while my partner types, and then at a moment\u2019s notice be ready to switch back into tactical conversation, but I guess I haven\u2019t got the hang of that yet. Fortunately, the view out our glass-wall office here in Chiang Mai is an interesting one. Not very idylic, but interesting. Notice the rickshaw driver going by the metal shop here: <a href=\"\/wp-content\/uploads\/sites\/35\/2017\/04\/rickshaw.jpg\" rel=\"lightbox\"><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/35\/2017\/04\/rickshaw.jpg\" alt=\"View outside our office\" title=\"View outside our office\" \/><br \/>\n<\/a><\/p>\n<div class=\"top border\"><a href=\"#top\">top<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As we have written before, we are beginning our project by checking out the technical feasibility of running a graphical, mono based dictionary application on the most demanding of a target platforms, the OLPC. Now, we can\u2019t actually get an actual production version of one of these laptops yet, but we can load an emulator [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,16,21],"tags":[],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-memory","category-performance","category-prototype"],"acf":[],"_links":{"self":[{"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/comments?post=868"}],"version-history":[{"count":5,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":873,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/posts\/868\/revisions\/873"}],"wp:attachment":[{"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/categories?post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/software.sil.org\/wesay\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}