Re: [Sugar-devel] Interesting USB-pluggable robots, controller boards, and sensors

2011-03-04 Thread Martin Langhoff
On Fri, Mar 4, 2011 at 3:12 PM, Rafael Ortiz raf...@activitycentral.com wrote: We can work together in supporting Arduino for Scratch and TurtleArt. Emiliano has Arduino + TA working, I think. Needs to be reworked as a plugin in the new TA plugins model (which seems excellent). On the Uy/Ceibal

Re: [Sugar-devel] Interesting USB-pluggable robots, controller boards, and sensors

2011-03-04 Thread Martin Langhoff
On Fri, Mar 4, 2011 at 3:32 PM, Rafael Ortiz raf...@activitycentral.com wrote: Emiliano has Arduino + TA working, I think. Needs to be reworked as a plugin in the new TA plugins model (which seems excellent). Great, IIRC I think that also it's working only serially, i.e you cannot download

Re: [Sugar-devel] [RELEASE] sugar-artwork-0.92.0

2011-02-23 Thread Martin Langhoff
On Wed, Feb 23, 2011 at 5:32 PM, Simon Schampijer si...@schampijer.de wrote: * School Server Icon (Martin Abente) It has a tower, and a bell. Cool! m --  martin.langh...@gmail.com  mar...@laptop.org -- Software Architect - OLPC  - ask interesting questions  - don't get distracted with shiny

Re: [Sugar-devel] [PATCH 1/2] shell: handle activities that cycle through windows dlo#10695

2011-02-17 Thread Martin Langhoff
On Wed, Feb 16, 2011 at 12:54 PM, Simon Schampijer si...@schampijer.de wrote: the general approach - just a few small comments inline. Thanks! There's a patch in reply, and a few comments from me here... +    def remove_window_by_xid(self, xid): +        Remove a window from the windows

[Sugar-devel] [PATCH] shell: handle activities that cycle through windows dlo#10695

2011-02-17 Thread martin . langhoff
From: Martin Langhoff mar...@laptop.org Now activities have a stack of windows (Activity._windows). The lowest still-valid window in the stack is considered the main window. When a window is closed, the shell finds what activity had that window, tells it to remove it from its stack

Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-15 Thread Martin Langhoff
On Mon, Feb 14, 2011 at 9:57 PM, Gary Martin garycmar...@googlemail.com wrote: Couldn't we use the presence service (or its equivalent)? I've always wanted to see a schoolserver icon in the mesh view... from which the user could (re-)register, initiate a backup/restore, open a browser on the

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-15 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 10:46 AM, Anish Mangal an...@activitycentral.org wrote: Currently, the 'network' icon on the frame tells us whether we're connected to a network or not. Would it make sense for it to test for internet connectivity and maybe reflect that by displaying a small globe

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-15 Thread Martin Langhoff
On Tue, Feb 15, 2011 at 6:37 PM, James Cameron qu...@laptop.org wrote: NetworkManager already has sufficient functionality for reporting the state of a network connection. No it doesn't; if it did I'd use it :-) If we know whether we can see the XS or the internet we can, for example - run a

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-14 Thread Martin Langhoff
On Sun, Feb 13, 2011 at 8:59 PM, Michael Stone mich...@laptop.org wrote: So what network affordances [1, 2] are we supposed to make discoverable? :) Let's not get too academic. Reading back the thread: - can we reach the internet? (or it might be a controlled WAN) - can we reach an XS? In

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-14 Thread Martin Langhoff
On Mon, Feb 14, 2011 at 12:11 PM, Michael Stone mich...@laptop.org wrote: Let's not get too academic. FYI, this remark stings rather more than I think you intended. Apologies. It was short for too long and formal, let's communicate in shorter messages, I don't need formal or logical proof of

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-13 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 10:46 AM, Anish Mangal an...@activitycentral.org wrote: Currently, the 'network' icon on the frame tells us whether we're connected to a network or not. Would it make sense for it to test for internet connectivity and maybe reflect that by displaying a small globe

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-13 Thread Martin Langhoff
On Sun, Feb 13, 2011 at 6:38 PM, Michael Stone mich...@laptop.org wrote:  The Sugar UI should make network health discoverable. Good point in general. To what is trying to get solved, I'd word it as Sugar UI should make network _affordances_ discoverable. We can get a rough initial version with

Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-13 Thread Martin Langhoff
On Sun, Feb 13, 2011 at 8:00 PM, Samuel Greenfeld greenf...@laptop.org wrote: For the schoolserver (and other jabber-based environments), wouldn't the best check be to see if there is a working gabble connection and that we are not on salut? That only works _after_ you've registered. So no.

[Sugar-devel] [PATCH 1/2] shell: handle activities that cycle through windows dlo#10695

2011-02-12 Thread martin . langhoff
From: Martin Langhoff mar...@laptop.org Now activities have a stack of windows (Activity._windows). The lowest still-valid window in the stack is considered the main window. When a window is closed, the shell finds what activity had that window, tells it to remove it from its stack

[Sugar-devel] [PATCH 2/2] trace flipping windows for debugging purposes dlo#10683

2011-02-12 Thread martin . langhoff
From: Simon Schampijer si...@schampijer.de badly behaved activities flip windows quickly, add log for tracing them --- src/jarabe/model/shell.py |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py index

Re: [Sugar-devel] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

2011-02-12 Thread Martin Langhoff
On Sat, Feb 12, 2011 at 1:57 PM, Sascha Silbe si...@activitycentral.com wrote: The behaviour sought by Aleksey's patch makes sense. I am surprised that CWD isn't set to SUGAR_BUNDLE_PATH, maybe that needs to get fixed instead. Thanks for disproving my assumption that it's something Python 2.x

Re: [Sugar-devel] [PATCH 1/2] shell: handle activities that cycle through windows dlo#10695

2011-02-12 Thread Martin Langhoff
On Sat, Feb 12, 2011 at 2:09 PM, martin.langh...@gmail.com wrote: diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py index 661e370..bd7e367 100644 I'd like to recall this particular patch. Apologies, posted the wrong version. cheers, m --  martin.langh...@gmail.com  

Re: [Sugar-devel] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

2011-02-12 Thread Martin Langhoff
On Sat, Feb 12, 2011 at 6:57 PM, Aleksey Lim alsr...@activitycentral.org wrote: The problem is, if I got it right, that cwd means nothing for searching modules, only sys.path(and so) makes sense. After launching Python interpreter, the $0 becomes sys.path[0]. But the problem is that activities

[Sugar-devel] Making Sugar Shell smarter with Activities that change window

2011-02-11 Thread Martin Langhoff
Aleksey, Simon, after tearing my hair off a bit with an app that jumps through various windows during its lifetime, I came up with what seems to be a reasonable strategy for handling the situation In brief summary: - change the Activity.window property to an stack. - new windows are

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 3:54 AM, Bert Freudenberg b...@freudenbergs.de wrote: libsugarize only works for well-behaved simple X11 programs. It relies on certain functions being called that have been redirected to the library's overrides. It's a preload-hack, not a proper library, so I'd expect

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 8:50 AM, Martin Langhoff martin.langh...@gmail.com wrote: Indeed. At this point, we think the crash comes not so much from libsugarize but from changing windows very quickly during startup. Wrtiteup of my diagnosis and patches at http://dev.laptop.org/ticket/10683 Note

[Sugar-devel] Activity crashes when using libsugarize.so

2011-02-09 Thread Martin Langhoff
If a newcomer to Sugar follows the instructions at http://wiki.sugarlabs.org/go/Running_Linux_Applications_Under_Sugar to use Albert Calahan's libsugarize.so from a precompiled binary, lots of funny things happen. X.org crashes with BadWindow at apparently random times -- some of the crashes can

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-09 Thread Martin Langhoff
On Wed, Feb 9, 2011 at 11:08 AM, Thomas C Gilliard satel...@bendbroadband.com wrote: Last year I experimented with sugarize and stored the files required in a local repo: Right. Could you please change your notes to recommend that people... - download libsugarize.c and compile it on the

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-09 Thread Martin Langhoff
On Wed, Feb 9, 2011 at 11:45 AM, Jon Nettleton jon.nettle...@gmail.com wrote: Any reason not to package both of these into an rpm and provide it in the OLPC repos? Missing: a maintainer who knows and understands that it does, a maintainer that has time to do maintain it. m --  

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-09 Thread Martin Langhoff
On Wed, Feb 9, 2011 at 12:27 PM, Thomas C Gilliard satel...@bendbroadband.com wrote: I do not know where  libsugarize.c  is stored. Just follow the link in my email. m --  martin.langh...@gmail.com  mar...@laptop.org -- Software Architect - OLPC  - ask interesting questions  - don't get

Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-09 Thread Martin Langhoff
On Wed, Feb 9, 2011 at 10:17 AM, Martin Langhoff martin.langh...@gmail.com wrote: The solution is to grab the src and recompile. That .so is likely old. Actually, not so much of a solution. Still getting some crashes. May be related to the program misbehaving. grr. m --  martin.langh

Re: [Sugar-devel] [Dextrose] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

2011-02-07 Thread Martin Langhoff
On Mon, Feb 7, 2011 at 4:40 AM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Otherwise it is possible to include, eg, system modules before local ones. Which is how Python 2 usually works. Your patch would make us deviate from upstream, making it harder to debug. I've done

Re: [Sugar-devel] [Dextrose] [PATCH sugar-toolkit] Insert activity root path in front of the reset of sys.path

2011-02-06 Thread Martin Langhoff
On Sun, Feb 6, 2011 at 9:39 PM, Aleksey Lim alsr...@activitycentral.org wrote: On Sun, Feb 06, 2011 at 07:22:12PM -0500, Samuel Greenfeld wrote: Not that would cause much of a slowdown, or that this would handle the (hopefully unlikely) case where Python gains modules named identically to

Re: [Sugar-devel] TB and nxt_python - include or depend

2011-01-31 Thread Martin Langhoff
On Thu, Jan 13, 2011 at 3:04 PM, Martin Langhoff martin.langh...@gmail.com wrote:  - There is an nxt_python package for F9, F11 and F14. So, this nxt_python package already in Fedora was very old. There's an updated package athttp://dev.laptop.org/~martin/nxt/ which installs on F14 builds

Re: [Sugar-devel] acti-plications: write once, run anywhere?

2011-01-18 Thread Martin Langhoff
On Tue, Jan 18, 2011 at 12:41 PM, Erik Blankinship er...@mediamods.com wrote: On a dual-boot XO, does it make sense to use the same binary code for sugar activities also in gnome applications?  If so, are there guidelines or example acti-plications? The gnome side will most likely be installed

Re: [Sugar-devel] acti-plications: write once, run anywhere?

2011-01-18 Thread Martin Langhoff
On Tue, Jan 18, 2011 at 2:25 PM, Erik Blankinship er...@mediamods.com wrote: If my acti-plication has dependencies that are not part of the underlying build, do I need to install them on the gnome side first? It's not technically at the gnome side... you have to install them in the system :-)

[Sugar-devel] TB and nxt_python - include or depend

2011-01-13 Thread Martin Langhoff
Hi Emiliano, Walter, Looking at the situation with nxt_python on Fedora 11 and earlier OSs... I think TB should detect availability of nxt_python (effectively soft-depending n the rpm / deb), because: - The nxt_python package will also install the /etc/udev/rules.d file, one way or another,

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 1:09 PM, Bert Freudenberg b...@freudenbergs.de wrote: On 12.01.2011, at 19:07, Gary Martin wrote: So activity developers/maintainers should never ./setup genpot, or commit and push a .pot file when first building an activity? Gary -- correct. If github allowed hooks,

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 4:39 PM, Walter Bender walter.ben...@gmail.com wrote: Why are conflicts only showing up now, and for only some of my activities? Or had Sayamindu been cleaning things up behind the scenes? Well, they've been accumulating for a while, and nobody's noticed until we

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 4:57 PM, James Simmons nices...@gmail.com wrote: In Make Your Own Sugar Activities! I specifically tell people to run ./setup.py genpot.  If there's anything wrong in that chapter I'd like to correct it.  We need to fix the Spanish version too. Good point. I'm not sure

Re: [Sugar-devel] New Dextrose 2 build: os438dx

2011-01-11 Thread Martin Langhoff
On Sat, Jan 8, 2011 at 11:19 PM, Bernie Innocenti ber...@codewiz.org wrote: This release of Dextrose 2 is intended for beta testing. Images for the XO-1 and XO-1.5 can be downloaded here:  http://wiki.sugarlabs.org/go/Dextrose Congrats! The major highlight in this release is a simple

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-10 Thread Martin Langhoff
On Sun, Jan 9, 2011 at 7:44 PM, Emiliano Pastorino epastor...@plan.ceibal.edu.uy wrote: Oh! I meant we hadn't had time to prepare the kits for the kids, just that. Ok. Can you list/describe of what base kit you give the kids? Maybe put it on a page on wiki.laptop.org? I'd like to buy an arduino

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-10 Thread Martin Langhoff
On Mon, Jan 10, 2011 at 10:29 AM, Walter Bender walter.ben...@gmail.com wrote: Here is what I am thinking re TA extensions: That'd work. But I am trying to think what the right user experience is. Will they appear... - the NXT/Arduino/other is plugged to USB (so the /dev/ node exists?... what

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-10 Thread Martin Langhoff
On Mon, Jan 10, 2011 at 11:37 AM, Walter Bender walter.ben...@gmail.com wrote: That is up to whatever gets coded as the device detection algorithm. My strategy is to move that decision out from tawindow.py where it currently sits. Perhaps, but in any case, it should be consistent across

[Sugar-devel] Work on Pootle today

2011-01-10 Thread Martin Langhoff
= Managing conflicts = /var/lib/pootle/checkouts has several conflicts that are preventing synchronization in both directions. The main source of trouble is maintainers committing changes in the po directory -- ignoring the warning against it in the wiki. We've added some diagnostics scripts

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-09 Thread Martin Langhoff
On Sun, Jan 9, 2011 at 8:58 AM, Emiliano Pastorino epastor...@plan.ceibal.edu.uy wrote: We're working on a project to introduce robotics to school and high-school kids this year. Excellent! Sayamindu's clone at  http://git.sugarlabs.org/~sayaminfu/turtleart/arduino-support , but Wow! I

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-08 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 7:23 PM, Martin Langhoff martin.langh...@gmail.com wrote: I would recommend as a place to start simply adding a set of blocks to control the motors and access the sensor data. And leave the programming logic to the Sugar Activity. Right - but I will need to write

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-07 Thread Martin Langhoff
On Tue, Jan 4, 2011 at 11:55 AM, Rafael Enrique Ortiz Guerrero raf...@sugarlabs.org wrote: Not enterely related but some of us were working on an arduino TA conection (now only working serially), the next step  is to be able to program the arduino chip, downloading bytecode generated from TA.

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-07 Thread Martin Langhoff
On Fri, Jan 7, 2011 at 4:32 PM, Rafael Enrique Ortiz Guerrero raf...@sugarlabs.org wrote: is there a standard-ish Arduino robot + sensots kit I can buy? I don't ... No that i know, best shot for now is hacking or working with handmade analogue and digital sensors, like the ones used for

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-04 Thread Martin Langhoff
On Tue, Jan 4, 2011 at 11:55 AM, Rafael Enrique Ortiz Guerrero raf...@sugarlabs.org wrote: Not enterely related but some of us were working on an arduino TA conection (now only working serially), That's cool! Very related! Walter mentioned your in private email. From what I see, for both

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-04 Thread Martin Langhoff
On Tue, Jan 4, 2011 at 12:37 PM, Mike Lee curious...@gmail.com wrote: I'd like to also put in a plug for the LEGO's low-cost WeDo robotics Oh, wishes wishes :-) Both arduino and nxt are within reach because others have laid the foundations. You can easily program them from Linux. Here, we're

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-04 Thread Martin Langhoff
On Tue, Jan 4, 2011 at 3:28 PM, Mike Lee curious...@gmail.com wrote: I can tell you that it works very well! And tell us -- does it run under Linux/Sugar? Linux/Gnome? m --  martin.langh...@gmail.com  mar...@laptop.org -- School Server Architect  - ask interesting questions  - don't get

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2011-01-04 Thread Martin Langhoff
On Tue, Jan 4, 2011 at 4:00 PM, Mike Lee curious...@gmail.com wrote: It is a Sugar activity (Linux/Sugar). Niiice. m --  martin.langh...@gmail.com  mar...@laptop.org -- School Server Architect  - ask interesting questions  - don't get distracted with shiny stuff  - working code first  -

Re: [Sugar-devel] Wikipedia bundle in other languages

2011-01-04 Thread Martin Langhoff
Yes -- see the WikiBrowse / Wikipedia Activity page in wiki.l.o . The process isn't perfect... and is not very well document it. I didn't create (this process) but have been trying to improve it a bit recently, so will be happy to help a bit along the way. cheers, m On Tue, Jan 4, 2011 at

Re: [Sugar-devel] moving datastore projects via usb sticks?

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 8:25 AM, Erik Blankinship er...@mediamods.com wrote: In my video game, I am saving game state resources into a tar file, which is then saved to the journal / datastore. Hi Erik! on the 10.1.3 release track we've made some improvements in this area (which was rather

Re: [Sugar-devel] A heads up for the major changes that will appear in Fedora 15 / SoaS 5

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 9:05 AM, Gary Martin garycmar...@googlemail.com wrote: This is the monstrous gaping maw of doom, from my perspective. Just about every Activity and much of the Sugar UI will break. AIUI, from discussions with Simon and Tomeu that's not the case. Gnome people are not

Re: [Sugar-devel] A heads up for the major changes that will appear in Fedora 15 / SoaS 5

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 3:21 PM, Walter Bender walter.ben...@gmail.com wrote: I don't think that is what people are saying. I think they are saying that we need not resolve all of our potential GNOME 3.0 issues immediately as the 2.0 libraries will still be present. Is that not the case? Yep.

[Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2010-12-30 Thread Martin Langhoff
Hi Walter, list, [ disclaimer: this is a hobby project, likely to proceed at very slow pace, given insane amounts of real work around XOs ;-) ] I got a lego nxt 2.0 for xmas! Looking around for how to use it from Linux, I found NXC (a variant on NQC -- 'not quite C' that compiles to NXT

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 6:35 PM, Walter Bender walter.ben...@gmail.com wrote: I had a similar conversation with the Arduino team in .uy last month. We Interesting! I would recommend as a place to start simply adding a set of blocks to control the motors and access the sensor data. And leave

Re: [Sugar-devel] moving datastore projects via usb sticks?

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 7:06 PM, Bernie Innocenti ber...@codewiz.org wrote: What particular bug was fixed? Is that something that we may want to steal in Dextrose? http://dev.laptop.org/ticket/9658 http://dev.laptop.org/ticket/9657 it's a deal, it's a steal! m --  martin.langh...@gmail.com

Re: [Sugar-devel] TurtleBlocks driving lego NXT 2.0 -

2010-12-30 Thread Martin Langhoff
On Thu, Dec 30, 2010 at 5:34 PM, Martin Langhoff martin.langh...@gmail.com wrote:  - NBC/NXC is the most popular tool by all accounts, actively RPM at http://dev.laptop.org/~martin/nbc/  - There is a python module for it, but it's for Python 2.4, looks unmaintained, seems very limited

Re: [Sugar-devel] conection for usb-RJ45 xo-pc. no ip

2010-12-15 Thread Martin Langhoff
On Wed, Dec 15, 2010 at 4:27 PM, James Cameron qu...@laptop.org wrote: I think you've found an interesting problem, similar to #9544 or #9768, but for USB ethernet instead of wireless. Agreed. If you take a vanilla F11, and plug in your USB-Ethernet, does this happen automagically? What do NM

Re: [Sugar-devel] [DESIGN] Messages notification

2010-12-07 Thread Martin Langhoff
On Tue, Dec 7, 2010 at 5:40 AM, Walter Bender walter.ben...@gmail.com wrote: I like both approaches, actually. The first, with the badges, closely associates the notification with its context and the corner history let's you get an overview. I like the first approach, for the same reasons as

Re: [Sugar-devel] [PATCH] Share Journal entries over external devices #1636

2010-11-30 Thread Martin Langhoff
On Tue, Nov 30, 2010 at 8:27 AM, Simon Schampijer si...@schampijer.de wrote: Note about the hidden files on windows: I looked a bit around, and there is no way to set that attribute on Linux, AFAIK. IIRC, Windows hides .files . In any case, there are Windows laptops around here so I can run a

Re: [Sugar-devel] [DESIGN] Messages notification

2010-11-17 Thread Martin Langhoff
On Sat, Nov 6, 2010 at 2:07 AM, Martin Abente martin.abente.lah...@gmail.com wrote: * Why the user should start an activity to know what is happening? Why/when does the user want to know what's happening? Users are busy doing something interesting... We should interrupt/hassle the user never.

Re: [Sugar-devel] [DESIGN] Messages notification

2010-11-17 Thread Martin Langhoff
On Wed, Nov 17, 2010 at 1:10 PM, David Farning dfarn...@gmail.com wrote: This patch has a place in Dextrose.  Dextrose is looking at the question, How can we provide support staff the necessary information to effectively fix and/or report problems to a higher level of service and support?

Re: [Sugar-devel] Report on Sl# 2080 , Pulsing icon delayed by 5 seconds or so.

2010-11-05 Thread Martin Langhoff
On Fri, Nov 5, 2010 at 6:35 AM, Martin Dengler mar...@martindengler.com wrote: Again, thanks for this summary.  I think the thing to do is merge my patch for #2080 and then address the other issues.  I'll do that soon. Hi Martin. would it make sense to change (in toolkit) jarabe/view/icon.py

Re: [Sugar-devel] Browse scaling for XO display

2010-11-04 Thread Martin Langhoff
Hi Walter, older builds had a nasty xulrunner patch, forcing dpi to 133, possibly as a workaround to xulrunning ignoring configured DPIs. I don't think that it's been carried forward -- I suspect xulrunner now obeys configured DPIs better. Given that configured DPI is the key element here, I

Re: [Sugar-devel] Edit/audit wikipedia activity

2010-11-03 Thread Martin Langhoff
On Tue, Oct 26, 2010 at 4:51 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Oct 21, 2010 at 12:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: Unfortunately, there is a clear need to organise a facility to audit/edit the wikipedia snapshots we have and repack the archive

Re: [Sugar-devel] [Dextrose] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080

2010-10-29 Thread Martin Langhoff
On Thu, Oct 28, 2010 at 1:42 PM, Martin Dengler mar...@martindengler.com wrote: There is a better way: use cProfile and gprof2dot.py.  You will get graphs (and of course the raw data) like this: http://www.martindengler.com/tmp/sl.o-2080/pulsingicon.py-stats-graph.png Excellent graph. But

Re: [Sugar-devel] Edit/audit wikipedia activity

2010-10-26 Thread Martin Langhoff
On Thu, Oct 21, 2010 at 12:06 PM, Martin Langhoff martin.langh...@gmail.com wrote: Unfortunately, there is a clear need to organise a facility to audit/edit the wikipedia snapshots we have and repack the archive. Some simple rough mods to server.py to allow local edits -- start server.py

Re: [Sugar-devel] [Dextrose] Pending patchs for Paint

2010-10-25 Thread Martin Langhoff
On Sat, Oct 23, 2010 at 4:21 AM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: If something's controversial it may not be on 'master' but there's no reason to have it in the sugarlabs git repos where everyone looks for src. I suppose this should have read *not* to have it? The

Re: [Sugar-devel] Edit/audit wikipedia activity

2010-10-22 Thread Martin Langhoff
Hi Chris, (while Mitch does his magic on 1.75... I distract you a bit...) -- I am looking at reproducing the re-compile current es_PE Wikipedia Bundle process. Looking at the instructions in http://wiki.laptop.org/go/WikiBrowse, it's not 100% clear. For a trivial example, if I have an updated

Re: [Sugar-devel] [Dextrose] Pending patchs for Paint

2010-10-22 Thread Martin Langhoff
On Fri, Oct 22, 2010 at 12:45 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: I certainly hope that each bundle released by Sugar Labs or associated Sure. Not everything's perfect. Let's make sure we drag things back to normality. If something's controversial it may not be on

[Sugar-devel] Edit/audit wikipedia activity

2010-10-21 Thread Martin Langhoff
Hi list, we are getting interesting news of not-quite-good content in Wikipedia content included in the Wikipedia activities. Unfortunately, there is a clear need to organise a facility to audit/edit the wikipedia snapshots we have and repack the archive. Do we have any easy way to do this? Is

[Sugar-devel] Memory leak in Sugar -- how to dump Py data structures?

2010-10-07 Thread Martin Langhoff
See http://dev.laptop.org/ticket/10386 for details. The sugar-session process in 10.1.2 grows slowly... There's some form of leak somewhere. Maybe we are triggerin a real python leak, maybe we have reference loops. How do we trace this? m --  martin.langh...@gmail.com  mar...@laptop.org --

Re: [Sugar-devel] Memory leak in Sugar -- how to dump Py data

2010-10-07 Thread Martin Langhoff
On Thu, Oct 7, 2010 at 10:47 AM, Michael Stone mich...@laptop.org wrote: Tomeu wrote some instructions here:  http://wiki.laptop.org/go/Memory_leak_testing  http://wiki.sugarlabs.org/go/Development_Team/Memory/Leak_testing  (mirror) Great. thanks! Setup a test machine and keeping an eye on

Re: [Sugar-devel] Memory leak in Sugar -- how to dump Py data

2010-10-07 Thread Martin Langhoff
On Thu, Oct 7, 2010 at 11:53 AM, Martin Langhoff martin.langh...@gmail.com wrote: Great. thanks! Setup a test machine and keeping an eye on it. Even without waiting much, it's clear we're leaking objects referred to the UI representation of the access points. `iwlist scan ` spots 37 APs

Re: [Sugar-devel] Proposal of dotted activity version number

2010-10-06 Thread Martin Langhoff
On Wed, Oct 6, 2010 at 4:47 PM, C. Scott Ananian csc...@laptop.org wrote: On Wed, Oct 6, 2010 at 6:58 AM, Gonzalo Odiard gonz...@laptop.org wrote: Then I plan to ignore the customization when I  compute the order. So why is it there? To allow identification. But what Gonzalo pointed out is

Re: [Sugar-devel] Proposal of dotted activity version number

2010-10-04 Thread Martin Langhoff
On Mon, Oct 4, 2010 at 5:25 PM, James Cameron qu...@laptop.org wrote: I agree with the proposal. +1 --  martin.langh...@gmail.com  mar...@laptop.org -- School Server Architect  - ask interesting questions  - don't get distracted with shiny stuff  - working code first  -

Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-10-01 Thread Martin Langhoff
On Fri, Oct 1, 2010 at 3:00 PM, Dipankar Patro dipan...@seeta.in wrote: I am following this site for XS installation: I thought you already had an XS. You have the right URLs but installing an XS for this will be too much work. As Bernie suggested, just install idmgr on a fedora box. cheers,

Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-09-30 Thread Martin Langhoff
Hi Dipankar, the XS will use the serial number provided by Sugar as the 'username'. The nickname is used to set the GECOS information. Background info -- what's the GECOS? It's where you normally wrte your full name. So on my laptop, my username is 'martin', my GECOS is Martin Langhoff. $ grep

Re: [Sugar-devel] [ANNOUNCE] 0.90 tarballs available

2010-09-30 Thread Martin Langhoff
Great stuff! Congratulations to all involved! m On Thu, Sep 30, 2010 at 12:21 PM, Simon Schampijer si...@schampijer.de wrote: Dear Packagers, we are proud to let you know that the 0.90 Sucrose tarballs are available. We are currently still working on the release notes [1] but for those of

Re: [Sugar-devel] Dextrose 1 report from Paraguay

2010-09-30 Thread Martin Langhoff
Hi Martín, team, great -- your efforts are definitely worthwhile. Some questions below... On Thu, Sep 30, 2010 at 12:25 PM, Martin Abente mabe...@paraguayeduca.org wrote: * Only 21 Activities selected by our education team. These activities are protected (can not be erased using the user

Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)

2010-09-29 Thread Martin Langhoff
On Wed, Sep 29, 2010 at 1:32 PM, Dipankar Patro dipan...@seeta.in wrote: With reference to bug : http://bugs.sugarlabs.org/ticket/2152 The diagnosis of the bug is incorrect. We never use the user-selected 'nickname' as a username in the XS. We do provide it as in the GECOS info, and there may be

Re: [Sugar-devel] Mesh networking not working in my XO's

2010-09-28 Thread Martin Langhoff
On Tue, Sep 28, 2010 at 9:10 AM, Harpreet Sareen author.blog...@gmail.com wrote: I tried the instructions from the link - http://wiki.sugarlabs.org/go/Features/Ad_hoc_Networking The XO 1.5 was connected itself to Mesh Network 1 and on hovering on the Network Icon, te message pops saying

Re: [Sugar-devel] Mesh networking not working in my XO's

2010-09-28 Thread Martin Langhoff
Harpreet, you've got the build details backwards. 201 customised is XO-1.5, and 802 is for XO-1. cheers, m On Tue, Sep 28, 2010 at 8:12 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Sep 28, 2010 at 14:08, Harpreet Sareen author.blog...@gmail.com wrote: Hi, Here's the info about OS

Re: [Sugar-devel] [IAEP] Child in charge of FOSS or Sugar

2010-09-21 Thread Martin Langhoff
On Tue, Sep 21, 2010 at 9:21 AM, Teemu Leinonen teemu.leino...@aalto.fi wrote: The issue is even more important when the project is claiming to promote FLOSS culture, like in the case of Sugar. In my definition of That is _not_ the primary goal of Sugar. Sugar aims for lots of goals, first and

Re: [Sugar-devel] [IAEP] Child in charge of FOSS or Sugar

2010-09-17 Thread Martin Langhoff
On Fri, Sep 17, 2010 at 9:27 AM, Søren Hougesen soren.houge...@gmail.com wrote: For about a month ago, I asked as a curious outsider, if kids were actually hacking sugar. Two factors are important here: - We all have very high and complex expectations for Sugar, so Sugar itself is internally

Re: [Sugar-devel] flashing time xo-1.5

2010-09-17 Thread Martin Langhoff
Hi Esteban, we had exactly the same question asked by Guadalupe :-) -- Wad posted our answers / notes on de...@lists.laptop.org earlier today. [ It has nothing to do with Dextrose, and everything to do with the size of the image and the write speed of the SD card... ] In that thread you'll find

Re: [Sugar-devel] #2141 UNSP: Memory and CPU status indicator for the frame.

2010-09-15 Thread Martin Langhoff
On Wed, Sep 15, 2010 at 11:36 AM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: I don't think this is a good enough heuristic. Agreed -- that's a terrible heuristic. And happy/sad face is a terrible UI. The computer is not happy or sad; it's _working_. Honestly, there is a base problem

Re: [Sugar-devel] What should system mood really mean? (forked from #2141 UNSP: Memory and CPU status indicator for the frame.)

2010-09-15 Thread Martin Langhoff
On Wed, Sep 15, 2010 at 10:53 AM, Anish Mangal anishmangal2...@gmail.com wrote: How about extending the meaning of 'system mood' to more than just the memory and cpu usage metrics. As I've mentioned in the other thread, this is not a good metaphor. If you have a box, as long as things _fit_ in

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-08 Thread Martin Langhoff
On Wed, Sep 8, 2010 at 5:02 AM, Tomeu Vizoso to...@sugarlabs.org wrote: Note that those are registered users, there's only a dozen online. Ah! Then no, the behaviour is 100% bogus. I guess in that case you won't accumulate lots of registered users either, so this behavior shouldn't matter in

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-07 Thread Martin Langhoff
On Tue, Sep 7, 2010 at 10:44 AM, Tomeu Vizoso to...@sugarlabs.org wrote: With the script attached, some GetProperties queries take a few seconds, others more than 25 seconds (the default dbus timeout). It should be invoked like this: dbus-launch --exit-with-session python gabble_test.py Hmmm,

Re: [Sugar-devel] [Dextrose] Stability stuff

2010-09-03 Thread Martin Langhoff
On Fri, Sep 3, 2010 at 11:23 AM, Martin Abente mabe...@paraguayeduca.org wrote: for sugar. In the field you already know thats not the case. Also... even when the activities are being implemented in python through the Activity Class, the read and write methods needs to be implemented by the

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-03 Thread Martin Langhoff
On Fri, Sep 3, 2010 at 12:43 PM, Tomeu Vizoso to...@sugarlabs.org wrote: I have a local XS 0.6 that is working fine but I'm finding that the XS 0.5.2 at jabber.sugarlabs.org is not returning some results for some of the queries that I make. There are very important bugfixes in the final

Re: [Sugar-devel] Making OLPC / Sugar Labs more approachable

2010-08-09 Thread Martin Langhoff
On Mon, Aug 9, 2010 at 12:46 AM, Neil Graham l...@screamingduck.com wrote: Perhaps what is needed is a KDE to olpc's gnome in order to lift the game of both. We do a ton of things in relationship with our 'community' (or perhaps our different 'communities'). For example, we engage in this

Re: [Sugar-devel] Making OLPC / Sugar Labs more approachable (was: Re: OLPC 10.1.2 Release Candidate 1)

2010-08-09 Thread Martin Langhoff
On Sun, Aug 8, 2010 at 5:09 PM, Christoph Derndorfer christoph.derndor...@gmail.com wrote: I know I'm repeating myself here but I find the attitude expressed in these instructions and particularly point 3 troublesome and a continued source of frustration for me as well as other people I've

Re: [Sugar-devel] Making OLPC / Sugar Labs more approachable

2010-08-09 Thread Martin Langhoff
On Mon, Aug 9, 2010 at 4:17 PM, Neil Graham l...@screamingduck.com wrote: And yet, Developers on this list [olpc-devel] have complained when people have done that, because this is not the place for it.  Of course, there isn't any other place for it. Don't take every complaint seriously ;-) I

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-08 Thread Martin Langhoff
On Sun, Aug 8, 2010 at 4:01 AM, Tomeu Vizoso to...@sugarlabs.org wrote: I tihnk I have been sloppy with my words, so let me clarify two things: - killing processes should be done only to avoid OOM (because currently the kernel kills the wrong thing most of the time). Can't we just _close it

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-08 Thread Martin Langhoff
On Sun, Aug 8, 2010 at 9:33 AM, Tomeu Vizoso to...@sugarlabs.org wrote: Can't we just _close it nicely_? When you are about to get into OOM? Early on so we avoid OOM for most cases. Right now our OOM use cases have nothing to do with misbehaved activities. Once you're in about to get into

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-08 Thread Martin Langhoff
On Sun, Aug 8, 2010 at 11:42 AM, Martin Langhoff martin.langh...@gmail.com wrote: (Not sure what the state of play is with seeding the OOM scores from userland). http://linux-mm.org/OOM_Killer The pid of the activity should have its oomadj bumped up a bit -- so OOM knows to spare sugar-shell

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-08 Thread Martin Langhoff
Hi Tomeu, in general, I think we are saying the same thing :-) With one exception -- OOM happens because memory is allocated. Sugar-shell cannot (and I say should not) try to arbitrage in there. If we try to do it from sugar-shell, all we can do is poll. If we poll infrequently, we won't catch

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-08 Thread Martin Langhoff
On Sun, Aug 8, 2010 at 12:36 PM, Tomeu Vizoso to...@sugarlabs.org wrote: Well, we certainly should not poll, I started this thread because recent kernels have a mechanism for getting notified when a certain threshold of free memory is reached (see below). ...

Re: [Sugar-devel] Killing activities when memory gets short

2010-08-07 Thread Martin Langhoff
On Sat, Aug 7, 2010 at 1:31 PM, Bernie Innocenti ber...@codewiz.org wrote: El Sat, 07-08-2010 a las 18:14 +0200, Tomeu Vizoso escribió: So we would have a periodic wakeup? The test would be the amount of free memory plus buffers and caches? A polled design is clearly inferior to a proper

<    1   2   3   4   5   6   7   >