Re: [Sugar-devel] karma repo is huge!

2010-01-05 Thread Bert Freudenberg
On 05.01.2010, at 10:17, Bernie Innocenti wrote: On Tue, 2010-01-05 at 08:11 +0545, Bryan Berry wrote: Is there a way to remove select files from the index that are no longer in the working tree? I never used it, but try git-filter-branch should do the job: git filter-branch

[Sugar-devel] karma repo is huge!

2010-01-04 Thread Bryan Berry
It is already over 127 MB and the .git directory is over 65 MB. There must be some giant individual files hanging out somewhere. I absolutely will have to repack this thing ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] karma repo is huge!

2010-01-04 Thread Bernie Innocenti
On Mon, 2010-01-04 at 14:28 +0545, Bryan Berry wrote: It is already over 127 MB and the .git directory is over 65 MB. There must be some giant individual files hanging out somewhere. I absolutely will have to repack this thing Try git repack -a -d -f --window=100 --depth=100 I don't know

Re: [Sugar-devel] karma repo is huge!

2010-01-04 Thread Bryan Berry
alright, I saved 30 MB by putting the temporary build/ directory into .gitignore $ git repack -a -d -f --window=100 --depth=100 shrinks it from 109 MB to 82MB, that's a nice change I have added and removed huge sets of files Is there a way to remove select files from the index that are no

Re: [Sugar-devel] karma repo is huge!

2010-01-04 Thread Mathieu Bridon (bochecha)
On Tue, Jan 5, 2010 at 03:26, Bryan Berry br...@olenepal.org wrote: alright, I saved 30 MB by putting the temporary build/ directory into .gitignore $ git repack -a -d -f --window=100 --depth=100 shrinks it from 109 MB to 82MB, that's a nice change I have added and removed huge sets of files

Re: [Sugar-devel] karma repo is huge!

2010-01-04 Thread Bryan Berry
Tks Mathieu, wow this is some major surgery to get rid of big individual files. I will have to go through it carefully On Tue, Jan 5, 2010 at 12:39 PM, Mathieu Bridon (bochecha) boche...@fedoraproject.org wrote: On Tue, Jan 5, 2010 at 03:26, Bryan Berry br...@olenepal.org wrote: alright, I

[Sugar-devel] Karma v0.2 Released

2009-12-20 Thread Bryan Berry
We are proud to release Karma version 0.2 today. You can test out the demos here http://karma.sugarlabs.org. You need Firefox 3.5 or Google Chrome/Chromium to run the demo. You can download the Karma-2.xo bundle here http://activities.sugarlabs.org/en-US/sugar/downloads/file/26522/karma-2.xo. We

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-15 Thread Felipe López Toledo
2009/12/14 Bryan Berry br...@olenepal.org first, tks for the awesome feedback sure, np 2009/12/14 Felipe López Toledo zer.subz...@gmail.com hey man, I have read the online docs, here is my feedback: [ feature request ] add collision support for file names repeated Can you be more

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-15 Thread Bryan Berry
2009/12/15 Felipe López Toledo zer.subz...@gmail.com 2009/12/14 Bryan Berry br...@olenepal.org first, tks for the awesome feedback sure, np 2009/12/14 Felipe López Toledo zer.subz...@gmail.com hey man, I have read the online docs, here is my feedback: [ feature request ] add

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-14 Thread Felipe López Toledo
hey man, I have read the online docs, here is my feedback: [ feature request ] add collision support for file names repeated [ question ] how does the actual localization algorithm work? I mean, is there a way to localize all the content with one line? maybe, we could explain it in the docs [

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-14 Thread Bryan Berry
first, tks for the awesome feedback 2009/12/14 Felipe López Toledo zer.subz...@gmail.com hey man, I have read the online docs, here is my feedback: [ feature request ] add collision support for file names repeated Can you be more specific? just to avoid loading the same file twice? I

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-14 Thread Bryan Berry
I just refactored the code to use kImage, kAudio instead of kMedia gracias a Dios for unit testing, it really made refactoring karma.js almost easy I updated the jsdoc but it is still rough, I will spend much of today improving it. This means the 2nd karma.js tutorial will have to wait. sorry

[Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-03 Thread Bryan Berry
I have added examples but there is still work to be done. Please let me know if it is hard to follow or if significant chunks are missing I haven't exactly figured out how to document methods like play() since there isn't an object specific to it I also haven't documented the kCanvas with the

Re: [Sugar-devel] [Karma] pls review jsdocs for Karma

2009-12-03 Thread Bryan Berry
argh! sorry I forgot the link http://karma.sugarlabs.org/docs/index.html 2009/12/3 Bryan Berry br...@olenepal.org I have added examples but there is still work to be done. Please let me know if it is hard to follow or if significant chunks are missing I haven't exactly figured out how to

[Sugar-devel] [karma] merged jkjs-refactor branch w/ master

2009-11-20 Thread Bryan Berry
I have refactored the karma library entirely w/ unit testing and some architectural changes. Today i merged the refactored branch w/ master You can check out the QUnit tests here: http://karma.sugarlabs.org/tests/ still some failures ;) mostly due to setTimeout producing different results when

[Sugar-devel] [Karma] possible to meet soon to discuss new karma.js?

2009-11-19 Thread Bryan Berry
I have refactored jquery.karma.js into karma.js and am now changing adding_up to use it. Will u have time soon for us to talk and discuss it? I have made a lot of changes that I want to discuss w/ u -- Bryan W. Berry Senior Engineer OLE Nepal, http://www.olenepal.org

Re: [Sugar-devel] [Karma] possible to meet soon to discuss new karma.js?

2009-11-19 Thread Felipe López Toledo
I'm online, why not now? 2009/11/19 Bryan Berry br...@olenepal.org I have refactored jquery.karma.js into karma.js and am now changing adding_up to use it. Will u have time soon for us to talk and discuss it? I have made a lot of changes that I want to discuss w/ u -- Bryan W. Berry

[Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
Hey subzero, Do you know when does an audio element created w/ new Audio() emit the onload event? It doesn't emit that event at the same time that a new Image() does. I need a way to throw an error to the user if the audio file isn't accessible. I do this for the images and it works quite well.

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Felipe López Toledo
hi man It doesn't emit that event at the same time that a new Image() does. I need a way to throw an error to the user if the audio file isn't accessible. I do this for the images and it works quite well. I have used load and error and others events for new Image and new Audio and it seems

Re: [Sugar-devel] karma

2009-11-18 Thread Erik Garrison
On Tue, Nov 17, 2009 at 6:09 PM, Bryan Berry br...@olenepal.org wrote: looks great! I haven't had a chance to look at the code but it looks quite nice. It works for me on firefox 3.7 and 3.5 but for whatever reason chrome distorts the svg after i pick the correct state. I suspect any webkit

Re: [Sugar-devel] karma

2009-11-18 Thread Bryan Berry
On Wed, 2009-11-18 at 15:32 -0500, Erik Garrison wrote: On Tue, Nov 17, 2009 at 6:09 PM, Bryan Berry br...@olenepal.org wrote: looks great! I haven't had a chance to look at the code but it looks quite nice. It works for me on firefox 3.7 and 3.5 but for whatever reason chrome distorts the

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but works fine on FF 3.5. I need to go complain about that. http://karma-testing.sugarlabs.org/tests/index.html I add to put this code here

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Lucian Branescu
The codec might be the issue. Afaik chromium has no codecs. Try Chrome, although I'm not sure it has vorbis either. 2009/11/18 Bryan Berry br...@olenepal.org: I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Bryan Berry
it works when the ogg files are local just not when they are remote. It is a known bug in chromium On Wed, 2009-11-18 at 22:20 +, Lucian Branescu wrote: The codec might be the issue. Afaik chromium has no codecs. Try Chrome, although I'm not sure it has vorbis either. 2009/11/18 Bryan

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Lucian Branescu
Oh, sorry about that then. 2009/11/18 Bryan Berry br...@olenepal.org: it works when the ogg files are local just not when they are remote. It is a known bug in chromium On Wed, 2009-11-18 at 22:20 +, Lucian Branescu wrote: The codec might be the issue. Afaik chromium has no codecs. Try

Re: [Sugar-devel] [karma] when does an audio element created w/ new Audio() emit the onload event?

2009-11-18 Thread Felipe López Toledo
2009/11/18 Bryan Berry br...@olenepal.org I was just playing around w/ it and I found the media.load() method loading audio remotely still doesn't work on chromium -- argh but works fine on FF 3.5. I need to go complain about that. mmm, interesting, what version/os are u using? I have tested

Re: [Sugar-devel] karma

2009-11-17 Thread Erik Garrison
Okay, here you go: http://git.sugarlabs.org/projects/karma/repos/erikg-karma/commits/d352293fa9073b10deaaa6cdb55232c20665db7d Thoughts welcome. Please merge into the mainline examples if it seems appropriate. Otherwise I can break it off into its own activity. The amount of work was minimal,

Re: [Sugar-devel] karma

2009-11-17 Thread Erik Garrison
Also, if you are reading and don't have git but want to try it out, you can at http://hypervolu.me/~erik/Know-USA/ On Tue, Nov 17, 2009 at 3:30 PM, Erik Garrison erik.garri...@gmail.com wrote: Okay, here you go:

Re: [Sugar-devel] karma

2009-11-17 Thread Bryan Berry
looks great! I haven't had a chance to look at the code but it looks quite nice. It works for me on firefox 3.7 and 3.5 but for whatever reason chrome distorts the svg after i pick the correct state. I suspect any webkit browser suffers the same problem. I have been meaning to submit a bug report

[Sugar-devel] [Karma] changing karma.run( callback) to karma.ready( callback )

2009-11-10 Thread Bryan Berry
hey guys, lucian tks for the great suggestion of karma.run() instead karma.main(). But thinking further I think that karma.ready ( callback ) would be even more intuitive -- Bryan W. Berry Senior Engineer OLE Nepal, http://www.olenepal.org ___

Re: [Sugar-devel] [Karma] changing karma.run( callback) to karma.ready( callback )

2009-11-10 Thread Lucian Branescu
You could take it even further and do karma.ready = callback or karma.onReady = callback. 2009/11/10 Bryan Berry br...@olenepal.org: hey guys, lucian tks for the great suggestion of karma.run() instead karma.main(). But thinking further I think that karma.ready ( callback ) would be even

Re: [Sugar-devel] [Karma] questions about jquery.karma.js

2009-11-07 Thread Bryan Berry
On Sat, 2009-11-07 at 18:45 -0600, Felipe López Toledo wrote: That works for me. How about Sunday before 11 am EST? 11 am EST = 11 am UTC-5 = 10 am México ok :) great! see u then -- Bryan W. Berry Senior Engineer OLE Nepal, http://www.olenepal.org

Re: [Sugar-devel] [Karma] questions about jquery.karma.js

2009-11-05 Thread Felipe López Toledo
hi! 2009/11/4 Bryan Berry br...@olenepal.org I am refactoring jquery.karma.js using test-driven development. I think you did a great job in writing it in the first place, but I am far to lazy to manually test out the entire library every time I make a change. interesting, +1 to use

Re: [Sugar-devel] [Karma] questions about jquery.karma.js

2009-11-04 Thread Bryan Berry
On Wed, 2009-11-04 at 08:36 +, Lucian Branescu wrote: There's one point I want to nitpick on, you can make karma usable with any library even if it uses jquery internally. Jquery is especially well suited for this since it the least invasive (it even injects just one object). That's a

[Sugar-devel] [Karma] questions about jquery.karma.js

2009-11-03 Thread Bryan Berry
I am refactoring jquery.karma.js using test-driven development. I think you did a great job in writing it in the first place, but I am far to lazy to manually test out the entire library every time I make a change. Reading through jquery.karma.js, I have some questions: --- the init function

[Sugar-devel] [Karma] KGroup class

2009-11-02 Thread Bryan Berry
Felipe, What is the purpose of the KGroup class? Can you give me an example of how I should use it? -- Bryan W. Berry Senior Engineer OLE Nepal, http://www.olenepal.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] karma

2009-11-01 Thread Bryan Berry
On Sat, 2009-10-31 at 16:05 -0400, Erik Garrison wrote: Is there an overview of the system's structure anywhere? If not I can write one as I read. Unless there are plans to radically change it soon. There isn't an up-to-date diagram. You can hold off on doing that as I was planning to do

Re: [Sugar-devel] karma

2009-11-01 Thread Bryan Berry
I recommend checking out http://www.carto.net/ which has a million more demonstrations of maps+svg+js than we could ever use On Sat, 2009-10-31 at 16:05 -0400, Erik Garrison wrote: On Sat, Oct 31, 2009 at 3:33 PM, Bryan Berry br...@olenepal.org wrote: do u mind if I fwd this msg to the

Re: [Sugar-devel] karma

2009-10-31 Thread Erik Garrison
On Sat, Oct 31, 2009 at 3:33 PM, Bryan Berry br...@olenepal.org wrote: do u mind if I fwd this msg to the sugar-devel mailing list? Just subscribed to sugar-devel@lists.sugarlabs.org, and CC'ing... On Sat, 2009-10-31 at 15:20 -0400, Erik Garrison wrote: This is a great idea.  I'm down. From

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-28 Thread Bryan Berry
On Tue, 2009-10-27 at 20:36 -0600, Felipe López Toledo wrote: 2009/10/19 Bryan Berry br...@olenepal.org On Mon, 2009-10-19 at 16:45 -0500, Felipe López Toledo wrote: I have been figuring how to produce the full jsdoc documentation, but I haven't had any luck,

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-27 Thread Felipe López Toledo
2009/10/19 Bryan Berry br...@olenepal.org On Mon, 2009-10-19 at 16:45 -0500, Felipe López Toledo wrote: I have been figuring how to produce the full jsdoc documentation, but I haven't had any luck, I have tried with @memberOf, @lends, @nameOf, and so on... argh, is there any problem u r

[Sugar-devel] [Karma] reviewing quadrilaterals code

2009-10-22 Thread Bryan Berry
roxan, here are some remarks that I think would be helpful. I would be happy to go over this mail on irc w/ u. For all the stuff I have remarked here I have pushed changes to git.sugarlabs.org ===Comments on body in index.html and general file-naming I highly recommend u set the !DOCTYPE

Re: [Sugar-devel] [Karma] reviewing quadrilaterals code

2009-10-22 Thread Bryan Berry
I fixed most of the css. take a look. I can walk u through how I did it. You want to use an image that u can draw on. That grid is supposed to hold an example for the student to model. that is how the original flash lesson works. On Fri, 2009-10-23 at 09:49 +0545, roshan karki wrote: I

Re: [Sugar-devel] [Karma] reviewing quadrilaterals code

2009-10-22 Thread roshan karki
Have you noticed, the instuction Make quadrilaterals on geo-board is overlapped by the grid and the next and previous button no longer works. On Fri, Oct 23, 2009 at 10:00 AM, Bryan Berry br...@olenepal.org wrote: I fixed most of the css. take a look. I can walk u through how I did it. You

[Sugar-devel] [Karma] Basic example of Conozco working

2009-10-21 Thread Bryan Berry
You can check it out here http://karma-testing.sugarlabs.org/Conozco-Uruguay/index.html It only works in Firefox 3.5. It kind of works in chromium but there is a weird SVG display bug in chromium This is just a small part of Conozco implemented using Karma and SVG. A few notes: * Writing the

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-19 Thread Bryan Berry
hey felipe, any luck w/ jsdocs? also, is KObject a subclass of Karma? On Wed, 2009-10-14 at 18:24 -0500, Felipe López Toledo wrote: Hi guys I realize that, unfortunately, JsDoc did not show all classes and methods documentation. Example: JsDoc produced documentation for KSound

[Sugar-devel] [Karma] creating a map of Uruguay w/ SVG

2009-10-19 Thread Bryan Berry
Hey Gabriel, I figured out how to add the cities as svg entities. I have a very crude sample working so far w/ one city here: http://github.com/bryanwb/Conozco-Uruguay/tree/svg-experiment here is the svg map i did, starting w/ just one capital

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-19 Thread Felipe López Toledo
I have been figuring how to produce the full jsdoc documentation, but I haven't had any luck, I have tried with @memberOf, @lends, @nameOf, and so on... 2009/10/14 Bryan Berry br...@olenepal.org On Wed, 2009-10-14 at 18:24 -0500, Felipe López Toledo wrote: I will try to fix it this weekend,

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-19 Thread Bryan Berry
On Mon, 2009-10-19 at 16:45 -0500, Felipe López Toledo wrote: I have been figuring how to produce the full jsdoc documentation, but I haven't had any luck, I have tried with @memberOf, @lends, @nameOf, and so on... argh, is there any problem u r having? then I could try as well. U could push

[Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-14 Thread Bryan Berry
I changed some of the basic stuff in jsdocs but I still need Felipe's help when he gets a chance. http://karma.sugarlabs.org/docs/ I got rid of the confusing Jquery-Anonymous- prefix that was in front of a lot of classes. I will take a look again at it tomorrow. Felipe, you used the @memberOf_

Re: [Sugar-devel] [Karma] updating jsdoc for Karma

2009-10-14 Thread Felipe López Toledo
Hi guys I realize that, unfortunately, JsDoc did not show all classes and methods documentation. Example: JsDoc produced documentation for KSound (constructor) but no its methods (play, pause, etc..) atm, If you want to read the full documentation you will need to read it from the code (js file)

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Bryan Berry
On Sun, 2009-10-11 at 11:26 -0200, Gabriel Eirea wrote: The problem I foresee is that you still need a way to describe the coordinates of cities and other points of interest and relate them to the svg coordinates, so that when you zoom in and out the objects are all in their corresponding

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Ze maria
Hello guys, graphics are not really 'my thing', but I'll have a look and see what i can do Cheers On Mon, Oct 12, 2009 at 6:20 PM, Bryan Berry br...@olenepal.org wrote: On Sun, 2009-10-11 at 11:26 -0200, Gabriel Eirea wrote: The problem I foresee is that you still need a way to describe the

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Ze maria
Using inkscape to convert the png file to SVG, it generates an SVG file which includes the png image: image xlink:href=fondo.png x=0 y=0 width=786 height=900 id=image2670 / The idea it to draw in the above SVG file ? On Mon, Oct 12, 2009 at 6:56 PM, Ze maria

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Bryan Berry
On Mon, 2009-10-12 at 19:17 +0100, Ze maria wrote: Using inkscape to convert the png file to SVG, it generates an SVG file which includes the png image: image xlink:href=fondo.png x=0 y=0 width=786 height=900 id=image2670 / The idea it to draw in the

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Bryan Berry
Looks ok to me but I am no expert. Did u use edge detection in inkscape? On Mon, 2009-10-12 at 19:33 +0100, Ze maria wrote: Hello again guys, I tried several times converting the png to svg (without embedding the png file) and results were awful... I just tried vectormagic.com (Stanford univ)

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Bryan Berry
Ze, the svg attached to this email appears to be blank On Mon, 2009-10-12 at 19:54 +0100, Ze maria wrote: Guys, I opted to use Multiples scans (creates a group of paths) instead of 'Edge detection', the result seems better, any ideas ? On Mon, Oct 12, 2009 at 7:41 PM, Bryan Berry

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Ze maria
You re right, actually it has a hard link to the png: sodipodi:absref=/Users/zemariamm/Desktop/olenepal/work/ConozcoUruguay.activity/imagenes/fondo.png It's not converting the still image to svg statements On Mon, Oct 12, 2009 at 11:46 PM, Bryan Berry br...@olenepal.org wrote: Ze, the

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-12 Thread Ze maria
Hello again guys, I've been playing with inkscape fow a while, after importing the png using any of the options (located under Path - Trace Bitmap) in Single Scan: creates a path the software really converts the image file to a SVG (using path to draw it), if I use Multiple scans: creates a group

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-11 Thread Gabriel Eirea
2009/10/10 Bryan Berry br...@olenepal.org: On Fri, 2009-10-09 at 10:11 -0200, Gabriel Eirea wrote: I agree with Bryan that it would be great to have svg from the start. I am not so familiar with creating svg's. I have only used inkscape for very basic drawings. Gabriel, do you think we

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-11 Thread Gary C Martin
Hi Folks, On 11 Oct 2009, at 14:26, Gabriel Eirea wrote: 2009/10/10 Bryan Berry br...@olenepal.org: On Fri, 2009-10-09 at 10:11 -0200, Gabriel Eirea wrote: I agree with Bryan that it would be great to have svg from the start. I am not so familiar with creating svg's. I have only used

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-11 Thread Tim McNamara
2009/10/12 Gabriel Eirea gei...@gmail.com 2009/10/10 Bryan Berry br...@olenepal.org: On Fri, 2009-10-09 at 10:11 -0200, Gabriel Eirea wrote: Gabriel, do you think we could use Inkscape to accomplish this? Yes, I think Inkscape is the right tool. I believe you can also take the bitmap and

[Sugar-devel] [Karma] Karma-starter package was Re: [Karma] Re: Conozco Uruguay in karma

2009-10-09 Thread Bryan Berry
Hey Ze, I have realized that cloning the whole Karma repo is quite confusing to new people. I have created the karma-starter package that should make it easier to create a stand-alone lesson: http://git.sugarlabs.org/projects/karma-starter/repos/mainline On Fri, 2009-10-09 at 10:35 +0545, Bryan

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-09 Thread Gabriel Eirea
Hi, This is extremely cool. I agree with Bryan that it would be great to have svg from the start. I used a fixed bitmap image and then it became very difficult for scaling. Now I'm working in zoomed-in versions for very local information, and I need to draw a new map for each one of the zones.

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-09 Thread Ze maria
Hello guys, Well I used fixed coordinates because that's the way it was done in the original Conozco Urugay (see datos/ciudades.txt) Gabriel, if you need help I translating think I can give you hand, I don't no much about spanish but portuguese is my mother language and they are not that

Re: [Sugar-devel] [Karma] Karma-starter package was Re: [Karma] Re: Conozco Uruguay in karma

2009-10-09 Thread Ze maria
Great!I've added the missing JS to the github project (as you did), so checking out that project should be enough for it to run. I'll make the jquery changes as soon as possible Take care, Ze Maria On Fri, Oct 9, 2009 at 7:51 AM, Bryan Berry br...@olenepal.org wrote: Hey Ze, I have realized

Re: [Sugar-devel] [Karma] Re: Conozco Uruguay in karma

2009-10-09 Thread Bryan Berry
On Fri, 2009-10-09 at 10:11 -0200, Gabriel Eirea wrote: Hi, This is extremely cool. tks! I agree with Bryan that it would be great to have svg from the start. I am not so familiar with creating svg's. I have only used inkscape for very basic drawings. Gabriel, do you think we could use

[Sugar-devel] [Karma] Re: Fwd: Conozco Uruguay in karma

2009-10-08 Thread Bryan Berry
On Thu, 2009-10-08 at 18:27 +0100, Ze maria wrote: Hello guys, I started a port of the activity Conozco Uruguay (available at http://activities.sugarlabs.org/en-US/sugar/addon/4199) from Python to the new Karma framework (downloaded from: http://git.sugarlabs.org/projects/karma). awesome!

Re: [Sugar-devel] [Karma] State of Chakra and knavbar

2009-10-02 Thread Bryan Berry
sorry i keep missing u on irc I have investigated using E4X for knavbar but unfortunately only firefox supports E4X. webkit doesn't and has no plans to. It does appear there are a couple other decent options I am playing with jqote and PURE http://aefxx.com/jquery-plugins/jqote/

Re: [Sugar-devel] [Karma] State of Chakra and knavbar

2009-10-01 Thread Bryan Berry
The bad news, E4X only works on firefox and isn't liked by them good news the PURE client-side js template engine comes highly recommended http://beebole.com/pure/ I will be playing w/ it later On Thu, 2009-10-01 at 09:10 +0100, Pavel Mocan wrote: On 10/1/09, Bryan Berry br...@olenepal.org

Re: [Sugar-devel] [Karma] State of Chakra and knavbar

2009-09-30 Thread Bryan Berry
Pavel, KCD (Christoph), Felipe, sorry i haven't been very active this week. Pls blame it on Nepal's festival season and the fact that I was sick earlier this week. I will take a look at the code today. KCD, did you ever convert knavbar to E4X? Pavel, I have put my comments in line w/ yours On

[Sugar-devel] [Karma] State of Chakra and knavbar

2009-09-25 Thread Christoph Derndorfer
Since today is my last day here in the OLE Nepal offices I spent time finishing up some work on Chakra and knavbar. So here are my thoughts on the current stage of things. Chakra: I'm generally quite happy how far we've come in the past few weeks (special thank again to Pavel for his

[Sugar-devel] [Karma] 640 px width? was Re: [Karma] Introduction, thanks and questions

2009-09-23 Thread Bryan Berry
christoph, does 640px for the width of chakra look ok on the XO? On Thu, 2009-09-24 at 00:42 +0545, Christoph Derndorfer wrote: Roshan karki schrieb: 2) Can you please make the thumbnails 2X2 instead of 1X4 @Roshan: I'm not sure what you mean by this... :-? I mean putting four

Re: [Sugar-devel] [Karma] 640 px width? was Re: [Karma] Introduction, thanks and questions

2009-09-23 Thread roshan karki
It didn't looked ok. On Thu, Sep 24, 2009 at 6:24 AM, Bryan Berry br...@olenepal.org wrote: christoph, does 640px for the width of chakra look ok on the XO? On Thu, 2009-09-24 at 00:42 +0545, Christoph Derndorfer wrote: Roshan karki schrieb: 2) Can you please make the thumbnails 2X2

Re: [Sugar-devel] [Karma] 640 px width? was Re: [Karma] Introduction, thanks and questions

2009-09-23 Thread Bryan Berry
On Thu, 2009-09-24 at 08:13 +0500, roshan karki wrote: It didn't looked ok. u mean, it looked bad? On Thu, Sep 24, 2009 at 6:24 AM, Bryan Berry br...@olenepal.org wrote: christoph, does 640px for the width of chakra look ok on the XO? On Thu, 2009-09-24 at

[Sugar-devel] [Karma] total file size of dependencies for dojox.gfx

2009-09-22 Thread Bryan Berry
These are the dependencies I had for a basic demo of dojox.gfx 84K dojo/dojo.js 12K dojox/gfx.js 16K dojox/gfx/svg.js 12K dojox/gfx/shape.js 8.0Kdojox/gfx/path.js 132Ktotal to use the entire library, it should be about 190kb and this is excluding the silverlight, canvas,

[Sugar-devel] [Karma] comparing dojo.gfx and raphaeljs

2009-09-22 Thread Bryan Berry
Subzero, Here is an interesting article comparing the two: http://www.lrbabe.com/?p=217 The author makes some points: * the libraries have about equivalent functionality * dojox.gfx is about twice the size as raphaeljs * Animation isn't in dojox.gfx but another module, fx I think I read

[Sugar-devel] [Karma] Great intro video to html5

2009-09-22 Thread Bryan Berry
http://vimeo.com/6691519 really, the best intro to html5 and related technologies that I have come across -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

[Sugar-devel] [Karma] agenda for tomorrow's

2009-09-21 Thread Bryan Berry
Hey guys, here is the meeting agenda I have come up w/ Feel free to change it http://wiki.sugarlabs.org/go/Karma:Meeting_21_Sep_2009 -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org ___ Sugar-devel mailing list

[Sugar-devel] [Karma] http://www.thatquiz.org

2009-09-21 Thread Tomeu Vizoso
Hi, a reader in olpc-sur is suggesting the Karma team to give a look to http://www.thatquiz.org. Just downloaded a page and seems to run well offline. The author is Andrew Lyczak who worked as a teacher in rural Nepal: http://www.lyczak.com/andrew/resume/resume.html Regards, Tomeu -- «Sugar

[Sugar-devel] [Karma] raphaeljs more active than we thought

2009-09-21 Thread Bryan Berry
raphaeljs is actually a lot more active than we thought. Most of the commits happend on 1.0 branch and not master. http://github.com/DmitryBaranovskiy/raphael/commits/1.0 unfortunately, it still appears that all commits have been made by one author :( i am working my way thru the reference

Re: [Sugar-devel] [Karma] impressed by SVGWeb, so far

2009-09-21 Thread Bryan Berry
On Mon, 2009-09-21 at 17:41 +0545, Bryan Berry wrote: I haven't done a example animation w/ svgweb yet but color me impressed! hm, the more I look at it the more it seems that the svg web project page shows off the power of regular svg and doesn't provide high-level drawing functions like

Re: [Sugar-devel] [Karma] http://www.thatquiz.org

2009-09-21 Thread Bryan Berry
On Mon, 2009-09-21 at 10:55 +0200, Tomeu Vizoso wrote: Hi, a reader in olpc-sur is suggesting the Karma team to give a look to http://www.thatquiz.org. Just downloaded a page and seems to run well offline. The author is Andrew Lyczak who worked as a teacher in rural Nepal:

Re: [Sugar-devel] [Karma] http://www.thatquiz.org

2009-09-21 Thread Tomeu Vizoso
On Mon, Sep 21, 2009 at 16:25, Bryan Berry br...@olenepal.org wrote: On Mon, 2009-09-21 at 10:55 +0200, Tomeu Vizoso wrote: Hi, a reader in olpc-sur is suggesting the Karma team to give a look to http://www.thatquiz.org. Just downloaded a page and seems to run well offline. The author is

Re: [Sugar-devel] [Karma] http://www.thatquiz.org

2009-09-21 Thread Bryan Berry
On Mon, 2009-09-21 at 16:29 +0200, Tomeu Vizoso wrote: On Mon, Sep 21, 2009 at 16:25, Bryan Berry br...@olenepal.org wrote: On Mon, 2009-09-21 at 10:55 +0200, Tomeu Vizoso wrote: Hi, a reader in olpc-sur is suggesting the Karma team to give a look to http://www.thatquiz.org. Just

Re: [Sugar-devel] [Karma] raphaeljs more active than we thought

2009-09-21 Thread Felipe López Toledo
this is the official dojo.gfx documentation: http://docs.dojocampus.org/dojox/ghttp://docs.dojocampus.org/dojox/gfx/#id25 fx I have not found a great great tutorial, but here are some examples: http://download.dojotoolkit.org/release-1.0.2/dojo-release-1.0.2/dojox/gfx/demos/circles.html

Re: [Sugar-devel] [Karma] impressed by SVGWeb, so far

2009-09-21 Thread S Page
hm, the more I look at it the more it seems that the svg web project page shows off the power of regular svg ... svg-web is perhaps more focused on cross-browser support. Yes. My understanding is svg-web is mostly a hack to wrap the XML of SVG in a script tag so that the script can make it

Re: [Sugar-devel] [Karma] thinking about knavbar

2009-09-21 Thread roshan karki
Hi, The pages and code looks clean now. Thank you very much. I think I found few bugs there. Please correct me if I am wrong. 1) In http://www.mpavel.ro/projects/Karma/chakra/grade1english.html I can see 5to8 9to12 13to16 17to20 21to24 25to28 29to32 33to36 37to40 41to44 45to48 49to52 in the end

[Sugar-devel] [Karma] using svg together w/ k.library.images

2009-09-21 Thread Bryan Berry
It works fine, here is the code I had to add index.html script src=raphael.js/script div id=holder /div lesson.js var r = Raphael(holder, 100, 120); r.image(k.library.images[ball].src, 0, 0, 100, 120); It works nicely except for the fact u have to append .src to images[name] in

Re: [Sugar-devel] [Karma] impressed by SVGWeb, so far

2009-09-21 Thread Bryan Berry
On Mon, 2009-09-21 at 19:34 -0700, S Page wrote: hm, the more I look at it the more it seems that the svg web project page shows off the power of regular svg ... svg-web is perhaps more focused on cross-browser support. Yes. My understanding is svg-web is mostly a hack to wrap the XML

Re: [Sugar-devel] [Karma] http://www.thatquiz.org

2009-09-21 Thread Bryan Berry
I have communicated w/ him and unfortunately he is looking to make a business out of thatquiz.org and will not be open-sourcing it :S -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org ___ Sugar-devel mailing list

Re: [Sugar-devel] [Karma] thinking about knavbar

2009-09-19 Thread Bryan Berry
Pavel ji, shall I merge your code in myself or would u like me to walk u through how to do it w/ git? I should be at @sugar for most of today btw Pavel ji means Pavel sir in Nepali ;) On Sun, 2009-09-20 at 04:37 +0100, Pavel Mocan wrote: New update for Karma CSS and HTML. Live at

Re: [Sugar-devel] [Karma] thinking about knavbar

2009-09-19 Thread Bryan Berry
On Sun, 2009-09-20 at 04:37 +0100, Pavel Mocan wrote: New update for Karma CSS and HTML. Live at www.mpavel.ro/projects/Karma/ I had to change quite a lot of the HTML as it was not using the HTML5 syntax. This way the source code brings more semantic to the whole document and the structure

Re: [Sugar-devel] [Karma] thinking about knavbar

2009-09-19 Thread Bryan Berry
http://edward.oconnor.cx/2009/09/using-the-html5-sectioning-elements This blog post has a great example of how to use html5 tags in a semantically meaningful way. On Sun, 2009-09-20 at 04:37 +0100, Pavel Mocan wrote: New update for Karma CSS and HTML. Live at www.mpavel.ro/projects/Karma/

[Sugar-devel] [Karma] i18n options

2009-09-17 Thread Bryan Berry
I am procrastinating learning object-oriented javascript by thinking about different i18n options for karma Here are just a few of the key requirements for i18n in karma 1. Support inline text in the html divThis text should be captured/div 2. Support in code translation

[Sugar-devel] [Karma] bug or not bug?

2009-09-17 Thread Bryan Berry
I see u reverted a change I made in j.k.js http://git.sugarlabs.org/projects/karma/repos/mainline/blobs/master/js% 2Fjquery.karma.js 698- height || this.canvas.height 698+ height || this.canvas.width earlier it read height || this.canvas.width and i changed it to height || this.canvas.height

Re: [Sugar-devel] [Karma] bug or not bug?

2009-09-17 Thread Felipe López Toledo
somehow, I should have overwritten your file :S I'll be more careful from now on this is the correct version: height || this.canvas.height I'm seeing your last version with mine to check if there is other bug 2009/9/9 Bryan Berry br...@olenepal.org I see u reverted a change I made in

[Sugar-devel] [Karma] let's stick w/ Javascript 1.6

2009-09-16 Thread Bryan Berry
Felipe, I noticed that you said we are using Javascript 1.8 for Karma. I strongly recommend that we stick w/ Javascript 1.6 or even 1.5 Only Firefox supports Js 1.8. Chrome does not and Safari does not. Chrome does seem to support some aspects of Js 1.8 like map(), filter() , some(),

[Sugar-devel] [Karma] Meeting agenda for meeting tomorrow

2009-09-14 Thread Bryan Berry
http://wiki.sugarlabs.org/go/Karma:Meeting_14_Sep_2009 This is a tentative agenda i have put together. Pls add anything u think is needed. as always, our weekly meeting is Tuesday 02:15 UTC As KChristophD won't be here this week, we can move it up to 00:15 UTC if others prefer that -- Bryan

[Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Bryan Berry
Felipe, I changed id property for images, sounds, and surfaces to name instead. Did this to avoid confusion with an html element's ID attribute. I have changed adding_up to reflect this change -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org

  1   2   3   >