<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/index.php?action=history&amp;feed=atom&amp;title=Archive%2FCurrent_Events%2F2011-06-06</id>
	<title>Archive/Current Events/2011-06-06 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/index.php?action=history&amp;feed=atom&amp;title=Archive%2FCurrent_Events%2F2011-06-06"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Archive/Current_Events/2011-06-06&amp;action=history"/>
	<updated>2026-04-05T02:02:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Archive/Current_Events/2011-06-06&amp;diff=66257&amp;oldid=prev</id>
		<title>Walter: Created page with &quot;== Sugar Digest ==  1. I am working on a modification of Sugar&#039;s View Source mechanism that allows the user to make modifications to copies of the source code. So far, I have it ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Archive/Current_Events/2011-06-06&amp;diff=66257&amp;oldid=prev"/>
		<updated>2011-06-06T21:30:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Sugar Digest ==  1. I am working on a modification of Sugar&amp;#039;s View Source mechanism that allows the user to make modifications to copies of the source code. So far, I have it ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Sugar Digest ==&lt;br /&gt;
&lt;br /&gt;
1. I am working on a modification of Sugar&amp;#039;s View Source mechanism that allows the user to make modifications to copies of the source code. So far, I have it working for Sugar activities. It is quite simple actually: I added a palette button to the existing viewsource.py code (written by Tomeu Vizoso) to make a local copy of the activity being viewed. I rename the copy to MyActivity and change the bundle_id to bundle_id_my_copy.&lt;br /&gt;
&lt;br /&gt;
It is that simple: one mouse click and you have a copy of any activity available to modify while leaving the original activity intact. And you immediately see a working copy of the activity on your Sugar Home View.&lt;br /&gt;
&lt;br /&gt;
As far as making modifications, at present, I am leaving it to the user to open the Terminal activity and make changes using vi or nano. I am considering enabling either Pippy or the Edit activity to open files in ~/Activities or to expose ~/Activities in the Journal in much the way we are considering for ~/Documents. Feedback would be appreciated.&lt;br /&gt;
&lt;br /&gt;
Next up is to do something similar with Sugar itself. I am working on a patch that will provide View Source to Sugar and the Sugar toolkit. (The current version of my patch adds a View Source Button as a menu item under the Journal icon on the Frame.) Once I have this working, adding a copy mechanism, perhaps to ~/site-packages, would be a simple modification. Change sys.path and you are up and running on a locally modifiable version. No root access required!&lt;br /&gt;
&lt;br /&gt;
I have to think through the implications of how the user will switch back and forth between Sugar versions. With activities, since I change the bundle_id, the original and modified versions can coexist. It is not obvious--at least to me--how to have two different versions of Sugar running in parallel. This wouldn&amp;#039;t be a problem as long as the user doesn&amp;#039;t make a change to Sugar that causes it to crash, but I expect (hope) that will happen frequently. (As Samuel Beckett said: &amp;quot;Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.&amp;quot;) So we need some recovery mechanism that is not dependent on a working Sugar.&lt;br /&gt;
&lt;br /&gt;
2. In the very cool department: Check out Koji Yokokawa&amp;#039;s project that enables you to control Scratch from Etoys (See http://www.squeaksource.com/ScratchConnect.html).&lt;br /&gt;
&lt;br /&gt;
=== In the community ===&lt;br /&gt;
&lt;br /&gt;
3. The New Zealand Testing Team is expanding: Tabitha Roder and Tom Parker are happy to announce the arrival of Oliver Nathan Erasmus Parker, born 17:38 on 6 May (See pictures at http://carrott.org/gingernut/).&lt;br /&gt;
&lt;br /&gt;
4. The joint GNOME and KDE 2011 Desktop Summit is taking place in Berlin from August 6–12.&lt;br /&gt;
&lt;br /&gt;
=== Sugar Labs ===&lt;br /&gt;
&lt;br /&gt;
Gary Martin has generated a SOM from the past few weeks of discussion&lt;br /&gt;
on the IAEP mailing list.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:2011-May-14-20-som.jpg|2011 May 14th–29th (74 emails)&lt;br /&gt;
File:2011-May-7-13-som.jpg|2011 May 7th–13th (75 emails)&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Visit our planet [http://planet.sugarlabs.org] for more updates about Sugar and Sugar deployments.&lt;br /&gt;
&lt;br /&gt;
[[Category:Sugar Digest]]&lt;/div&gt;</summary>
		<author><name>Walter</name></author>
	</entry>
</feed>