[sugar] TubeSock?

2007-09-07 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have written a bunch of Python code using Sockets, and I am trying to port it to Telepathy. To avoid rewriting, I am considering implementing a python class that wraps python's Socket interface around a Telepathy TextChannel. Is this a bad idea?

[sugar] GTK, Hippocanvas, and sugar.graphics

2007-09-19 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear sugar, I have made an activity with the world's simplest GUI: one button, and one text display field. I used a HippoCanvas and added a gtk.Button and a gtk.Label. It works. It's ugly. The default color of the button is the same as the color

Re: [sugar] Importing objects from journal

2007-09-25 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: We have chosen to not support links to other objects in the journal. This will waste space, but simplifies greatly things and we hope will give a better experience. It has been mentioned more than once that if two Activities

Re: [sugar] Data Transport between nodes

2007-10-02 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: How would you change the HelloMesh example to send binary data or an object? Could you post a diff? That would be useful for a reference. Thanks! This is a dangerous suggestion, but you may want to look at the source

Re: [sugar] files over tubes

2007-10-04 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: It is not clear to me how I would send a large pdf file using tubes. How large? Large enough that you wouldn't want to store the whole thing in memory? - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7

Re: [sugar] Missing dependencies when starting with jhbuild

2007-10-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: I think there is a list of packages to install in the wiki, though I can't find it right now. It's here: http://wiki.laptop.org/go/Sugar_on_Fedora_7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux)

Re: [sugar] Resuming by default

2007-10-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: About making easier to resume existing entries, well... I have already said that we aim to improve this situation. Any other ideas in this direction are welcome. The problem is that the Activity's developer thinks users should

[sugar] Localized number formatting

2007-10-28 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It appears that the right way to do localized number formatting in Python is locale.format(). Has anyone successfully used this function in an activity? I can't seem to make it work. Also, what is the correct way to tell a sugar-jhbuild instance

Re: [sugar] i18n L10n anomalies

2007-10-30 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Xavier Alvarez wrote: Summary: L10n needs developers to push latest POT in d.l.o As an activity developer, I am confused as to precisely what you want. My latest .pot file is in git on dev.laptop.org. Is that where you want it? - --Ben -BEGIN

Re: [sugar] how to make a grayscale image?

2007-11-01 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: Anyone know of an easy technique for turning a pixbuf or cairo context into grayscale? I can't tell what you mean. Do you mean to take a snapshot of an existing pixbuf, convert that snapshot to grayscale, and display the

Re: [sugar] Bitfrost compliance for Update.1

2007-11-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan Krstić wrote: Here's how to properly get a temporary file in Python until we provide helpers for it through Sugar: ... tmp_root = os.path.join(environ['SUGAR_ACTIVITY_ROOT'], 'tmp') tmp = tempfile.TemporaryFile(dir=tmp_root) According the

Re: [sugar] Notify active event firing

2007-11-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjun Sarwal wrote: I need to turn off some drawing code when the user switches to Home View (why waste so much of CPU power in the meanwhile) How can I do that ? I just figured this out while writing Clock. In my activity's __init__, I do:

Re: [sugar] Localized number formatting

2007-11-05 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: Did you make any progress with this? Yes. It works. For example, Acoustic Tape Measure calls 'import locale' at the top of the file. During __init__(), after calling activity.Activity.__init__, it initiates locale with

[sugar] Multi-pane activities?

2007-12-05 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear confectioners, I have written an activity with a single main screen and a number of toolbars, selectable by tabs. I am considering adding some new features that would require one or more additional main screens. 0. Is this a bad idea? It

Re: [sugar] SAGE on XO?

2007-12-08 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: NumPy or SciPy, with some sort of minimal support structure, could be awfully handy too. :-) Numpy's already in the build. There was talk of putting scipy in as well, but this has not happened so far. A Geode-optimized

Re: [sugar] joyride smoke test results?

2007-12-10 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Blankinship wrote: Wiki notes notwithstanding, 1395 is working for me. Note that I did a clean install (square-key with usb autoreinstallation). Just tried that on a b3 and same problem -- activities don't launch (other

Re: [sugar] Printing et al.

2008-01-04 Thread Benjamin M. Schwartz
On Fri, 2008-01-04 at 13:40 -0500, Jim Gettys wrote: Sample 1: OLPC Trial School in Arahuay, Peru: Needs printing: but not for the kids (too expensive) for any routine printing. The teachers need to be able to use an XO for preparing tests and handouts for the kids, as conventional

[sugar] DBus-python and signals with changing types

2008-02-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to create a simple D-Bus signal of the form @dbus.service.signal(dbus_interface=self.IFACE) def send(self, message): return However, I do not know the type signature of message ahead of time. I also do not know whether

Re: [sugar] DBus-python and signals with changing types

2008-02-04 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John (J5) Palmieri wrote: Perhaps you are going about it the wrong way. Indeed. First of all decorators are executed when the method is parsed, way before the class is instantiated so you will get an error there. True. Also by sending

Re: [sugar] how to take a screenshot?

2008-02-05 Thread Benjamin M. Schwartz
On Tue, 2008-02-05 at 13:51 -0500, Erik Blankinship wrote: Can someone suggest how to take a screenshot from within a sugar activity? Alt+1 , I believe --Ben. ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar

[sugar] GTK/pango fonts and non-european languages

2008-02-10 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I use monospace fonts to render numeric fields in each of my activities. For example, at one point to set the font for a label I use: valuefont = pango.FontDescription() valuefont.set_family(monospace) valuefont.set_absolute_size(300*pango.SCALE)

Re: [sugar] Distribute activity

2008-02-19 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: | On Mon, 2008-02-18 at 22:37 -0500, Benjamin M. Schwartz wrote: | In light of the many requests for a way to distribute arbitrary Journal entries, | I am writing an activity tentatively named Distribute. This activity is | little

Re: [sugar] Disconnected backups.

2008-02-19 Thread Benjamin M. Schwartz
On Tue, 2008-02-19 at 13:08 -0500, Chris Ball wrote: * Encryption/privacy probably isn't desirable here -- we're dealing with objects that the user has chosen to have backed up. The Bitfrost spec refers to this as a primary backup. It is inevitable, since in the case of hardware failure, any

Re: [sugar] controlling AGC of camera on the XO

2008-02-21 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjun Sarwal wrote: | I need to turn OFF the AGC of the camera on the XO within my Activity. I recommend that you simply process the input in Bayer mode, which automatically disables AGC, white-balancing, gamma correction, and other image

Re: [sugar] problem in sugar_jhbuild

2008-02-28 Thread Benjamin M. Schwartz
On Thu, 2008-02-28 at 17:20 +0100, Tomeu Vizoso wrote: Right, I think there's some discussion going on about which view should be the default. As changing that will be rather trivial code-wise, I guess we can defer that decision. I have a proposal that might be relevant, based on a

Re: [sugar] Journal Object metadata

2008-03-05 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: | On Sat, Mar 1, 2008 at 6:44 AM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | I have read all the documents I could find, and also the Sugar source, and | I am still confused: | | How can an activity get an object

[sugar] Datastore: uid, entry_id, object_id, activity_id ?

2008-03-08 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to this page: http://wiki.laptop.org/go/Journal_entry_bundles ... Each journal entry has a unique uid. This 'uid' is listed in its metadata, and a conforming Journal Entry Bundle uses the uid calue to name various components of the bundle.

[sugar] Does datastore.write() work at all?

2008-03-08 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When I call datastore.write(jobject), my program dies, producing the appended logfile. The error is ~ File /usr/lib/python2.5/site-packages/olpc/datastore/datastore.py, line 177, in _resolveMountpoint ~mp = self.mountpoints[mountpoint]

Re: [sugar] Does datastore.write() work at all?

2008-03-08 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin M. Schwartz wrote: | ~ File /usr/lib/python2.5/site-packages/olpc/datastore/datastore.py, | line 177, in _resolveMountpoint | ~mp = self.mountpoints[mountpoint] | KeyError: dbus.String(u'1285c87a-1b13-4463-9e19-87f0ad8e1828

Re: [sugar] Datastore: uid, entry_id, object_id, activity_id ?

2008-03-09 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: | On Sat, Mar 8, 2008 at 11:17 PM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | According to this page: http://wiki.laptop.org/go/Journal_entry_bundles ... | | Each journal entry has a unique uid. This 'uid' is listed

[sugar] Activity for Distribution of Arbitrary Stuff

2008-03-09 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Long story short: http://dev.laptop.org/~bemasc/Distribute-1.xo Story: Currently, the only way to move data from one XO to another in the UI is by opening that data from the Journal with the program that edits it, sharing the editing session, and

[sugar] Memory allocation indicators

2008-03-12 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The original inspiration for the Activity Ring was that the Ring could serve both to indicate which activities were running and how much memory they were using. This was considered important in order to provide feedback to prevent users from

Re: [sugar] Memory allocation indicators

2008-03-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent Loobey wrote: | On Wednesday 12 March 2008 10:51:15 pm Benjamin M. Schwartz wrote: | The | question is: do users need to know how memory is being used, and if so, | what sort of indicator is appropriate? | | As a rule of thumb you shouldn't

Re: [sugar] Memory allocation indicators

2008-03-13 Thread Benjamin M. Schwartz
On Thu, 2008-03-13 at 16:03 -0400, Michael Stone wrote: Also, it would be easy for Rainbow to enforce a pre-set hard limit on memory usage for each Activity separately. I've thought about it before, but I don't think it leads to a good UI at the moment. The problem is that I don't think

Re: [sugar] Image Recognition

2008-03-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | A low-cost, low-power laptop with a built-in webcam and a somewhat | iconic interface offers some interesting possibilities for folks whose | primary means of communication is via sign language. | | I'm beginning to generate some interest on campus

[sugar] Activities are recompiled on every launch

2008-03-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In order to run a python program (.py), the python interpreter must first compile it to bytecode. The bytecode is stored in a .pyc file, when possible. In the case of installed packages, like NumPy or Sugar, the .pyc files are generated during

Re: [sugar] Activities are recompiled on every launch

2008-03-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Langhoff wrote: | On Sun, Mar 23, 2008 at 7:02 PM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | # time python -c import compileall; | compileall.compile_dir('/usr/share/activities/TamTamEdit.activity/', | force=True, quiet=True) | real

Re: [sugar] GVFS, OLPC, and GIT ?

2008-03-25 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Larsson wrote: | On Mon, 2008-03-24 at 15:34 -0400, Benjamin M. Schwartz wrote: | Dear Mr. Larsson, | My name is Ben Schwartz, and I am a volunteer with OLPC. As you may be | aware, the OLPC design calls for a centralized versioning

Re: [sugar] Automatic transfer/update of activities on the mesh (Was: Sharing behavior in the core Read activity)

2008-03-25 Thread Benjamin M. Schwartz
On Tue, 2008-03-25 at 13:46 -0400, Eben Eliason wrote: Naturally, there are some security concerns, but those could be easily addressed, I believe, with the usual signing mechanisms. Updates to activities would only be transparent if the update was signed, etc. I agree. For a first

Re: [sugar] Choosing defaults for the activity ring

2008-04-04 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote I prefer option (1) because it's the behavior I would want as a user. With option (1), it's more obvious that new activity bundles have been installed. It's also more straightforward to implement. | Option (2) is somewhat more

Re: [sugar] sugar roadmap

2008-04-11 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: |3. Need easy way to group links to activities, such as in a lesson |plan. | |Use Case: |Kid reads through geometry tutorial and clicks on first activity which |opens up Dr. Geo. After finishing w/ Dr. Geo he

Re: [sugar] Clicking links (was Re: sugar roadmap)

2008-04-11 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: | On Fri, Apr 11, 2008 at 11:15 AM, Bert Freudenberg [EMAIL PROTECTED] wrote: | I personally find addressing this scenario not worth the awkwardness | we currently have, clicking a URL in any activity should open a | browser on

Re: [sugar] Clicking links (was Re: sugar roadmap)

2008-04-11 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: | In fact, this exploit could happen even without a launcher service. | Any activity that wants to could write the users private data to the | disk in a URL format, as an object, and give it a fun preview image. | When the later

Re: [sugar] Wine Activity and DOS Console

2008-04-12 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin M. Schwartz wrote: | In order for it to run, you must first add 'org.winehq.WineConsole' to the | list of RAINBOW_CONSTANT_UID activities in | /usr/lib/python2.5/site-packages/sugar/activity/activityfactory.py I have now posted http

[sugar] Matchbox window management hints

2008-04-12 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to make Wine work as a Sugar activity. One of the most serious problems is that the Wine desktop window appears as a dialog. It appears in front of the frame, with decorations. I presume this is because it is non-resizable. However, it

Re: [sugar] sugar roadmap

2008-04-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Dubroy wrote: | On Sun, Apr 13, 2008 at 2:44 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: |Another option would be to create a version of Sugar that appeals to |programmers. But I can't imagine creating such a version that wouldn't |

[sugar] Mesh View and XO-presence

2008-04-17 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suppose that I am participating in 3 shared activity sessions, all public. ~ I am switching back and forth between them, perhaps copying things from one to another, and occasionally checking in on the third. The current mesh view design shows my XO

Re: [sugar] The limits of Mesh View

2008-04-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Polychronis Ypodimatopoulos wrote: | A full screen of icons would not be | legible either, but was I just trying to explore the limits. That's not exactly the limit. Although the current designs don't call for it, it would be easy enough to allow

[sugar] DS possibilities

2008-04-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reports from the field, especially from Carla and Bryan, have indicated that the datastore can get into a corrupted state from which it cannot recover. The corruption persists over a reboot. After corruption, subsequent datastore calls usually raise

Re: [sugar] Ad-hoc Networking

2008-04-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Gilmore wrote: | The presence implementation only works on access points and on meshes -- | but not on non-meshed, ad-hoc 802.11. The vast majority of computers | with 802.11 don't have mesh, but they would benefit from being able to | see

Re: [sugar] Ad-hoc Networking

2008-04-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Gilmore wrote: | The IETF ZeroConf protocols provide for self-assignment of IP | addresses in such a case. (The same thing happens if you plug two | laptops together with a short Ethernet cable and no DHCP server.) | | Does the OLPC Presence

Re: [sugar] xomail

2008-04-28 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua N Pritikin wrote: | On Mon, Apr 28, 2008 at 07:39:13PM -0500, Dennis Gilmore wrote: | On Monday 28 April 2008, Joshua N Pritikin wrote: | Do we really want to encourage HTML email? :-P | We should add the option, but i would prefer plaintext

Re: [sugar] [PATCH] fix #4646 - replace/normalize some keyboard shortcuts

2008-04-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Dengler wrote: | 'F12': 'volume_up', | 'ctrlF11' : 'volume_min', | 'ctrlF12' : 'volume_max', Given our ctrl/alt/shift distinction, it seems to me that these should be shiftF11 and shiftF12 This is

[sugar] E-mail, XMPP, and non-Sugar identities

2008-04-30 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There are perhaps a billion or more people in the world who have e-mail access (SMTP). We would like students with XOs to be able to communicate with these people in an easy, sensible way. For this reason, there has been a great deal of interest in

Re: [sugar] Release schedule and process

2008-05-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: | I agree that limiting the number of components released as a whole | brings important benefits. I think that the idea of releasing some | activities as part of Sugar is because they provide services that | are considered a basic

Re: [sugar] Shared Terminal Idea

2008-05-13 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: | In general, it'd be great to be able to share like this for most | activities. Another way of thinking about sharing would be to share | resources of multiple laptops to get a bigger workspace, e.g., some | times it is useful to

Re: [sugar] Release schedule and process

2008-05-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: | Blessing a browser is not going to remove competition. | | In practice, GNOME blesses a browser and despite most of the | distributor/users are using another one, with no interoperability | issues. This is the key

Re: [sugar] OLPC priorities for Sugar in the August release

2008-05-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jameson Chema Quinn wrote: | One low-hanging fruit for faster activity start is having activity install | compile .pyc files, with (tiny) extra points if the .pyc gets hints to not | use jffs2 compression. This is on my gameplan with the bundle format

[sugar] On the Naming of Sugar

2008-05-16 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think Sugar has a naming problem. There are a lot of different digital objects being produced by this project, and referring to all of them as Sugar is becoming increasingly confusing. For example, the discussion about Sugar on Windows has been

Re: [sugar] Cursor modifications

2008-05-30 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Dengler wrote: | On Thu, May 29, 2008 at 04:53:03PM -0400, Benjamin M. Schwartz wrote: | I do not know anywhere near enough about X to make this happen. I hope | you will respond with advice about what to do, or perhaps volunteer if you

Re: [sugar] Capturing all mouse events

2008-06-01 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Dengler wrote: | On Fri, May 30, 2008 at 09:38:39PM -0400, Benjamin M. Schwartz wrote: | | Does anyone know how to capture all mouse events? | | In trying to do this with pygtk, we both have run into gtk bug | #156948[1] - for the record

Re: [sugar] Experiments with Metacity

2008-06-02 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sayamindu Dasgupta wrote: | Hi, | | On Mon, May 19, 2008 at 5:14 PM, Marco Pesenti Gritti | [EMAIL PROTECTED] wrote: | On Mon, May 19, 2008 at 11:41 AM, Marco Pesenti Gritti | [EMAIL PROTECTED] wrote: | Maximize + undecorated might work. It has to be

Re: [sugar] Idea: Aerial photographs of all villages where XO's are deployed

2008-06-06 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wade Brainerd wrote: | Too bad the new Google Earth API is much too high level for these purposes, | it would be great if Google would open up the data. Check out openaerialmap.org It's fantastic. - --Ben -BEGIN PGP SIGNATURE- Version:

Re: [sugar] Proposed Governance - was: (Re: [IAEP] Sugar Digest 2008-06-09)

2008-06-09 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Gettys wrote: | 3) The decision panel mechanism seems cumbersome, and fraught with | political danger; if people don't believe the oversight board is being | fair, they should get rid of the oversight board. There is the | (possible) issue of how

Re: [sugar] [PATCH] Journal able to use open with for activity bundles

2008-06-11 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a proposal for how to manage objects in the datastore, to resolve the various issues we have discussed. I call it the Objects and Translators model. The fundamental idea is this: the datastore is a flat, non-hierarchical listing of objects

Re: [sugar] [PATCH] Journal able to use open with for activity bundles

2008-06-11 Thread Benjamin M. Schwartz
On Wed, 2008-06-11 at 12:11 -0400, Michael Stone wrote: On Wed, Jun 11, 2008 at 11:37:13AM -0400, Benjamin M. Schwartz wrote: Cute. Incidental thought: is performing a translation an action? Thank you. No, I don't see it as an action, especially because I imagine that the translation

Re: [sugar] (another) WebKit port of Browse

2008-07-08 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 C. Scott Ananian wrote: | On Tue, Jul 8, 2008 at 1:32 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: | We could add many more of the missing features to Browse if all the | developers weren't so busy with the rest of Sugar. Also, although most | of the

Re: [sugar] Activity versioning schema

2008-07-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Langhoff wrote: | After | all, if an activity writer wants to use Klingon characters for | versioning, hey, let them go wild! This is actually the key point. Currently, the versioning system is embedded into the Glucose code itself, and our

Re: [sugar] Activity versioning schema

2008-07-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jameson Chema Quinn wrote: | It is desirable for Sugar to be able to compare versions and | guess which one is newer. Newer means more recent. If this capability is important to you, then we may simply include a datestamp in each bundle, separate

Re: [sugar] Activity versioning schema

2008-07-14 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eben Eliason wrote: | I guess the point here is that performing intelligent string comparisons on | several of these schemes requires parsing the string. ;) I would be happy to whip up a universal approximate ordering for version strings in a few

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Ball wrote: | Another useful feature would be for | Write to have unique background colors for collaborators, as Gobby does. | I wonder if that would be a small enough task for someone to take on. See also #7447. Currently, Write doesn't

Re: [sugar] Write needs your help (was Re: Programming environments on the XO)

2008-07-17 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Garrison wrote: | On Thu, Jul 17, 2008 at 10:16:07AM +0200, Tomeu Vizoso wrote: | Given the quantity of free software available for Linux distributions | relative to the quantity of available sugarized applications, I believe | that repeats of

Re: [sugar] Programming environments on the XO

2008-07-17 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Sevior wrote: | Hi Folks, | Just so you know. The only reason for #7447 is because we | haven't put the UI in to enable it. I would like an additional control for background color. Eben, what do you think? | I'm not sure different

Re: [sugar] Design Question

2008-07-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Smith wrote: | The new Home View in 8.2.0 will have three available styles. Really? The home view top bar will show three buttons, for three different views? This is news to me, though not bad news. | Vote for your favorite as default first

Re: [sugar] Using threads in an Activity

2008-07-19 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shikhar wrote: | What am I missing? Where's the code? The Distance activity uses threads, gtk, and dbus without any problem, so that may be a good reference code. - --Ben -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment:

Re: [sugar] Remarks on the Work of Sugar

2008-07-22 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Stone wrote: | 5) Sugar is built on technologies that incentivize its developers to | recompute prior results which could be cached across boots. Sugar was intended to write to disk absolutely as little as possible, and also to reboot as

[sugar] Congratulations! but Sugar sucks

2008-07-24 Thread Benjamin M. Schwartz
(Foreword: I originally intended to send this e-mail after the release of 8.2.0, but I have been convinced to send it earlier in order to prompt discussion) Dear OLPC developers, Congratulations on your work so far towards 8.2.0, with its new UI, new underpinnings, and thousands of individual

Re: [sugar] Congratulations! but Sugar sucks

2008-07-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikus Grinbergs wrote: | I'm not familiar with the details of the Rainbow implementation, but | I question this claim: | | Sugar, as it currently stands, is among the least secure operating systems | ever, far less secure than any modern Linux or

Re: [sugar] Congratulations! but Sugar sucks

2008-07-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bert Freudenberg wrote: | Am 24.07.2008 um 14:25 schrieb Benjamin M. Schwartz: | | 1. The datastore | 2. OS Updates | 3. File Sharing | 4. Activity Modification | 5. Bitfrost | 6. Power management | | Note that half of these items have nothing to do

Re: [sugar] Congratulations! but Sugar sucks

2008-07-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kimberley Quirk wrote: | I think many people will agree with much of what you have identified | in your rant; and we have been working on making the most progress we | can given the constraints of the 'real' world: Kim: Though I was obviously trying

Re: [sugar] Activity names vs. types

2008-07-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Polychronis Ypodimatopoulos wrote: | At any rate, I will add (I filed a ticket) a sufficiently large (255 | chars?) name field for activities, although I would much prefer | designing this mechanism properly (any suggestions by Sugar(ed) |

Re: [sugar] Sugar Digest, Vol 25, Issue 94

2008-07-25 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg Smith wrote: | That said, I don't think we can address many (any?) of these things in | 8.2.0 due to the constraints that Kim mentioned. I fully expect this work to wait until after 8.2.0 is out. | Can you send and/or paste in to the 9.1.0 wiki

Re: [sugar] specifying what services Activities may use

2008-07-28 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry Williams wrote: | Seems like this problem for linux was solved with RPM. | With rpm if something is missing for something you want to install, it | complains and won't let you install it. That's not really the problem we're discussing. We're

Re: [sugar] video bleeds through somewhat between sessions

2008-08-05 Thread Benjamin M. Schwartz
Quoting Martin Langhoff [EMAIL PROTECTED]: There is probably a bug in the mplayer wrapper (are you using an mplayer 'activity' wrapper?) in that it's not getting rid of the overlay setup when it loses focus or is minimized. This is not a bug, at least in the case of losing focus. Color-keyed

Re: [sugar] [OLPC Security] P_READ_LOGS

2008-08-10 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jameson Chema Quinn wrote: | For when we actually have bitfrost permissions in the interface, I propose | another simple bitfrost permission: P_READ_LOGS. I agree that reading logs is a valuable capability for Sugar to provide. I don't see why any

Re: [sugar] [OLPC Security] P_READ_LOGS

2008-08-11 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mikus Grinbergs wrote: | The easiest way to present logs, especially failure logs, is to make them | available through the standard Journal/Datastore interface. For example, | we have some agreement that when an Activity fails to launch, the failure

Re: [sugar] [Activities] Panorama activity

2008-09-05 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph Derndorfer wrote: | Sweet, I totally missed that! | | Is anyone actively working on integrating that functionality into 'record' | or making it available as a seperate activity? | | Christoph | See

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-18 Thread Benjamin M. Schwartz
Sayamindu Dasgupta wrote: The simplest way to do this is mentioned in the draft, namely, to have a new _NET_WM_WINDOW_TYPE hint, called _NET_WM_WINDOW_TYPE_NETBOOK_APP (feel free to suggest a better name :-P). I do not understand at all why _NET_WM_WINDOW_TYPE_FULLSCREEN is insufficient.

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin M. Schwartz wrote: | ... _NET_WM_WINDOW_TYPE_FULLSCREEN ... That should be _NET_WM_STATE_FULLSCREEN. Oops, Ben -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: | However, though we do not always show frames (or panels), there are | some environments which show at least a single panel all the time (eg: | Ubuntu Netbook Remix). In those cases, fullscreen might mean that | frame may

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-18 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: | On Thu, Sep 18, 2008 at 11:34 PM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | In summary, I believe we can safely move to a lightly patched Metacity | while tagging our windows purely according to the EWMH

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-19 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marco Pesenti Gritti wrote: | On Fri, Sep 19, 2008 at 12:13 AM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | Let's keep thinking about this. For example, I wonder what Metacity does | to a window that is both _NET_WM_STATE_FULLSCREEN

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-19 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We are talking about replacing Matchbox with Metacity in the XO build of Sugar. C. Scott Ananian wrote: | When I run | sugar under metacity, I don't *want* my activities to be full screen. I think you mean When I run Sugar inside a standard desktop

Re: [sugar] Supporting desktop applications, extending the EWMH spec

2008-09-21 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: | (I run SKYPE in Bert's X Activity | without a problem.) The principle goal of this discussion is to make the X Activity unnecessary by moving that functionality into Sugar's window management. Possible motivations for this

[sugar] OOM and accidental activity launching

2008-09-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Some people have mentioned that they would like to see bugs of general interest advertised on the mailing lists. As such, if you are interested in the subject line, you may enjoy a proposal at http://dev.laptop.org/ticket/8611 - --Ben -BEGIN PGP

Re: [sugar] simple datastore replacement, take two

2008-09-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tomeu Vizoso wrote: | 2.- all metadata properties are just strings. I think this is a good decision (especially since by strings you mean byte arrays). However, it's not quite true. Your design actually has two classes of metadata properties:

Re: [sugar] Tagged Journal Proposal

2008-09-23 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 C. Scott Ananian wrote: | On Tue, Sep 23, 2008 at 2:13 PM, Benjamin M. Schwartz | [EMAIL PROTECTED] wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | C. Scott Ananian wrote: | | A hand-drawn proposal for what a Journal supporting directory

Re: [sugar] frame auto-visibility configuration

2008-09-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Garrison wrote: | Hello all, | | On tabbing we are currently auto-toggling the frame. Are we sure that | this is necessary? Could we include a configuration option to change | this? | Another option, which I would prefer, is to show only the

[sugar] Congrats to Telepathy

2008-09-24 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Congratulations are in order, I think, for the Telepathy developers. Gnome 2.24 was just released, and from http://library.gnome.org/misc/release-notes/2.24/ GNOME 2.24 announces the inclusion of an instant messaging client based off the Telepathy

Re: [sugar] U3 flash drives

2008-09-29 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Walter Bender wrote: | Anyone know much about U3 flash drives? Would this be the simplest | (for the end user) way of booting a LiveUSB image of Sugar? (I worry | about asking people to change their BIOS to enable USB boot as being | too off-putting.)

  1   2   >