Re: What`s going on with OLPC WIKI home page ?
Thanks to Mitch, he restore back the gallery and blocked the vandal. Rafael Ortiz On Fri, Apr 10, 2009 at 1:15 AM, John Watlington w...@laptop.org wrote: I received the following message tonight. Upon checking, I saw some of the same images (but not all). Unwilling to spend the time to identify which images in our wiki have been polluted, I simply commented out the gallery on the front page. Sigh, wad Begin forwarded message: From: gary.chi...@quantatw.com Date: April 10, 2009 2:02:46 AM EDT To: w...@laptop.org, smithb...@gmail.com, w...@laptop.org Subject: What`s going on with OLPC WIKI home page ? Dear: ALL, Please check attached file , What’s going on with the OLPC wiki page ? Anything I can do to fix that ? ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: What`s going on with OLPC WIKI home page ?
On Thu, Apr 9, 2009 at 11:40 PM, Rafael Enrique Ortiz Guerrero dir...@gmail.com wrote: Thanks to Mitch, he restore back the gallery and blocked the vandal. Rafael Ortiz Speaking of images on the wiki, the resizing/thumbnailing mechanism (imagemagick?) is still broken. http://lists.laptop.org/pipermail/olpc-sysadmin/2009-February/000172.html Are there any plans of fixing that? We (those who see it all the time) are perhaps used to malformed resizing, but newcomers and visitors are not. It looks terrible. Also, if the main page is subject to trivial vandalism, then maybe it should be locked? cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Hints for ext3 filesystems on flash...
Hi Mitch, I'm working on getting bootable ext3 images to put on SD cards to use on the XO, to run the XS distro. While I am not expecting the SD card to deal with a heavy write workload (the recommended strategy is to use an external disk for /var/lib and /library ), I am still keen on avoiding early SD card death... Do we have any good rule of thumb on any partition alignment + blocksize that is likely to work well on current SD cards in the market? I've read your notes, and Tytso's blogposts about it; but maybe I'm not cultured enough to come up with a confident rule of thumb, and definitely have no idea whether it's possible to write a script to run on current linuxen that probes an SD card and Does The Right Thing. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[Server-devel] Offline Moodle
Martin, Nepal is not implementing Moodle (in the form of courses) for this year's deployment. As a result, the offline moodle project is currently dormant. I will be leaving Nepal mid-May and will be available to work on this project if it is still relevant. I would need your mentoring and need to partner with a deployment which is using Moodle and has a need for an offline capability. As you recall, the project is based on using the gears plugin. This was implemented in Nepal via Firefox 3. I don't know whether the gears plugin will work with Browse. Currently, greasemonkey is used to add two javascript scripts to each Moodle page and to insert 'offline' buttons in each topic on a course page. I think this dependency could be eliminated by changes to Moodle php modules. The requirement is to add the 'offline' button which is exactly analogous to the hide/show button already there. The gears mechanism is working well. What is needed (and where a partner is required) is to add the resources for a topic to the local gears database. The partner could then verify that the mechanism is working correctly in an XO/XS environment. The next step would be to update the Moodle log when the user returns the topic online. Tony ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Journal and XS
Martin, The current journal is missing some critical capabilities. The DS backup and restore is working well in Nepal (our schoolserver is based on XS-0.4). I would like to propose the following for discussion. It may be that much of what I am describing is already available in code or the feature may already be available using a different mechanism. First, the journal should show all entries whether stored on the XO or only stored on the XS. I believe the 'keep' star should be used to indicate the status. Filled in for entries on the XO. Blank for entries stored only on the XS. At startup, the journal should determine if it is connected to the schoolserver. If so, it would verify that all the 'keep' entries are on the XO (copying from the schoolserver as necessary). It should delete entries from the XO not marked as 'keep'. The journal should show (possibly next to the journal, usb drive icons) the percentage usage of XO nand and XS quota for that user. This will help the user manage his nand and XS space. When the XS quotas are reached, journal entries to be deleted should be highlighted (e.g. shown in red). The user should be able to 'touch' entries to be kept. The journal should then highlight additional entries as needed to be candidates for deletion. If possible, there should be a journal 'commons' capability on the schoolserver. Specifically, it should be possible to create folders (optionally read-only) on the schoolserver which could be mounted in the journal as virtual usb keys. The user could drag and drop entries from it to the journal (copying the file to the XO). Folders which are not read-only could be used to upload student's work to the schoolserver to be shared by others (drag and drop from the journal). Journal entries stored only on the schoolserver should have a local 'placeholder' (like a symbolic link) so that files copied from a virtual key would not be backed up to the XS. This would also allow the journal to show offline entries when not connected to the schoolserver. The objectchooser should have filtering capabilities. Specifically, the objectchooser default should be to show only entries with mime-types matching those processed by the activity. In addition, the objectchooser should be able to filter by tag. While the objectchooser should retain the capability to show entries which do not contain files (but are solely for restoring a specific activity), this should be only by special request in the api. I am trying to figure out how this sort of facility could be implemented. I would appreciate comments about desirability of any of this as well as suggestions about how and of it could be most usefully and efficiently implemented. Tony Tony ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: Hints for ext3 filesystems on flash...
Martin Langhoff wrote: Hi Mitch, I'm working on getting bootable ext3 images to put on SD cards to use on the XO, to run the XS distro. While I am not expecting the SD card to deal with a heavy write workload (the recommended strategy is to use an external disk for /var/lib and /library ), I am still keen on avoiding early SD card death... Do we have any good rule of thumb on any partition alignment + blocksize that is likely to work well on current SD cards in the market? A 1 MB granularity for partitions is likely to be adequate for now and the next couple of years. Ideally, it would be nice to work within the parameters of the factory partition map. Instead of just blasting on a new map with arbitrary layout, change only the partition type field, then dd the image into that partition. The image, of course, must be just the partition contents, not the whole disk. The partition-change thing could be scripted using fdisk or cfdisk. For the filesystem, I recommend a 4K blocksize. 2K was okay for the previous generation of NAND chips, but the new generation often uses 4K pages. I've read your notes, and Tytso's blogposts about it; but maybe I'm not cultured enough to come up with a confident rule of thumb, and definitely have no idea whether it's possible to write a script to run on current linuxen that probes an SD card and Does The Right Thing. cheers, m ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
2PM EDT Friday: BRIEF Contributors Program Mtg (#olpc-meeting)
Join us reviewing the latest OLPC/Sugar community projects today 2PM EDT (Boston Time) -- in 3 hrs from now: http://forum.laptop.org/chat Then type at bottom: /join #olpc-meeting AGENDA: * New Library Emerging! How you too can help start an XO Laptop library: http://wiki.laptop.org/go/Projects#XO_Laptop_Lending_Libraries * Which projects might you enjoy Mentoring?! http://wiki.laptop.org/go/Projects http://rt.laptop.org/Search/Results.html?Query=Queue=%27contributors%27 * Questions about free Hardware/Parts Returns just shipped: (DEADLINE PASSED!) http://lists.laptop.org/pipermail/devel/2009-March/023916.html * Fast Review of the latest (greatest!) HW/Project Proposals: 1. Coreboot and OLPC [North Carolina, USA] http://rt.laptop.org/Ticket/Display.html?id=37292 http://home.rr.com/mitchelltramper Also requests: http://wiki.laptop.org/go/Serial_adapters Project Objectives: Investigate Coreboot firmware looking from the angle of debuggability; particularly related to standby/resume, or other challenges. 2. [GeneralCompute] Project Proposal - Request for platform. [Cambridge, UK] http://rt.laptop.org/Ticket/Display.html?id=37443 http://wiki.laptop.org/go/Projects/GeneralCompute Project Objectives: Most computing device in the market have more that one processor i.e. CPU, GPU (programmable/non-programmable), DSP etc. These processors are supplied by different or same vendor. But to take advantage of these processors, vendors usually supply different set of APIs for each of these processors. There is a publicly available open standard that defines a common API to take advantage of these heterogenous computing devices. The OLPC laptop already has a GPU. Hence it already is hosting atleast two computing devices. It will be beneficial to support a General Compute API for the developers who can then take advantage of these devices in a uniform manner. This proposal will benefit the programmers who develop middleware or applications. 3. Apache Proxy CRCsync Project and Finger-painting Interface - USA, Belgium http://rt.laptop.org/Ticket/Display.html?id=37801 http://wiki.laptop.org/go/Apache_Proxy_CRCsync http://moodle.org http://swift.com Project Objectives: FingerPaint Project 1. Integrating a chosen paint application with TinyMCE editor as a plug-in. 2. Profiling of the software stack that is used by the fingerpaint application so that the performance can be improved: RProxy Project 1. Performance testing of RProxy modules .(Stability testing, surf the internet through the proxy to collect compression rate statistics in the logs from real-live usage in stead of artificial test scenario's, etc) 2. Development and testing of required Plugins for XO School server to integrate PaintWEB and RProxy module in the latest version of XO Engine. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Fwd: Hints for ext3 filesystems on flash...
-- Forwarded message -- From: Tiago Marques tiago...@gmail.com Date: Fri, Apr 10, 2009 at 5:58 PM Subject: Re: Hints for ext3 filesystems on flash... To: Martin Langhoff martin.langh...@gmail.com On Fri, Apr 10, 2009 at 3:55 PM, Martin Langhoff martin.langh...@gmail.comwrote: Hi Mitch, I'm working on getting bootable ext3 images to put on SD cards to use on the XO, to run the XS distro. I've been doing these kinds of tests but using ext2, which has been working fine and should provide more durability. If you still want to go the ext3 route, take a look at this, if you haven't already: http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/ I have had to have rootdelay=11 in olpc.fth, since my sdcard sometimes takes 10s to get detected instead of 0.5s or less, as usual. I'm using the kernel from OLPC's repositories, snapshot from last saturday. Best regards, Tiago Marques While I am not expecting the SD card to deal with a heavy write workload (the recommended strategy is to use an external disk for /var/lib and /library ), I am still keen on avoiding early SD card death... Do we have any good rule of thumb on any partition alignment + blocksize that is likely to work well on current SD cards in the market? I've read your notes, and Tytso's blogposts about it; but maybe I'm not cultured enough to come up with a confident rule of thumb, and definitely have no idea whether it's possible to write a script to run on current linuxen that probes an SD card and Does The Right Thing. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] xs-activation-import deleting leases
On Fri, Apr 10, 2009 at 6:15 AM, Daniel Drake d...@laptop.org wrote: No, since after the XS tools delete it, it doesn't know if the data on the remote server is new or not. (it doesn't keep other records other than the synchronized file) So how can the XS tools know that there is _new_ data to process, as opposed to the data they already have seen? cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Offline Moodle
Tony, first -- thanks for the work you've done on this so far! There is a GSoC project on the Moodle side that is looking at an initial GG implementation. It'll be interesting to see where it leads to, and I'll be hoping to co-mentor it (Dongsheng is the main mentor). Students also need a bit of room, so I don't want to crowd the candidate too much ;-) If you are keen on playing with it, I have a plan, based significantly on what I learned from your code, but with a slightly different approach. When you're free to play with it we can see where the GSoC project is at and what we can do. (My hope is that with my plan we can skip greasemonkey and the extra work to the teacher setting up a listing of what's downloadable. I am sure we can make it work like Google Reader does...) One thing that would be nice is if the Nepal team could take a quick look at my latest Moodle XS code -- I don't know if you have a test XS 5.x but if you do, and could play with the latest moodle code as seen in http://lists.laptop.org/pipermail/server-devel/2009-April/003177.html If you are using ds-backup, that moodle has automagic authentication (with Browse.xo) and a nice UI to restore your files. And if you use the admin account, you can alias accounts, which is good when a laptop is repaired/replaced. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Journal and XS
On Fri, Apr 10, 2009 at 3:35 AM, Tony Anderson t...@olenepal.org wrote: The current journal is missing some critical capabilities. The DS backup and restore is working well in Nepal (our schoolserver is based on XS-0.4). Good to know about the ds-backup... (try the moodle-based restore too ;-) ) There has been discussion about some of the things you describe, but I don't think much has happened. I'll keep this marked as good input for Journal = XS interop ideas. If possible, there should be a journal 'commons' capability on the schoolserver. Specifically, it should be possible to create folders As a much simpler version of this, I think it'll be extremely easy to add on the Moodle side a mark a document as public and make it appear in a new documents tab to the user profile. We'll probably want to re-label the restore tab as Journal and documents as activities while we're at it. I'll try see if I can do that. For a more full-blown implementation following what you describe, we really want o wait for Moodle 2.0 which has some fancy facilities that will help (in the new File API). cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] xs-activation-import deleting leases
2009/4/10 Martin Langhoff martin.langh...@gmail.com: On Fri, Apr 10, 2009 at 6:15 AM, Daniel Drake d...@laptop.org wrote: No, since after the XS tools delete it, it doesn't know if the data on the remote server is new or not. (it doesn't keep other records other than the synchronized file) So how can the XS tools know that there is _new_ data to process, as opposed to the data they already have seen? They don't need to... puppet will only run the xs tools once puppet realises that data has changed. Thinking more, can achieve this by making puppet launch a small script in that scenario, which copies the lease file somewhere else and runs the XS tools on that. then it can be deleted without issue. Daniel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel