Re: [Sugar-devel] XO Infinity ?

2015-03-02 Thread Christophe Guéret
Hoi,

Have you all seen this ?
http://www.smh.com.au/digital-life/computers/meet-rangan-srikhanta-the-former-refugee-who-wants-to-change-the-world-one-laptop-at-a-time-20150221-13l07r.html
I guess the answer is yes but just in case...

Christophe


On 27 February 2015 at 18:14, Gonzalo Odiard  wrote:

> I hope this is not affected by Osborne effect [1]
> These looks like 3d software generated images,
> from that to a product ready to ship, there are a long way.
>
> Gonzalo
>
> [1] http://en.wikipedia.org/wiki/Osborne_effect
>
> On Tue, Feb 17, 2015 at 2:48 PM, Lionel Laské 
> wrote:
>
>>
>> Hi all,
>>
>> As some of you, I've seen: https://medium.com/road-to-infinity
>>
>> Something that look like to a new XO concept with an Android OS proposed
>> by OLPC Australia. Just my guess.
>>
>> Is someone have more information on this ?
>> Is it related to OLPC Foundation ?
>> Is it related to Sugar ?
>>
>> Please share with us.
>>
>> Lionel.
>>
>>
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software for children learning
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>


-- 
Onderzoeker
+31(0)6 14576494
christophe.gue...@dans.knaw.nl

*Data Archiving and Networked Services (DANS)*

DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op
www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en
NWO.


Let op, per 1 januari hebben we een nieuw adres:

DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB
Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl  |
www.dans.knaw.nl


*Let's build a World Wide Semantic Web!*
http://worldwidesemanticweb.org/

*e-Humanities Group (KNAW)*
[image: eHumanities] 
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Announcing Sugar 0.102.0

2014-07-04 Thread Christophe Guéret
Congrats on this new release! :-)

FYI, I've just updated the packages for ArchLinux, they are to be found in
AUR.
The activities are still outdated though, I'll take care of updating them a
bit later.

Christophe


On 3 July 2014 10:44, Peter Robinson  wrote:

> On Wed, Jul 2, 2014 at 10:47 PM, Martin Abente
>  wrote:
> > Ruben and Peter,
> >
> > I just uploaded the tarball for newer version of Pippy [1], can you
> update
> > it in your packages?
>
> In progress.
>
> P
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Onderzoeker
+31(0)6 14576494
christophe.gue...@dans.knaw.nl

*Data Archiving and Networked Services (DANS)*

DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op
www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en
NWO.


Let op, per 1 januari hebben we een nieuw adres:

DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB
Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl  |
www.dans.knaw.nl


*Let's build a World Wide Semantic Web!*
http://worldwidesemanticweb.org/

*e-Humanities Group (KNAW)*
[image: eHumanities] 
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Can't run sugar

2014-05-21 Thread Christophe Guéret
Hoi,

Glad to read my AUR packaging helped! Let me know if the packaged could be
improved in any ways :)

Christophe


On 18 March 2014 06:30, Sebastian Silva  wrote:

> Sorry for replying to self once again. I figured I must have had missing
> dependencies and the easiest way I could come up to install all of them is
> to install cgueret's AUR sugar packages. Sure enough, after installing them
> I got a functional Sugar shell!
> One little issue: it missed to install vte3 dependency (for terminal
> activity).
>
> Regards,
> Sebastian
>
> El lun, 17 de mar 2014 a las 11:33 PM, Sebastian Silva <
> sebast...@fuentelibre.org> escribió:
>
>  I had to install:
> libwnck3.
>
> Now I'm facing another Traceback. Now what? Thanks in advance.
>
>
> 1395116245.944275 DEBUG root: STARTUP: Starting the shell
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/main.py",
> line 52, in 
> from jarabe.view import keyhandler
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/keyhandler.py",
> line 32, in  le>
> from jarabe.journal import journalactivity
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py",
> line 32,
> in 
> from sugar3.activity import activityfactory
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activityfactory.py",
> line 33,
>  in 
> from sugar3.datastore import datastore
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/datastore/datastore.py",
> line 75, in <
> module>
> _get_data_store()
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/datastore/datastore.py",
> line 49, in _
> get_data_store
> DS_DBUS_PATH),
>   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in
> get_object
> follow_name_owner_changes=follow_name_owner_changes)
>   File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in
> __init__
> self._named_service = conn.activate_name_owner(bus_name)
>   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in
> activate_name_owner
> self.start_service_by_name(bus_name)
>   File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in
> start_service_by_name
> 'su', (bus_name, flags)))
>   File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in
> call_blocking
> message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> org.laptop.sugar.DataStore exited with status 1
> 1395116246.467316 DEBUG root: _cleanup_temp_files
>
>
> El lun, 17 de mar 2014 a las 11:10 PM, Sebastian Silva <
> sebast...@fuentelibre.org> escribió:
>
> I had a fatal filesystem corruption so I'm setting up my development
> environment (on Manjaro, Archlinux derivate, without a broot), from
> scratch. I've managed to build all packages with *osbuild build* but on
> starting *osbuild run* I get the following traceback. What am I missing?
> Thanks in advance.
>
> 1395115550.042307 DEBUG root: STARTUP: Starting the shell
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
> exec code in run_globals
>   File
> "/home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/main.py",
> line 45, in 
> from gi.repository import Wnck
>   File "/usr/lib/python2.7/site-packages/gi/importer.py", line 68, in
> load_module
> dynamic_module._load()
>   File "/usr/lib/python2.7/site-packages/gi/module.py", line 287, in _load
> self._introspection_module = get_introspection_module(self._namespace)
>   File "/usr/lib/python2.7/site-packages/gi/module.py", line 266, in
> get_introspection_module
> module = IntrospectionModule(namespace, version)
>   File "/usr/lib/python2.7/site-packages/gi/module.py", line 117, in
> __init__
> repository.require(namespace, version)
> gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is
> already loaded
>
>


-- 
Onderzoeker
+31(0)6 14576494
christophe.gue...@dans.knaw.nl

*Data Archiving and Networked Services (DANS)*

DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op
www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en
NWO.


Let op, per 1 januari hebben we een nieuw adres:

DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB
Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl  |
www.dan

Re: [Sugar-devel] The quest for data

2014-01-06 Thread Christophe Guéret
Dear Sameer, all,

That's a very interesting blog post and discussion. I agree that collecting
data is important but knowing that are the questions aimed to be answered
with that data is even more so. If you need help with that last bit, I
could propose to use the journal data as a use-case for the project
KnowEscape ( http://knowescape.org/ ). This project is about getting
insights out of large knowledge spaces via visualisation. There is wide
(European) community of experts behind it coming from different research
fields (humanities, physic, computer science, ...). Something useful could
maybe come out...

I would also like to refer you to the project ERS we have now almost
finished. This project is an extension of the ideas behind SemanticXO some
of you may remember. We developed a decentralised entity registry system
with the XO as a primary platform for coding and testing. There is a
description of the implementation and links to code on
http://ers-devs.github.io/ers/ . We also had a poster at OLPC SF (thanks
for that !).

 In a nutshell, ERS creates global and shared knowledge spaces through
series of statements. For instance, "Amsterdam is in the Netherlands" is a
statement made about the entity "Amsterdam" relating it to the entity "the
Netherlands". Every user of ERS may want to either de-reference an entity
(*e.g.*, asking for all pieces of information about "Amsterdam") or
contribute to the content of the shared space by adding new statements.
This is made possible via "Contributors" nodes, one of the three types of
node defined in our system. Contributors can interact freely with the
knowledge base. They themselves take care of publishing their own
statements but cannot edit third-party statements. Every set of statements
about a given entity contributed by one single author is wrapped into a
document in couchDB to avoid conflicts and enable provenance tracking.
Every single XO is a Contributor. Two Contributors in a closed P2P network
can freely create and share Linked Open Data. In order for them to share
data with another closed group of Contributors, we haves "Bridges". A
Bridge is a relay between two closed networks using the internet or any
other form of direct connection to share data. Two closed communities, for
example two schools, willing to share data can each setup one Bridge and
connect these two nodes to each other. The Bridges will then collect and
exchange data coming from the Contributors. These bridges are not
Contributors themselves, they are just used to ship data (named graphs)
around and can be shut-down or replaced without any data-loss. Lastly, the
third component we define in our architecture is the "Aggregator". This is
a special node every Bridge may push content to and get updated content
from. As its name suggests, an Aggregator is used to aggregate entity
descriptions that are otherwise scattered among all the Contributors. When
deployed, an aggregator can be used to access and expose the global content
of the knowledge space or a subset thereof.

One could use ERS to store (part of) the content of the Journal on an XO
(Contributor), cluster information as the school level (Bridge put on the
XS) and provide higher level analysis (Aggregator). The best things about
ERS, I think is that:
* It can store and share any data that consists of property/values about a
given thing identified with a unique identifier
* It is "off-line by default", all the upper level components are optional.
So is the connectivity to them
* It's conservative in terms of bandwidth used

The creation of graphs could be done at every level to get some statistics
on the XO, on the XS and at a more global level. All these potentially
using the same code as the data is always stored using the same model (a
variant of JSON-LD).

We are now finalising a small social-networking activity to demo&test ERS.
You can easily play with it using the virtual images we put on the site.
Here is a video showing it running: https://vimeo.com/81796228

Please have a look and let us know how what you think of it :-) The project
is still funded for a bit less than three months and we would really like
it to be useful for the OLPC community (that's why we targeted the XO) so
don't hesitate to ask for missing features!

Cheers,
Christophe

On 6 January 2014 02:03, Andreas Gros  wrote:

> Great utilization of CouchDB and its views feature! That's definitely
> something we can build on. But more importantly, to make this meaningful,
> we need more data.
> It's good to know what the activities are that are used most, so one can
> come up with a priority list for improvements, and/or focus developer
> attention.
> CouchDB allows to pull data together from different instances, which
> should make aggregation and comparisons between projects possible. And for
> projects that are not online, the data could be transferred to a USB stick
> quite easily and then uploaded to any other DB instance.
>
> Is there a task/todo list so

Re: [Sugar-devel] [IAEP] Arch Linux XO image and Sugar packages

2013-11-26 Thread Christophe Guéret
Hi Daniel,

Saw your comment on AUR and in fact I'm not sure what would be best. It
seems it would be good to have a sugar as packaged on the XO ("sugar"), one
with the latest stable versions of everything ("sugar-devel"), and one for
the GIT version of everything ("sugar-git"). But that's maybe getting
complicated...

Shall we still do that ? This will mean a lot of packages, how can we best
split the responsibilities for all of them ?

Christophe



On 1 November 2013 01:50, Daniel Narvaez  wrote:

> Hi Christophe,
>
> sorry for the delay.
>
> I haven't tried your packages yet because being a developer I prefer to
> work from git master... though it's great to have stable packages for Arch
> of course! Now that 0.100 is out you should be able to get rid of the
> python2 sed stuff simplifying the PKGBUILDs a bit.
>
>
> On 14 October 2013 12:37, Christophe Guéret <
> christophe.gue...@dans.knaw.nl> wrote:
>
>> Hello,
>>
>> Nice! I'm maintaining a couple of packages in AUR using the version of
>> the packages shipped in the latest stable release (currently the 13.2.0).
>> Please, let me know if these package do not work for you and if they need
>> to be fixed ;-)
>>
>> Cheers,
>> Christophe
>>
>>
>> On 6 October 2013 01:59, Daniel Narvaez  wrote:
>>
>>>   Hello,
>>>
>>>  I recently switched to Arch Linux and I put together a couple of things
>>> that others might find useful.
>>>
>>>  * A trivial script to build minimal images for the XO. It builds a
>>> kernel from the OLPC git repository and put it together with prebuilt
>>> packages from the Arch Linux ARM project. It's enough to setup a wifi
>>> connection and install more stuff with pacman. It's XO 1.75 specific at the
>>> moment, but it should be easy to make it work on other versions.
>>>
>>> https://github.com/dnarvaez/archxo
>>>
>>>  I will post a prebuilt image later.
>>>
>>>  * AUR -git packages for the Sugar core and the browse activity. They
>>> makes it pretty easy to install the very latest sugar. (I tested them on my
>>> laptop, not on the XO yet).
>>>
>>>  All of these are very much a work in progress. I'm posting them mostly
>>> because they might be of interest for Arch Linux users. Patches and bug
>>> reports both appreciated!
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>>
>> --
>> Onderzoeker
>> +31(0)6 14576494
>> christophe.gue...@dans.knaw.nl
>>
>> *Data Archiving and Networked Services (DANS)*
>> DANS bevordert duurzame toegang tot digitale onderzoeksgegevens.
>> Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens.
>> DANS is een instituut van KNAW en NWO.
>>
>> *Let's build a World Wide Semantic Web!*
>> http://worldwidesemanticweb.org/
>>
>> *e-Humanities Group (KNAW)*
>> http://ehumanities.nl/
>>
>>
>>
>>
>> ___
>> IAEP -- It's An Education Project (not a laptop project!)
>> i...@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/iaep
>>
>
>
>
> --
> Daniel Narvaez
>



-- 
Onderzoeker
+31(0)6 14576494
christophe.gue...@dans.knaw.nl

*Data Archiving and Networked Services (DANS)*
DANS bevordert duurzame toegang tot digitale onderzoeksgegevens.
Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens.
DANS is een instituut van KNAW en NWO.

*Let's build a World Wide Semantic Web!*
http://worldwidesemanticweb.org/

*e-Humanities Group (KNAW)*
http://ehumanities.nl/
<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Arch Linux XO image and Sugar packages

2013-10-14 Thread Christophe Guéret
Hello,

Nice! I'm maintaining a couple of packages in AUR using the version of the
packages shipped in the latest stable release (currently the 13.2.0).
Please, let me know if these package do not work for you and if they need
to be fixed ;-)

Cheers,
Christophe


On 6 October 2013 01:59, Daniel Narvaez  wrote:

>   Hello,
>
>  I recently switched to Arch Linux and I put together a couple of things
> that others might find useful.
>
>  * A trivial script to build minimal images for the XO. It builds a kernel
> from the OLPC git repository and put it together with prebuilt packages
> from the Arch Linux ARM project. It's enough to setup a wifi connection and
> install more stuff with pacman. It's XO 1.75 specific at the moment, but it
> should be easy to make it work on other versions.
>
> https://github.com/dnarvaez/archxo
>
>  I will post a prebuilt image later.
>
>  * AUR -git packages for the Sugar core and the browse activity. They
> makes it pretty easy to install the very latest sugar. (I tested them on my
> laptop, not on the XO yet).
>
>  All of these are very much a work in progress. I'm posting them mostly
> because they might be of interest for Arch Linux users. Patches and bug
> reports both appreciated!
>
> --
> Daniel Narvaez
>



-- 
Onderzoeker
+31(0)6 14576494
christophe.gue...@dans.knaw.nl

*Data Archiving and Networked Services (DANS)*
DANS bevordert duurzame toegang tot digitale onderzoeksgegevens.
Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens.
DANS is een instituut van KNAW en NWO.

*Let's build a World Wide Semantic Web!*
http://worldwidesemanticweb.org/

*e-Humanities Group (KNAW)*
http://ehumanities.nl/
<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] First release of SemanticXO [laptop.org #67749]

2012-10-03 Thread Christophe Guéret
Dear all,

There is a first feature complete release of SemanticXO available for
testing, along with two demo activities.
I just published a description of the project there
http://worldwidesemanticweb.wordpress.com/projects/semanticxo/

The code has been tested to work correctly on three XO-1 running 12.1.0.
Once SemanticXO is installed, it is possible to browse the content of a
Journal remotely and also to send asynchronous messages across the XOs
(even if the messaging activity is closed).

As usual, I would appreciate a lot your feedback. Especially considering
the usefulness of the entire thing.
Beyond the two very simple demo activity shipped with SemanticXO, I would
be curious to hear from other possible use-cases for it.

Cheers,
Christophe

-- 
Dr. Christophe Guéret (christophe.gue...@dans.knaw.nl)
http://www.few.vu.nl/~cgueret/
http://semweb4u.wordpress.com/
Postdoctoral researcher working on CEDAR (http://cedar-project.nl/)
Royal Netherlands Academy of Arts and Sciences
Data Archiving and Networked Services (DANS)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-07-07 Thread Christophe Guéret
Dear everyone,

I've updated the installation bundle for SemanticXO and also fixed a few
bugs reported on this mail thread.
To play around with the code:
* go to http://git.sugarlabs.org/semanticxo/main/trees/master/patch_my_xo
* put the files "patch_my_xo.py" and "semanticxo.tgz" somewhere on the XO
* login as root, set patch_my_xo.py to be executable and type
"./patch_my_xo.py setup"
* reboot

It's a very harsh script that will just overwrite the standard Journal code
and erase all the content. I've tested it on a couple of XO-1. If
everything works fine, you won't see any difference.
To see what happens in the back-end, open a web browser to
http://:8080
to see the content of the triple store.

I'd now like to implement something to remotely query an XO triple store
from an activity.
Does anyone know if it is possible to get an IP of a neighbour returned by
the presence service?
Or, shall I better wrap external calls to the triple store in a DBus API,
even if that is all plain HTTP?

Christophe

On 2 July 2012 17:38, Christophe Guéret  wrote:

> Hi Aleksey,
>
> I've packaged redstore to SD:Factory repos
>> (
>> https://packages.sugarlabs.org/project/monitor?project=SweetsDistribution:Factory
>> )
>> the package is "redstore" that provides "redstore" command and
>> "redstored" init.d script.
>
> Great! Many thanks :)
>
>
>> I didn't make it autorun in case if you will use it in
>> the same way as Journal (and Sugar Network database), i.e., keep
>> database in ~/.sugar/ and start daemon from current user's
>> session.
>>
> Could you point me to an example on how to set this up?
> Currently I set the database system wide and start the daemon at boot time
> but switching to a user session would make sens.
>
>
>> btw, it might be useful to create SemanticXO package as well and make it
>> pluggable like it was done with Sugar Network (checkbox in "Sweets
>> Distribution" Control Panel component). i.e., it should regular DBus
>> service that provides the same Dbus API as sugar-datastore. If you will
>> do that, I think it will be possible to plug either sugar-datastore or
>> SemanticXO in runtime.
>>
> It is already the case, on my test machines I remove sugar-datastore to
> put the one provided by SemanticXO instead.
> That one uses the same DBUS API and service name. I will look into
> packaging it.
>
> I was slowed down on SemanticXO recently, I hope to be able to get back in
> speed soon...
>
> Christophe
>
>
>
>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-07-02 Thread Christophe Guéret
Hi Aleksey,

I've packaged redstore to SD:Factory repos
> (
> https://packages.sugarlabs.org/project/monitor?project=SweetsDistribution:Factory
> )
> the package is "redstore" that provides "redstore" command and
> "redstored" init.d script.

Great! Many thanks :)


> I didn't make it autorun in case if you will use it in
> the same way as Journal (and Sugar Network database), i.e., keep
> database in ~/.sugar/ and start daemon from current user's
> session.
>
Could you point me to an example on how to set this up?
Currently I set the database system wide and start the daemon at boot time
but switching to a user session would make sens.


> btw, it might be useful to create SemanticXO package as well and make it
> pluggable like it was done with Sugar Network (checkbox in "Sweets
> Distribution" Control Panel component). i.e., it should regular DBus
> service that provides the same Dbus API as sugar-datastore. If you will
> do that, I think it will be possible to plug either sugar-datastore or
> SemanticXO in runtime.
>
It is already the case, on my test machines I remove sugar-datastore to put
the one provided by SemanticXO instead.
That one uses the same DBUS API and service name. I will look into
packaging it.

I was slowed down on SemanticXO recently, I hope to be able to get back in
speed soon...

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-22 Thread Christophe Guéret
> But was it Fedora-14? If yes, what redstore version you used (because
> the recent one can't be build on Fedora-14 due to dependencies'
> versions).
>
On the XO yes, I suppose, but on my desktops I use Archlinux.
I use Redstore 0.5.4. It requires the latest versions of Redland libraries
which are not available on Fedora 14.
I've made a script that download all the dependencies, compile them and
produce a bundle for the XO.
This bundle contains the redstore binary (32b) + its dependencies + a
script to start redstore.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-22 Thread Christophe Guéret
Hi,

Did you run it on XO laptops with stable OLPC OS (which is based on
> Fedora-14)? There are no required dep versions for recent redstore
> release.
>
Yes, all the development & testing is done with Sugar 0.94.
However, I still found that redstore had extra requirements that were not
packaged.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-15 Thread Christophe Guéret
> FWIW, the same thing is possible using the existing data store. You can
> store arbitrary metadata as key=value pairs. We can also teach
> sugar-datastore to index a new property called "type" that would allow
> us to distinguish between objects to show in the Journal (Object View)
> and other kinds of entries, e.g. to store some information about actions
> that may not naturally be coupled to an individual entry.
>
> The power of SemanticXO comes from the combination with existing Linked
> Data / Semantic Web data sets, not from extending the data store to
> store triples instead of pairs or providing a potentially turing
> complete ;) query language in addition to Xapian full text searches.
>
+1


> Come to think of it, maybe the same goal would be better achieved by a
> kind of proxy that listens to data store updates, feeding them to a
> triple store. Most Activities would use the (probably more performant
> and definitely easier to test) data store API, whereas Activities that
> benefit from the power of Linked Data can query the triple store via
> SPARQL.
>
Yep, we will have to see how thing performs. The access through the triple
store is made through an object oriented API, on top of which the datastore
is implemented. We could consider using another datastore and provide the
access to the triple store as a separate storage interface for the
activities. One of the objective of this API that sits on top of the triple
store is to provide an easy access to both the data contained on the XOs
(the one where the activity runs and the others in the network) as well as
the data contained in public SPARQL end points. I don't think any activity
developer will really want to learn SPARQL so I try to hide it behind some
layers of user friendly python code ;-)

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-15 Thread Christophe Guéret
As you rightly guessed, there are some parts of the API that still have to
be implemented.
The things I've tested so far work fine though: launch the emulator, create
some entries by using the activities and browse the content of the journal.

Christophe

On 15 May 2012 00:09, Sascha Silbe  wrote:

> "=?UTF-8?Q?Christophe_Gu=C3=A9ret?="  writes:
>
> > The installation procedure is not super convenient but should be
> manageable
> > anyway: http://wiki.sugarlabs.org/go/Features/Semantic_Web/Testing
>
> I was able to install it on Debian Wheezy by using the distro packages
> libraptor2-dev, librasqal3-dev, librdf0-dev and python-sparqlwrapper and
> building redstore [1] (needs either pandoc or a fix to Makefile.am) and
> python-rdflib [2] from source.
>
> Adjusted file paths and python executable name in
> datastore/bin/datastore-service (inside semanticxo repository) and
> started it manually. Ran "redstore -v" in a separate xterm.
>
> Sugar (latest mainline master) starts up fine, but trying to resume a
> file from external storage (USB stick) fails with the following errors:
>
> shell.log:
> {{{
> 1337031865.456647 DEBUG root: get_file asked for file with path
> '/media/Debian Inst/Journal backup of Sascha Silbe (XO-1) (CSN7470103E) on
> 13.09.2010.xmj'
> 1337031865.457434 DEBUG root: model.write '' '/media/Debian Inst/Journal
> backup of Sascha Silbe (XO-1) (CSN7470103E) on 13.09.2010.xmj' True
> 1337031866.380370 DEBUG root: launch bundle_id=org.sugarlabs.Restore
> activity_id=a6c7ee02667a96e8e51e5656d22be575506e0e24
> object_id=dfe88839-6a71-4e7b-a16a-f0da7d5122ff uri=None
> 1337031866.521933 ERROR dbus.connection: Exception in handler for D-Bus
> signal:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 214, in
> maybe_handle_message
>self._handler(*args, **kwargs)
>  File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/datastore/datastore.py",
> line 61, in __datastore_created_cb
>metadata = _get_data_store().get_properties(object_id, byte_arrays=True)
>  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
> __call__
>**keywords)
>  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in
> call_blocking
>message, timeout)
> DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most
> recent call last):
>  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 745, in
> _message_cb
>_method_reply_return(connection, message, method_name, signature,
> *retval)
>  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 252, in
> _method_reply_return
>reply.append(signature=signature, *retval)
> TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
>
> 1337031866.567461 ERROR dbus.connection: Exception in handler for D-Bus
> signal:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 214, in
> maybe_handle_message
>self._handler(*args, **kwargs)
>  File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/model.py",
> line 507, in _datastore_created_cb
>created.send(None, object_id=object_id)
>  File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/dispatch/dispatcher.py",
> line 125, in send
> response = receiver(signal=self, sender=sender, **named)
>   File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py",
> line 259, in __model_created_cb
>self._check_for_bundle(kwargs['object_id'])
>  File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py",
> line 284, in _check_for_bundle
>metadata = model.get(object_id)
>  File
> "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/model.py",
> line 551, in get
>metadata = _get_datastore().get_properties(object_id, byte_arrays=True)
>  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in
> __call__
>**keywords)
>  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in
> call_blocking
>message, timeout)
> DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most
> recent call last):
>  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 745, in
> _message_cb
>_method_reply_return(connection, message, method_name, signature,
> *retval)
>  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 252, in
> _method_reply_return
>reply.append(signature=signature, *retval)
> TypeError: Don't know how which D-Bus type to use to encode type "NoneType"
> }}}
>
> org.sugarlabs.Restore-1.log:
> {{{
> 1337031878.858341 DEBUG root: datastore.get
> Traceback (most recent call last):
>   File "/home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity", line
> 146, in 
>main()
>  File "/home/sascha.silbe/sugar-jhbuild/install/bin/s

Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-12 Thread Christophe Guéret
> Is fulltext search implemented in existing light weight triple storages
> like in RDBMS? ie, if you need fulltext search, create particular index.
>
Nope, in fact you do not control the indexes. Triple store implementing
just what is in the recommendation index everything that is a literal. For
instance if the following triple is inserted '<
http://dbpedia.org/resource/Amsterdam> <
http://www.w3.org/2000/01/rdf-schema#label> "Amsterdam"', only the string
"Amsterdam" will be indexed.

I mean, if fulltext feature is pluggable, it might make sense to disable
> it (to decrease resources consumption) and reuse Xapian instead. The reason
> is that Xapian is mature, fast, and humble in case of memory footprint,
> fulltext indexer.
>
It is not pluggable but the source code of the triple store is available.
It may make sense to dig into the code to disable the index and plug in
xapian instead if we find it to improve the performances, or if the regex
search in literals is not enough.
So far, I did not focus too much on the triple store and just took RedStore
that works "out of the box" on the XO and provide good enough performances.
There is another triple store, "4store" that would be more efficient and
have a lower foot print but making it fit the hardware of the XO will
require some hacking.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-12 Thread Christophe Guéret
> In other words triple storage doesn't provide full text search?
>
Looking for text matching a given regular expression is part of the SPARQL
recommendation, the query language for triple store. So all the triple
stores should implement at least that. There are also some, like OWLIM and
Virtuoso, that have more advanced full text search functionalities that go
beyond what the recommendation asks.
The one I currently use is called "RedStore", I didn't try the text search
with it yet but will do it soon.


> And the right way is using triple storage (for semantic search) and
> Xapian (for full text search)?
>
Normally not. The triple store stores and indexes all the triples that are
sent to him. Then it is possible to retrieve back the triples with a query
language (SPARQL) as expressive as those found for data bases (e.g. SQL).


Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-11 Thread Christophe Guéret
>
> For remote access you mean such feature in particular triple storage
> implementation?
>
> If it is about adding remote access to some of existing triple storage
> implementations, it might be useful to split the work into local part
> (implement reliable/fast/resources-consumption-humble local storage)
> and attaching this storage to the existing formation.
>
> For example, there is an ongoing work for Sugar Network[1]. It is a
> system of servers (master one and decentralized nodes that can be
> synchronized with each other and with the master one) and clients that
> work with servers via RESTful API. The system should contain arbitrary
> content (indexed in Xapian), e.g, activities, activity objects, books,
> etc. For now, server (node/master) is being implemented as Xapain
> db with key/value storage (like Journal, but filesystem storage might be
> replaced by more regular key/value db in the future). Plus, there is an
> ongoing work for creating client. So, when local triple storage will be
> good enough for being handling on a XO (Sugar Network is being developed
> also for working out offline usecase in schools) and Sugar Network will
> be in more stable stage[2], RDF storage might replace Xapian.
>
Thanks for the pointer! I wasn't aware of that Sugar Network initiave. It
is actually the very same thing I am now implementing with some of my
students. We are building a system made of different nodes and using triple
stores. With it, it is (or will be) possible to store abitrary content and
do any kind of query. Our first activity making use of the network will be
a social network application allowing to asynchronously send messages
across schools and between XOs in a mesh. The system will take benefit from
Linked Data principles to uniquely identify every user in the system and
efficiently spread the messages.

Triple stores are close to key/value stores, with the main difference that
they associated two keys for one value. If you set the first key to a
particular value, for instance one that refers to a particular journal
entry, and then iterate over the other key/values you get something similar
to any other key/value store. Currently, that is how the triple-store based
journal is implemented: one new resource per journal entry and one triple
per key/value of the entry. Every entry is then wrapped into a named graph
which is the basic unit transfered across XOs.

I will read more about Sugar Network and see how to related SemanticXO with
it.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-10 Thread Christophe Guéret
>  How compare SemanticXO journal to our actual implementation, regarding to
> disk space and performance (in a xo)
>
However I agree this is an important question, I can not give any proper
answer to it yet.
Some time ago I did some performance test for the triple store:
http://semweb4u.wordpress.com/2011/11/02/does-it-scale/
The results were not as good as I would have expected but were still ok.

Now, it would be good to run a comparative benchmark to have the same kind
of curves for both the genuine journal and the one using the triple store.
Is there maybe something I could use for that?
To generate these graphs I used a custom made record generator that was
inserting data and querying it. If nothing else is available I could use
that code again.

Besides, I'd like to note that apart from the performance difference, which
may or may not be in favour of the triple store, there is also a feature
difference. Compared to the current data store, the triple store offers a
more versatile data store with also has remote access (not secured now).
We're currently busy developing activities highlighting how to take
advantage from these extra features.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
> Launches fine for me now.
>
Great! Now, most of the fun happens at http://localhost:8080
After having created some Journal entries, go to this address and display
the content of "named graphs" to see how the records are turned into
triples. The port is public so you can also browse the content of a journal
remotely.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
> Ah, running datastore-service standalone showed that it was looking
> for the python module rdflib . After install python-rdflib package, it
> complains of missing SPARQLWrapper (python?) module. Searching yum for
> sparql only shows the package rasqal which I have installed.
>

Ok, I totally forgot about the dependencies :-P
This is the SPARQLWrapper you need: http://sparql-wrapper.sourceforge.net/
Please let me know how you install it on Fedora and I'll update the wiki.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
>
> So:
>
> Wrote,IsActionOF,Write
>
> is a description?
>
Normally, that would be more something like:
document,hasAuthor,author
document,hasTitle,"blah"
...
This describes "document" and connect it to "author", which would in turn
be described by:
author,firstName,"blah"
author,lastName,"blah"

What you typed follows this triple pattern of a subject/property/object but
does not connect descriptions of things. Still, this could be stored in the
triple store if needed.

Or are these 3 descriptions linked together?
>
That could be. A triple connects up to three descriptions. If I say:
document,hasAuthor,author
It is possible to associate a description to these three elements. The data
base becomes then self-describing as even the relations can be described
using the same system.


> Hope you indulge my curiosity, this is interesting :)
>
No worries, thanks for your interest :)

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
> I did modify, but mistyped them. I get a different error now:
>
> connection.py:630:call_blocking:DBusException:
> org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/bin/datastore-service exited with status 1
>
> Traceback (most recent call last):
>  File "/usr/bin/sugar-session", line 289, in 
>main()
>  File "/usr/bin/sugar-session", line 228, in main
>from jarabe.desktop import homewindow
>  File "/usr/lib/python2.7/site-packages/jarabe/desktop/homewindow.py",
> line 25, in 
>from jarabe.desktop.meshbox import MeshBox
>  File "/usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py",
> line 48, in 
>from jarabe.journal import misc
>  File "/usr/lib/python2.7/site-packages/jarabe/journal/misc.py", line
> 26, in 
>from sugar.activity import activityfactory
>  File "/usr/lib/python2.7/site-packages/sugar/activity/activityfactory.py",
> line 34, in 
>from sugar.datastore import datastore
>  File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py",
> line 77, in 
>_get_data_store()
>  File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py",
> line 51, in _get_data_store
>DS_DBUS_PATH),
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in
> get_object
>follow_name_owner_changes=follow_name_owner_changes)
>  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in
> __init__
>self._named_service = conn.activate_name_owner(bus_name)
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in
> activate_name_owner
>self.start_service_by_name(bus_name)
>  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in
> start_service_by_name
>'su', (bus_name, flags)))
>  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line
> 630, in call_blocking
>message, timeout)
> DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/bin/datastore-service exited with status 1
>
> If you just start the datastore-service, does it work?
> Did redstore receive any query before crashing?
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
> I have a question, could activities add new entries to the semantic
> datastore? For example, Paint and Write when installed would add these
> items:
>
> Painted a picture of,IsActionOf,Paint
> Wrote,IsActionOf,Write
>
> Then you could use this information to be used in the Diary-like view
> of the Journal (http://wiki.sugarlabs.org/go/Design_Team/Designs/Journal):
>
> Wrote History of Thailand
> Painted a picture of Our school
>
> And how would you relate objects to get to this:
>
> Wrote History of Thailand with John, Susan 3 days ago.
>
> I really like this idea, and wish I could make it happen (I don't know
> much programming).
>

Yep, that's the goal. The triple store allows for storing any kind of
structured description of something and link these descriptions together.
So Paint and Write could store descriptions and link them, while the Diary
viewer would render this information in a visually appealing way.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
Hi Eduardo,

Thanks for testing!

Ah, the error actually starts with /usr/bin/sugar-datastore (which I
> replaced with the one included in the semanticXO directory):
>
> datastore-service:13::ImportError: No module named
> semanticstore.datastore
>
Have you modified the first lines of this script to include the path were
the code his?

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Call for testing and feedback: alternative Journal implementation

2012-05-09 Thread Christophe Guéret
Dear all,

A part of the project "SemanticXO" concerns the implementation of an
alternative Journal implementation making use of the triple store backend.
Triple store are data bases optimised to store factual information in the
form of statements linking a subject, a property and a value. This makes
them particularly fit to store key/value metadata, such as the one the
Journal uses. The feature proposal for SemanticXO gives more detailled
about what this is about: http://wiki.sugarlabs.org/go/Features/Semantic_Web

I've just finished removing a couple of bugs and would be interested in
getting a first round of feedback.
The installation procedure is not super convenient but should be manageable
anyway: http://wiki.sugarlabs.org/go/Features/Semantic_Web/Testing

The code is based on two parts:
* a module "common" that allows to store arbitrary data in the triple store
* a module "datastore" which uses "common" to store the data from the
Journal
I'm now working on implementing other usage examples for "common". In the
Journal, the most visible change is the possibility to browse the content
through the SPARQL interface of the triple store. This means it is
possible, and rather easy, to gather statistics about the activities
performed in a class room or do backup of the metadata without having to
interupt any other activity.

Looking forward to your feedback, cheers,
Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] 1 minute video about SemanticXO [laptop.org #67749]

2012-02-28 Thread Christophe Guéret
Hi everyone,

We recently made a video to explain in a easy way what the goals of
SemanticXO are:
http://semweb4u.wordpress.com/2012/02/28/1-minute-video-about-semanticxo/

The related feature proposal for Sugar is over there:
http://wiki.sugarlabs.org/go/Features/Semantic_Web

And there has been some progress made on the source code recently:
http://git.sugarlabs.org/semanticxo

A first working version of the system will be ready for the workshop on
Downscaling the Semantic Web that will be held in Greece in May:
http://worldwidesemanticweb.wordpress.com/downscale2012/

I will post an announce on the list as soon as there is something that can
be easily tested ;-)

Cheers,
Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Invitation to help organise a workshop in Greece

2011-12-20 Thread Christophe Guéret
Dear everyone,

Stefan Schlobach and myself are organizing a workshop on "Down scaling the
Semantic Web" at the conference ESWC2012.
This conference is one of the major one for research done on the Semantic
Web, it will take place in May 2012 in Greece [1].

Semantic Web technologies are aimed at improving data management by
providing standards and tools to encode, share and use data. So far most of
the applications making use of that technology are designed to be run on
large scale machines (Cloud hosted) accessed through the Web. With the
contributor project "SemanticXO", we started to look at bringing these
technologies to Sugar and the XO [2]. This work has recently caught the
interest of the research community and with the workshop DownScale2012 we
would like to build upon that.

The workshop will be about the challenges in bringing Semantic Web
technologies on constrained environement and the potential benefits of
doing it. There will be a morning of discussions and an afternoon  on
hacking with Sugar + SemanticXO (see [3] for more informations).

We are looking for someone to help us organise the hacking afternoon.
Ideally that person would be someone that is experienced in developing for
Sugar, is able to come to Heraklion in May and has an interest in Semantic
Web research. If you see yourself in that description, please drop us a
mail :-)

Cheers,
Christophe & Stefan

[1] http://2012.eswc-conferences.org/
[2] http://wiki.sugarlabs.org/go/Features/Semantic_Web
[3] http://worldwidesemanticweb.wordpress.com/downscale2012/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [FEATURE] [DESIGN] Semantic Web

2011-12-02 Thread Christophe Guéret
On 2 December 2011 15:28, Walter Bender  wrote:

>
>
> 2011/12/2 Christophe Guéret 
>
>>
>>   Nice!
>>>
>> Thanks :)
>>
>>  I'd recommend moving the git repository to git.sugarlabs.org to
>>> facilitate collaboration with other Sugar developers.
>>>
>> Done! Everything is now in http://git.sugarlabs.org/semanticxo/main
>>
>> There are four directories:
>> common => Code to compile the triple store and main API to dialog with it
>> datastore => Re-designed Journal datastore making use of the triple store
>> to store meta data
>>
>
> Quick question: is the migration to the new datastore reversible? In other
> words, if I try testing this, do I have any way to revert?
>
Yes for the reversibility, no for the content being shipped between the two
versions.
The new datastore replace the old one but don't erase its content. If you
use the script "patch_my_xo" (in common) to install the stuff you won't
have access to the entries currently in the Journal. If you create new
entries but then return to the standard Journal, you'll loose these new
entries but retrieve the previous ones.
This script "patch_my_xo" comes with two options, install and uninstall, to
patch (very brutally) the XO with SemanticXO stuff and revert it to its
original state.

Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [FEATURE] [DESIGN] Semantic Web

2011-12-02 Thread Christophe Guéret
> Nice!
>
Thanks :)

I'd recommend moving the git repository to git.sugarlabs.org to
> facilitate collaboration with other Sugar developers.
>
Done! Everything is now in http://git.sugarlabs.org/semanticxo/main

There are four directories:
common => Code to compile the triple store and main API to dialog with it
datastore => Re-designed Journal datastore making use of the triple store
to store meta data
activity_browse => A browser for the content of Journals, the one on the
running Sugar but also of any other Sugar instance in the neighborhood
activity_sort => Simple game showing how an activity can use the triple
store to store all its data.

"common" used to be on Github, "datastore" was a fork on the Journal on
git.sugarlabs, the two activities where also on Github.
I'll close all these other locations and set up aliases to the new
location(s).

Cheers,
Christophe

PS: I forgot to properly tag the mail, this should be fixed now.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Feature proposal: Semantic Web

2011-12-01 Thread Christophe Guéret
Dear everyone,

Better late than never... after almost a year of working on SemanticXO
there is now a feature page for it:
http://wiki.sugarlabs.org/go/Features/Semantic_Web
Please let me know what you think ;-)

cheers,
Christophe
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with testing SemanticXO's backend

2011-11-29 Thread Christophe Guéret
Hi James,

I finally got around that lib32 problem and produced a new package (same
location:
https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz )
The results you sent me last where weird, indicating no usage at all of
disc space and constant read/write time. That's too good to be true :-)
Could you please try again with this new version? It would be best this
time to run it from a terminal with Sugar switched off.

Thanks,
Christophe


On 8 November 2011 08:29, James Cameron  wrote:

> Aye, leaving Sugar running is a memory sucker.  Let me know if you need
> further testing.
>
> --
> James Cameron
> http://quozl.linux.org.au/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with testing SemanticXO's backend

2011-11-07 Thread Christophe Guéret
Hi James,

Thanks for the testing! I didn't had this memory error last time I ran the
script but there was also something different in the test setting: I
switched to runlevel 3 and ran the script from a terminal rather than
running it in Sugar. The memory saved could have made the difference...

Anyway, I'll run it again on my XO-1 to see if I get it now using the same
bundle as you did.

Cheers,
Christophe

On 8 November 2011 02:21, James Cameron  wrote:

> Second run also failed with "OSError: [Errno 12] Cannot allocate memory"
> on line 95.  CSV files attached.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with testing SemanticXO's backend

2011-11-05 Thread Christophe Guéret
Oups! I forgot I had installed that package system-wide.
It's now in the bundle, please try again :-)

Christophe


On 5 November 2011 01:03, James Cameron  wrote:

> On Fri, Nov 04, 2011 at 05:17:07PM +0100, Christophe Gu?ret wrote:
> > wget https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz
> > tar xzf performances.tar.gz
> > cd performances
> > python performances_test.py > /dev/null
>
> "No module named rdflib".
>
> Suggestions?
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Help with testing SemanticXO's backend

2011-11-04 Thread Christophe Guéret

Dear everyone,

I recently did some scalability testing for the Journal implementation 
using the triple store "Redstore". You can see the results for an XO-1 
in this blog post: http://wp.me/p1ffiZ-59


It would be cool if one of you would be willing to run the testing 
script on an XO-1.5 and send me back the statistics gathered. I'm very 
curious to see how things work on some more powerful hardware. Testing 
on an XO-1.75 would also be nice but I never tried to compile the triple 
store for ARM, so some help for this would also be appreciated.


There is a package at [1] with everything that is needed. To execute it, 
simply type the following from the Terminal activity:


wget https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz
tar xzf performances.tar.gz
cd performances
python performances_test.py > /dev/null

The three CSV files that will be generated is what I need to generate 
the plots. It took almost 2 days to run it on the XO-1 so you may expect 
to wait some time before the script finishes.


Looking forward to hopefully getting some cool results :-)

Cheers,
Christophe

[1] https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] SemanticXO - Christoph Guéret

2011-09-16 Thread Christophe Guéret

Hi all,

If you are interested about SemanticXO and would like to try it, I'm 
pleased to inform you of the release of an easy to use install bundle.


To install the triple store and a new journal datastore implementation, 
simply download these two files:

https://github.com/cgueret/SemanticXO/raw/master/patch_my_xo/semanticxo.tgz
https://raw.github.com/cgueret/SemanticXO/master/patch_my_xo/patch-my-xo.sh
Then type as root "sh ./patch-my-xo.sh setup" and reboot the machine.

If everything works fine, you won't see any difference ;-)
All the things are happening in the backend. The new journal will store 
its data into the triple store. To have a look at the content of this 
triple store, open the browse activity and visit http://127.0.0.1:8080. 
You can also access this interface from a desktop PC, or an other XO, 
and get a remote view over the journal.


Please, check out http://wp.me/1ffiZ for the latest updates about 
SemanticXO and don't hesitate to reply to this mail if you have any 
question :-)


Cheers,
Christophe


On 14/09/11 10:37, Bastien wrote:

Hi all,

sunday Christophe Guéret gave a nice presentation about SemanticXO:

   The project SemanticXO is about bringing the latest advances in
   Knowledge Representation and Reasoning technologies to the XO. These
   technologies are centered around the publication of structured data on
   the Web. The global data space thereby created, the "Web of Data", can
   be seen as a distributed data base filled with factual information
   about "things" (people, movies, places, ...) and the relations between
   these things. With SemanticXO, activities on the XO will be able to
   tap into this source of knowledge and children will be able to
   contribute to it. For more information, the site http://lod-cloud.net/
   provides a view of the content of the Web of Data (but this is only
   the tip of the iceberg!).

   The progress of SemanticXO can be followed on
   http://semweb4u.wordpress.com

   
http://www.slideshare.net/cgueret/semanticxo-connecting-the-xo-with-the-worlds-largest-information-network

Since some work about extending the Journal is at stake, I thought
this might be of general interest to the list.

Enjoy,



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Christophe Guéret



1) Create a yum repository with your packages in them using createrepo
2) Specify the repo in your ini file in the [yumcfg]
3) Add the packages in an appropriate kspkglist file. See the
following as an example
modules/sugar/kspkglist.50.sugar.inc

Thanks for the suggestion Peter, however I don't think that's what I need.
I don't have any RPM for the things I need to package so creating a new 
repository wouldn't help


Christophe


--
PhD Christophe Guéret (c.d.m.gue...@vu.nl)
http://www.few.vu.nl/~cgueret/
Postdoc working on LATC (http://latc-project.eu)
Knowledge Representation&  Reasoning Group
Computational Intelligence Group
Department of Computer Science, AI
VU University Amsterdam

<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Help with OS Builder

2011-08-26 Thread Christophe Guéret

On 26/08/11 13:04, Jerry Vonau wrote:

On Fri, 2011-08-26 at 09:15 +0200, Christophe Guéret wrote:

Hi all,

I'm using the OS builder to create a customized 11.2.0 for my XOs 1
and I can't figure out how to do two things:
* Include a new binary which is not packaged + the related start
scripts

Are your saying not in rpm format?
Yep. The program is called "redstore" and I can compile it manually but 
then I have to include the binary into my images.





* Overwrite sugar-datastore with a custom version

As in pre-populated with entries?

Nope, as in with a different datastore that replace the one commonly used :)




The informations at http://wiki.laptop.org/go/OS_Builder and the
README shipped with the modules left me with no answer :-/

Can someone help me with that?


The only clean way would be to enable the custom_scripts module in your
ini file, then write your own script.

Ok, I'll have a look.

Christophe


--
PhD Christophe Guéret (c.d.m.gue...@vu.nl)
http://www.few.vu.nl/~cgueret/
Postdoc working on LATC (http://latc-project.eu)
Knowledge Representation&  Reasoning Group
Computational Intelligence Group
Department of Computer Science, AI
VU University Amsterdam

<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Help with OS Builder

2011-08-26 Thread Christophe Guéret

Hi all,

I'm using the OS builder to create a customized 11.2.0 for my XOs 1 and 
I can't figure out how to do two things:

* Include a new binary which is not packaged + the related start scripts
* Overwrite sugar-datastore with a custom version

The informations at http://wiki.laptop.org/go/OS_Builder and the README 
shipped with the modules left me with no answer :-/


Can someone help me with that?

Cheers,
Christophe

PS: I was unsure where this message should go, sorry for the cross-posting

--
PhD Christophe Guéret (c.d.m.gue...@vu.nl)
http://www.few.vu.nl/~cgueret/
Postdoc working on LATC (http://latc-project.eu)
Knowledge Representation&  Reasoning Group
Computational Intelligence Group
Department of Computer Science, AI
VU University Amsterdam

<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ArchLinux packages for Sugar

2010-12-14 Thread Christophe Guéret

Hi,

I just updated sugar and sugar-datastore. Now they both compile and run 
on my desktop (test I did not do before...). Please let me know if they 
work for you as well :)


Christophe


On 12/13/2010 05:28 PM, Bastien wrote:

Hi Christophe,

Christophe Guéret  writes:


The sugar packages for ArchLinux were orphans and outdated.
I just adopted and updated a bunch of them:
http://aur.archlinux.org/packages.php?SeB=m&K=tolgam

Fantastic!


If you are an Arch user, please have a look at them and let me know if
they work for you.

I'm an Arch user :)

I did install this:

~$ yaourt -S sugar
~$ yaourt -S sugar-base
~$ yaourt -S sugar-artwork
~$ yaourt -S sugar-toolkit
~$ yaourt -S sugar-datastore
~$ yaourt -S sugar-presence-service

I then tried to add sugar-session to my .xinitrc and run startx from a
tty console.

No luck.

I had an "invalid syntax" error (line 26 in sugar-session).  I have both
python 2.7 and 3.1 on my machine.  I s/python/python2 in the first line
of sugar-session to get rid of this error, but I run in another one: no
module hippo found (I first thought it was related to hippo-canvas so
installed this but I guess I'm wrong here.)

My ArchLinux is up to date.

Is there more logs I can give you?  Any step-by-step install of Sugar on
ArchLinux somewhere?

I would *really* run Sugar natively on ArchLinux, that'd be awesome.

Thanks!



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ArchLinux packages for Sugar

2010-12-13 Thread Christophe Guéret

Hi Bastien,


I had an "invalid syntax" error (line 26 in sugar-session).  I have both
python 2.7 and 3.1 on my machine.  I s/python/python2 in the first line
of sugar-session to get rid of this error, but I run in another one: no
module hippo found (I first thought it was related to hippo-canvas so
installed this but I guess I'm wrong here.)

The invalid syntax error as to do with the switch to Python3 by default.
Apparently, the lines what were supposed to force the use of python2 in 
the packaging are not working.

Don't worry I'll fix that ;-)

I think hippo is not found because it gets installed into the packages 
for python3... I'll check that as well.



Is there more logs I can give you?  Any step-by-step install of Sugar on
ArchLinux somewhere?
There should not be more logs needed for the moment and for the 
step-by-step install instructions, there is the wiki page Cilyan 
created: https://wiki.archlinux.org/index.php/Sugar



I would *really* run Sugar natively on ArchLinux, that'd be awesome.

I think so too :)

Christophe

<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ArchLinux packages for Sugar

2010-12-13 Thread Christophe Guéret

Hi Cilyan,


Yeah sorry, I was the previous maintainer and I wished to bring more
to this amazing project, but I had to face the reality, since I have a
new job I have no time anymore to maintain all this. I dropped the
packages in the hope a kind volunteer would take care of them... And I
happened. Thanks Christophe, I'm very glad that you can devote time to
bring this amazing environment to ArchLinux. If you ever run into
problems, don't hesitate to come to me, I would be happy to help as
much as I can.

It's nice to be able to get in touch with the previous maintainer :)
I do have a question, which may be actually also answered by someone 
else on the list, how do I check for dependencies?
Some of them are checked by the autoconf scripts but some aren't. Is 
there a readme file or a wiki page or something else that list the 
things the sugar components depend on?


Christophe

<>___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] ArchLinux packages for Sugar

2010-12-11 Thread Christophe Guéret

Hi,

The sugar packages for ArchLinux were orphans and outdated.
I just adopted and updated a bunch of them:
http://aur.archlinux.org/packages.php?SeB=m&K=tolgam

If you are an Arch user, please have a look at them and let me know if
they work for you.

Cheers,
Christophe


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel