Re: [ANNOUNCE] Compressed Cache release 0.1
On Feb 19, 2008 2:27 PM, Ivan Krstić [EMAIL PROTECTED] wrote: On Feb 19, 2008, at 3:52 AM, Nitin Gupta wrote: I am excited to announce first release of ccache - Compressed RAM based swap device for Linux (2.6.x kernel) Heads-up: 'ccache' is the name of Tridge's well-established and widely used C/C++ caching proprocessor -- http://ccache.samba.org/. You might wish to consider a different name. This project has now moved to: http://code.google.com/p/compcache/ This was done to avoid confusion with http://ccache.samba.org/ which has nothing to do with this project. PS: only user visible change done is that virtual swap device is now called /dev/compcache - Nitin ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC library] Health mailing list (was: Minutes posted, next steps)
On Feb 19, 2008 6:48 PM, Seth Woodworth [EMAIL PROTECTED] wrote: Ed, I hope that groups grow enough to create lists as well. But we dont want to segregate before achieve a critical mass. No rush, just a heads up. The Machine Shop discussions can take place on the languishing prepherial list, and any sort of museum conversation belongs on the library list. Fine. But on the subject of these. One, could your reforward my response to the GIS question? I'm missing context. Which message, to whom? I am not on most of those lists, or invite people to one of the olpc lists. Two, I think that we might have enough people/interest for a good email thread about low cost 3d printers, lathes, etc. Lets start talking. Yes, I have invited them to join the appropriate OLPC lists. Also Engineers Without Borders, the GIS community, the Open Hardware community, the KhmerOS community, the Hip-Hop Chess Federation, and others. I'm starting to think that OLPC should hire me to be XO Evangelist. On Feb 19, 2008 5:48 AM, Edward Cherlin [EMAIL PROTECTED] wrote: On Feb 18, 2008 9:23 PM, Samuel Klein [EMAIL PROTECTED] wrote: bcc to [EMAIL PROTECTED] : please set up a [EMAIL PROTECTED] mailing list, with [EMAIL PROTECTED] as owner. @arjun: there's certainly enough interest now. @seth : rotating meeting times each week is one way to treat different timezones fairly. And organizing the Art wanted section of the art community to list topical art requests might be a good place to start with your illustrators. SJ Thank you. I hope to be able to request GIS, museum, and machine shop lists in the near future. I talked to Donald Norman (The Design of Everyday Things) at a lecture he gave, and he said that he will bring up the XO in a meeting with the Exploratorium science museum people. I have talked to other children's museums, and intend to do so again soon, as soon as I can find out whether they will be allowed to buy XOs. Also, can we do something to invite teachers in the laptop program into the discussion? Perhaps in multiple languages? And children, too. -- Edward Cherlin End Poverty at a Profit by teaching children business http://www.EarthTreasury.org/ The best way to predict the future is to invent it.--Alan Kay ___ Library mailing list [EMAIL PROTECTED] http://lists.laptop.org/listinfo/library -- Edward Cherlin End Poverty at a Profit by teaching children business http://www.EarthTreasury.org/ The best way to predict the future is to invent it.--Alan Kay ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [sugar] An Update about Speech Synthesis
On Feb 19, 2008 4:45 PM, Samuel Klein [EMAIL PROTECTED] wrote: Hemant and James, Can you write something about this at a [[spoken texts]] page on the wiki ('hear and read'? some other more creative name... )? The Google Literacy Project is highlighting a number of literacy efforts for the upcoming World Book Day, and your work would be fine suggestions for that list. You can use my article, http://www.olpcnews.com/content/ebooks/effective_adult_literacy_program.html. Let me know when you have something, and I'll drop in on the Wiki page and see if I can add anything useful to your account. SJ On Feb 19, 2008 1:13 PM, Hemant Goyal [EMAIL PROTECTED] wrote: Hi, I'd like to see an eSpeak literacy project written up -- Once we have a play button, with text highlighting, we have most of the pieces to make a great read + speak platform that can load in texts and highlight words/sentences as they are being read. Ping had a nice mental model for this a while back. Great idea :). The button will soon be there :D. I had never expected this to turn into something this big :). There are lots of things I want to get done wrt this project and hope to accomplish them one by one. Thanks for the info Hemant! Can you tell me more about your experiences with speech dispatcher and which version you are using? The things I'm interested in are stability, ease of configuration, completeness of implementation, etc. I'll try to tell whatever I am capable of explaining (I am not an expert like you all :) ). Well we had initially started out with a speech-synthesis DBUS API that directly connected to eSpeak. Those results are available on the wiki page [http://wiki.laptop.org/go/Screen_Reader]. From that point onwards we found out about speech-dispatcher and decided to analyze it for our requirements primarily keeping the following things in mind: An API that provided configuration control on a per-client basis. a feature like printf() but for speech for developers to call, and thats precisely how Free(b)soft described their approach to speech-dispatcher. Python Interface for speech-synthesis Callbacks for developers after certain events. At this moment I am in a position to comment about the following: WRT which modules to use -I found it extremely easy to configure speech-dispatcher to use eSpeak as a TTS engine. There are configuration files available to simply select/unselect which TTS module needs to be used. I have described how an older version of speech-dispatcher can be made to run on the XO here http://wiki.laptop.org/go/Screen_Reader#Installing_speech-dispatcher_on_the_xo There were major issues of using eSpeak with the ALSA Sound system some time back [http://dev.laptop.org/ticket/5769, http://dev.laptop.org/ticket/4002]. This issue is resolved by using speech-dispatcher as it supports ALSA, and OSS. So in case OLPC ever shifts to OSS we are safe. I am guessing speech-dispatcher does not directly let a TTS engine write to a sound device but instead accepts the audio buffer and then routes it to the Audio Sub System. Another major issue we had to tackle was providing callbacks while providing the DBUS interface. The present implementation of speech-dispatcher provides callbacks for various events that are important wrt speech-synthesis. I have tested these out in python and they were working quite nicely. In case you have not, you might be interested in checking out their Python API [http://cvs.freebsoft.org/repository/speechd/src/python/speechd/client.py?hideattic=0view=markup]. Voice Configuration and language selection - The API provides us options to control voice parameters such as pitch, volume, voice etc for each client. Message Priorities and Queuing - speech-dispatcher has provided various levels of priority for speech synthesis, so we cand place a Higher Priority to a message played by Sugar as compared to an Activity. Compatibility with orca - I installed orca and used speech-dispatcher as the speech synth engine. It worked fine. We wanted to make sure that the speech synth server would work with orca if it was ported to XO in the future. Documentation - speech-dispatcher has a lot of documentation at the moment, and hence its quite easy to find our way and figure out how to do things we really want to. I had intended to explore gnome-speech as well, however the lack of documentation and examples turned me away. The analysis that I did was mostly from a user point of view or simple developer requirements that we realized had to be fulfilled wrt speech-synthesis, and it was definitely not as detailed as you probably might expect from me. We are presently using speech-dispatcher 0.6.6 A dedicated eSpeak module has been provided in the newer versions of speech-dispatcher and that is a big advantage for us. In the older version
Re: telepathy - request for guidance
Le mercredi 20 février 2008 à 00:37 -0500, Mikus Grinbergs a écrit : | ** ERROR **: file lm-connection.c: line 364 (_lm_connection_succeeded): asserti | on failed: (source != NULL) | aborting... That to me implies I am now getting through my proxy. The last two (ERROR) lines occur only when I have specified olpc.collabora.co.uk as my jabber server - they don't show in the log when I try a local jabber server. Could be a loudmouth bug. Could you provide telepathy-gabble log with LM_DEBUG=net defined please? See http://wiki.laptop.org/go/Telepathy-debug about how define this env variable. p.s. [Other modules besides server_plugin.py have different _get_account_info() methods -- I gather despite the common name, each method's scope applies only within its containing module.] Yeah only the one in server_plugin.py manage the Gabble connection, so don't touch the others G. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: A modest proposal.
On Tue, 2008-02-19 at 15:45 -0500, C. Scott Ananian wrote: implementation details Clicking on a link of this form would add this person to your buddy list. Communicating with a this form of buddy would, in parallel, (a) attempt to contact the IPv6 Link-Local address formed from the lower 64 bits of the SHA-256 of the complete friend domain string (not including the URI scheme or colon) and (b) attempt to look up the hostname and contact the IPv4 or IPv6 address returned. (If the DNS responds, you SHOULD use this address for further communication in this session, since it may persist even if you roam off your current mesh.) A simple service at a well-known port would confirm status and list sharable activities. implementation details Scott, could you write a bit about the higher level use cases this would be useful in? Thanks, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Salut and Suspend/Resume issues
OK, children of the world, please calm down. There are a few too many bugs and egos flaring up to come to a reasonable resolution. This is an interdisciplinary problem that crosses too many architectural boundaries for any of us to be comfortable seeing the whole picture. I filed a bug report about the network failing to wake us on multicast four months ago (#4616). A key response by dmwm2 a month ago provides a path forward: http://dev.laptop.org/ticket/4616#comment:20 . Let me cut to the chase. Many things are likely to work, if update.1 turns on wake on multicast using the command ethtool -s eth0 wol um, AND THE MESH IS NOT IN USE: * The laptop will suspend much of the time. * If someone sends it a multicast, that it is listening for, it will wake up and respond to the traffic (possibly dropping one packet). * Random multicast traffic that the laptop isn't listening for will NOT wake it up. I hope that the people responsible for Presence and Sharing can test this, and make sure their protocols work with this wol setting. I don't know that stuff at all. I'm not even sure what protocols are running in my laptops. They have no school server. There are three bugs in update.1-691 around this: * The packet that awakens us doesn't get responded to; it was probably dropped, rather than passed to the kernel. Assuming the protocols retry within 60 seconds, we'll see and respond to the second one. * When the laptop is manually suspended (physically closed), it should not awaken for any reason except being reopened. Instead, it awakens for each received multicast packet that it is listening for, and then goes immediately back to sleep. This is a power consumption bug. I'd say ship the release and live with it. * Receiving these multicasts while closed did also trigger the laptop to refuse to stay resumed when I reopened it. I had to hit the power button to get it to stay on. If cjb can reproduce this reliably, he can fix it. It happened twice for me. Merely closing and opening didn't fail, but closing, sending a wakeup ping, then opening, did fail. All of the above works WHEN USING AN ACCESS POINT. There are several bugs in the mesh that prevent this from working over the mesh. I recommend moving existing school deployments to access points, until we get the bugs out of the mesh. Details follow. There appear to be more than one bug in the mesh around multicast. No wonder people are confused. Using the same setup as in #4616, but *without* suspending, in update.1-691 I can't get multicast packets through reliably. Setup: * Two XO's, MP G1G1s. One is using build 656, the other update.1-691. * In NetworkManager screen, put both on Mesh Network 1. Wait a few minutes for things to settle down. Go to donut screen, make sure both of them say Mesh Network 1, Connected to a Simple Mesh. * Start a terminal on each laptop. Become root. * ping6 -I msh0 ff02::1 on each laptop. * This will ping the all-nodes multicast address. The laptop that sends this should get back a unicast IPv6 ping response from each node on the network. Keep moving the mouse on the update.1-691 laptop to avoid suspending. * On each laptop, it can see itself (btw, ping6 prints its own address on its first line of output). It prints a very low latency response (e.g. 0.154 ms) packet from its own kernel. It seldom or never sees a ping response from the other laptop. * Bizarrely, every once in a while, the Build 656 laptop will see ping responses from the update.1-691 laptop. For about 10 seconds. Then they will go away again. They say (DUP!) because it's the second response packet from a single outgoing ping packet. Perhaps these happen after it suspends and I resume it with mouse motion. If I stop the pings, go back into NetworkManager, and associate both XO's with a local access point (TrendNET TEW432-BRP), and replace msh0 with eth0, the test works. The access point is doing NAT, so the only nodes on the network are wireless. Oddly, for some reason, each machine sees TWO packets come back from the other machine (sample times: 5.51 ms and 6.37ms). This is not a violation of the IP protocols -- datagrams are free to get replicated -- but it looks like a bug in either the Libertas or our kernel. So I've found two bugs so far, and it's only by running simple commands and knowing what to expect. Now back to what I really wanted to test: whether the driver support for wake-on-multicast works, and whether it only wakes up when the multicast packets match the filter. See the month-old comment in #4616, http://dev.laptop.org/ticket/4616#comment:20 . So, using the access point setup as above, I run: * ethtool -s eth0 wol um on the update.1-691 laptop. * I sit and wait for it to suspend. Detected by power LED off and occasionally blinking.
Re: Mesh Network feature XO-XS
Hi Ricardo, I have iwpriv showing NULL on all the fwt_list . What should it be set to? best, Sulochan. On Feb 19, 2008 5:41 PM, Ricardo Carrano [EMAIL PROTECTED] wrote: Sulochan, You should check your forwarding (layer two) table with : iwpriv msh0 fwt_list index (index is 0,1,2,...) Look for an entry that forwards the frames destined to the anycast mac address of the server (c0:27:c0:27:c0:00) via the mac address of the first XO. Traceroute/path will show you layer three (IP) routes. Regards, Ricardo Carrano 2008/2/19 sulochan acharya [EMAIL PROTECTED]: Folks, I can not hop from xo to xo to xs. Here is what I did: One XO closer to the server with active antenna.and i can ping the server from this laptop. Another XO closer to the first laptop ( i can chat with this XO) but further away from the server. Now technically i should be able to ping the server through the first laptop, but I cant :( Is there some additional things i need to (like adding packages) go through to get this to work? Or is it just out of range? If so how it is different from one laptop talking to another laptop? Is there a way i can check that the packet is being relayed (other than doing trace rout ) ? Also, can i for test purposes change the mesh DHCP to give out ipv4 and not ipv6? Would this make some other features not work? best, -Sulochan ___ 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: Salut and Suspend/Resume issues
John, I believe what is discussion here is the choice between waking on multicast (and then keep MDNS working) or don't wake on multicast (and then saving more power). Or if there is a way out of this compromise. Are you cutting to the chase or just changing the movie? (Forgive me for the joke it is just to calm things down, as you suggested). Could you please point out what application or use case the issues you raised will disrupt or hurt? Are these issues related to the current discussion or do they deserve a new thread? On Feb 20, 2008 7:42 AM, John Gilmore [EMAIL PROTECTED] wrote: OK, children of the world, please calm down. There are a few too many bugs and egos flaring up to come to a reasonable resolution. This is an interdisciplinary problem that crosses too many architectural boundaries for any of us to be comfortable seeing the whole picture. I filed a bug report about the network failing to wake us on multicast four months ago (#4616). A key response by dmwm2 a month ago provides a path forward: http://dev.laptop.org/ticket/4616#comment:20 . Let me cut to the chase. Many things are likely to work, if update.1 turns on wake on multicast using the command ethtool -s eth0 wol um, AND THE MESH IS NOT IN USE: * The laptop will suspend much of the time. * If someone sends it a multicast, that it is listening for, it will wake up and respond to the traffic (possibly dropping one packet). * Random multicast traffic that the laptop isn't listening for will NOT wake it up. I hope that the people responsible for Presence and Sharing can test this, and make sure their protocols work with this wol setting. I don't know that stuff at all. I'm not even sure what protocols are running in my laptops. They have no school server. There are three bugs in update.1-691 around this: * The packet that awakens us doesn't get responded to; it was probably dropped, rather than passed to the kernel. Assuming the protocols retry within 60 seconds, we'll see and respond to the second one. * When the laptop is manually suspended (physically closed), it should not awaken for any reason except being reopened. Instead, it awakens for each received multicast packet that it is listening for, and then goes immediately back to sleep. This is a power consumption bug. I'd say ship the release and live with it. * Receiving these multicasts while closed did also trigger the laptop to refuse to stay resumed when I reopened it. I had to hit the power button to get it to stay on. If cjb can reproduce this reliably, he can fix it. It happened twice for me. Merely closing and opening didn't fail, but closing, sending a wakeup ping, then opening, did fail. All of the above works WHEN USING AN ACCESS POINT. There are several bugs in the mesh that prevent this from working over the mesh. I recommend moving existing school deployments to access points, until we get the bugs out of the mesh. Details follow. There appear to be more than one bug in the mesh around multicast. No wonder people are confused. Using the same setup as in #4616, but *without* suspending, in update.1-691 I can't get multicast packets through reliably. Setup: * Two XO's, MP G1G1s. One is using build 656, the other update.1-691. * In NetworkManager screen, put both on Mesh Network 1. Wait a few minutes for things to settle down. Go to donut screen, make sure both of them say Mesh Network 1, Connected to a Simple Mesh. * Start a terminal on each laptop. Become root. * ping6 -I msh0 ff02::1 on each laptop. * This will ping the all-nodes multicast address. The laptop that sends this should get back a unicast IPv6 ping response from each node on the network. Keep moving the mouse on the update.1-691 laptop to avoid suspending. * On each laptop, it can see itself (btw, ping6 prints its own address on its first line of output). It prints a very low latency response (e.g. 0.154 ms) packet from its own kernel. It seldom or never sees a ping response from the other laptop. * Bizarrely, every once in a while, the Build 656 laptop will see ping responses from the update.1-691 laptop. For about 10 seconds. Then they will go away again. They say (DUP!) because it's the second response packet from a single outgoing ping packet. Perhaps these happen after it suspends and I resume it with mouse motion. If I stop the pings, go back into NetworkManager, and associate both XO's with a local access point (TrendNET TEW432-BRP), and replace msh0 with eth0, the test works. The access point is doing NAT, so the only nodes on the network are wireless. Oddly, for some reason, each machine sees TWO packets come back from the other machine (sample times: 5.51 ms and 6.37ms). This is not a violation of the IP protocols -- datagrams are free to get replicated --
Re: Mesh Network feature XO-XS
Hi Sulochan! Assuming it is your XO2 fwt_list, it should be populated with paths to XO1 (via XO1) and XS (via XO1 or XS, depending whether the XS is in reach). The way it is (empty) this means your XO has no path for any other XO. It is lonely and sad ;-) But, please keep in mind that these entries expiry (I don't recall how long does it take - but it's not long), so you should check them during the test. Is that the case? On Feb 20, 2008 9:20 AM, sulochan acharya [EMAIL PROTECTED] wrote: Hi Ricardo, I have iwpriv showing NULL on all the fwt_list . What should it be set to? best, Sulochan. On Feb 19, 2008 5:41 PM, Ricardo Carrano [EMAIL PROTECTED] wrote: Sulochan, You should check your forwarding (layer two) table with : iwpriv msh0 fwt_list index (index is 0,1,2,...) Look for an entry that forwards the frames destined to the anycast mac address of the server (c0:27:c0:27:c0:00) via the mac address of the first XO. Traceroute/path will show you layer three (IP) routes. Regards, Ricardo Carrano 2008/2/19 sulochan acharya [EMAIL PROTECTED]: Folks, I can not hop from xo to xo to xs. Here is what I did: One XO closer to the server with active antenna.and i can ping the server from this laptop. Another XO closer to the first laptop ( i can chat with this XO) but further away from the server. Now technically i should be able to ping the server through the first laptop, but I cant :( Is there some additional things i need to (like adding packages) go through to get this to work? Or is it just out of range? If so how it is different from one laptop talking to another laptop? Is there a way i can check that the packet is being relayed (other than doing trace rout ) ? Also, can i for test purposes change the mesh DHCP to give out ipv4 and not ipv6? Would this make some other features not work? best, -Sulochan ___ 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
Beyond Hello World
All, As threatened, I have created a Wiki page called Beyond Hello World where I put what I know about writing Sugar Activities. It isn't much, but there is information on that page I had an awful time figuring out, so maybe it will be of use to someone. I am sure that at least some of the things I wrote are not as correct as they could be. My feeling is if these things are true they're worth knowing, and if not hopefully somebody will correct them before too many get led astray. The URL is http://wiki.laptop.org/go/Beyond_Hello_World I link to this page from only one place: http://wiki.laptop.org/go/Developers If the consensus is that the page is of some use, I or others can link to it from more places. Thanks, James Simmons Edward Cherlin wrote: On Feb 15, 2008 9:12 AM, James Simmons [EMAIL PROTECTED] wrote: Edward, I browsed through the links on your Programming For Children pages and came across the Activity Tutorial (http://wiki.laptop.org/go/Activity_tutorial). Like the other tutorials I've seen it quits just as things are getting interesting. Just so. It gave me an idea for a new page, which I'd like to call Beyond Hello World which would be on writing an Activity that actually does something useful. I would cover such topics as how Sugar activities deal with files, how to use meta data with Sugar activities, how to create a standalone Python app that can easily be Sugarized, debugging tips, etc. I would use code snippets from my own Activities for sample code. I would link to it from the Sugar page. Excellent. Just what I was hoping for. Hello, World can be chapter 1, and your contribution chapter 2. Then we shall see what you inspire others to contribute. We also need more information on Sugarizing non-Python apps. I need to finish my own Activities before I write this, but I think it would be a way to put my hard won knowledge in the Wiki without messing up anything that's already there. Also, anything I get wrong could be corrected by others. You don't need to worry about messing up pages. It all stays there in the history and is easy to bring back. But it is also no problem if you add a section of your own to a page without disturbing what is there. James Simmons Edward Cherlin wrote: I started a document on the Wiki, Programming for Children (activities), and another, Programming with Children (tutorials). Your input would be most welcome. See the OLPC Publications page for more suggestions and invitations. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [sugar] Community/OLPC Server Support Discussion
On Wed, Feb 20, 2008 at 9:49 AM, Bernardo Innocenti [EMAIL PROTECTED] wrote: Can we postpone it to a later date? 3:30 PM EST, Thursday, Feb. 21st? Earlier, but one I can make. -FFM ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Buddy list URI proposal, revised slightly.
Rather than invent a new 'friend' URI scheme, an alternative is to use the standard XMPP scheme: xmpp:[EMAIL PROTECTED];name=Full%20Name (see http://www.xmpp.org/extensions/xep-0147.html ) (Thanks, Robert McQueen.) The xmpp server on the laptop responds to roster and chat requests at that address like a 'normal' jabber client, so that we interoperate with iChat, etc. When a school server is present, it may publish a SRV record for _xmpp-server._tcp.nickname.xxx.school.country.xs.laptop.org specifying that it is handling xmpp requests for that user. (See http://tools.ietf.org/html/rfc3921#page-88 ). When attempting to connect to the xmpp server on an XO, we extend rfc3921 in one regard: after (or in parallel with) attempting to resolve the hostname via DNS, we hash it into a link-local address and attempt to contact an xmpp server at that address. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Community/OLPC Server Support Discussion
On Feb 20, 2008 3:02 PM, Michael Stone [EMAIL PROTECTED] wrote: On Wed, Feb 20, 2008 at 07:30:36AM +0545, Bryan Berry wrote: Michael, Will this discussion cover the management of OLPC server infrastructure like the wiki.laptop.org, dev.laptop.org or the actual School Server (XS)? My purpose in scheduling this discussion is to address the kinds of services provided by servers like wiki, dev, and teach. Therefore, I have a mild preference for deferring the jabber and xs topics to a separate conversation (perhaps occuring immediately after the first?). I had the same question in my mind. I personalyl can't make the 25th -- I'll be in the air somewhere between Mx-LAX-NZ. Personally, I am fairly happy with the current wiki.l.o, lists.l.o and dev.l.o so far :-) My only tiny note is that list.laptop.org would benefit from a nice robots.txt so that the google crawler doesn't get so confused we could direct it to the threaded pages, and away from the gzipped mboxes. cheers, m ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Beyond Hello World
Eduardo, This sounds fine to me. Your document has an Activity bundle section with a Hello Kids app which doesn't do anything with the Journal. *Every* tutorial I've seen stops at that point. My page is an attempt to fill in the missing information so a developer could learn how to write an application that works with the Journal. That information, though trivial, was *very* hard for me to find. The only document that explained it was the Pydoc for Sugar Activity, which was damned hard to find, especially since I didn't know I was looking for it. I'm leery of editing a age that someone else has worked on. I don't want to wreck anything. On the other hand, I don't much care what happens to my own page, as long as the information in it is preserved somehow or other. Link to it, copy and paste from it, whatever. I have some reservations about the Hacking Sugar page. First, the name could be improved. To me, Hacking implies making something do things it was not designed to do. Use your XO laptop to control your garage door opener and the like. It implies going outside the rules and doing stuff that voids the warranty. The general public has its own ideas about what hacking is, which are even worse. I know that one of the goals is getting children to make their own Activities, so you need a title that won't scare their teachers. I would suggest something like Making Your Own Activities. Second, you are mixing links to content with actual content. In my experience with Wikis there is a finite size you can make a page, and you want pages that are a good size to print out. If I was doing your page it would be all links with short abstracts, like most of it is already. I'd move the Activity bundle example to its own page. My page could be chapter 2, as Edward Cherlin suggested. My EtextReader Activity, when it is hosted, could be the sample for that chapter. James Simmons Eduardo Silva wrote: Hi, Some months ago, I was working in a document called: Hacking Sugar, which can be a place to push information about how to develop for the sugar environment. Simon (SJ) was agree and he was working and trying to merge different existent resources in the wiki into hacking sugar. Maybe would be good to continue this job and avoid to make separate efforts to this need. The URL is: http://wiki.laptop.org/go/Hacking_Sugar Hope it helps... best. Eduardo Silva http://edsiper.linuxchile.cl 2008/2/20 James Simmons [EMAIL PROTECTED]: All, As threatened, I have created a Wiki page called Beyond Hello World where I put what I know about writing Sugar Activities. It isn't much, but there is information on that page I had an awful time figuring out, so maybe it will be of use to someone. I am sure that at least some of the things I wrote are not as correct as they could be. My feeling is if these things are true they're worth knowing, and if not hopefully somebody will correct them before too many get led astray. The URL is http://wiki.laptop.org/go/Beyond_Hello_World I link to this page from only one place: http://wiki.laptop.org/go/Developers If the consensus is that the page is of some use, I or others can link to it from more places. Thanks, James Simmons Edward Cherlin wrote: On Feb 15, 2008 9:12 AM, James Simmons [EMAIL PROTECTED] wrote: Edward, I browsed through the links on your Programming For Children pages and came across the Activity Tutorial (http://wiki.laptop.org/go/Activity_tutorial). Like the other tutorials I've seen it quits just as things are getting interesting. Just so. It gave me an idea for a new page, which I'd like to call Beyond Hello World which would be on writing an Activity that actually does something useful. I would cover such topics as how Sugar activities deal with files, how to use meta data with Sugar activities, how to create a standalone Python app that can easily be Sugarized, debugging tips, etc. I would use code snippets from my own Activities for sample code. I would link to it from the Sugar page. Excellent. Just what I was hoping for. Hello, World can be chapter 1, and your contribution chapter 2. Then we shall see what you inspire others to contribute. We also need more information on Sugarizing non-Python apps. I need to finish my own Activities before I write this, but I think it would be a way to put my hard won knowledge in the Wiki without messing up anything that's already there. Also, anything I get wrong could be corrected by others. You don't need to worry about messing up pages. It all stays there in the history and is easy to bring back. But it is also no problem if you add a section of your own to a page without disturbing what is there. James Simmons Edward Cherlin wrote: I started a document on the Wiki, Programming for Children (activities), and another, Programming with Children (tutorials). Your input would be most welcome. See the OLPC Publications page for
Re: Beyond Hello World
How about making hacking sugar a chapter or two in the developers manual? Eduardo: you can 'transclude' pages on the wiki if you want to share content across pages (something like {{:Developers Manual}} inside a page will include all of the text from [[Developers Manual]] at that point in the text.) SJ ps @ eduardo - Samuel, not Simon :-) On Feb 20, 2008 12:24 PM, Mike C. Fletcher [EMAIL PROTECTED] wrote: Eduardo Silva wrote: Hi, Some months ago, I was working in a document called: Hacking Sugar, which can be a place to push information about how to develop for the sugar environment. Simon (SJ) was agree and he was working and trying to merge different existent resources in the wiki into hacking sugar. Maybe would be good to continue this job and avoid to make separate efforts to this need. The URL is: http://wiki.laptop.org/go/Hacking_Sugar Thanks for this Eduardo. Could I maybe suggest integrating new How to Develop content into the Developer's Manual instead of Hacking Sugar? There seem to be quite a few sections that duplicate that document but with much less content. The Developer's Manual is explicitly left without the This Page is Maintained by the OLPC tags to encourage people to use it as the place to integrate How to Develop materials. If you would rather write a separate manual, please feel free to copy content from the Developer's Manual. There's no reason to duplicate our efforts, and the Developer's Manual represents a collection of information from many pages across the wiki. Take care, Mike ... I link to this page from only one place: http://wiki.laptop.org/go/Developers If the consensus is that the page is of some use, I or others can link to it from more places. ... -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Broken links on Hacking_Sugar page
Hi everyone, On the page ... http://wiki.laptop.org/index.php?title=Hacking_Sugardiff=110650oldid= 110649#How_Sugar_takes_the_control ... the link to... http://dev.laptop.org/git?p=sugar;a=blob;f=bin/sugar-shell;hb=HEAD ... results in 403 Forbidden - Error lookup file At http://wiki.laptop.org/go/Hacking_Sugar#Simple_activity_bundle_example there is a wiki link to [[Hellokids-activity.tar.gz]]. This is intended as a download, but it is interpreted as a link to a non-existant page: http://wiki.laptop.org/index.php?title=Hellokids-activity.tar.gzaction =edit What should the correct URLs be? Thanks, James ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Buddy list URI proposal, revised slightly.
On Wed, Feb 20, 2008 at 11:45 AM, C. Scott Ananian [EMAIL PROTECTED] wrote: Rather than invent a new 'friend' URI scheme, an alternative is to use the standard XMPP scheme: xmpp:[EMAIL PROTECTED];name=Full%20Name (see http://www.xmpp.org/extensions/xep-0147.html ) (Thanks, Robert McQueen.) The xmpp server on the laptop responds to roster and chat requests at that address like a 'normal' jabber client, so that we interoperate with iChat, etc. When a school server is present, it may publish a SRV record for _xmpp-server._tcp.nickname.xxx.school.country.xs.laptop.org specifying that it is handling xmpp requests for that user. (See http://tools.ietf.org/html/rfc3921#page-88 ). When attempting to connect to the xmpp server on an XO, we extend rfc3921 in one regard: after (or in parallel with) attempting to resolve the hostname via DNS, we hash it into a link-local address and attempt to contact an xmpp server at that address. Tomeu asked me to elaborate on the user-facing use case that this proposal is addressing. Fundamentally, I'm trying to get us out of the 'directory' business. We need to provide developers the opportunity to implement other means to find friends and activity partners, whether via established technology (facebook, livejournal, wiki, static web pages, google talk friends lists) or new ideas (Cerebro, friend finder activities, etc). Without discounting the neighborhood view entirely for location-specific queries (where's the nearest person who wants to play chess?) this opens the door for other ways to find buddies, esp. non-local buddies. More relevant for Peru, this mechanism as described can also function without the interaction of any server. Of course, I'm not (immediately) addressing the question of how the friends are discovered -- but the point is to allow lots of different solutions to the discovery process to exist. Maybe you type them in by hand, maybe you use the camera to scan a bar code, maybe you use mDNS, etc, etc. All I'm defining is what a buddy address looks like after you 'discover' it, and how you can establish a direct IP connection to your buddy. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Beyond Hello World
I have some reservations about the Hacking Sugar page. First, the name could be improved. To me, Hacking implies making something do I chose that name meaning how to hack the sugar environment not just related to create activities, also include how sugar works internally and how a developer can add new components to the UI... it was an idea that was needing more time to be done. Second, you are mixing links to content with actual content. In my experience with Wikis there is a finite size you can make a page, and you want pages that are a good size to print out. If I was doing your page it would be all links with short abstracts, like most of it is already. I'd move the Activity bundle example to its own page. My page could be chapter 2, as Edward Cherlin suggested. My EtextReader Activity, when it is hosted, could be the sample for that chapter. You're right, that can be improved ... As I said in the latest email I don't have time right now to continue contributing with Hacking Sugar, I was just making suggestions... cheers. Ed.- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Beyond Hello World
Hi Samuel :D How about making hacking sugar a chapter or two in the developers manual? that make sense.. Eduardo: you can 'transclude' pages on the wiki if you want to share content across pages (something like {{:Developers Manual}} inside a page will include all of the text from [[Developers Manual]] at that point in the text.) that would be a good solution, there's some info that can be merged... cheers. Ed.- ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
where did cross-build customization come from ?
FYI -- don't intend to do anything about it -- just letting you know I had a strange experience. I keep both a Joyride build and an Update.1 build on my G1G1; I switch between them with the 'O' button at boot. Today I used 'olpc-update' (from Joyride) to install the latest Update.1, then used 'olpc-update' (from Update.1) to install the latest Joyride. I normally apply various customizations in /etc and in /usr (e.g., to disable frame auto-raise, and to preset some environmental variables). The way I remember it, having booted this latest Joyride build I manually edited-in my changes. But then when I booted the latest Update.1 build, I found the /etc and /usr changes already made. It might be Alzheimer's that is making me forget applying my changes twice. But I am left with the question: how come my edits showed up with both builds, when I remember making my edits only once ? mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
How XO's know XS
I was wondering how an individual XO identifies a school server. On the wiki I see that '...When a laptop is activated, it is associated in some way (TBD) with a school server. (http://wiki.laptop.org/go/XS_Server_Services#Security_and_Identity) Best Shikhar ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Overweight Wiki Page
Hi, I've got a couple variations on a way overweight wiki page. It began as a MS Word file, and it's been through Open Office, shell, sed, perl, awk, python and the result is not too shabby. Should publish it, but really ought to rewrite it all in python first. Is there a way to use the command line to open a .doc file in Open Office and save it as html an can add to my polyglot assortment of scripts, in the meantime? The first version at: http://wiki.laptop.org/go/VistA_Monograph_Wiki gets: WARNING: This page is 246 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections. I've been looking at breaking it up and reassembling it using templates and there is a partial version at: http://wiki.laptop.org/go/WV_VM Is there a easy way to transfer all 70 some pieces at once, instead of doing them one at a time using http://wiki.laptop.org/go/Special:Upload But wait that's only for Images not for Pages. And when the templates all get reassembled it's going to be just as big, if not a little bigger. What I really need is a syntactic variant, that builds a combined Table of Contents, but does not put all the pieces together into a combined wiki page, the links in the Table of Contents take you the right spot in one of the component pages. Does that capability exist, or am I just dreaming? -- Drew Einhorn ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Overweight Wiki Page
Oh, I forgot to than Jameson for his help and for pointing me to: http://wiki.laptop.org/go/Ask_OLPC_a_Question Where I learned a lot by looking a how it was written. On Wed, Feb 20, 2008 at 3:46 PM, drew einhorn [EMAIL PROTECTED] wrote: Hi, I've got a couple variations on a way overweight wiki page. It began as a MS Word file, and it's been through Open Office, shell, sed, perl, awk, python and the result is not too shabby. Should publish it, but really ought to rewrite it all in python first. Is there a way to use the command line to open a .doc file in Open Office and save it as html an can add to my polyglot assortment of scripts, in the meantime? The first version at: http://wiki.laptop.org/go/VistA_Monograph_Wiki gets: WARNING: This page is 246 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections. I've been looking at breaking it up and reassembling it using templates and there is a partial version at: http://wiki.laptop.org/go/WV_VM Is there a easy way to transfer all 70 some pieces at once, instead of doing them one at a time using http://wiki.laptop.org/go/Special:Upload But wait that's only for Images not for Pages. And when the templates all get reassembled it's going to be just as big, if not a little bigger. What I really need is a syntactic variant, that builds a combined Table of Contents, but does not put all the pieces together into a combined wiki page, the links in the Table of Contents take you the right spot in one of the component pages. Does that capability exist, or am I just dreaming? -- Drew Einhorn -- Drew Einhorn ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: telepathy - request for guidance
Could be a loudmouth bug. Could you provide telepathy-gabble log with LM_DEBUG=net defined please? I was already using that definition, and earlier posted the ending part of my telepathy-gabble.log. Just in case you need it, here is the beginning of that log (constant string deleted from each line): started version 0.7.1 (telepathy-glib version 0.6.1) set_param_from_value: account = [EMAIL PROTECTED] set_param_from_value: password = hidden parse_parameters: server not given, using default behaviour set_param_from_default: resource = Telepathy set_param_from_default: priority = 0 = 0x0 set_param_from_value: port = 5223 = 0x1467 set_param_from_value: old-ssl = TRUE set_param_from_default: require-encryption = FALSE set_param_from_value: register = FALSE set_param_from_default: low-bandwidth = FALSE set_param_from_value: https-proxy-server = 192.168.1.1 set_param_from_value: https-proxy-port = 8080 = 0x1f90 set_param_from_value: fallback-conference-server = conference.olpc.collabora.co.uk parse_parameters: stun-server not given, using default behaviour set_param_from_default: stun-port = 3478 = 0xd96 set_param_from_value: ignore-ssl-errors = TRUE parse_parameters: alias not given, using default behaviour parse_parameters: mac not given, using default behaviour parse_parameters: btid not given, using default behaviour tp_base_connection_class_init: Initializing (TpBaseConnectionClass *)0x80c81f8 gabble_connection_class_init: Initializing (GabbleConnectionClass *)0x80c9120 tp_presence_mixin_class_init: called. tp_base_connection_init: Initializing (TpBaseConnection *)0x80cc020 gabble_connection_init: Initializing (GabbleConnection *)0x80cc020 tp_base_connection_constructor: Post-construction: (TpBaseConnection *)0x80cc020 tp_base_connection_constructor: Handle repo for type #0 at (nil) tp_base_connection_constructor: Handle repo for type #1 at 0x80cab50 tp_base_connection_constructor: Handle repo for type #2 at 0x80cab80 tp_base_connection_constructor: Handle repo for type #3 at 0x80bec00 tp_base_connection_constructor: Handle repo for type #4 at 0x80cabb0 tp_base_connection_constructor: Channel factory #0 at 0x80cac30 tp_base_connection_constructor: Channel factory #1 at 0x80c5418 tp_base_connection_constructor: Channel factory #2 at 0x80ce408 tp_base_connection_constructor: Channel factory #3 at 0x80bed40 tp_base_connection_constructor: Channel factory #4 at 0x80bed80 gabble_connection_constructor: Post-construction: (GabbleConnection *)0x80cc020 tp_presence_mixin_init: called. tp_base_connection_register: bus name org.freedesktop.Telepathy.Connection.gab ble.jabber.ba81920cf9668efb7045c9f65ab5f875151e304d_40olpc_2ecollabora_2eco_2eu k_2fTelepathy tp_base_connection_register: object path /org/freedesktop/Telepathy/Connection /gabble/jabber/ba81920cf9668efb7045c9f65ab5f875151e304d_40olpc_2ecollabora_2eco _2euk_2fTelepathy olpc_buddy_info_set_properties: called olpc_buddy_info_set_properties: Not connected: will perform OLPC buddy propert y update later Here (ACKs omitted) are the last packets on my LAN from an identical telepathy situation (this was run today on 693; telepathy log shows the same lines): -- #:43 -- Delta Time: 19.944sec Packet Length: 74 bytes (4A hex) DIX: Dest: 00:90:27:8C:F4:49 Source: 00:10:60:16:9D:F6 DIX: Dest: 192.168.001.001Source: 192.168.001.006 -- TCP HEADER -- TCP: Source Port: 53473 (Unassigned port) Dest Port: 8080 (Unassigned port) TCP: Sequence #: 1745295937 TCP: Ack #: 0 TCP: Offset: 40 bytes TCP: Flags: 02 TCP: ..0. Urgent bit Off TCP: ...0 Ack bit Off TCP: 0...Push bit Off TCP: .0..Reset bit Off TCP: ..1. SYN Synchronize bit On TCP: ...0Finish bit Off TCP: Window: 5840 Checksum: 913B (Correct) TCP: Option Code: 02 Length: 4 bytes [MSS] TCP:Max Segment Size 1460 (x5B4) TCP: Option Code: 04 Length: 2 bytes [] TCP:Unknown option TCP: Option Code: 08 Length: 10 bytes [TIMESTAMP] TCP:TimeStamp Value 4294945253 (xA9E5) TCP:TimeStamp Echo Reply 0 (x0) TCP: Option Code: 01 Length: 1 bytes [NOP] TCP:No Operation TCP: Option Code: 03 Length: 3 bytes [WIN_SCALE] TCP:Window scale factor 4 (x4) TCP: No data or not output. -- #:44 -- Delta Time: 0.000sec Packet Length: 62 bytes (3E hex) DIX: Dest: 00:10:60:16:9D:F6 Source: 00:90:27:8C:F4:49 DIX: Dest: 192.168.001.006Source: 192.168.001.001 -- TCP HEADER -- TCP: Source Port: 8080 (Unassigned port) Dest Port: 53473 (Unassigned port) TCP: Sequence
Re: [OLPC library] Overweight Wiki Page
Making a mediawiki bot is not too hard - all the skeleton exists in python, you only have to flesh it out with your own logic. As for the TOC, the template idea is that you use noinclude ... /noinclude around all the parts of the templates that are NOT headers (or you can start the noinclude after one paragraph, to give the idea). The problem is, then you need a way to go from the main page to the right section of the corresponding subpage, and from one subpage to the next - it may be possible, I haven't done it On Wed, Feb 20, 2008 at 4:46 PM, drew einhorn [EMAIL PROTECTED] wrote: Hi, I've got a couple variations on a way overweight wiki page. It began as a MS Word file, and it's been through Open Office, shell, sed, perl, awk, python and the result is not too shabby. Should publish it, but really ought to rewrite it all in python first. Is there a way to use the command line to open a .doc file in Open Office and save it as html an can add to my polyglot assortment of scripts, in the meantime? The first version at: http://wiki.laptop.org/go/VistA_Monograph_Wiki gets: WARNING: This page is 246 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections. I've been looking at breaking it up and reassembling it using templates and there is a partial version at: http://wiki.laptop.org/go/WV_VM Is there a easy way to transfer all 70 some pieces at once, instead of doing them one at a time using http://wiki.laptop.org/go/Special:Upload But wait that's only for Images not for Pages. And when the templates all get reassembled it's going to be just as big, if not a little bigger. What I really need is a syntactic variant, that builds a combined Table of Contents, but does not put all the pieces together into a combined wiki page, the links in the Table of Contents take you the right spot in one of the component pages. Does that capability exist, or am I just dreaming? -- Drew Einhorn ___ Library mailing list [EMAIL PROTECTED] http://lists.laptop.org/listinfo/library ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Open Simulator with Physics Engine
It is not something done with a physics engine, but there are a few particle systems written in Etoys. For example, if you launch Etoys, click on Gallery of Projects, and click on the thumbnail third from the left in the bottom row. It is an ideal gas simulation (in 2D). You can modify the parameters like pressure (called gravity because the green top wall is falling down all the time), and turtleCount that controls the number of gas molecules. But also you can modify the actual simulation code while the simulation is running, change stuff in the script called oneStep, or perhaps you can assign different values to the speed variables to these molecules' own variables, etc., etc. -- Yoshiki ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC library] Overweight Wiki Page
If I understand what you are suggesting: after I use the noinclude ... /noinclude to prune all the text I end up with at TOC with links into a TOC without links, not very useful. I'd be happy to link into right place in the right template. No need for scrolling out of the bottom of one template into the top of the next, and vice versa. mediawiki bot? Could you point me to the skeleton? On Wed, Feb 20, 2008 at 4:10 PM, Jameson Chema Quinn [EMAIL PROTECTED] wrote: Making a mediawiki bot is not too hard - all the skeleton exists in python, you only have to flesh it out with your own logic. As for the TOC, the template idea is that you use noinclude ... /noinclude around all the parts of the templates that are NOT headers (or you can start the noinclude after one paragraph, to give the idea). The problem is, then you need a way to go from the main page to the right section of the corresponding subpage, and from one subpage to the next - it may be possible, I haven't done it On Wed, Feb 20, 2008 at 4:46 PM, drew einhorn [EMAIL PROTECTED] wrote: Hi, I've got a couple variations on a way overweight wiki page. It began as a MS Word file, and it's been through Open Office, shell, sed, perl, awk, python and the result is not too shabby. Should publish it, but really ought to rewrite it all in python first. Is there a way to use the command line to open a .doc file in Open Office and save it as html an can add to my polyglot assortment of scripts, in the meantime? The first version at: http://wiki.laptop.org/go/VistA_Monograph_Wiki gets: WARNING: This page is 246 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections. I've been looking at breaking it up and reassembling it using templates and there is a partial version at: http://wiki.laptop.org/go/WV_VM Is there a easy way to transfer all 70 some pieces at once, instead of doing them one at a time using http://wiki.laptop.org/go/Special:Upload But wait that's only for Images not for Pages. And when the templates all get reassembled it's going to be just as big, if not a little bigger. What I really need is a syntactic variant, that builds a combined Table of Contents, but does not put all the pieces together into a combined wiki page, the links in the Table of Contents take you the right spot in one of the component pages. Does that capability exist, or am I just dreaming? -- Drew Einhorn ___ Library mailing list [EMAIL PROTECTED] http://lists.laptop.org/listinfo/library -- Drew Einhorn ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
What links here
What links here: http://wiki.laptop.org/go/Special:Whatlinkshere/VistA_Monograph_Wiki Tells me the pages that link here Can it be coaxed into giving the page/sections that link here? -- Drew Einhorn ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
physically feeble adults
I realize the intent of the OLPC project is to make booting the system as quick as possible. There is one situation for which introducing a deliberate __delay__ might be beneficial: It appears the XO is testing its front panel buttons as soon as it starts running. If an individual used his strongest finger to push the (recessed) 'power on' button, there does not seem to be enough time for that individual to transfer that same finger to one of the other front panel buttons. Those other buttons are small; if the individual does not have enough dexterity in his other fingers, the which buttons were pressed indication as picked up by the XO may be different from what the individual wanted to convey. Let me suggest the XO pause a half second following a 'power on', to allow a feeble user time to re-position his fingers (from the task of turning on the XO, to the task of indicating what is special about this boot). mikus ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
hippo-canvas, etc. not checking out properly?
I just noticed that ./sugar-jhbuild update fails on hippo-canvas (among others). Any suggestions why? Are the repos being updated or something? KAWK ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: hippo-canvas, etc. not checking out properly?
kawk wrote: I just noticed that ./sugar-jhbuild update fails on hippo-canvas (among others). Any suggestions why? Are the repos being updated or something? KAWK ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel Ach, never mind. My bad. Subversion was being upgraded as I was checking out, and therefore the /usr/bin/svn executable wasn't there. Sorry about that. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
The XO and email
Hi, I would like to get the general feeling about the XO and email. There is a Gmail activity but no possibility of composing and viewing emails offline, which I think is important. Also, I want to post some of my ideas for an email activity for feedback, and know of any fundamental flaws. My motivation is to be working on this as a Summer of Code project. I would like to be doing this regardless, but my academic schedule would not allow for it except this summer - With Python, an email activity can be accomplished with the RFC-compliant email modules (for POP, SMTP, IMAP, MIME) and using sqlite for storage. So while building upon Tinymail (http://wiki.laptop.org/go/Tinymail) is an idea, it makes sense to just go with Python email modules and sqlite if the next point is to be implemented :-) - Email should be organized around tags not folders (Tinymail uses traditional mailbox formats), and to that effect also make it easy to tag email, as easy as dragging and dropping a tag onto a message. Basic automatic tagging ('received', 'sent', 'unsent', 'trash', 'junk'; 'listname' when mailing list headers found) - A separate non-essential daemon can be implemented waits for internet access and performs sending of unsent email and receiving of new messages when internet access is available. Rationale: a child may not launch the activity when internet access is available. - Use service descriptors, so that minimal setup (only username and password) is required for common email services like Gmail. This also lays the ground for the client querying the school server for a service descriptor in case it becomes common for school servers to provide email services. The service descriptor could also provide spam headers which the service adds on (SpamAssassin, Gmail's spam filtering headers) although I have not yet researched this point and how easy it would be to develop a format for describing them - Email threading: there is some Python code at http://www.amk.ca/python/code/jwz, which could be adapted - Search using sql queries I have a good mental picture of what I want to do - maybe I am not communicating it too well, but I am willing to elaborate. I would really like your feedback especially on the fundamental idea of using Python email modules and sqlite in case I am thinking in the wrong direction, although this appears to me to be the best approach Best, Shikhar ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Moon, new activity available
Hi Gary, thanks for this nice activity - pointed my attention to the lunar eclipse tonight. Hence, I had to feature it in my little install tutorial: http://wiki.laptop.org/go/Browse#Install_an_activity Looking forward for your next contributions. Simon Gary C Martin wrote: Hi Devels, Well... Just in time for the Lunar eclipse in a couple of days! I wanted post my first Sugar activity port here, it is a conversion/ update from an OS X Cocoa app I wrote some years back. It is a v1 so be kind, but happy to hear any feedback about making this a more productive/educational activity for sharing, or if you spot any faux pas in terms of a Sugar/XO activity. http://wiki.laptop.org/go/Moon This was a learning exercise for me, Python I know, but GTK (and the provided Sugar environment) well that was all new. Embarrassed to say it actually took me a day to get a black background to the Moon widget area (!!) but I picked up a little speed after that, honest :-) Happy Moon/eclipse watching. Regards, Gary C. Martin P.S. Earth is my next planned port (from EarthGlobe), though there are a few extra hurdles to resolve for that one (i.e. quick 3d sphere rotation interaction given no OpenGL support). Might have to drop to wireframe during manipulation, or get dirty with a C Python extension. Shout if I missed something obvious here. ___ 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: The XO and email
On Feb 20, 2008, at 8:25 PM, Shikhar wrote: I would like to get the general feeling about the XO and email. Some informal notes from one of my former interns are here: http://dev.laptop.org/git?p=users/jrus/email-spec;a=blob;f=email-spec.text;hb=HEAD -- Ivan Krstić [EMAIL PROTECTED] | http://radian.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: physically feeble adults
I don't think the front panel buttons will be used normally, so I don't think this optimisation is necessary. Those with weaker fingers can use alternate means, such as clamping the whole thing in a woodworking vice, placing weights on the switches, or composing a USB key script to do what is wanted. Adding a half second delay to millions of kids doesn't seem justifiable. Half a second for each of them is like five minutes to me. -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: How XO's know XS
When the XO connects to a mesh channel, it sends a specific request for a School server. If it receives a reply it knows there is SS somewhere in the mesh. After it receives the reply it will attempt to connect to it. If no reply is received within a certain timeout, then the XO will connect to simple mesh. On Wed, Feb 20, 2008 at 5:31 PM, Shikhar [EMAIL PROTECTED] wrote: I was wondering how an individual XO identifies a school server. On the wiki I see that '...When a laptop is activated, it is associated in some way (TBD) with a school server. (http://wiki.laptop.org/go/XS_Server_Services#Security_and_Identity) Best Shikhar ___ 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: [OLPC library] Overweight Wiki Page
On Wed, 20 Feb 2008, drew einhorn wrote: I have nothing to add to the meat of this topic, but I can at least answer this: mediawiki bot? Could you point me to the skeleton? http://meta.wikimedia.org/wiki/Pywikipediabot has the skinny on it. -- Asheesh. -- Two is not equal to three, even for large values of two. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel