Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Wed, Feb 03, 2010 at 08:33:31AM +0100, Tomeu Vizoso wrote: > Sure, if you tell Sugar to go to the currently active Browse session, > it won't start a new one. There were changes in how activities are > launched in 0.84, but that change wasn't "don't let more than one > browser run at the same time". I agree, that's not what the change was for, but it is what the behaviour seems to be. I knew it was intentional. > If you think that change wasn't for good, your opinion on the design > threads will be appreciated. There's going to be a round of user > testing about this soon. I've no opinion either way ... I've not seen children discover either method for multiple active Browse ... sample space 50 children at an open day and 4 children whom I occasionally observe. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Tue, Feb 2, 2010 at 23:55, James Cameron wrote: > On Tue, Feb 02, 2010 at 09:59:12AM +0100, Tomeu Vizoso wrote: >> On Mon, Feb 1, 2010 at 23:30, James Cameron wrote: >> > I've just tested; one can open Wikipedia activity, type google.com into >> > the location text field, and then start a Browse activity from the >> > activity ring ... result, two active web browsers. ?A feature! ?;-) >> >> I'm confused, you mean you cannot have two active web browsers otherwise? > > There is one other way; right-click on Browse in the activity ring and > choose the uncoloured start palette entry. > > Otherwise, using left-click, you can't have two active web browsers ... > a left-click returns the user to the active browser. > > 0.84. Sure, if you tell Sugar to go to the currently active Browse session, it won't start a new one. There were changes in how activities are launched in 0.84, but that change wasn't "don't let more than one browser run at the same time". If you think that change wasn't for good, your opinion on the design threads will be appreciated. There's going to be a round of user testing about this soon. Regards, Tomeu > -- > James Cameron > http://quozl.linux.org.au/ > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
Can't you use hulahop like SocialCalc? Gonzalo On Mon, Feb 1, 2010 at 4:58 PM, Behavior Vehikel wrote: > How to start the Browse activity from my own activity? > > My Kandid activity can dump internal states as a HTML files. For > example this information is written to > ~/.sugar/default/net.sourceforge.kandid/tmp/_znuaxz_169/index.html > > Now I am searching for a possibility to launch the Brows activity > displaying this HTML file. > First I tried using the webbrowser.open() method from Python. But no > effect when running under SoaS release 2 (Bluberry) Sugar 0.86.3 > > def on_explain_activate(self, *args): >ka_debug.info('on_explain_activate [%s]' % args[0].get_name()) >protozoon = self.model.protozoans[name_to_index(args[0].get_name())] >folder = os.path.join(self._activity_root, 'tmp') >file_path = 'file://' + self.explain('html', protozoon, 'index', folder) >#Start up a new instance of the Web activity. >result = webbrowser.open(file_path) >ka_debug.info('webbrowser.open: [%s] %s' % (file_path, str(result))) > > > My second try and error version is using the > activityfactory.create_with_uri() method. > But it will produce an exception when running with SoaS Bluberry. > > def on_explain_activate(self, *args): >ka_debug.info('on_explain_activate [%s]' % args[0].get_name()) >protozoon = self.model.protozoans[name_to_index(args[0].get_name())] >folder = os.path.join(self._activity_root, 'tmp') >file_path = 'file://' + self.explain('html', protozoon, 'index', folder) >#Start up a new instance of the Web activity. > ka_debug.info('webbrowser.open: [%s]' % (file_path)) > activityfactory.create_with_uri('org.laptop.WebActivity', file_path) > > 1265051065.540251 DEBUG Kandid: on_explain_activate [exportpng_menuitem_2] > > 1265051069.314681 DEBUG Kandid: webbrowser.open: > > [file:///home/liveuser/.sugar/default/net.sourceforge.kandid/tmp/_xjwwqo_43/index.html] > > Traceback (most recent call last): > > File "/home/liveuser/Activities/Kandid.activity/ka_controller.py", > line 340, in on_explain_activate > >activityfactory.create_with_uri('org.laptop.WebActivity', file_path) > > File "/usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py", > line 332, in create_with_uri > >return ActivityCreationHandler(bundle, activity_handle) > > File "/usr/lib/python2.6/site-packages/sugar/activity/activityfactory.py", > line 206, in __init__ > >self._service_name = bundle.get_bundle_id() > > AttributeError: 'str' object has no attribute 'get_bundle_id' > > 1265051112.422281 DEBUG Kandid: write_file > [/home/liveuser/.sugar/default/net.sourceforge.kandid/instance/1265051112] > > > > How can I start a browser to display a HTML page? Please add more > information to > http://wiki.sugarlabs.org/go/Development_Team/Almanac/sugar.activity.activityfactory > > Thanks, Thomas > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > -- Gonzalo Odiard Responsable de Desarrollo Sistemas Australes ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Tue, Feb 2, 2010 at 5:55 PM, James Cameron wrote: > On Tue, Feb 02, 2010 at 09:59:12AM +0100, Tomeu Vizoso wrote: >> On Mon, Feb 1, 2010 at 23:30, James Cameron wrote: >> > I've just tested; one can open Wikipedia activity, type google.com into >> > the location text field, and then start a Browse activity from the >> > activity ring ... result, two active web browsers. ?A feature! ?;-) For the record, Wikibrowse *extends* Browse. It starts up a local webserver which serves pages from a compressed wikitext database, and then instantiates a customized Browse activity. I'm glad Chris jumped in and took credit for the /home/olpc thing, I didn't think I had left it like that ;) Also, it would be great if the Browse source code were available to other activities without hacks like this. I look forward to Sugar Services providing this functionality in a clean manner! Best, Wade ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] FYI: sugar-jhbuild currently broken
Hi! FYI: sugar-jhbuild is currently broken due to upstream (i.e. Gnome/Jhbuild) changes - even upstream itself is broken. Will give it a look tomorrow, after upstream has (hopefully) been fixed. If you haven't updated in the last few hours (as from now) you can change the sugar-jhbuild script to _not_ run any "git pull" (for both sugar-jhbuild and jhbuild) to prevent it from getting broken (you'll need to put it back once I've fixed it, of course). CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Tue, Feb 02, 2010 at 09:59:12AM +0100, Tomeu Vizoso wrote: > On Mon, Feb 1, 2010 at 23:30, James Cameron wrote: > > I've just tested; one can open Wikipedia activity, type google.com into > > the location text field, and then start a Browse activity from the > > activity ring ... result, two active web browsers. ?A feature! ?;-) > > I'm confused, you mean you cannot have two active web browsers otherwise? There is one other way; right-click on Browse in the activity ring and choose the uncoloured start palette entry. Otherwise, using left-click, you can't have two active web browsers ... a left-click returns the user to the active browser. 0.84. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Feature] [DESIGN] Enhanced Color Selector
On 2 February 2010 22:45, Simon Schampijer wrote: > In the design meeting and the ml-thread the '+' layout and the rows of XOs were favored. Eben brought as well the 'static rows with separated > fill/stroke' on the table. Let's try to find an agreement. > > The proposal looks great. May I suggest a revision to the string literals? Click to change stroke color: => Outline Click to change fill color: => Body Stroke/Fill are terms of art in vector drawing area. My guess is that the terms outline and body (when looking at the XO figure) may be more natural. I feel we can omit "Click to change" or replace it with "Choose". I'm pretty sure it'll be obvious by exploration that clicking on the little XOs changes the big one. Any thoughts? Tim Identi.ca / Twitter / IRC @timClicks p.s. Apologies all for being silent for several weeks. I took a few weeks off during summer, then moved house (no Internet) & have been caught up with the Haiti earthquake response with the Sahana project. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [support-gang] New and revised chapters of "Make Your Own Sugar Activities!" ready for review, feedback
Aaron, There will be several ways for readers of the book to get the code: 1). The Floss Manuals website, which is where the book will live. 2). A PDF, which they would normally generate themselves from the website. 3). A Git repository containing all the sample code, which would probably be the simplest method for most. The repository exists and is referred to in the book in several places. I can stress using the Git repo instead of copy and paste in future drafts. As for the PDF, at this time generating the PDF using a tool called OBJAVI! seems to be the simplest method of getting a text for people to review. In the Floss Manuals site it is possible to "publish" a book so that its contents do not change while you make revisions, but book authors typically do not have authority to publish themselves. I get the impression that most use OBJAVI like I've been doing. Thanks for the feedback. If you're trying to learn Activity writing from the draft, check out the Git repository and more power to you! James Simmons On Tue, Feb 2, 2010 at 3:51 PM, Aaron Konstam wrote: > On Tue, 2010-02-02 at 15:46 -0600, Aaron Konstam wrote: >> > >> > On Thu, Jan 21, 2010 at 4:41 PM, Aleksey Lim >> > wrote: >> > > On Thu, Jan 21, 2010 at 10:24:50AM -0600, Jim Simmons wrote: >> > >> I just finished writing another chapter of the book, this one on >> > >> adding Text to Speech to your Activities. I've also made various >> > >> additions and corrections to the rest of it. If you want to check out >> > >> what I have a PDF created with OBJAVI! is available here: >> > >> >> > >> http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.01.21-18.33.56.pdf >> > > >> > > Thanks for your efforts! >> At at least one point in the pdf file referenced above the intent is for >> the reader to copy the text from the book reading program in python to a >> separate file. I find that impossibly to do on an F12 machine. Copying >> from a pdf file seems not to be supported. >> > Correction Copying from that pdf file seems impossible. Garbage results. > > -- > === > I've looked at the listing, and it's right! -- Joel Halpern > === > Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net > > ___ > support-gang mailing list > support-g...@lists.laptop.org > http://lists.laptop.org/listinfo/support-gang > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Error during phase build of etoys
On Tue, Feb 02, 2010 at 10:04:07PM +0530, anirudh nair wrote: Any ideas why it didn't work in the first place? I have the impression that the etoys SVN server either has some kind of size limit or dies randomly during long operations. I often need several tries to pull Content from a clean (i.e. empty) directory. CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Error during phase build of etoys
On 02.02.2010, at 08:34, anirudh nair wrote: > > > Are you sure there was no previous error? It sounds like the Content > directory was not fully downloaded. > > Try removing the etoys dir and build again: > > rm -rf source/etoys > ./sugar-jhbuild buildone etoys > > If that fails, please report its whole output. > > - Bert - > > > Thanks Bret, that worked > > Any ideas why it didn't work in the first place? Not without further evidence. - Bert - ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Error during phase build of etoys
> > Are you sure there was no previous error? It sounds like the Content > directory was not fully downloaded. > > Try removing the etoys dir and build again: > > rm -rf source/etoys > ./sugar-jhbuild buildone etoys > > If that fails, please report its whole output. > > - Bert - > > Thanks Bret, that worked Any ideas why it didn't work in the first place? Cheers Anirudh Nair ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Sugar-news] Sugar Digest 2009-02-02
On Tue, Feb 02, 2010 at 10:59:59AM -0500, Walter Bender wrote: > ===Sugar Digest=== > > 4. Thanks to an introduction by Chuck Kane, I am in touch with the > team that developed GeoGebra [http://www.geogebra.org]. GeoGebra is > free software for learning and teaching mathematics. Written in Java, > “it combines interactive geometry, algebra, calculus, and > spread-sheets in one easy-to-use system for students of all ages.” It > could be a candidate for Aleksey Lim's Sugar Services efforts > [http://wiki.sugarlabs.org/go/Activity_Team/Services]. I'm going to settle down 0sugar this week (yeah, that's the last deadline:) and release sugarized GCompris 9 http://www.geogebra.org will be my next not-trivial-to-package challenge -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Sugar Digest 2009-02-02
===Sugar Digest=== 1. I am once again falling behind in my writing. This time I have two excuses: travel and coding. I spent last week in Miami, not to escape the cold Boston winter, but to attend the OLPC deployment meeting. (This is first time since I left OLPC almost two-years ago that I have been invited to participate in an OLPC event.) It was great to see many old friends with passion in their hearts for the project. The highlight of the week was of course the presentations from the deployments. Many of the larger OLPC deployments gave detailed updates of the progress and plans—all of which include Sugar. The variety of means by which the deployments engage in outreach was fascinating. For example, in Paraguay, which still has a relatively modest deployment, they have been setting the stage for an eventual nationwide roll-out by publishing weekly “how-to-use Sugar” storyboards in the newspaper. In every case, the deployment teams have been considering not just the technology, but also their cultural context. The vector is pointing in the right direction. A concrete idea that surfaced during the discussions was to explicitly add the creation of a local Sugar Lab to the offering whenever OLPC partners with new deployment. The local lab would provide the means for the local community to nurture growth in their local Free Software community and to engage with the global Sugar community more systemically and efficiently. Another result from the meeting is that Claudia Urrea, one the education/deployment leads for OLPC, will be joining our Design Team meetings. Her direct feedback will be very helpful. 2. Raúl Gutiérrez Segalés and I are finally to the point where we would like some testing and feedback on the Turtle Art refactoring project. We have been rewriting much of code over the past month with several goals in mind: (1) make it easier to maintain; (2) make it easier to localize; (3) make it easier to incorporate new features; and (4) make it easier for the end-user to modify. So far, we have completed a major refactoring of the code: * object-oriented * 90% smaller download bundle-size * faster first-time launch * simplified i18n maintenance * easier to add new blocks and palettes and added new user interface features: *support for multiple turtles * expandable blocks * trash palette (with a restore button) * variable-length string blocks * editable strings Still to come: * a new collaboration model, where multiple turtles are shared * conversion to Cairo graphics for the Turtle * better program visualization during run-time You can download the new Turtle Art for testing from http://wiki.sugarlabs.org/go/File:TurtleArt-83.xo . The source is in http://git.sugarlabs.org/projects/turtleart/repos/refactoring/trees/master in gitorious. 3. It is worthwhile to periodically check on the Sugar-related materials being created in the field. For example, the teachers in Uruguay continue to assemble lesson plans for using Sugar in the classroom at http://www.reducativa.com/wiki2/index.php?title=Proyecto_OLPC_-_Plan_Ceibal. There is a real wealth of materials there. 4. Thanks to an introduction by Chuck Kane, I am in touch with the team that developed GeoGebra [http://www.geogebra.org]. GeoGebra is free software for learning and teaching mathematics. Written in Java, “it combines interactive geometry, algebra, calculus, and spread-sheets in one easy-to-use system for students of all ages.” It could be a candidate for Aleksey Lim's Sugar Services efforts [http://wiki.sugarlabs.org/go/Activity_Team/Services]. ===In the community=== 5. Kevin Mauricio Benavides Castro pointed out to me an article about the work going on in rural Nicuaragua (See [http://impreso.elnuevodiario.com.ni/2010/02/02/contactoend/118357]). 6. Cristian Paul Peñaranda Rojas has created an XO-man-inspired case for Sugar-on-a-Stick. You can download the CAD model from http://www.thingiverse.com/thing:1659 7. Hilaire Fernandes, the author of DrGeo [http.//wiki.laptop.org/go/DrGeo], is looking for feedback on his interactive geometry software (developed with Squeak and deployed on Etoys). ===Tech talk=== 8. The Design Team is meeting with great regularity and is making progress on many of the 0.88 features. You can follow the progress http://wiki.sugarlabs.org/go/Design_Team/0.88_Meeting";>in the wiki. ===Sugar Labs=== 10. Gary Martin has generated a SOM from the past two weeks of discussion on the IAEP mailing list (Please see http://wiki.sugarlabs.org/go/File:2010-Jan-16-22-som.jpg and http://wiki.sugarlabs.org/go/File:2010-Jan-23-29-som4.jpg). The latter image does a nice job of visualizing the on-going discussion about trademarks (See href="http://lists.sugarlabs.org/archive/iaep/2010-January/009933.html). -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mai
Re: [Sugar-devel] Error during phase build of etoys
On 02.02.2010, at 07:29, anirudh nair wrote: > Hi, > > I was trying to build sugar using sugar-jhbuild. Etoys refused to build. > The error message is posted below. I'm using fedora 11. > Pls help me in figuring out the problem. > > > *** Building etoys *** [19/32] > make > for dir in Content/po/* ; do \ > domain=`basename $dir` ; \ > for po in $dir/*.po ; do \ > lang=`basename $po .po`; \ > echo -n "${lang}: " ; \ > mkdir -p Content/locale/$lang/LC_MESSAGES ; \ > msgfmt -v -o Content/locale/$lang/LC_MESSAGES/$domain.mo $po ; \ > done \ > done > *: msgfmt: error while opening "Content/po/*/*.po" for reading: No such file > or directory > make: *** [Content/locale] Error 1 Are you sure there was no previous error? It sounds like the Content directory was not fully downloaded. Try removing the etoys dir and build again: rm -rf source/etoys ./sugar-jhbuild buildone etoys If that fails, please report its whole output. - Bert - ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Error during phase build of etoys
Hi, I was trying to build sugar using sugar-jhbuild. Etoys refused to build. The error message is posted below. I'm using fedora 11. Pls help me in figuring out the problem. *** Building etoys *** [19/32] make for dir in Content/po/* ; do \ domain=`basename $dir` ; \ for po in $dir/*.po ; do \ lang=`basename $po .po`; \ echo -n "${lang}: " ; \ mkdir -p Content/locale/$lang/LC_MESSAGES ; \ msgfmt -v -o Content/locale/$lang/LC_MESSAGES/$domain.mo $po ; \ done \ done *: msgfmt: error while opening "Content/po/*/*.po" for reading: No such file or directory make: *** [Content/locale] Error 1 Cheers Anirudh Nair ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [DESIGN] Control Panel Font configuration
On Mon, Feb 1, 2010 at 4:19 PM, C. Scott Ananian wrote: > On Mon, Feb 1, 2010 at 3:31 PM, Albert Cahalan wrote: >> On Sat, Jan 30, 2010 at 2:50 PM, C. Scott Ananian wrote: >> >>> Really, the problems described here can all be solved by careful font >>> selection and configuration. Fontconfig allows 'virtual fonts' which >>> can combine the best parts of a number of font files. >> >> Please explain how this solves the problem of having >> multiple fonts in the GUI that all look the same to a >> single-language user. >> >> (for example, 100 fonts with foreign-sounding names >> that all look **exactly** like DejaVu Sans) > > You should configure fontconfig to only show *one* "Sans" font which > includes the relevant parts of all these other script-specific fonts > for the appropriate unicode ranges. I don't think "Sans" should pretend to be a font. The GUI should have the correct font name. > Fonts which map script-specific > differences which do not have a roman-script equivalent should either > be given names which make this clear (made up example: "Sans (North > Korea)", "Sans (South Korea)") and/or omitted from deployments This is unsatisfying and/or troublesome. Last I looked (which was some time ago) there were about 20 Arabic fonts in the standard OS builds. They all looked **exactly** like DejaVu Sans. What if I do want multi-script text? If I can't pick a distinct font for each script, then I have to change fonts all over the document. (assuming I'm not happy with the default pairing) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [Feature] [DESIGN] Enhanced Color Selector
Hi, a lot of work has been going into enhancing the color selector [1]. The mockups can be seen at [2]. Now we should settle on one design and land it if possible. Would be a pity we would fail when we are so close. I think the latest designs brings us a big step forward, when you think about the current design. In the design meeting and the ml-thread the '+' layout and the rows of XOs were favored. Eben brought as well the 'static rows with separated fill/stroke' on the table. Let's try to find an agreement. Thanks, Simon [1] http://wiki.sugarlabs.org/go/Features/Enhanced_color_selector [2] http://wiki.sugarlabs.org/go/Design_Team/0.88_Meeting#Enhanced_Color_Selector ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [Feature] Write to Journal anytime
Hi, in the design meting of the 16th of January [1] there was an agreement to move forward on the 'Write to Journal anytime' [2] Feature like the following: "Instead of displaying the naming alert when you close an activity for the first time we will switch to the Journal detail few of the activity. The back button on the detail page will bring you, like in general Journal use, to the main Journal page. The NamingAlert will go away." The advantage of this solution is addition of context, as the user will be brought to the obvious place where he can make his notes. The fullscreen window switch might be confusing, though. At least this Feature should be tested and we should do a bit more thinking before making those changes. As the naming alert did bring confusion, too, we would like to remove it in 0.88. And aim for a better solution in 0.90. If we do not find agreement on this we could add a gconf option for that alert, too. As part of the issue is: That the Journal is not as accessible as it should be, we could make the Journal more prominent in the Home View. We could add the Journal to the activity ring (at the top) in the Home view, colored to make it accessible in the home view all the time (like described in the 'Resume vs Start New' Feature. Thanks, Simon [1] http://meeting.olpcorps.net/sugar-meeting/sugar-meeting.log.20100116_1110.html [2] http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Mon, Feb 1, 2010 at 23:30, James Cameron wrote: > On Mon, Feb 01, 2010 at 02:23:46PM -0800, Bert Freudenberg wrote: >> On 01.02.2010, at 14:20, James Cameron wrote: >> > >> > On Mon, Feb 01, 2010 at 01:41:26PM -0800, Bert Freudenberg wrote: >> >> It includes a copy of browse, doesn't it? >> > >> > It imports. >> > >> > In /home/olpc/Activities/Wikipedia.activity/activity.py: >> > >> > sys.path.append("/home/olpc/Activities/Browse.activity") >> > import webactivity >> >> So it works only on the XO ... interesting. > > Yes, that was curious. Has nobody noticed it not working on SoaS or > anything else? > >> In any case it does *not* start Browse as a separate activity. > > Correct, it starts Browse within the Wikipedia activity, using the > Browse activity source ... but a user would not be able to tell the > difference easily. > > I've just tested; one can open Wikipedia activity, type google.com into > the location text field, and then start a Browse activity from the > activity ring ... result, two active web browsers. A feature! ;-) I'm confused, you mean you cannot have two active web browsers otherwise? Regards, Tomeu > -- > James Cameron > http://quozl.linux.org.au/ > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to start the Browse activity from my own activity?
On Tue, Feb 2, 2010 at 00:39, Chris Ball wrote: > Hi, > > > >>> sys.path.append("/home/olpc/Activities/Browse.activity") > >>> import webactivity > > >> So it works only on the XO ... interesting. > > > Yes, that was curious. Has nobody noticed it not working on SoaS > > or anything else? > > For Wikibrowse under Sugar 0.82, we asked the activity registry where > Browse was installed and added that path, but in 0.84 that registry > was removed without a replacement API being offered, so the only way I > could see to get it working was the ugly XO-specific thing. Removing > APIs that are in use without fixing up activities that use them is not > very cool. :/ Back then, the whole sugar-toolkit API was considered unstable. The registry was there just because it was used by both the journal and the shell. When the journal was moved into the shell process, it was removed. But anyway, you have one activity depending on the internal code of another activity, that could even be absent from the system. The authors of the Wikibrowse activity should knew that they depended on really bad hacks and shouldn't expect their activity to work across releases without at least talking to the platform developers. Also, the platform developers have asked for comments about moving the Browse code they depend on to sugar-toolkit, which would be the right solution for Wikibrowse and other use cases such as Kandid, but that discussion went nowhere for lack of interest. Regards, Tomeu ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] calling for volunteers (was Re: SOAS 2 problems)
On Mon, Feb 1, 2010 at 03:11, Michael Hutak wrote: > I think that's a great idea SJ. In my experience in the Pacific, we get no > requests for shipping with windows and all our engagement with MOE's on > curricula and software and training surrounds Sugar. I think it wld be great > to highlight in a series of posts that on the ground we are still literally > working hand-in-glove. Michael, thanks for these encouraging words, I'm looking indeed at working further together. Regards, Tomeu > cheers, Michael > > On 31 January 2010 15:35, Samuel Klein wrote: >> >> That news blurb was certainly bold... it's also from Fall 2008. It's >> harder to spread FUD when a couple years of stories of XOs in >> classrooms involve Sugar. >> >> I would like to work together on a series of blog posts about the new >> Sugar version that will be shipping on the 1.5's. If some of the >> active develpoers (Tomeu, Chris, one or two developers of new >> activities?) want to draft their impressions and favorite aspects of >> the new release, I would be happy to edit and publish the result. >> >> SJ >> >> On Fri, Jan 29, 2010 at 5:20 AM, Tomeu Vizoso >> wrote: >> > On Tue, Jan 26, 2010 at 00:21, Samuel Klein wrote: >> >> On Fri, Jan 22, 2010 at 4:34 AM, Tomeu Vizoso >> >> wrote: >> >>> On Fri, Jan 22, 2010 at 06:07, Walter Bender >> >>> wrote: >> >>> >> >>> I think we are looking at a great probortunity here. We have a project >> >> >> >> My mind balks at that word, but I agree with this message >> >> wholeheartedly. >> >> >> >>> If we are able to learn to make successful calls for help, we will be >> >>> able to scale up our capacity significantly. We can like it or not, >> >>> but we depend _a lot_ on volunteers and we need to accept it and >> >>> operate according to that reality. >> >> >> >> A good point. Is there a page on the slwiki to organize calls for >> >> help for various projects? (it's not always this sort of call for >> >> help -- sometimes there are calls for developers from outside groups >> >> trying to fund activity development as well; or calls for >> >> field-testers by a group of active developers...) >> > >> > We have http://wiki.sugarlabs.org/go/Vacancies but that only works, as >> > it is now, for work that has associated a "position", not for >> > projects. Should we use the same? Create a different one? >> > >> > This is very related to Aleksey's proposal for a site that matches >> > needs with contributors, but I think it's better to start first with a >> > low-tech solution such as the wiki and move to more sophisticated >> > means as we learn more. >> > >> > About where to put the calls, my blog is read by GNOME hackers, I >> > think OLPC could ask Jonathan Corbet to put a call for kernel >> > developers, Greg's blog is read by Fedora contributors, what other >> > outlets we have for calling for specific volunteering opportunities? >> > >> > As mentioned before, I think it's very important how the need is >> > expressed, there's a world of difference between saying "we need you >> > to improve education" and having someone on the field describing how >> > the volunteer could make a real change on the lives of the people >> > there. Photos will also help, maybe a video from a rural school in >> > Africa, etc. >> > >> >>> And Sugar Labs cannot take this job it alone in part because most of >> >>> the general public still thinks that OLPC laptops are running Windows. >> >> >> >> We definitely need to remedy this confusion. >> > >> > I don't think that nor OLPC nor SLs can do much against MS' press >> > machine: >> > >> > >> > http://www.scidev.net/en/new-technologies/digital-divide/low-cost-laptops-to-change-from-linux-to-microsoft.html >> > >> > But if from time to time OLPC's press releases could briefly mention >> > Sugar, I think it could be great. >> > >> > Thanks, >> > >> > Tomeu >> > > > > > -- > Michael Hutak > Director, Oceania > One Laptop per Child > www.laptop.org > http://olpcoceania.blogspot.com > > Skype: michael.hutak > Cell: +61 412 001 052 > Fax: +61 2 8212 5967 > Web: www.hutak.com > > CONFIDENTIALITY NOTICE: This email is privileged, confidential and > copyright. It is intended for the named recipients only. > If you are not the named recipients, any use, reliance upon, disclosure or > copying of this email or any attachments is unauthorised. > If you have received this email in error, please delete it and reply via > email or the telephone numbers list above. > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel