Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-15 Thread Martin Langhoff
On Mon, Mar 16, 2009 at 11:30 AM, Daniel Drake  wrote:
> So what does gadget do? Is there a new client side UI for electing
> groups?

Good question. I think that

 - Gadget actually extends XMPP, so there are new XMPP msgs on the
wire -- which means you need new code on the client side -
Telepathy-Gadget

 - Gadget itself (which is on the server side) remembers who you've
interacted with recently, so above a certain threshold it'll show
those on the Network View

 - If you use the search on the network view, it'll also run a search
against Gadget so new nodes may appear in the Network View (not just
the greying out of non-matches)

there are other changes as well, I think. Right now a shared activity
is - on XMPP - a 'chatroom'. With Telepathy-Gadget and a Gadget server
they are implemented as something custom and specific. I don't know
what extra tricks you can get out of that ;-)

OTOH, it stops being generic XMPP so it kind of binds you to
ejabberd+Gadget (maybe other XMPP servers are supported as well?). And
you can no longer interop with any random XMPP client.

cheers,



martin
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-15 Thread Daniel Drake
2009/3/15 Martin Langhoff :
> "Client" code for Gadget seems to be integrated in the Telepathy new
> Sugar present on the SoaS images. The server side -- the proper gadget
> code -- isn't on any XS, and I haven't seen or tested it (lack of time
> :-( )
>
> Even if I had, it's a ton of new code, a lot more adventurous than
> what we're doing w moodle. So short/midterm, following ejabberd+moodle
> is lower risk from the perspective of a deployment today.

One thing I still don't understand about gadget... how does it
actually solve the problem? I'm assuming the problem it solves is lack
of partitioning, and the fact that the neighborhood view becomes kind
of impossible after 50 users, etc. Right?

So what does gadget do? Is there a new client side UI for electing
groups? Who chooses, the kids or the teachers? etc.

Daniel
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] slim PC

2009-03-15 Thread Sameer Verma
On Sat, Mar 14, 2009 at 11:05 PM, Sameer Verma  wrote:
> I haven't looked at the specs closely, but someone at our meeting
> today brought this up.
> http://www.amazon.com/fit-PC-Slim-Linux/dp/tech-data/B001L18ED2/ref=de_a_smtd
> Any ideas? Has anyone tried it as as school server?
>
> Sameer
> --

To add a context to this machine, the target in mind is a school in
Maroantsetra, Madagascar (http://en.wikipedia.org/wiki/Maroantsetra),
where we have a local group sending 12 XOs. Mesh under a tree is fine
for this setup, but they want to have a schoolserver, and this box
came up in the discussions.

The guy who will be taking this stuff with him is going to do so in
his luggage (http://thoreauscholar.org/student/scholars/golden.html),
so we are shooting for small boxes.

Amazon's page has no info on the processor, but I found more details
here (http://www.fit-pc.com/new/fit-pc-slim-specifications.html).

Hardware

CPU: AMD Geode LX800 500MHz
Chipset: AMD CS5536
Display: Integrated Geode LX display controller up to 1920x1440
Memory: 512MB DDR 333MHz soldered on-board
Hard disk: 2.5” IDE 60GB
Ports:
 RJ45 Ethernet port 100Mbps
 WLAN 802.11b/g 54Mbps
 3 x USB 2.0 HiSpeed 480Mbps
 mini RS-232 (RX/TX)
 VGA DB15
 Stereo line-out audio (headphones)
 Stereo line-in audio / Mic


Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] slim PC

2009-03-15 Thread Martin Langhoff
On Sun, Mar 15, 2009 at 7:05 PM, Sameer Verma  wrote:
> I haven't looked at the specs closely, but someone at our meeting
> today brought this up.
> http://www.amazon.com/fit-PC-Slim-Linux/dp/tech-data/B001L18ED2/ref=de_a_smtd
> Any ideas? Has anyone tried it as as school server?

Get your hands on one and tell us how it goes ;-)

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] thoughts on registering SoaS with an XS and moodle integration

2009-03-15 Thread Martin Langhoff
On Fri, Mar 13, 2009 at 2:55 AM, Hamilton Chua  wrote:
> I would like to ask what the plan is for allowing Sugar running on
> hardware other than an XO to register with an XS.

As John says, I'm hoping that non-XO machines running Sugar can register too :-)

> I had a quick look at /usr/bin/registration-server in the XS and
> schoolserver.py in a Sugar installation and I was able to "trick" the XS
> into registering an SoaS by modifying schoolserver.py on the SoaS. I
> removed the part of the code that checks for the XO information and
> modified the def that handles registration to send randomly generated
> strings for serial and UUID instead.

Cool! Yes, that's what I'd suggest -- change things on the client side
to generate a random string (or a hashed mac address) with the
appropriate format. Maybe pre-pend it with a known prefix, as XOs have
a series of known prefixes in their serial numbers.

One important thing is that the client side must remember these
generated serial/uuid as they are used for other stuff.


> Also, how is moodle integration coming along. Is there documentation
> somewhere with details on how this will be achieved ? Will this involve
> modifying registration-server or ejabberd ?

Well underway -- it's working if you grab the moodle from my git repo,
it doesn't require changes to registration-server, and it works with
the same ejabberd we have on XS 0.5.2 .

It does require a new Browse.xo -- search the list archives for
discussion about the latest Browse.xo and the 'moodle authentication'
patch in it.

cheers,



martin
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] notes on scaling ejabberd for the XO's

2009-03-15 Thread Martin Langhoff
On Wed, Mar 11, 2009 at 2:12 PM, Bryan Berry  wrote:
> Here are some notes from a short IRC conversation I had w/ Rob Mcqueen,
> the lead developer of Telepathy

Cool - thanks for posting it.

"Client" code for Gadget seems to be integrated in the Telepathy new
Sugar present on the SoaS images. The server side -- the proper gadget
code -- isn't on any XS, and I haven't seen or tested it (lack of time
:-( )

Even if I had, it's a ton of new code, a lot more adventurous than
what we're doing w moodle. So short/midterm, following ejabberd+moodle
is lower risk from the perspective of a deployment today.

OTOH, if you're feeling the experimental mood, the ejabberd we have
now on XS-0.5.2 is compatible with gadget. Go crazy ;-)

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Serving 400+ students w/ a single central XS - ejabberd nightmare?

2009-03-15 Thread Martin Langhoff
On Wed, Mar 11, 2009 at 5:54 PM, John Watlington  wrote:
> If you aren't going to place school servers in the actual schools,
> and insist on
> centralizing them, the hardware recommended by Sameer is a good idea.

+1 -- also, Dev Moharty's suggestion is good: run one XS for each
school in your central location. If you have one big honking box, you
could virtualise things (but I don't particularly recommend it).

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Almost-released: XS-0.5.2 -

2009-03-15 Thread Sameer Verma
On Sat, Mar 14, 2009 at 11:46 PM, Martin Langhoff
 wrote:
> On Sun, Mar 15, 2009 at 7:16 PM, Sameer Verma  wrote:
>> Looks like a winner!
>
> Yay! And that was on your 586 laptop right?
>

Yes.

> - How much RAM?

384MB. Didn't get a chance to see usage.

> - Did you use squid?
>

Yes.

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel