Uff, that is fairly dated! I would install latest Fedora with the
Sugar Desktop Group as my first attempt. It won't be OLPC-pretty,
it'll expect users to log in with username/password, but other than
that it should work.
hth,
m
On Tue, Apr 8, 2014 at 12:39 PM, Christoph Derndorfer
On Wed, Mar 26, 2014 at 7:59 AM, Gonzalo Odiard godi...@sugarlabs.orgwrote:
I think was done to preserve space.
Not sure if that is a concern now.
Yep. It was definitely a concern for XO-1 and for XO-1.5 images for 2GB
machines.
m
--
martin.langh...@gmail.com
- ask interesting
On Mon, Mar 10, 2014 at 8:46 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
Activity startup time is in the shell.log if sugar have debug enabled.
+100 on Gonzalo's recommendations. Also a couple of notes, from memory,
- Gobject Introspection turned out to be slow to instantiate (IIRC,
dsd
On Sat, Mar 1, 2014 at 10:33 AM, Christian Stroetmann
stroetm...@ontolab.com wrote:
Please, respect our trademarks and our copyrights.
Hi Christian!
Have you registered your trademarks anywhere? USPTO doesn't know about
them, but you could have a registration elsewhere.
And I googled your
On Wed, Mar 5, 2014 at 10:07 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
Your website is also a piece of art.
Actually, I feel bad. Seems like Apple stole his copyrighted ideas,
right down to the ID,
http://www.ontolinux.com/community/hardware.htm
Christian, you should get in touch
On Wed, Mar 5, 2014 at 12:11 PM, Christian Stroetmann
stroetm...@ontolab.com wrote:
The referenced summary on marc.info can not be understood without prior
knowledge and reading the whole threads.
Oh, I think anyone reading your trolling emails should get some
background on you based on your
On Sat, Mar 1, 2014 at 11:11 AM, Christian Stroetmann
stroetm...@ontolab.com wrote:
Yes indeed we have created a new concept that is basically the
transformation of the Sugar learning environment developed solely for very
If all you have is a concept, and you are trying to register
trademarks
On Fri, Feb 28, 2014 at 12:00 PM, Christian Stroetmann
stroetm...@ontolab.com wrote:
In this respect I wrote before, that I do not think that Lego is in control
over its registered trademark 'LEGO' anymore,
This has nothing to do with Sugar, nor OLPC. Perhaps a mailing list
about trademarks is
On Tue, Jan 21, 2014 at 3:48 PM, Sam Parkinson sam.parkins...@gmail.com wrote:
- Android has a really simple system where you can say go to
www.abc.blogs.org in any app that can open it. That opens it in a web
browser or in the blogs.org app if installed. This works because the
blogs.org app
Same here -- sugar-devel, IAEP and server-devel. Taught my gmail some manners.
thanks for the heads up,
m
On Thu, Dec 19, 2013 at 8:43 AM, Peter Robinson pbrobin...@gmail.com wrote:
On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard gonz...@laptop.org wrote:
Today I have found almost 10 mails
On Mon, Oct 28, 2013 at 11:01 PM, David Farning
dfarn...@activitycentral.com wrote:
I would like to thank everyone who has provided valuable feedback by
participating on this thread.
Ahem. You are casting fugly accusations, you can't stand back and
thank everyone for their valuable feedback.
On Wed, Oct 23, 2013 at 12:26 PM, Walter Bender walter.ben...@gmail.com wrote:
On Wed, Oct 23, 2013 at 12:04 PM, David Farning
dfarn...@activitycentral.com wrote:
I just wanted to bump this line of questions as, it is the critical
I don't speak on behalf of the Association, but I think your
On Mon, Oct 28, 2013 at 8:14 PM, David Farning
dfarn...@activitycentral.com wrote:
In a private conversation with an Association employee they told me
that they conciser Activity Central a competitor because Activity
Central increased deployments expectations. Their strategy with regard
to
On Mon, Oct 7, 2013 at 12:41 PM, David Farning
dfarn...@activitycentral.com wrote:
As a more incremental approach, Activity Central will continue our
deployment-centric work by porting Dextrose to Ubuntu.
From a deploy to XOs PoV that sounds like a ton of work. You'll
grind against a lot of
On Sun, Aug 11, 2013 at 1:15 PM, Jerry Vonau je...@laptop.org.au wrote:
Good to hear from you Martin. Just to finish this thread off, I was not able
to reproduce this behavior with the XO-1s that I have. This appears to
affect Anna's machines only. Thanks for the hints to what might be the root
On Mon, Mar 25, 2013 at 11:48 AM, Manuel Quiñones ma...@laptop.org 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 --
On Mon, Feb 25, 2013 at 12:22 PM, Daniel Drake d...@laptop.org 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:
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
On Thu, Jan 24, 2013 at 10:13 AM, Paul Fox p...@laptop.org 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 --
On Thu, Jan 24, 2013 at 12:02 PM, Gonzalo Odiard gonz...@laptop.org 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
On Mon, Dec 31, 2012 at 6:20 AM, lio...@olpc-france.org 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
On Wed, Dec 19, 2012 at 5:14 AM, Jerry Vonau jvo...@shaw.ca 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
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
...@gmail.com wrote:
Thanks, Martin. Btw, where did you deduce the name Rajiv from? :)
RJv
On Wed, Dec 12, 2012 at 1:13 AM, Martin Langhoff martin.langh...@gmail.com
wrote:
Implement a shell -- replacing the standard Android shell -- that
has the main features of Sugar shell
--
Regards
On Tue, Nov 27, 2012 at 11:42 AM, Ajay Garg a...@activitycentral.com 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
On Wed, Nov 21, 2012 at 3:07 AM, Alan Jhonn Aguiar Schwyn
alan...@hotmail.com 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
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
On Wed, Nov 21, 2012 at 2:40 AM, James Cameron qu...@laptop.org 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
On Mon, Nov 19, 2012 at 11:58 PM, Chris Leonard
cjlhomeaddr...@gmail.com 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
How about filing a bug? :-)
m
On Fri, Nov 16, 2012 at 12:26 PM, Ajay Garg a...@activitycentral.com wrote:
Hi all.
On XO-1.75s, os11 image, the Send to Friend feature isn't working.
Is it a known issue?
Doing a simple textual send to search on bugs.sugarlabs.org did not yield
anything
Thanks for the heads up! Fix attached,
m
On Thu, Nov 8, 2012 at 1:11 PM, Daniel Narvaez dwnarv...@gmail.com wrote:
Not sure if it breaks anything but it doesn't sound good, with the latest git:
Traceback (most recent call last):
File
On Wed, Nov 7, 2012 at 2:31 AM, Simon Schampijer si...@schampijer.de wrote:
Thanks Martin, Sam and Manuel for your work on this. The datastore runs here
fine. I pushed the changes. Will be available in 0.97.2.
Great! I was going to write a longer thank-you for the review, but I
ran out of
On Wed, Nov 7, 2012 at 11:51 AM, Simon Schampijer si...@schampijer.de wrote:
On 11/07/2012 02:45 PM, Daniel Narvaez wrote:
Buildbot tests are failing, apparently because of a datastore issue
I owe you two a beer. A mighty big beer. Thanks for spotting this
thinko before it landed in an OS
Hmmm, mkdir??? I'd suggest
touch /home/user/.sugar/default/datastore/index
m
On Wed, Nov 7, 2012 at 2:35 PM, Ignacio Rodríguez nachoe...@gmail.com wrote:
¡For repair!:
mkdir /home/user/.sugar/default/datastore/index
:)
2012/11/7 Martin Langhoff martin.langh...@gmail.com
On Wed, Nov 7
On Sun, Nov 4, 2012 at 8:29 PM, Bert Freudenberg b...@freudenbergs.de wrote:
Ah, thanks. I wasn't even going to file a bug report about the aliasing
because that is a limitation inherent to the kind of sensor we have.
There are of course limitations, but we are in the process of tuning
and
On Thu, Oct 4, 2012 at 8:06 AM, godi...@sugarlabs.org wrote:
The change is done in the favorites view and in the list view
What was the sorting before in the fav view?
More importantly -- Is this sorting over the English names, or the
localized names? I am not sure what we would desire, but
On Thu, Oct 4, 2012 at 10:33 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
We are sorting by localized name.
It's true than the order will be different if you use a different language,
but we think is better for the users.
Less consistency in icon location better? How?
I agree alphabetical
On Thu, Oct 4, 2012 at 11:25 AM, Gonzalo Odiard godi...@sugarlabs.org wrote:
You have less consistency only if you change the language.
I generally agree. My only worry is that documentation screenshots
will be all over the place.
Have sense use the same order in the listview and in the
On Thu, Oct 4, 2012 at 3:15 PM, Gary Martin garycmar...@googlemail.com wrote:
Martin, could you clarify this example a little more,
did you have some specific documentation task in mind?
I want to clarify that I see this patch as a big improvement, even
with localized sorting. +100.
We often
On Wed, Oct 3, 2012 at 6:52 AM, Manuel Kaufmann humi...@gmail.com wrote:
On Tue, Oct 2, 2012 at 5:35 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Actually, the answer is to avoid datetime. It's fine for high level
work; when you care about times defined as epoch values, you
Yes, you
On Wed, Oct 3, 2012 at 11:54 AM, Peter Robinson pbrobin...@gmail.com wrote:
You can still port to gstreamer 1.0 on 13.1.0 and just test with non
ugly codecs (vorbis / webm etc).
Yep. Work now with the ugly codecs. Once vmeta is ready we'll have to
retest debug, as it seems to be more fragile.
On Wed, Oct 3, 2012 at 4:53 PM, Manuel Quiñones ma...@laptop.org wrote:
Add a light grey background, which is the same size as the grey
outline that appears when the icon is hovered.
Yes! This stuff is needed. Touch feedback needs to be bright, clear,
and clearly larger than your finger so that
On Wed, Oct 3, 2012 at 5:12 PM, Manuel Quiñones ma...@laptop.org wrote:
And enlarging a bit:
http://dev.laptop.org/~manuq/shell-port/icon-hover2.png
http://dev.laptop.org/~manuq/shell-port/icon-tap2.png
I am partial towards the enlarged ones :-)
cheers,
m
--
martin.langh...@gmail.com
On Mon, Oct 1, 2012 at 3:14 PM, Manuel Kaufmann humi...@gmail.com wrote:
This patch is a workaround to that behaviour. Every time that Browse
is started it looks for all the .goutputstream files in the
instance directory and checks its mtime. If it greater than 1 day it
removes the old
On Tue, Oct 2, 2012 at 9:59 AM, Manuel Kaufmann humi...@gmail.com wrote:
+try:
+uptime_proc = open('/proc/uptime', 'r').read()
+uptime_seconds = float(uptime_proc.split()[0])
+uptime = datetime.timedelta(seconds=uptime_seconds)
+except:
+
On Tue, Oct 2, 2012 at 2:52 PM, Manuel Kaufmann humi...@gmail.com wrote:
On Tue, Oct 2, 2012 at 1:43 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
+except:
+logging.warning('/proc/uptime could not be read')
+uptime = None
Should I use EnvironmentError
On Tue, Oct 2, 2012 at 3:51 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Works as pseudocode. But I took a quick look at the datetime docs and
it is... horrible. We want to be doing math on the epoch (seconds
since 1970).
They refuse to document it properly, but the answer
On Mon, Oct 1, 2012 at 7:06 AM, Manuel Kaufmann humi...@gmail.com wrote:
Just a comment: this patch removes the possibility to have a property
named ..property, right? is this OK?
I hope it is. I don't know, I'm not an experienced Sugar hacker :-)
What I can tell you is that I have never seen
On Sun, Sep 30, 2012 at 12:24 PM, Manuel Kaufmann humi...@gmail.com wrote:
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff mar...@laptop.org wrote:
This gives us more complete coverage of cases where ENOSPC or
other errors are hit when creating/updating datastore entries.
I reviewed
On Mon, Oct 1, 2012 at 12:59 PM, Martin Langhoff mar...@laptop.org wrote:
From that section I understand that we are encoding the data into
utf-8 if value is unicode, but if it is just a basestring, why we
are doing str()?
That's actually not changed code.. only changes indentation. I don't
On Fri, Sep 28, 2012 at 12:26 PM, Manuel Quiñones ma...@laptop.org wrote:
2012/9/28 Walter Bender walter.ben...@gmail.com:
I am hoping to get this into the OLPC 13.1 build. Any change of
getting it into Sugar 0.98?
Looks like a good addition for me and patch looks fine.
Hmmm, lunch time! Ah,
Is this really an improvement in behaviour?
- The tabs are often too small to show the title.
- The title is more important for the user than the URL. No?
cheers,
m
On Mon, Sep 24, 2012 at 5:09 PM, Manuel Kaufmann humi...@gmail.com wrote:
The Title of the current page is no longer shown in
the discussion now.
CC both
Gonzalo
On Thu, Sep 27, 2012 at 11:25 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
Is this really an improvement in behaviour?
- The tabs are often too small to show the title.
- The title is more important for the user than the URL. No?
cheers,
m
On Thu, Sep 27, 2012 at 10:40 AM, Manuel Kaufmann humi...@gmail.com wrote:
I'm working on my 1.75 XO with os3 and I feel it really slow. There
are some examples:
At least part of this will be due to a much slower video driver we are
using temporarily.
But yeah, it hurts and we need to have
On Thu, Sep 27, 2012 at 11:46 AM, Gary Martin
garycmar...@googlemail.com wrote:
+ exposing URLs for touch users. The cursor hover is the only way to expose
URLs when browsing (unless tap to editing them)
Tap-to-switch-to-URL-and-edit, starting with full URL is selected is
fine IMHO.
You are
On Sat, Sep 22, 2012 at 10:09 PM, Martin Langhoff mar...@laptop.org wrote:
On Fri, Sep 21, 2012 at 11:36 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
Reviews are boring. Testing is more fun! rpms for ARM at
Reviews are boring, but necessary.
As these patches have seen some reviews
This patch changes the strategy used by optimize.
Instead of maintaining a 'checksum' field for every
file, and maintaining metadata about whether they are
linked in the 'checksums' dir, it will only ever hash
files that match size _exactly_ with a new file.
A DS that does not see 2 files of
On Tue, Sep 25, 2012 at 12:43 PM, Manuel Kaufmann humi...@gmail.com wrote:
** Message: console message: @0: Not allowed to load local resource:
file:///home/humitos/src/browse/browse.png
What do you think? Should I go for the file:// approach anyway?
Hmmm, security, tiny performance tweak,
(). This is normally caused by
running into ENOSPC during a session, and
is unrecoverable. dbus will respawn the
process, the new spawn has a chance at
cleanup, moving things to tmpfs.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
This is v2 of the patch, making sure that later sessions
rebuild
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff mar...@laptop.org wrote:
In conditions of very low disk space available, or ENOSPC, the datastore
misbehaves grossly:
Reviews are boring. Testing is more fun! rpms for ARM at
http://dev.laptop.org/~martin/ds-enospc/
How to test:
- Set
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff mar...@laptop.org wrote:
-f = open(os.path.join(metadata_path, key), 'w')
-try:
-if isinstance(value, unicode):
-value = value.encode('utf-8')
-elif not isinstance
builds, this is a tmpfs). It is only moved
to disk if we are not in low-disk-space-available conditions.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
This is v2 of the patch, making sure the move to internal disk
works in more cases, and that failure is recorded.
Thanks Sam
On Fri, Sep 21, 2012 at 6:56 PM, Manuel Kaufmann humi...@gmail.com wrote:
I'm not sure to understand what you are saying here. I'm not doing
this each time the function is called. Here, I just showed what I did
to get the base64 file encoded. I mean, I did this just once and I put
the result
This gives us more complete coverage of cases where ENOSPC or
other errors are hit when creating/updating datastore entries.
Without this patch, using the Journal on ENOSPC sometimes leads
to an empty Journal after restart. Datastore entries exist on
disk but are not in the index (Xapian DB).
When operating close to ENOSPC, we sometimes end up with
incomplete or invalid on-disk entries. So we prune these
during index rebuild.
---
src/carquinyol/datastore.py |7 +++
1 file changed, 7 insertions(+)
diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py
index
Things I am working on
- Add ds_clean flag to trigger index rebuilds - patch posted for review
- Remove invalid corrupt disk entries - patch posted for review
- When hitting ENOSPC, use a tmpfs for index database -- working on it...
m
--
martin.langh...@gmail.com
mar...@laptop.org --
rebuild it
- the index recovers gracefully on restart when there is free disk space
Martin Langhoff (7):
Add ds_clean flag to trigger index rebuilds #2095, #2317
Remove invalid/corrupt on-disk entries #2317
metadatastore: store/change files on disk defensively #2317
metadatareader: ignore
).
With this patch, failure to complete create/update/delete forces
an index rebuild on restart.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol/datastore.py | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/carquinyol
When operating close to ENOSPC, we sometimes end up with
incomplete or invalid on-disk entries. So we prune these
during index rebuild.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol/datastore.py |8
1 file changed, 8 insertions(+)
diff --git a/src/carquinyol
Ignore any file with a filename starting with a '.' -- metadatastore
writes its tempfiles prefixed with a '.' .
Signed-off-by: Martin Langhoff mar...@laptop.org
---
Note: this one needs a bit of testing.
---
src/carquinyol/metadatareader.c |7 ++-
1 file changed, 2 insertions(+), 5
with the system hitting ENOSPC.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol/metadatastore.py | 51 ++-
1 file changed, 34 insertions(+), 17 deletions(-)
diff --git a/src/carquinyol/metadatastore.py b/src/carquinyol/metadatastore.py
index
(). This is normally caused by
running into ENOSPC during a session, and
is unrecoverable. dbus will respawn the
process, the new spawn has a chance at
cleanup, moving things to tmpfs.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol/indexstore.py | 52
- use try/except to catch and log errors in datastore.log
(instead of echoing them to callers over dbus)
- use rmtree() to more reliably remove the entry
- get_entry_path() before we delete all the related
metadata.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol
builds, this is a tmpfs). It is only moved
to disk if we are not in low-disk-space-available conditions.
Signed-off-by: Martin Langhoff mar...@laptop.org
---
src/carquinyol/datastore.py | 87 +++
1 file changed, 71 insertions(+), 16 deletions(-)
diff
On Sat, Sep 15, 2012 at 8:03 AM, Sascha Silbe si...@activitycentral.com wrote:
Martin Langhoff martin.langh...@gmail.com writes:
Manuel Kaufmann has been looking at SL#394, and looking at the bug
report, it struck me that it was reported backwards. I would have
written: I filled up my disk
I'm debugging odd situations w Sugar datastore, and I wonder whether
there is any tricks to debugging python programs that are run under
dbus.
I can see the sugar-datastore PID growing steadily while I test, which
means that it's dying and respawning plenty, likely from unhandled
exceptions...
On Wed, Sep 19, 2012 at 4:15 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
I'm debugging odd situations w Sugar datastore, and I wonder whether
there is any tricks to debugging python programs that are run under
dbus.
I can see the sugar-datastore PID growing steadily while I test
On Wed, Sep 19, 2012 at 4:54 PM, Gonzalo Odiard gonz...@laptop.org wrote:
You already have the line
export SUGAR_LOGGER_LEVEL=debug
uncommented in .sugar/debug, right?
Yes. And with that, datastore.log is very chatty, which is good.
But when the datastore code hits an unhandled exception, the
On Wed, Sep 19, 2012 at 6:54 AM, Manuel Kaufmann humi...@gmail.com wrote:
On Tue, Sep 18, 2012 at 10:58 PM, James Cameron qu...@laptop.org wrote:
Neat. What method did you use to convert the image?
Python... It is my best friend :)
import base64
base64.b64encode(open('browse-logo.png',
On Tue, Sep 18, 2012 at 8:42 AM, Manuel Kaufmann humi...@gmail.com wrote:
We where discussing about this last week[1] and we found the root
issue of this problem: Sugar is not handling ENOSPC error. This could
cause some problems at boot time when the XO is restarted, but as we
discussed[2],
On Wed, Sep 12, 2012 at 7:50 AM, Manuel Kaufmann humi...@gmail.com wrote:
I'm attaching an example that downloads a file with WebKit.
I tried it setting up a tmpfs with 1Mb as you suggested and aftert
that, I ran this script. WebKit tells us about the insufficient space
on the disk by raising
On Wed, Sep 12, 2012 at 8:20 AM, Manuel Kaufmann humi...@gmail.com wrote:
OK. I was taking a look at the datastore source code and I understood
that the file is copied, using the traditional way and when the copy
finishes the source file is unlinked.
Ouch! I haven't reviewed the code (have to
On Wed, Sep 12, 2012 at 8:24 AM, Manuel Kaufmann humi...@gmail.com wrote:
On Wed, Sep 12, 2012 at 9:21 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
That's very good handling on webkit's side. And does it remove the
file? IOWs, when you get the signal, what do you see in the tmpfs
On Tue, Sep 11, 2012 at 9:01 AM, Manuel Kaufmann humi...@gmail.com wrote:
If we are going to use this approach, I have to change the logic about
where I should check this.
+200. I hadn't realized this. The main two things you absolutely need are
- check at the start of the download that it'll
On Tue, Sep 11, 2012 at 4:32 PM, Manuel Kaufmann humi...@gmail.com wrote:
I didn't find an exception raised by Sugar when this happens. The
check is done[1] when a new Model is created[2] or updated[3] inside
the Journal, and if there are less than 50Mb a ModelAlert is shown but
no exception
On Tue, Sep 11, 2012 at 9:07 PM, Manuel Kaufmann humi...@gmail.com wrote:
This is what I got:
[olpc@xo-07-30-50 ~]$ mkdir /tmp/foo
[olpc@xo-07-30-50 ~]$ sudo mount -t tmpfs -o size=1M none /tmp/foo
[olpc@xo-07-30-50 ~]$ python
Python 2.7.3 (default, Apr 30 2012, 23:07:00)
[GCC 4.7.0
On Mon, Sep 10, 2012 at 5:33 PM, Manuel Kaufmann humi...@gmail.com wrote:
If there are less than 50Mb free on the Hard Disk the downloading
process is canceled and this is informed to the user via an Alert.
Perhaps it is a stupid question but... in many HTTP requests you get
the size of the
On Mon, Sep 10, 2012 at 5:49 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Perhaps it is a stupid question but... in many HTTP requests you get
s/question/suggestion/
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't
On Mon, Sep 10, 2012 at 10:07 AM, Gonzalo Odiard gonz...@laptop.org wrote:
Actual size is used in Read too.
http://imgs.xkcd.com/store/imgs/actual_size_200.png
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't get
On Mon, Sep 10, 2012 at 6:02 PM, Manuel Kaufmann humi...@gmail.com wrote:
On Mon, Sep 10, 2012 at 9:49 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
Perhaps it is a stupid question but... in many HTTP requests you get
the size of the transfer in the HTTP headers, in the form
On Mon, Sep 10, 2012 at 6:39 PM, James Cameron qu...@laptop.org wrote:
Some users pay for data by volume. I don't think that cancelling a
download is the right approach. It should be paused, giving the user
a chance to clean up.
Rather complex -- I haven't seen any webbrowser correctly
On Tue, Sep 4, 2012 at 3:38 PM, Ajay Garg a...@activitycentral.com wrote:
May be this could be improved sometime in the future :)
Fix the packaging, and don't use --force.
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't get
On Sat, Sep 1, 2012 at 4:25 PM, Ajay Garg a...@activitycentral.com wrote:
Thanks Chris and Mikus for the replies.
Hi Ajay,
please ansert cjb's question. It has a good chance of leading to your
answer. What deps are you ignoring? Why --force?
Also -- /var/log/olpc-dm* logs are likely to have
On Thu, Aug 16, 2012 at 9:29 AM, Benjamin Berg ben...@sugarlabs.org wrote:
Disclaimer: I have not read the entire discussion.
and you've missed a bit :-)
So, in Sugar we are mixing python unicode strings, and utf-8 encoded
No. We have been _temporarily_ mixing Python unicode UTF-8 with ASCII
On Wed, Aug 15, 2012 at 9:20 AM, Manuel Kaufmann humi...@gmail.com wrote:
Oh, it's OK. I agree with the result. Now, let's check what Python say
if I use my default encoding (UTF8) for this simple task:
len(camión)
7
CAREFUL HERE. You don't understand what is happening -- it is not as
simple
On Wed, Aug 15, 2012 at 9:48 AM, Daniel Narvaez dwnarv...@gmail.com wrote:
I think the reason this worked in gtk2 activities is that importing
gtk had this side effect (it's in the pango module really)
/* set the default python encoding to utf-8 */
PyUnicode_SetDefaultEncoding(utf-8);
On Wed, Aug 15, 2012 at 11:40 AM, S. Daniel Francis
fran...@sugarlabs.org wrote:
So, the Python strings can be encoded in a Unicode compatible charset
like utf-8, the Python Unicode type is a way to encode a string if you
don't like to add a header and the recommended way to work in the
On Wed, Aug 15, 2012 at 7:12 PM, Manuel Kaufmann humi...@gmail.com wrote:
Take a look at this. Following what I understood from your email, if I
...
We are veering far far offtopic from the subject. But string encoding
is an important topic, so I'll go offtopic.
[humitos@michifus ~]$ cat
On Mon, Aug 13, 2012 at 7:15 PM, S. Daniel Francis
fran...@sugarlabs.org wrote:
I look some people is needing to know more about Unicode:
Hi danielf,
one thing to keep in mind is that UTF-8 is one of the possible ways to
represent Unicode data. We will, most of the time, use UTF-8 mixed up
with
On Tue, Aug 14, 2012 at 5:18 PM, S. Daniel Francis
fran...@sugarlabs.org wrote:
strings as Unicode and encode them as utf-8? I think there are too few
cases when an activity gets translated strings and needs to work
directly with unicode.
Probably because you do not speak chinese or any
1 - 100 of 691 matches
Mail list logo