/srv/irclogs.ubuntu.com/2010/08/18/#ubuntu-sugarteam.txt

* lfaraone waves.02:50
=== bernie is now known as bernie_afk
kandarpkdfarning: good morning14:26
dfarningkandarpk, good morning14:26
kandarpkdfarning: did you see the screenshots I uploaded yesterday ?14:28
kandarpkhttp://www.mediafire.com/imageview.php?quickkey=2mbavapx11vh92q&thumb=514:28
dfarningkandarpk, yes, is it the activity you writing?14:30
kandarpkdfarning: yes.14:30
kandarpkdfarning: will it be useful ?14:30
kandarpkdfarning: any suggestion ?14:30
dfarningkandarpk, what does it do?  I did not catch most of you conversation with alsroot.14:31
kandarpkdfarning: it just provides the path of the module and its user interface with some description14:31
kandarpkmuch like the api documentation14:32
dfarningkandarpk, ahhh. very cool idea!  you are looking at the documentation problem from a different point of view.  That is an excellent problem solving method.  And may result in a interesting learning tool.14:35
kandarpkdfarning: I'll try to add the modules to the source on run time14:35
kandarpkdfarning: so that user clicks on a button to include a module, test it and click on another button to remove it from the source14:36
dfarningkandarpk, clever.14:36
kandarpkdfarning: so you feel it will help ?14:37
dfarningkandarpk, I am more impressed by your decision to re-approach the documentation problem from another angle:)  And yes, I can see how it could be useful to visually explore how the code fits together.14:43
=== bernie_afk is now known as bernie
kandarpkdfarning: hmmm, I would prefer watching the GUI a code provides and then exploring it than reading the modules any day.14:45
dfarningkandarpk, yep we all have perfered styles of learning and you figured out how to solve your problem using a style you feel comfortable with using:)14:47
kandarpkI'll be back in a moment.14:49
=== kandarpk_ is now known as kandarpk
manusheelkandarpk: Hi Kandarp.15:08
manusheelAround?15:08
kandarpkmanusheel sir: hello sir15:08
manusheelkandarpk: How are things coming along in reference to activity development?15:08
manusheelkandarpk: Any help required?15:09
kandarpkmanusheel sir: I am going through the graphics module15:09
manusheelkandarpk: Did see the screenshot yesterday. Was neat.15:09
manusheelkandarpk: Great.15:09
kandarpkwill try to add some GUI tools from it today15:09
manusheelkandarpk: Sure, Kandarp.15:11
kandarpkmanusheel sir: I am a bit worried that the activity might be redundant/ repetitive15:12
kandarpkmanusheel sir: it is very similar to the API documentation we are doing15:13
manusheelkandarpk: This is where we need to bring in a fresh perspective15:14
manusheelkandarpk: If we are doing the same thing that is written at API documentation, then it is not a good idea.15:15
kandarpkmanusheel sir: hmmm15:15
manusheelkandarp: What we need to do is define a layer of presentation and information definition layer that helps the developers understand things uniquely and precisely.15:16
manusheelkandarpk: There is a common problem. A number of developers don't read documentation well. For them, this is a good point.15:17
kandarpkmanusheel sir: Ok.15:18
manusheelkandarpk: Try and think on the lines on how you'll present information.15:19
manusheelThat is the key.15:19
kandarpkmanusheel sir: I'll try to dynamically add the features developers might want to use into their applications.15:20
manusheelkandarpk: Can you elaborate?15:23
kandarpkmanusheel sir: we are presenting the graphical features sugar already has.15:23
kandarpkmanusheel sir: if someone wants to add that module into one's activity, he should be able to add it by somehow dragging it or maybe clicking a button or some other means15:24
kandarpkmanusheel sir: during activity development15:25
manusheelkandarpk: All the parts are good.15:26
manusheelkandarpk: Except, the last two points.15:27
manusheelkandarpk: Our idea is not to have developers use modules by dragging or clicking a button. If we are talking about developers, they'll never do that.15:27
manusheelkandarpk: Our idea is to keep the focus where it should be.15:28
kandarpkmanusheel sir: Ok.15:28
manusheelkandarpk: That is, get them familiar with tools and modules, and arrive at a set of examples, which illustrate the use-case.15:28
kandarpkmanusheel sir: +1.15:29
kandarpkgot your point.15:29
manusheelalsroot: Hi Aleksey. Around?15:30
alsrootmanusheel: yup15:30
manusheelalsroot: Where can I find the codebase of a.s.l.o?15:30
manusheelalsroot: Is it at LP?15:31
alsrootmanusheel: http://git.sugarlabs.org/projects/slo-activities15:31
manusheelalsroot: Great. Thank you.15:31
manusheelalsroot: One question. Our plan is to rebase to django as we discussed sometime earlier. Have we arrived at a spec to understand what kind of issues, we'll face while doing this shift to django?15:32
alsrootmanusheel: at first you cat `git diff` master branch w/ "upstream" (which is pristine AMO code), but it will be php code..15:34
alsroot*can15:34
alsrootmanusheel: at the end, the major idea is: let users upload .xo/.xol files15:36
manusheelalsroot: Thank you for the pointer.15:38
alsrootmanusheel: ASLO patch could look not trivial and it is in php (not sure how it will be useful to port it), maybe more useful might be just reimplement ASLO patch in Django, good start might be just support .xo/.xol uploading, later I will inspect php patch for other features I implemented there15:38
manusheelalsroot: We do have a strong in-house expertise in cakephp and php in general. Infact, I would like the php developers to have a look at this part. We'll surely see how re-implementation in django could be achieved, and how it could be made easier overtime.15:41
alsrootmanusheel: let me know if you need machine to testing, there are http://activities-devel.sugarlabs.org/ for devel code and http://activities-testing.sugarlabs.org/ for pre-relase testing15:45
manusheelalsroot: Thank you for the links. Sure, will let you know. We are trying to gain familiarity with a.s.l.o has been implemented.15:48
manusheelDo we have documentation available on it?15:48
alsrootmanusheel: there is only install docs http://wiki.sugarlabs.org/go/Activity_Library/Devel/Installing15:49
alsrootit could be outdated, ping me if it doesn't work15:50
manusheelalsroot: Ok, sure. Any other resource on a.s.l.o development that you would like us to look into?15:51
alsrootmanusheel: in fact, I used only https://wiki.mozilla.org/Update:Remora15:52
manusheelalsroot: Ok, neat.15:54
alsrootmanusheel: just to let you know, I got that keeping binaries on ASLO is a painful thing, AMO support separating uploaded files to OS/arch but it doesn't work in GNU/Linux world, i.e. ABI for the same app could be different per GNU/Linux (and even per the same distro release). So, I'm implementing bazaar.sl.o which is patched opensuse OBS to handle all building/files related stuff. I think it16:00
alsrootwould be useful to not separate ASLO uploads per SO/arch (since it not so useful), later it could be patched to support files from bazaar16:00
alsrootmanusheel: in current ASLO patch, uploads are separated only by SP16:03
manusheelalsroot: Thanks a lot for these pointers. Very helpful indeed.16:15
kandarpkalsroot: Hi.16:20
alsrootkandarpk: hi16:21
kandarpkalsroot: I went through activity.activity.py and feel that it wont be possible to represent all the modules graphically16:22
kandarpk*most of the modules16:22
kandarpkalsroot: can you please provide some guidance on how to write an activity by which people starting with sugar could learn the initial steps involved16:23
kandarpkin writing an activity16:23
alsrootkandarpk: well, it's hard to say, at least what James Simmons did (http://en.flossmanuals.net/ActivitiesGuideSugar) is a regular way (in my mind) i.e. writing HOTO16:25
kandarpkalsroot: I was thinking of introducing modules by an activity16:26
alsrootkandarpk: you can also follow hello-world and hello-mesh activities, i.e. creating a template of activity for different purposes16:27
kandarpkalsroot: something which could step by step include various modules and side by side show how the activity is progressing16:27
alsrootkandarpk: well in that case I don't have any ideas..16:28
kandarpkalsroot: ok, I'll try writing it and will ask if I get stuck at some point.16:30
dipankarprint 'Hello World!'16:37
dipankaralsroot, hello, good morning16:37
alsrootdipankar: morning16:38
dipankaralsroot, I was going through the link that you provided for patching.16:38
dipankaralsroot, I am confused a bit.16:39
dipankaralsroot, can't quilt be used to make patches too?16:39
alsrootdipankar: idea is simple, just call something like `git send-email HEAD^1` to email you last commit16:41
alsroot*your16:41
alsrootdipankar: but you need to setup some info at first e.g. http://pastebin.org/573630 it is what I have in my ~/.gitconfig16:43
dipankaralsroot, ok. But the thing is, I am not cloning a git repo as such.16:46
alsrootdipankar: there is no need in special cloning, just regular local repo16:47
dipankaralsroot, ok16:48
dipankaralsroot, I will be right back in 20-30 minutes. Going for dinner16:48
* dipankar is away: Be Right Back16:48
kandarpkalsroot: when I add a button to a HBox, the button expands to fill the entire HBox.16:55
kandarpkalsroot: is there a way to specify the size of the button ?16:55
alsrootkandarpk: the regular workflow is not specifying exact sizes, but see http://library.gnome.org/devel/pygtk/stable/class-gtkbox.html#method-gtkbox--pack-start expand arguemnt16:56
kandarpkalsroot: I dont want to specify exact size, but some percent of the size of the HBox.17:02
kandarpkalsroot: how should I do that ?17:02
alsrootkandarpk: you need to call set_request_size() (see its doc) for your button, in that case button take exact (if there is space) w or h17:06
alsrootkandarpk: ..about my prev.prev. post, sorry, I meant not exact sizes but exact position, exact sizes is ok in gtk17:07
kandarpkalsroot: Ok, thanks.17:07
=== ankur is now known as ankur1
=== ankur1 is now known as ankur
ankurhi alsroot :)17:16
alsrootankur: hi17:16
ankurwill you be able to guide me now?17:18
ankuri wanted to work on the part that every little change in control panel should not require restart. so , i have zeroed on code segment which should be changes but i was not able to figure out in which changes i should make the change17:20
ankurso in what direction shall i move?17:20
ankuri was looking in files of control panel , like gui.py and others but what would be preferred method of working17:21
ankur?17:21
alsrootankur: so your idea is that pickup new control panel components on the fly? w/o restarting sugar17:27
alsrootankur: but control panel components are constant, I see only one use case - after upgrading sugar but in this case sugar should be restarted anyway17:31
kandarpkalsroot: is it possible to start some other activity from a running activity in sugar ?17:45
manusheelkandarpk: I would like you to find the answer to this question by yourself. Will help from a design perspective.17:48
kandarpkmanusheel sir: ok.17:49
kandarpkit seems quite similar to what ankur asked just now.17:49
alsrootkandarpk: didn't do it by myself, but in theory sugar-launch should be used17:50
dipankaralsroot, I am back :)17:50
dipankaralsroot, so whether I have cloned the repo or not, I should use the git send-mail HEAD^117:51
kandarpkalsroot: thanks :)17:52
manusheelkandarpk: Sure.17:52
alsrootdipankar: I meant, you need clone repo, it is regular patching worflow17:52
ankuralsroot, i think i was not clear in my question , what i was trying to ask that like if i change my name in control panel , then it should not require restart.What i figured out that there is a variable called needs_restart which needs to be changed from ture to false but in which cases doing it be feasible.How can i go checking about this?17:52
ankurlike to be fool proof that there will be no other technical complication ? is there a standard way of operating?17:53
dipankaralsroot, ok.17:53
ankur*full proof17:54
ankurrather than fool :P17:54
dipankaralsroot, but I learned a new method 'quilt' for patching purposes in Ubuntu.17:54
alsrootankur: need to see sources, if changing user name might be processed w/o restarting...17:56
alsrootdipankar: is quilt git based17:56
dipankaralsroot, I think no. neeraj showed me today how to make patches with quilt and he did not use git at all.17:57
alsrootdipankar: well, regular SL patching workflow is attaching patches to bugs.sl.o ticket or (afaik) send them via "git send-email" command17:58
dipankaralsroot, ohk. Now I get it.17:59
dipankaralsroot, this is for send the patch directly though email?17:59
dipankaralsroot, also I am still not getting the option to 'attach a file' at bugs.sl.o :(18:00
alsrootdipankar: yup, to sugar-devel@ w/ CCing to maintainers18:00
alsrootdipankar: btw, if you still can't attach patches to bugs.sl.o, email to systems@ or sugar-devel@, I didn't get how silbe is approving new submitters18:00
dipankaralsroot, ohk. I am sorry, but can you please provide me the full e-mail addresses?18:02
dipankar* systems@sugarlabs.org? *sugar-devel@sugarlabs.org?18:02
alsrootdipankar: systems@lists.sugarlabs.org (but I guess you need to approved once more:), or better just to sugar-devel@sugarlabs.org18:03
alsroot*to be18:03
* alsroot don't know what silbe's email is (he has bunch of them and I'm not sure if will get arrived email :)18:04
alsroot*he18:04
dipankaralsroot, yeah. My emails are not approved at the first mail-list-server.18:04
manusheeldipankar: Use Sascha Silbe <silbe@sugarlabs.org>18:06
dipankarmanusheel, ok sir.18:06
dipankarmanusheel, but I am a bit confused again. What process shall I follow?18:06
dipankarmanusheel, alsroot : please correct me if I am wrong below:18:07
dipankar1. make the patch18:07
dipankar(i.e. change the source code)18:07
dipankar2. commit the changes18:07
alsrootankur: if we are talking about not restarting sugar after changing user name, I not sure if it is possible (at then end developer who code this component knows more about it, better to ping him, use `git annotate` for source file to see who created last change)18:07
alsrootdipankar: right18:08
dipankar3. use 'git send-email HEAD^1' to send email. (doubt: But to whom :(, there are so many emails now!)18:08
alsrootdipankar: there are --to and --cc git arguemnts (so, "to" sugar-devel and "cc" to maintianers)18:10
ankuralsroot,  looking into it :) , also if i try to not change code and see that without restarting if the changes are being implemented , then will it be fine as a change?18:10
alsrootdipankar: or ping silbe to approve yourself on bugs.sl.o and attach patch produced byt `git format` to bugs.sl.o ticket18:10
dipankaralsroot, ^^ this is better option18:11
dipankar:)18:11
* dipankar is going to #sugar18:11
dipankaralsroot, btw where can I find silbe?18:12
dipankar:P18:12
alsrootdipankar: he is not in irc last time, so only via email18:12
dipankaralsroot, ohk18:13
alsrootankur: sorry, could you rephrase18:13
dipankaralsroot, I am working on the git format first.18:13
ankuri was saying, that if i change needs_restart variable of like say name changing in control panel and then check that if it reflects changes name even if i do not make it restart  by making some changes in source code, then will it be fine? here name was just an example.18:16
alsrootankur: not sure, it will affect only some parts of running sugar, but there is also eg dbus service - PresenceServer and it should be restarted as well18:20
alsroot*PresenceService18:20
=== neeraj_ is now known as neeraj
ankuralsroot,  oh right , then i think asking the end developer at that time is the best option :)18:21
dipankaralsroot, the command 'git send-email' is not working. Its always saying command not found.18:26
dipankaralsroot, I have done the git format-patch HEAD^1 to get the .patch in proper format already18:26
dipankarshall I send it via normal e-mail to silbe and other developers/maintainers?18:27
kandarpkalsroot: where should I look for info. regarding sugar-launch ?18:28
alsrootdipankar: if "git send-email" doesn't work, just send your patch to sugar-devel@18:29
alsrootkandarpk: just `sugar-launch -h`18:30
alsrootkandarpk: it takes bundle_id of activity as an arguemnt18:30
dipankaralsroot, ko18:31
kandarpkalsroot: how can I get to know the bundle_id ?18:34
alsrootkandarpk: see "bundle_id" option from activity/activity.info files18:34
alsroot..in activity directories18:34
kandarpkalsroot: Ok, thanks. :)18:35
dipankaralsroot, I tried sending the mail to sugar-devel@ but here the failure report: http://paste.ubuntu.com/480036/18:44
dipankarmanusheel, alsroot, please find an email I sent to you just now.18:45
alsrootdipankar: git your patch18:46
alsrootdipankar: btw, not sugar-devel@sunjammer.sugarlabs.org but sugar-devel@lists.sugarlabs.org18:46
dipankarok.18:46
dipankaralsroot, I am sorry, I didn't get you in 'git your patch'?18:46
alsrootdipankar: s/git/got/ :)18:47
dipankaralsroot, :)18:47
dipankaralsroot, here is their reply: http://paste.ubuntu.com/480040/18:49
dipankar:)18:49
alsrootdipankar: did you subscribe to sugar-devel@18:49
dipankaralsroot, I think I am subscribed to the mailing list18:51
alsrootdipankar: did you subscribe for same email as `git config user.email` is?18:53
dipankaralsroot, yeah18:53
dipankar*s/yeah/yes18:53
kandarpkmanusheel sir, alsroot : please see http://www.mediafire.com/imageview.php?quickkey=jnp9dbr95eadelz&thumb=518:54
alsrootdipankar: hmm, dunno them, you need to ask bernie then why your emailt to sugar-devel@ rejected18:54
kandarpkmanusheel sir: the plan here is to keep on adding modules and showing the outcome18:55
kandarpkmanusheel sir: I am able to launch an activity using the button.18:55
kandarpkalsroot: ^^18:56
dipankaralsroot, Let me cross check the mailing lists I am subcribed to18:56
alsrootkandarpk: doog18:57
kandarpkalsroot: is it opposite of good ?18:58
kandarpk;)18:58
alsroothmm.. four-finger misprint18:58
kandarpkalsroot: but I have a problem here18:59
kandarpkalsroot: I was thinking of creating various modules for each step and launch them19:00
kandarpkalsroot: but they all should reside under the same activity19:00
kandarpkalsroot: so, is it possible to pass some arguments to sugar-launch so that we can check which module to start with from the given activity ?19:01
kandarpkalsroot: or any other work around ?19:02
alsrootkandarpk: you can place modules for each step to separate directories and pass PYTHONPATH envar(with pointing to particular directory) to sugar-launch exec command19:03
manusheelkandarpk: Neat.19:03
kandarpkalsroot: Great. Thanks a lot.19:05
kandarpkthat should work19:05
* dipankar is off for the night19:21
manusheelkandarpk: Great.19:23
berniealsroot: the admin of sugar-devel@ is lfaraone20:32
* lfaraone hides.20:32
bernie;-)20:32
lfaraonefetching data for sugar-devel@lists.sugarlabs.org ... nothing in queue20:33
lfaraonealsroot: what can I do you for?20:33
alsrootlfaraone: dipankar's email to sugar-devel@ was rejected20:33
lfaraonealsroot: he needs to subscribe.20:34
alsrootlfaraone: he said he is (dipankar@seeta.in)20:34
lfaraonealsroot: what was the rejetion message?20:35
alsrootlfaraone: http://paste.ubuntu.com/480040/20:36
lfaraonealsroot: listadmin -l goes from dfarning, diliner, dirakx, to djihedlists20:37
lfaraoneso no dipankar.20:37
alsrootheh20:38
alsrootlfaraone: will let him know20:39
manusheelalsroot: Thanks for informing me. Will inform Dipankar.20:39
manusheelalsroot: Thanks.20:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!