Re: [Sugar-devel] Renaming the Telescope activity to Scope

2012-11-19 Thread Martin Langhoff
On Mon, Nov 19, 2012 at 11:58 PM, Chris Leonard wrote: > As I recall, this activity was already renamed once from xoscope after > it became clear it was colliding in name space with an oscilloscpe > activity. Renames are a pain in infrastructure, and in upgrade handling for users. I would say pr

Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Martin Langhoff
Ajay, folks, please indicate OS version, XO model, steps to repro (even if intermittent), and collect kernel logs so we can see WTH is going on. Otherwise we can only say "maybe" and speculate -- good stuff for idle converstation at a bar, but not productive if you want to see the problem diagnos

Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-20 Thread Martin Langhoff
On Wed, Nov 21, 2012 at 2:40 AM, James Cameron wrote: >> I don't think having an end-user with no experience with USB IDs add >> an entry to the usb-inhibits file, or having to remember to turn off >> a major feature is the correct long term solution IMHO. You guys are driving OOB, so you short-t

Re: [Sugar-devel] [TRANSIENT ISSUE] 3G-Modem not being recognised

2012-11-21 Thread Martin Langhoff
On Wed, Nov 21, 2012 at 3:07 AM, Alan Jhonn Aguiar Schwyn wrote: >> is there a way to block suspend when a class of USB device is plugged? > > This will be very important.. Disable the "automatic power-save" (AKA power > off usb..) It is already done in many cases. > if one device is using the u

Re: [Sugar-devel] Major bugs for "Software-Update"

2012-11-29 Thread Martin Langhoff
On Tue, Nov 27, 2012 at 11:42 AM, Ajay Garg wrote: > http://bugs.sugarlabs.org/ticket/4274 > http://bugs.sugarlabs.org/ticket/4275 Looks like I can play this game too :-/ # 4281 - Activity updater - crashes updating activity m -- martin.langh...@gmail.com mar...@laptop.org -- Software Archite

Re: [Sugar-devel] Porting Sugar on Android (Ice cream sandwich)

2012-12-11 Thread Martin Langhoff
Hi Rajiv, your plan seems to have good goals, but is missing some understanding of what you can and cannot do. You cannot run Sugar (a Python-based window manager, based on traditional Linux sw stack) on the Android stack. Way too different. To reach your goals, however, you could try something

Re: [Sugar-devel] Porting Sugar on Android (Ice cream sandwich)

2012-12-11 Thread Martin Langhoff
: > Thanks, Martin. Btw, where did you deduce the name "Rajiv" from? :) > > RJv > > On Wed, Dec 12, 2012 at 1:13 AM, Martin Langhoff > wrote: >> >> Implement a shell -- replacing the standard Android shell -- that >> has the main features of Sugar sh

Re: [Sugar-devel] [TRANSIENT] Peer XOs NOT shown in Neighborhood view when Power Management is enabled

2012-12-19 Thread Martin Langhoff
On Wed, Dec 19, 2012 at 5:14 AM, Jerry Vonau wrote: > Think I found the problem, in powerd we're setting WOL based on this > string: > > if grep -qi ": :14B2" /proc/net/tcp > > but that string is not present in /proc/net/tcp so WOL is not set > according to ethtool, but that string can be

Re: [Sugar-devel] Issue on the XO when trying to register to a XS

2012-12-31 Thread Martin Langhoff
On Mon, Dec 31, 2012 at 6:20 AM, wrote: > Do you already know this issue? > What could be the next step to analyze the issue? What happens if you retry registration from the XO? OS versions on XO, XS? If the XO OS is recent, nothing comes to mind, except a transient network issue. Older XO OSs

Re: [Sugar-devel] Hacking onto the "appearing" and "hiding" of OSK

2013-01-24 Thread Martin Langhoff
On Thu, Jan 24, 2013 at 10:13 AM, Paul Fox wrote: > i believe sugar already has code to detect the two modes, since > that's how it knows whether to present the OSK or not. Yep. Ajay, I think Write shows you the way :-) m -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect

Re: [Sugar-devel] Hacking onto the "appearing" and "hiding" of OSK

2013-01-24 Thread Martin Langhoff
On Thu, Jan 24, 2013 at 12:02 PM, Gonzalo Odiard wrote: > Write does not know what is the ebook switch state, that logic is in the > osk. And that's correct. ebook mode is one reason to show the OSK. There are other reasons -- for example, - accesibility - typing in a different language from

Re: [Sugar-devel] Query regarding "xorg-x11-drv-dove" package, on XO-4

2013-02-21 Thread Martin Langhoff
Thanks for the report! Jon Nettlelton is working on that particular driver, and there was a big overhaul that landed in OS29. Could you create a ticket on dev.laptop.org, against 13.1.0? This has nothing to do with Sugar itself... thanks! m On Thu, Feb 21, 2013 at 12:07 PM, Ajay Garg wrote:

Re: [Sugar-devel] Window handling for non-Python activities

2013-02-25 Thread Martin Langhoff
On Mon, Feb 25, 2013 at 12:22 PM, Daniel Drake wrote: > This didn't happen on older versions of Sugar (haven't checked why, > maybe the "failed to start" screen didn't exist before?) This patch seems related: http://git.sugarlabs.org/sugar/mainline/commit/dc8f6ed7852f919fe7123d458706fb82430257e9

Re: [Sugar-devel] Features: Background image in Home View

2013-03-25 Thread Martin Langhoff
On Mon, Mar 25, 2013 at 11:48 AM, Manuel Quiñones wrote: > My first impression is that this feature can potentially hurt the > clean design of Sugar at some points: > > - the icons color semantic > - high contrast, accesibility Agreed. IMHO it can be improved by applying a "washout" -- mix the im

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 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 "Connected to simple mesh I

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 wrote: > On Tue, Sep 28, 2010 at 14:08, Harpreet Sareen > wrote: >> Hi, >> Here's the info about OS versions on my XO laptops. >> >> XO

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 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 a bug in that.

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

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 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 you who want t

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 wrote: > * Only 21 Activities selected by our education team. These activities are > protected (can not be erased using the user interface). How are you achi

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 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, m --  martin.la

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 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  - http://wiki.laptop.org/go/User:Martinla

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 wrote: > On Wed, Oct 6, 2010 at 6:58 AM, Gonzalo Odiard 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 that in the case of 1.1-peru vs 1

[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 -- Sch

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 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 it. m --  ma

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 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, and that'

[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

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

2010-10-21 Thread Martin Langhoff
On Thu, Oct 21, 2010 at 1:35 PM, Benjamin M. Schwartz wrote: > Actually editing article text is not something we have attempted AFAIK. And that's exactly what we need to do. We cannot blacklist vandalized major 'distributor' pages. We cannot grab a new import just to audit all again. m --  m

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 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 'master' but there's no reason to have it

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 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 dastardly double-negative. You

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

2010-10-26 Thread Martin Langhoff
On Thu, Oct 21, 2010 at 12:06 PM, Martin Langhoff 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 with an add

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 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 following this conversa

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

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

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 don

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

2010-11-04 Thread Martin Langhoff
On Thu, Nov 4, 2010 at 12:41 PM, Simon Schampijer wrote: > http://git.sugarlabs.org/projects/hulahop/repos/mainline/blobs/master/python/__init__.py#line96 > > We still do set the DPI in hulahop. That code is bizarre. I followed it scratching my head, not realising that in the end, it's just a 're

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 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 to optionally return the

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

2010-11-17 Thread Martin Langhoff
On Sat, Nov 6, 2010 at 2:07 AM, Martin Abente 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. Or extremely seldom. m --

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

2010-11-17 Thread Martin Langhoff
On Wed, Nov 17, 2010 at 1:10 PM, David Farning 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?" Let's not jump t

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 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 quick test in a co

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

2010-12-07 Thread Martin Langhoff
On Tue, Dec 7, 2010 at 5:40 AM, Walter Bender 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 Walter. Much more than

[Sugar-devel] get_bundles() change breaks Wikipedia vs WikipediaEN

2010-12-08 Thread Martin Langhoff
Background: I'm rolling new Wikipedia and WikipediaEN releases. During testing we foundthat the two collide when one is present and the other is installed via Sugar. I'd like to revert or seriously refine this patch which loosens the criteria for get_bundle() http://git.sugarlabs.org/sugar/mainlin

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 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 logs say? We ma

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 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 broken). What version

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 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 that insane, the old APIs wi

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 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. AIUI, Sugar is not f

[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 bytecode)

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 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 the programming > logi

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 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  mar...@laptop.o

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 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 in feature

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 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 Arduino and NXT we need

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 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 talking about adding g

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 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 distracted with shiny stu

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 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  - http://wiki.laptop.org/g

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 12:

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 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. Rafael -- and wh

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 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 turtle-art > sensors. H

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 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 writ

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 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 didn't know this existed! Wha

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 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 kit set for a basic robot, w

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 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 about bluetooth?) -

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 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 external devices that trigg

[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 that

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 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 automated updater ba

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 1:09 PM, Bert Freudenberg 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, I'd suggest a hoo

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 4:39 PM, Walter Bender 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 looked. When we looked earl

Re: [Sugar-devel] Conflicts in pootle

2011-01-12 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 4:57 PM, James Simmons 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 what happens w

[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, you

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 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 via RPMs (or .de

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 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 :-) - Power users, de

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 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 -- can prep a F11

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 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 Activity ones, but: >>

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 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 extensive programming with Python, Perl

[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 b

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 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 target OS instead of downloadi

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 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 --  martin.langh...@gmail.com  mar...@la

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 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 distracted with shiny stuff  -

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 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...@gmail.com  mar...@laptop.

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 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 many > program

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 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 that the patche

[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 append()ed

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

2011-02-12 Thread martin . langhoff
From: Martin Langhoff 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. If that was the last window

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

2011-02-12 Thread martin . langhoff
From: Simon Schampijer 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 bd7e367..f01eb8e 100644 --- a/sr

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 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 does > differentl

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, 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  mar...@laptop.org -- Software A

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

2011-02-12 Thread martin . langhoff
From: Martin Langhoff 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. If that was the last window

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 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 start from sugar-activi

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 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 overlaid on the 'Network' i

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 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 a ping to 'sc

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 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. I'd be interested i

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 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 both cases, ping +

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 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 every statement

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 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 schoolserver homepag

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 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 overlaid on the 'Network' i

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 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 backup (or not

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 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 stack.""" >> +  

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

2011-02-17 Thread martin . langhoff
From: Martin Langhoff 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. If that was the last window

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 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 stuff  - working cod

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

2011-03-04 Thread Martin Langhoff
One of the key pushes for 11.2.0 is robots, controlled boards and sensors. We want to know... - Which are the interesting and achievable robots/boards/sensors? Right now we have WeDo, NXT, ScratchBoard, Pico, GoGo -- all can be connected and need minor tweaking to work. - Given that most (all?)

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 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 side, I really want to kn

<    2   3   4   5   6   7   8   >