Re: [Sugar-devel] Fwd: Regarding issues with soundcard in XO

2014-06-10 Thread Aneesh Dogra
Wow nice. This worked. I was using a Q7B26 firmware and now I have upgraded
to Q7B37 and the sound is back on :). Thanks a lot. Your help is greatly
appreciated.


On Tue, Jun 10, 2014 at 3:43 PM, James Cameron  wrote:

> Thanks.  This is interesting.
> On an XO-4 on my desk with 13.2.0-13 the ALSA device list is not empty.
>
> Perhaps your XO-4 has damage to the audio codec chip.  Or perhaps the
> firmware version is old.
>
> Please find the firmware version installed, and capture dmesg to a
> file, and attach the file to mail:
>
> echo $( dmesg | gzip > dmesg.txt.gz
>
> If the firmware version is earlier than Q7B37, upgrade to Q7B37 and
> test again.
>
> Instructions for upgrading firmware can be found here:
> http://wiki.laptop.org/go/Upgrading_firmware#Manual
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Fwd: Regarding issues with soundcard in XO

2014-06-10 Thread Aneesh Dogra
Adding the list and others.

-- Forwarded message --
From: Aneesh Dogra 
Date: Tue, Jun 10, 2014 at 2:21 PM
Subject: Re: [Sugar-devel] Regarding issues with soundcard in XO
To: James Cameron 


The kernel is now upgraded to 3.5.7_xo4-20140604.0345.olpc.a8976c9. But it
changes nothing, still can't find the soundcard or anything. I ran the
alsa-info script and am attaching the output, maybe this can help?

Thanks a lot for helping. Really appreciate your responses.


On Tue, Jun 10, 2014 at 8:34 AM, James Cameron  wrote:

> Thanks.  You are using an early test kernel from 2013-05-13.
>
> You have probably hit a known problem with the kernel audio driver.
> Several problems were fixed after that date.
>
> Please upgrade the kernel.  Start the Terminal activity and type this:
>
> sudo yum install -y kernel
>
> Then shutdown and reboot.  Check with uname -r that the kernel version
> has changed.  Then try to reproduce the problem.  Let me know how it goes.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Thanks
Aneesh Dogra (lionaneesh)



-- 
Thanks
Aneesh Dogra (lionaneesh)
upload=true&script=true&cardinfo=
!!
!!ALSA Information Script v 0.4.60
!!

!!Script ran on: Tue Jun 10 08:39:54 UTC 2014


!!Linux Distribution
!!--

OLPC release 13 (based on Fedora 18) NAME=Fedora ID=fedora PRETTY_NAME="Fedora 
18 (Spherical Cow)" CPE_NAME="cpe:/o:fedoraproject:fedora:18" OLPC release 13 
(based on Fedora 18) OLPC release 13 (based on Fedora 18)


!!DMI Information
!!---

Manufacturer:  
Product Name:  
Product Version:   


!!Kernel Information
!!--

Kernel release:3.5.7_xo4-20140604.0345.olpc.a8976c9
Operating System:  GNU/Linux
Architecture:  armv7l
Processor: armv7l
SMP Enabled:   No


!!ALSA Version
!!

Driver version: 1.0.25
Library version:
Utilities version:  1.0.26


!!Loaded ALSA modules
!!---



!!Sound Servers on this system
!!

Jack:
  Installed - Yes (/usr/bin/jackd)
  Running - No


!!Soundcards recognised by ALSA
!!-

--- no soundcards ---


!!PCI Soundcards installed in the system
!!--



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!



!!Loaded sound module options
!!--


!!ALSA Device nodes
!!-

crw-rw+ 1 root audio 116, 33 Jun 10 08:38 /dev/snd/timer


!!ALSA configuration files
!!

!!System wide config file (/etc/asound.conf)

#
# Place your global alsa-lib configuration here...
#


!!Aplay/Arecord output
!!

APLAY

aplay: device_list:256: no soundcards found...

ARECORD

arecord: device_list:256: no soundcards found...

!!Amixer output
!!-


!!Alsactl output
!!-

--startcollapse--
--endcollapse--


!!All Loaded Modules
!!--

Module
fuse
xt_tcpudp
mousedev
iptable_filter
ip_tables
x_tables
btmrvl_sdio
btmrvl
uinput
joydev
bluetooth
mwifiex_sdio
mwifiex
psmouse
mmp_camera
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
videobuf2_dma_sg
videobuf2_vmalloc
videobuf2_memops
videobuf2_core
zforce
ov7670


!!ALSA/HDA dmesg
!!--

[0.326410] pxa168fb_probe: 1
[0.326429] pxa168fb_gfx_probe: HDMI isr_clear_mask not been initialized!
[0.335492] MMIO start 0xd420b000, size 4096
--
 left 160 top 0
[0.363488] pxa168fb: frame buffer device was loaded to /dev/fb2 .
[0.367953] pxa688_hdmi_init_platform_driver
--
 left 160 top 0
[0.392223] pxa168fb_ovly: frame buffer device was loaded to /dev/fb3 .
[0.396126] mmp-tdma c0ffd800.adma: initialized
--
[3.057252] rtc_idt1338 4-0068: setting system clock to 2014-06-10 08:38:40 
UTC (1402389520)
[3.069491] ALSA device list:
[3.081300]   No soundcards found.
[3.089856] Freeing init memory: 244K


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


Re: [Sugar-devel] Regarding issues with soundcard in XO

2014-06-10 Thread Aneesh Dogra
On Mon, Jun 9, 2014 at 12:21 PM, James Cameron  wrote:

> Yes, the startup sound is entirely firmware mediated, so if it works
> it proves the speakers, CPU, and codec (if any) are working.
>
> The problem you describe sounds like software in origin.
>
> Can you please advise:
>
> 1.  what model of XO laptop?
>
>
Its an XO-4


> 2.  what operating system version?
>
> cat /boot/olpc_build
>
>
13.2.0 for XO-4 (build 6)


> 3.  what kernel version?
>
> uname -r
>
>
3.5.7_xo4-20130513.1254.olpc.265e8dd


> --
> James Cameron
> http://quozl.linux.org.au/
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Regarding issues with soundcard in XO

2014-06-08 Thread Aneesh Dogra
Hello guys,

I was trying to run TamTamEdit and Simple Music Keyboard on XO and am stuck
on this weird set of errors I am getting.

Some background:

I can hear the splash sound on the startup so the sound card is in place.
But as soon as I am in the sugarlabs environment, I cannot:

- change the sound volume using the widget
- open alsamixer: It says "mixer: no such file or directory"
- The log for the tamtam says that ALSA failed to find the sound card and
that somehow crashes the application.
- I tried using alsactl to init the soundcard but again gives the same
error. "Cannot find soundcard 0"

Do you have any insights on this? Apparently the soundcard is not properly
configured and I have no idea how to go about fixing this problem. Any help
would be greatly appreciated.
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] errors on commit to git hub from Pootle

2013-06-24 Thread Aneesh Dogra
> Failed to commit file: [GIT] push of
>> ('/var/lib/pootle/checkouts/glucose/sugar', 'po/en_US.po') failed: To
>> g...@github.com:sugarlabs/sugar.git ! [rejected] master -> master
>> (non-fast-forward) error: failed to push some refs to 
>> 'g...@github.com:sugarlabs/sugar.git'
>> To prevent you from losing history, non-fast-forward updates were rejected
>> Merge the remote changes before pushing again. See the 'Note about
>> fast-forwards' section of 'git push --help' for details.
>>
>>
>> cjl
>>
>
One possibility is that your copy of the repo is running behind the
upstream. You can try to rebase (git rebase) and then push.

-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Request to get maintainer + release rights on an inactive activity

2013-06-08 Thread Aneesh Dogra
Just checked. I don't have access to make releases. Could you please re-add
me?


On Mon, May 27, 2013 at 8:47 PM, Walter Bender wrote:

> On Mon, May 27, 2013 at 11:14 AM, Walter Bender 
> wrote:
> > I think I can add you to the activity on ASLO, which means you should
> > be able to upload new versions.
>
> done.
> >
> > -walter
> >
> > On Mon, May 27, 2013 at 10:46 AM, Aneesh Dogra 
> wrote:
> >> Ping again! Sorry, I almost lost track of this thread. I should have
> >> reminded you guys much earlier.
> >>
> >>
> >> On Sat, Feb 2, 2013 at 9:00 PM, Aneesh Dogra 
> wrote:
> >>>
> >>> Patches applied. Should work now!
> >>>
> >>>
> >>> On Sat, Feb 2, 2013 at 11:26 AM, Alan Jhonn Aguiar Schwyn
> >>>  wrote:
> >>>>
> >>>> Apply 0001
> >>>>
> >>>> Would a good apply 0002
> >>>>
> >>>> 
> >>>> Date: Fri, 1 Feb 2013 11:25:22 -0300
> >>>> From: gonz...@laptop.org
> >>>> To: lionane...@gmail.com
> >>>> CC: sugar-devel@lists.sugarlabs.org; garycmar...@googlemail.org;
> >>>> ber...@sugarlabs.org
> >>>> Subject: Re: [Sugar-devel] Request to get maintainer + release rights
> on
> >>>> an inactive activity
> >>>>
> >>>>
> >>>> Hi Aneesh,
> >>>> I cloned the repository, to look at the work you did and try the
> >>>> activity,
> >>>> but when I want run it, I have the following error:
> >>>>
> >>>> 1359728481.180127 DEBUG root: Activity.__canvas_map_cb
> >>>> Traceback (most recent call last):
> >>>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line
> 160,
> >>>> in 
> >>>> main()
> >>>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line
> 155,
> >>>> in main
> >>>> instance = create_activity_instance(activity_constructor,
> >>>> activity_handle)
> >>>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line
> 42,
> >>>> in create_activity_instance
> >>>> activity = constructor(handle)
> >>>>   File
> >>>>
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> >>>> line 772, in __init__
> >>>> self.chart.plotchart(True)
> >>>>   File
> >>>>
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> >>>> line 304, in plotchart
> >>>> self.plot_sky(newplot)
> >>>>   File
> >>>>
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> >>>> line 362, in plot_sky
> >>>> self.fill_names_combobox()
> >>>>   File
> >>>>
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> >>>> line 582, in fill_names_combobox
> >>>> if NUMBER_OF_CHOICES < 4:
> >>>> UnboundLocalError: local variable 'NUMBER_OF_CHOICES' referenced
> before
> >>>> assignment
> >>>>
> >>>> Can you check what is the problem?
> >>>> I am running it in F18, with sugar-build
> >>>>
> >>>> Gonzalo
> >>>>
> >>>> On Thu, Jan 10, 2013 at 3:56 PM, Aneesh Dogra 
> >>>> wrote:
> >>>>
> >>>> I have worked on the Costellation Flash Cards activity including
> >>>> enhancements: Cairo Port, Gtk3 Port, i18n Port and some fixes on how
> the
> >>>> points were handled.
> >>>>
> >>>> The new repository is located at
> >>>> http://git.sugarlabs.org/constellationsflashcards
> >>>>
> >>>> As the activity hasn't received any form of development since July 6,
> >>>> 2010, I would like to take over the maintainership to continue the
> >>>> development.
> >>>>
> >>>> I would also require admin rights for the activity on
> >>>> http://activities.sugarlabs.org/ to make the releases.
> >>>> --
> >>>> Thanks
> >>>> Aneesh Dogra (lionaneesh)
> >>>>
> >>>>
> >>>>
> >>>> ___ Sugar-devel mailing
> list
> >>>> Sugar-devel@lists.sugarlabs.org
> >>>> http://lists.sugarlabs.org/listinfo/sugar-devel
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Thanks
> >>> Aneesh Dogra (lionaneesh)
> >>
> >>
> >>
> >>
> >> --
> >> Thanks
> >> Aneesh Dogra (lionaneesh)
> >>
> >> ___
> >> Sugar-devel mailing list
> >> Sugar-devel@lists.sugarlabs.org
> >> http://lists.sugarlabs.org/listinfo/sugar-devel
> >>
> >
> >
> >
> > --
> > Walter Bender
> > Sugar Labs
> > http://www.sugarlabs.org
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-build] Running gtk2 activities in the latest sugar-build

2013-06-03 Thread Aneesh Dogra
Any other way? Someone is already working on the Gtk3 port and I wanted to
get the important features out in the next release. BTW why did we revoke
support for Gtk2 activities?


On Sat, Jun 1, 2013 at 4:58 PM, Daniel Narvaez  wrote:

> Hey,
>
> sugar-build does not support gtk2 activities. Perhaps you can just install
> the fedora packages? Or you could port the activity to gtk3 first :)
>
>
> On 1 June 2013 10:41, Aneesh Dogra  wrote:
>
>> Hey List,
>>
>> I can't seem to import sugar.* At first look, it seems like we have
>> renamed/deleted sugar from the sugar-build packages.json file. I am working
>> on Calculate which is still not ported to Gtk3 and hence I am working on
>> some features on the gtk2 version. Can help me to setup the environment
>> please?
>>
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
>
> --
> Daniel Narvaez
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-build] Running gtk2 activities in the latest sugar-build

2013-06-01 Thread Aneesh Dogra
Hey List,

I can't seem to import sugar.* At first look, it seems like we have
renamed/deleted sugar from the sugar-build packages.json file. I am working
on Calculate which is still not ported to Gtk3 and hence I am working on
some features on the gtk2 version. Can help me to setup the environment
please?

-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Request to get maintainer + release rights on an inactive activity

2013-05-27 Thread Aneesh Dogra
Ping again! Sorry, I almost lost track of this thread. I should have
reminded you guys much earlier.


On Sat, Feb 2, 2013 at 9:00 PM, Aneesh Dogra  wrote:

> Patches applied. Should work now!
>
>
> On Sat, Feb 2, 2013 at 11:26 AM, Alan Jhonn Aguiar Schwyn <
> alan...@hotmail.com> wrote:
>
>> Apply 0001
>>
>> Would a good apply 0002
>>
>> --
>> Date: Fri, 1 Feb 2013 11:25:22 -0300
>> From: gonz...@laptop.org
>> To: lionane...@gmail.com
>> CC: sugar-devel@lists.sugarlabs.org; garycmar...@googlemail.org;
>> ber...@sugarlabs.org
>> Subject: Re: [Sugar-devel] Request to get maintainer + release rights on
>> an inactive activity
>>
>>
>> Hi Aneesh,
>> I cloned the repository, to look at the work you did and try the activity,
>> but when I want run it, I have the following error:
>>
>> 1359728481.180127 DEBUG root: Activity.__canvas_map_cb
>> Traceback (most recent call last):
>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 160,
>> in 
>> main()
>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 155,
>> in main
>> instance = create_activity_instance(activity_constructor,
>> activity_handle)
>>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 42,
>> in create_activity_instance
>> activity = constructor(handle)
>>   File
>> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
>> line 772, in __init__
>> self.chart.plotchart(True)
>>   File
>> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
>> line 304, in plotchart
>> self.plot_sky(newplot)
>>   File
>> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
>> line 362, in plot_sky
>> self.fill_names_combobox()
>>   File
>> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
>> line 582, in fill_names_combobox
>> if NUMBER_OF_CHOICES < 4:
>> UnboundLocalError: local variable 'NUMBER_OF_CHOICES' referenced before
>> assignment
>>
>> Can you check what is the problem?
>> I am running it in F18, with sugar-build
>>
>> Gonzalo
>>
>> On Thu, Jan 10, 2013 at 3:56 PM, Aneesh Dogra wrote:
>>
>> I have worked on the Costellation Flash Cards activity including
>> enhancements: Cairo Port, Gtk3 Port, i18n Port and some fixes on how the
>> points were handled.
>>
>> The new repository is located at
>> http://git.sugarlabs.org/constellationsflashcards
>>
>> As the activity hasn't received any form of development since July 6,
>> 2010, I would like to take over the maintainership to continue the
>> development.
>>
>> I would also require admin rights for the activity on
>> http://activities.sugarlabs.org/ to make the releases.
>>  --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>>
>>
>> ___ Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ANNOUNCE] OLPC Hack '13 New Delhi

2013-05-25 Thread Aneesh Dogra
Hello Anish,

Its sounds like an awesome event and I am in game to join it. I am
also interested to give some demonstrations and maybe even acquaint people
with the sugar API and help them use/modify it. Also, I just got my XO-4 a
week ago and I could bring it to the event too. This is great! I am too
excited! Looking forward to your response!
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-build] libxml2 errors on F18.x86_64

2013-05-22 Thread Aneesh Dogra
Hello list,

I am running fedora-18 (up-to-date version) on a x86 64bit machine with GIT
head version of sugar-build. I am facing some problems with some
dependencies requirements.

Here are the logs:

1) Multilib error: http://www.codepasty.com/pasty/73001
2) Without multilib check: http://www.codepasty.com/pasty/74001

It seems like sugar-build is trying to install a package which requires
"libxml2-2.9.1-1.fc18.i686" i.e i686 version while I already have a
libxml2-2.9.1-1.fc18.1.x86_64 i.e x86_64 version which causes the problem.

I know this isn't really a sugar-build bug, but can someone help me with
this?
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Remove sugar-html-core from guthub

2013-05-19 Thread Aneesh Dogra
As the sugar-html-core is now splited into sugar-html-activity and
sugar-html-bus, its no point keeping it after the split.
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Aneesh Dogra
I noticed that sugarlabs was removed from my listed organizations on
github. Is it possible to add me as a member too? If its not too much to
ask!


On Sun, May 19, 2013 at 4:13 PM, Daniel Narvaez  wrote:

>  I tested it now. There was a couple of leftovers in sugar-html-activity
> and sugar-html-template. I pushed fixes for these. I went without a review
> for the sake of avoiding regressions. If anyone has comments I'm happy to
> fix them now, but they was really simple changes.
>
>
> https://github.com/sugarlabs/sugar-html-template/commit/0cbfd247a99a58ad53caf2fe67576781a89abe00
>
> https://github.com/sugarlabs/sugar-html-activity/commit/fef4b7e8e42019ffc28f4463d8a047ddb4e0c69a
>
>
> On 19 May 2013 11:05, Aneesh Dogra  wrote:
>
>> I am done! I guess! I haven't yet tested the html activity yet, because I
>> have a crappy net connection and sugar-build is taking centuries to
>> download everything. But if you can do the tests. Then I guess I am done!
>>
>>
>> On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez wrote:
>>
>>> Let me know when you are done so I can go ahead with the rest of your
>>> patches.
>>>
>>>
>>> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>>>
>>>> Temporarily made you an owner :) You should be able to go ahead.
>>>>
>>>>
>>>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>>>
>>>>> Hey,
>>>>>
>>>>> That way I can transfer the newly created sugar-html-bus [1] and
>>>>> sugar-html-activity [2] to the organization's repo.
>>>>>
>>>>> [1]: https://github.com/lionaneesh/sugar-html-bus
>>>>> [2]: https://github.com/lionaneesh/sugar-html-activity
>>>>> --
>>>>> Thanks
>>>>> Aneesh Dogra (lionaneesh)
>>>>>
>>>>
>>>>
>>>> --
>>>> Daniel Narvaez
>>>>
>>>>
>>>
>>>
>>> --
>>> Daniel Narvaez
>>>
>>
>>
>>
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>
>
>
> --
> Daniel Narvaez
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-19 Thread Aneesh Dogra
I am done! I guess! I haven't yet tested the html activity yet, because I
have a crappy net connection and sugar-build is taking centuries to
download everything. But if you can do the tests. Then I guess I am done!


On Sun, May 19, 2013 at 2:18 PM, Daniel Narvaez  wrote:

> Let me know when you are done so I can go ahead with the rest of your
> patches.
>
>
> On 19 May 2013 10:38, Daniel Narvaez  wrote:
>
>> Temporarily made you an owner :) You should be able to go ahead.
>>
>>
>> On Sunday, 19 May 2013, Aneesh Dogra wrote:
>>
>>> Hey,
>>>
>>> That way I can transfer the newly created sugar-html-bus [1] and
>>> sugar-html-activity [2] to the organization's repo.
>>>
>>> [1]: https://github.com/lionaneesh/sugar-html-bus
>>> [2]: https://github.com/lionaneesh/sugar-html-activity
>>> --
>>> Thanks
>>> Aneesh Dogra (lionaneesh)
>>>
>>
>>
>> --
>> Daniel Narvaez
>>
>>
>
>
> --
> Daniel Narvaez
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-build] Issues while building libsoup

2013-05-19 Thread Aneesh Dogra
Hello List,

I am facing some problems building libsoup. I am running fedora 18 with git
head version of sugar-build. Has someone else faced this problem before?

I notice that sugar-build pulls the latest version of glib and builds it,
so this problem seems to be caused with some other issue. I have no clue
how to fix this! Thanks in advance for any help.

Log:

* Building libsoup

Command failed, tail of /home/aneesh-sugardev/sugar-build/logs/build-141.log

checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.36.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
configure: error: GLIB 2.36.0 or later is required to build libsoup


-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Requiring test coverage for new code

2013-05-18 Thread Aneesh Dogra
I don't know if my opinion matters, but I would also suggest 100% code
coverage.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] voice-by-computer?

2013-05-18 Thread Aneesh Dogra
Is it something different than [1]. Also check [2]

[1]:
https://git.sugarlabs.org/myo-sugar-activities-examples/mainline/trees/master/Adding_TTS_gtk3
[2]:
http://en.flossmanuals.net/make-your-own-sugar-activities/adding-text-to-speech/


On Sun, May 19, 2013 at 7:10 AM, Gary Kline  wrote:

>
> hello,
>
> would OLPC be interested in my open-source GTK+ program that
> uses the laptop to speech what has been typed in by keyboard?
>
> My program uses gtk-3.x and the C language.  it  requires
> espeak and vim/gvim.  other than that my program helps anyone who
> is speech-impaired and who can type to communicate.
>
> I have been multiply  disabled since childhood by a rare disorder.
> Nonetheless, I graduated from Cal, Berkeley with my EECS and
> have earned a living as a computer engineer since the early
> 1980s.
>
> gary kline
>
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
> Unix
>   Twenty-six years of service to the Unix community.
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Could someone please add me to the Sugarlabs organization on github.

2013-05-18 Thread Aneesh Dogra
Hey,

That way I can transfer the newly created sugar-html-bus [1] and
sugar-html-activity [2] to the organization's repo.

[1]: https://github.com/lionaneesh/sugar-html-bus
[2]: https://github.com/lionaneesh/sugar-html-activity
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [sugar-build] Regarding the patch e814c36

2013-05-18 Thread Aneesh Dogra
Nevermind. I forked my repo at a very unfortunate time. The commiter forgot
to add new files. This was fixed in [1]

[2]:
https://github.com/sugarlabs/sugar-build/commit/f6b858ddc4608f3a03d5a62dd02c3ee8cfca9348


On Sun, May 19, 2013 at 7:20 AM, Aneesh Dogra  wrote:

> I don't really get what the patch [1] is intended to do? I mean I see it
> deleting all the json files which specifies the packages to download.
>
> I am sorry if I am missing something important, but the commit message
> isn't enough to explain what its trying to do.
>
> [1]:
> https://github.com/lionaneesh/sugar-build/commit/e814c3639413216c683325f9817d5c485a8ad0e1
> --
> Thanks
> Aneesh Dogra (lionaneesh)
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-build] Regarding the patch e814c36

2013-05-18 Thread Aneesh Dogra
I don't really get what the patch [1] is intended to do? I mean I see it
deleting all the json files which specifies the packages to download.

I am sorry if I am missing something important, but the commit message
isn't enough to explain what its trying to do.

[1]:
https://github.com/lionaneesh/sugar-build/commit/e814c3639413216c683325f9817d5c485a8ad0e1
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [sugar-html-core] Some questions regarding the bus.js API.

2013-05-17 Thread Aneesh Dogra
Hello list,

I was just looking over some code in bus.js and I noticed that we are
actually using a stack to prioritize and keep track of our send requests.
The array which you name as "queue" is actually used as a stack.

Here's what I think is happening:

Suppose I send 3 consecutive requests:

The script adds them in the "queue" variable as: [1, 2, 3]

but in start we are doing:

   while (queue.length > 0) {
socket.send(queue.pop());
}

so, we send the requests in order:
3, 2, 1

Hence, the last request made later gets the first priority.
Is this intended by design?
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Google Summer of Code

2013-05-09 Thread Aneesh Dogra
I'll be coming!


On Thu, May 9, 2013 at 12:31 AM, Martin Abente <
martin.abente.lah...@gmail.com> wrote:

> See you all there :)
>
>
> On Wed, May 8, 2013 at 2:58 PM, Dr. Gerald Ardito  > wrote:
>
>> I'll be there.
>> Gerald
>>
>>
>> On Wed, May 8, 2013 at 2:57 PM, Dr. Gerald Ardito <
>> gerald.ard...@gmail.com> wrote:
>>
>>>
>>>
>>>
>>> On Wed, May 8, 2013 at 11:48 AM, Remy DeCausemaker wrote:
>>>
>>>> I will def be there. Congrats on getting additional slots :)
>>>> --RemyD.
>>>>
>>>>
>>>> On Wed, May 8, 2013 at 10:58 AM, Walter Bender >>> > wrote:
>>>>
>>>>> As you probably have heard, we have 8 slots for GSoC. I'd like to have
>>>>> a quick meeting Thursday evening on irc to discuss how we will get to our
>>>>> final decision on students. Would 6pm EST (22UTC) work for everyone? We
>>>>> need to keep this a private meeting for the moment, so let's agree to use
>>>>> #sugar-gsoc on irc.freenode.net?
>>>>>
>>>>> If you cannot attend, please send me any thoughts you'd like to share
>>>>> in advance.
>>>>>
>>>>> thanks.
>>>>>
>>>>> -walter
>>>>>
>>>>>
>>>>> On Fri, May 3, 2013 at 4:18 PM, Walter Bender >>>> > wrote:
>>>>>
>>>>>> Sugar Labs has 37 applications applications for GSoC. We have the
>>>>>> next three days to review the applications and rank them by preference. I
>>>>>> don't know yet how many slots we will get -- probably between 2 and 5, so
>>>>>> we are only going to be able to accept about one in ten applications.
>>>>>>
>>>>>> Please, if you can please review as many applications as you can over
>>>>>> the next 48 hours and put your scores in the GSoC system at [1], and also
>>>>>> to please send to me, Gonzalo and Claudia any additional
>>>>>> ideas/thoughts/concerns, that would be very helpful.
>>>>>>
>>>>>> Criteria you should consider in your reviews include:
>>>>>> * quality of the proposal
>>>>>> * benefit to Sugar community
>>>>>> * potential of the student to complete the task
>>>>>>
>>>>>> Please feel free to ping me with any questions.
>>>>>>
>>>>>> regards.
>>>>>>
>>>>>> walter
>>>>>>
>>>>>> [1]
>>>>>> http://www.google-melange.com/gsoc/dashboard/google/gsoc2013#proposals_submitted
>>>>>> --
>>>>>> Walter Bender
>>>>>> Sugar Labs
>>>>>> http://www.sugarlabs.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Walter Bender
>>>>> Sugar Labs
>>>>> http://www.sugarlabs.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Remy DeCausemaker
>>>> Research Associate
>>>> Lab for Technological Literacy
>>>> http://foss.rit.edu
>>>>
>>>> Rochester Institute of Technology
>>>> Center for Student Innovation
>>>> 159 Lomb Memorial Drive
>>>> Building 87-1680
>>>> Rochester, NY 14623
>>>>
>>>
>>>
>>
>


-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Google Summer of Code - Slots assigned

2013-05-07 Thread Aneesh Dogra
Hello list,

We have been assigned 8 slots for Google summer of code. We have received
about 37 applications. Out of these around 20 applications are weak and we
don't really need to care about those. We have around 17 good enough
applications and we need to cut down that to 8.

I think the best thing would be to just discuss this over an IRC meeting.

I don't really know how is one supposed to setup a meeting and how the
timings are really decided. Maybe someone else can guide me on this?

We can host a meeting, invite all the possible mentors maybe even some
students to add something if you need to and then make our decisions. How
about it?

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


Re: [Sugar-devel] Chat Activity with translation

2013-04-21 Thread Aneesh Dogra
Hey Prannoy,

Its good that you decided to do a GSOC project for us. Thanks! For "Chat
Activity with translation" project you need to first of all research on the
translation system options we have. "Meeting" uses Apertium, is it the best
alternative available? Then you need to form a blue print on how you would
the chat activity interact with the translation server?

For this particular task you'll be doing more work with translation systems
and the server end, than the sugar activity itself.

We'll be requiring an easily callable translation API at the server end.
The client (i.e the activity) will sent GET/POST requests to the server
containing in them the text to be translated.
The server should then respond with GET/POST requests containing in them
the translated text.
The client intercepts the request and displays the translated text.

Important trade-offs to compare when searching for a good machine
translation system:

1) Speed
2) Server Load/Requirements
3) Language Pairs


On Sun, Apr 21, 2013 at 11:54 AM, Prannoy M  wrote:

> Hi,
> I would like to work on the proposal 'Chat Activity with translation' for
> GSoC.I'm a first time GSoCer and am really interested to contribute.Can
> someone help me get started?
> I tried running sugar-emulator on ubuntu 12.04 but lots of activities were
> not working.So now I'm installing by the virtual box method.
>
> Regards,
> *M.Prannoy*
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Reg : GSOC Contribution

2013-04-20 Thread Aneesh Dogra
You'll probably have to prove that you are competent to complete the
project through some qualification tasks. Example for the "IRC activity
fixes" project you'll have to do some research on existing python-irc
libraries, chose the most suitable, do some small Gtk3 fixes, write a basic
wrapper to your chosen library, provide blueprints on how would you
implement the ideas. Mainly the purpose of the qualification tasks would be
to check whether you and the mentor can communicate well and will you be
able to complete the project on time.

P.S: Its just my opinion, other mentors may have other criterion.

Thanks and Regards
Aneesh Dogra
--

Sent from my Galaxy Nexus
On Apr 21, 2013 2:42 AM, "Anoop Kumar" 
wrote:

> Hi,
>I am Anoop Kumar, I want to contribute to Sugar development through
> GSOC. As the student proposals are about to begin, I want to know what
> would the selection criteria be i.e apart from the project proposal, what
> do I need to do to prove that I can be a potential contributor. I also want
> to know whether I can propose any completely new idea compared to the ones
> mentioned in the ideas page.
>
>
>
> Anoop Kumar
> International Institute of Information Technology
> BTech CSE
>
> __**_
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.**org 
> http://lists.sugarlabs.org/**listinfo/sugar-devel<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] IRC Activity fixes

2013-04-20 Thread Aneesh Dogra
Okay. That sounds about right then! Go with python-irclib.

Thanks and Regards
Aneesh Dogra
--

Sent from my Galaxy Nexus
On Apr 21, 2013 1:04 AM, "Michał Poczwardowski"  wrote:

> Hello Aneesh,
>
> Thanks for your feedback! Your list of most important features will be
> really helpful during proposal writing.
>
> Before I start to prepare my proposal, I'll try to research available
> python IRC libraries. Note that mtime means last code modification in
> this case:
>
> pyirclib[1] - Whole implementation using 600 lines in single file.
> It's blocking and with not so many features (mtime: 2002-07-14).
>
> python-irclib[2] - Supports multiple simultaneous server connections.
> In my previous e-mail I mentioned this lib but provided link was
> outdated. It provides handy event-loop and It's in active development
> (mtime: 5 days ago[2]).
>
> oyoyo[4] - Small library, similar to pyirclib. (mtime: 10-10-2011).
>
> lurklib[5] - Small library described as thread-safe and event-driven.
> (mtime: 11 months ago)
>
> To sum up, The only library in active development is python-irclib.
> Its internals are written thread-safe and it suits all IRC Activity
> needs. IMHO, we should choose this one. :)
>
> Thanks,
> Michal
>
> [1] http://sourceforge.net/projects/pyirclib/
> [2] http://python-irclib.sourceforge.net
> [3] https://bitbucket.org/jaraco/irc/commits/all
> [4] https://code.google.com/p/oyoyo/
> [5] https://github.com/LK-/lurklib/
>
> On 20 April 2013 13:07, Aneesh Dogra  wrote:
> > Hello Michal,
> >
> > Great that you have decided to do a GSOC project for us. Thanks!
> > Please refer to my inline comments below.
> >
> > On Sat, Apr 20, 2013 at 5:03 AM, Michał Poczwardowski <
> dmp0x...@gmail.com>
> > wrote:
> >>
> >> I'm a regular IRC user and have few new ideas regarding IRC Activity.
> >> As sugar channels reside at freenode, It would be nice to have
> >> NickServ support build-in. Also, when ordinary IRC users use screen
> >> with console client, It would be great to have awaylog that displays
> >> our hilights even when we are not present. This feature could be turn
> >> on only for registered nicks and some webservice + irclogs will be
> >> involved. For example: when user joins channel, IRC Activity could
> >> show all hilights since user's last visit, of course with reasonable
> >> time/messages limit.
> >
> >
> > This is a really nice idea. Definitely worth implementing. But I would
> deem
> > it as secondary, if time permits we could probably work on this. The most
> > important features to work on will be:
> >
> > 1) Multithreading: The IRC Activity very slow when compared to other IRC
> > clients.
> > 2) Alert on highlight
> > 3) Whois info
> > 4) Backlog
> > 5) Multiple connections (presently you can only connect to one server,
> so if
> > I want to connect to 2 channels say one on mibbit and one on freenode. I
> > can't do that in IRC.)
> > 6) Theming (would like to add, but again its secondary)
> > 7) Encoding options. Not everyone speaks english on IRC, try going to a
> > chinese channel using the IRC activity and see what happens. Does it
> shows
> > the chinese characters properly? I haven't tested this myself, but I
> reckon
> > it won't work.
> > 8) Save chat history in journal. (Very very important)
> >
> > I would encourage you to open up your favorite IRC client and check what
> > features it provides, and would it be useful if we add it in the IRC
> > Activity?
> >
> >> I've found library[2] that could be used to replace deprecated Urk.
> >> Also implementing notifications and improving performance will be my
> >> priority.
> >
> >
> > The library you suggested, although better than urk, hasn't been updated
> > since 2012-09-29. Which makes me skeptical if this is the best alternate
> > available? Libraries tend to later act as bottlenecks. For eg: Urk makes
> > multithreading very difficult because it itself is single threaded.
> That's
> > why I want you select the best all-python irc library out there.
> >
> >> I will be grateful if you could give me some feedback to ideas provided.
> >>
> >> Thanks,
> >> Michal
> >>
> >> [1] http://dmpgsoc.azalayah.net/
> >> [2] http://sourceforge.net/projects/python-irclib/files/
> >>
> >> dmp@freenode
> >
> >
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] IRC Activity fixes

2013-04-20 Thread Aneesh Dogra
Hello Michal,

Great that you have decided to do a GSOC project for us. Thanks!
Please refer to my inline comments below.

On Sat, Apr 20, 2013 at 5:03 AM, Michał Poczwardowski wrote:
>
> I'm a regular IRC user and have few new ideas regarding IRC Activity.
> As sugar channels reside at freenode, It would be nice to have
> NickServ support build-in. Also, when ordinary IRC users use screen
> with console client, It would be great to have awaylog that displays
> our hilights even when we are not present. This feature could be turn
> on only for registered nicks and some webservice + irclogs will be
> involved. For example: when user joins channel, IRC Activity could
> show all hilights since user's last visit, of course with reasonable
> time/messages limit.
>

This is a really nice idea. Definitely worth implementing. But I would deem
it as secondary, if time permits we could probably work on this. The most
important features to work on will be:

1) Multithreading: The IRC Activity very slow when compared to other IRC
clients.
2) Alert on highlight
3) Whois info
4) Backlog
5) Multiple connections (presently you can only connect to one server, so
if I want to connect to 2 channels say one on mibbit and one on freenode. I
can't do that in IRC.)
6) Theming (would like to add, but again its secondary)
7) Encoding options. Not everyone speaks english on IRC, try going to a
chinese channel using the IRC activity and see what happens. Does it shows
the chinese characters properly? I haven't tested this myself, but I reckon
it won't work.
8) Save chat history in journal. (Very very important)

I would encourage you to open up your favorite IRC client and check what
features it provides, and would it be useful if we add it in the IRC
Activity?

I've found library[2] that could be used to replace deprecated Urk.
> Also implementing notifications and improving performance will be my
> priority.


The library you suggested, although better than urk, hasn't been updated
since 2012-09-29. Which makes me skeptical if this is the best alternate
available? Libraries tend to later act as bottlenecks. For eg: Urk
makes multithreading very difficult because it itself is single threaded.
That's why I want you select the best all-python irc library out there.

I will be grateful if you could give me some feedback to ideas provided.
>
> Thanks,
> Michal
>
> [1] http://dmpgsoc.azalayah.net/
> [2] http://sourceforge.net/projects/python-irclib/files/
>
> dmp@freenode
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Sugarlabs.org is down!

2013-03-21 Thread Aneesh Dogra
I can't connect to sugarlabs.org, activities.sugarlabs.org and
wiki.sugarlabs.org. git.sugarlabs.com is working but with 33% of packet
loss.

I also checked isitup.org to make sure its not a problem with my local ISP.

[1]: http://isitup.org/wiki.sugarlabs.org
[2]: http://isitup.org/sugarlabs.org
[3]: http://isitup.org/activities.sugarlabs.org

^ all are down!

Here are my ping logs:

➜  ~  ping sugarlabs.org
PING sugarlabs.org (208.118.235.53): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
92 bytes from free-softwa.bos1.twdx.net (208.118.224.186): Destination Host
Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 6b8a   0   31  01 9fc5 192.168.2.5  208.118.235.53

Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
92 bytes from free-softwa.bos1.twdx.net (208.118.224.186): Destination Host
Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 7392   0   31  01 97bd 192.168.2.5  208.118.235.53

Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
^C
--- sugarlabs.org ping statistics ---
11 packets transmitted, 0 packets received, 100.0% packet loss

➜  ~  ping activities.sugarlabs.org
PING sunjammer.sugarlabs.org (208.118.235.53): 56 data bytes
92 bytes from free-softwa.bos1.twdx.net (208.118.224.186): Destination Host
Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 7214   0   31  01 993b 192.168.2.5  208.118.235.53

Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- sunjammer.sugarlabs.org ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss

➜  ~  ping wiki.sugarlabs.org
PING sunjammer.sugarlabs.org (208.118.235.53): 56 data bytes
Request timeout for icmp_seq 0
92 bytes from free-softwa.bos1.twdx.net (208.118.224.186): Destination Host
Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 5400 9f33   0   31  01 6c1c 192.168.2.5  208.118.235.53

Request timeout for icmp_seq 1
^C
--- sunjammer.sugarlabs.org ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

➜  ~  ping git.sugarlabs.org
PING newjita.sugarlabs.org (18.85.44.69): 56 data bytes
64 bytes from 18.85.44.69: icmp_seq=0 ttl=37 time=578.035 ms
64 bytes from 18.85.44.69: icmp_seq=1 ttl=37 time=908.631 ms
^C
--- newjita.sugarlabs.org ping statistics ---
3 packets transmitted, 2 packets received, 33.3% packet loss
round-trip min/avg/max/stddev = 578.035/743.333/908.631/165.298 ms

-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SLOBS] next meeting

2013-02-21 Thread Aneesh Dogra
Is the meeting attend-able for everyone? I mean does the meeting happens on
IRC or someplace where people living at far away places could come together
and talk? If yes, I'd like to join and discuss things - mainly about GSOC.


On Mon, Feb 18, 2013 at 10:44 PM, Walter Bender wrote:

> Can we plan on meeting Monday, 25 Feb. at 6PM EST (23UTC)?
>
> Among other topics, we need to discuss Google Summer of Code and Sugar 1.0.
>
> regards.
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [IAEP] Fwd: [gci-announce] Google Code-in 2012 Grand Prize Winners announced

2013-02-04 Thread Aneesh Dogra
On 2/4/13, James Simmons  wrote:
> I did not have the pleasure of working with Aguz, but I congratulate
Aneesh
> and thank him again for the chapters he wrote for "Make Your Own Sugar
> Activities!" and the work he did updating many of my Activities.  He'll
> have to update his bio in the About The Authors chapter to mention being a
> winner.
>
> James Simmons

It was a pleasure working with you Sir.

The Sugar community especially Walter Bender and James Simmons have taught
me so much. I did a lot of tasks for this organization and all because I
could get the help I needed and the mentors were always kind. It has been a
pleasure working with all of you and I plan to continue development with
this project. Thanks a lot for selecting me.

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


Re: [Sugar-devel] Request to get maintainer + release rights on an inactive activity

2013-02-02 Thread Aneesh Dogra
Patches applied. Should work now!


On Sat, Feb 2, 2013 at 11:26 AM, Alan Jhonn Aguiar Schwyn <
alan...@hotmail.com> wrote:

> Apply 0001
>
> Would a good apply 0002
>
> --
> Date: Fri, 1 Feb 2013 11:25:22 -0300
> From: gonz...@laptop.org
> To: lionane...@gmail.com
> CC: sugar-devel@lists.sugarlabs.org; garycmar...@googlemail.org;
> ber...@sugarlabs.org
> Subject: Re: [Sugar-devel] Request to get maintainer + release rights on
> an inactive activity
>
>
> Hi Aneesh,
> I cloned the repository, to look at the work you did and try the activity,
> but when I want run it, I have the following error:
>
> 1359728481.180127 DEBUG root: Activity.__canvas_map_cb
> Traceback (most recent call last):
>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 160,
> in 
> main()
>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 155,
> in main
> instance = create_activity_instance(activity_constructor,
> activity_handle)
>   File "/home/gonzalo/sugar-build/install/bin/sugar-activity", line 42, in
> create_activity_instance
> activity = constructor(handle)
>   File
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> line 772, in __init__
> self.chart.plotchart(True)
>   File
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> line 304, in plotchart
> self.plot_sky(newplot)
>   File
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> line 362, in plot_sky
> self.fill_names_combobox()
>   File
> "/home/gonzalo/Activities/ConstellationsFlashCards.activity/ConstellationsFlashCards.py",
> line 582, in fill_names_combobox
> if NUMBER_OF_CHOICES < 4:
> UnboundLocalError: local variable 'NUMBER_OF_CHOICES' referenced before
> assignment
>
> Can you check what is the problem?
> I am running it in F18, with sugar-build
>
> Gonzalo
>
> On Thu, Jan 10, 2013 at 3:56 PM, Aneesh Dogra wrote:
>
> I have worked on the Costellation Flash Cards activity including
> enhancements: Cairo Port, Gtk3 Port, i18n Port and some fixes on how the
> points were handled.
>
> The new repository is located at
> http://git.sugarlabs.org/constellationsflashcards
>
> As the activity hasn't received any form of development since July 6,
> 2010, I would like to take over the maintainership to continue the
> development.
>
> I would also require admin rights for the activity on
> http://activities.sugarlabs.org/ to make the releases.
>  --
> Thanks
> Aneesh Dogra (lionaneesh)
>
>
>
> ___ Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Request to get maintainer + release rights on an inactive activity

2013-01-10 Thread Aneesh Dogra
I have worked on the Costellation Flash Cards activity including
enhancements: Cairo Port, Gtk3 Port, i18n Port and some fixes on how the
points were handled.

The new repository is located at
http://git.sugarlabs.org/constellationsflashcards

As the activity hasn't received any form of development since July 6, 2010,
I would like to take over the maintainership to continue the development.

I would also require admin rights for the activity on
http://activities.sugarlabs.org/ to make the releases.
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [ASLO] Release Ruler-24

2013-01-08 Thread Aneesh Dogra
On Tue, Jan 8, 2013 at 6:06 PM, Walter Bender wrote:

> You are correct. I'll fix it.
>
> regards.
>

How is that? The activity uses gtk2.

-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] How to use CSS style sheets to style widgets in Sugar Activities [Gtk3]

2012-12-13 Thread Aneesh Dogra
Works! Thanks a lot. :)


On Thu, Dec 13, 2012 at 3:33 PM, Flavio Danesse  wrote:

> screen = Gdk.Screen.get_default()
> css_provider = Gtk.CssProvider()
> style_path = os.path.join(JAMediaObjectsPath, "JAMediaEstilo.css")
> css_provider.load_from_path(style_path)
> context = Gtk.StyleContext()
> context.add_provider_for_screen(
> screen,
> css_provider,
> Gtk.STYLE_PROVIDER_PRIORITY_USER)
>
>
>
> 2012/12/13 Aneesh Dogra 
>
>> I am trying to get a functionality like
>> http://erikos.sweettimez.de/page/2/
>>
>> I tried adding :-
>>
>> style_context = self.get_style_context()
>>
>> css_provider = Gtk.CssProvider()
>> css_provider.load_from_path('gtk-widgets1.css')
>>
>> style_context.add_provider(css_provider,
>>Gtk.STYLE_PROVIDER_PRIORITY_USER)
>>
>>
>> in the Application's init but it doesn't seem to work.
>>
>> I would prefer to get the exact same functionality but any alternates
>> which can provide similar effects should do the job. What I don't wanna use
>> is cairo. I want something CSS like.
>>
>> I am mainly trying to style a Gtk.TextView and Gtk.Entry.
>> --
>> Thanks
>> Aneesh Dogra (lionaneesh)
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>


-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] How to use CSS style sheets to style widgets in Sugar Activities [Gtk3]

2012-12-12 Thread Aneesh Dogra
I am trying to get a functionality like http://erikos.sweettimez.de/page/2/

I tried adding :-

style_context = self.get_style_context()

css_provider = Gtk.CssProvider()
css_provider.load_from_path('gtk-widgets1.css')

style_context.add_provider(css_provider,
   Gtk.STYLE_PROVIDER_PRIORITY_USER)


in the Application's init but it doesn't seem to work.

I would prefer to get the exact same functionality but any alternates which
can provide similar effects should do the job. What I don't wanna use is
cairo. I want something CSS like.

I am mainly trying to style a Gtk.TextView and Gtk.Entry.
-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Timing problem with GCI tasks

2012-12-09 Thread Aneesh Dogra
> OK.  The GCI tasks are supposed to be two hours work for an experienced
> developer and quantity of tasks completed counts (two things I only
learned
> today.  I should have read the mentoring instructions more carefully).
> Splitting up the tasks for GTK3 might improve the situation for Aneesh.
>
> The other tasks aren't as large.
> And some are much larger. The problem is, it is not possible to make
> every task the same in terms of either time or difficultly. Not every
> task can be broken down into small bites. As far as the overall
> distribution of difficultly, I think the GTK3 manual is well within a
> std dev of the mean.

Will I be recieving credit for the 2 example GTK3 ports I did? Actually I
can make that 3. The third one will just take a few more time (already half
way through). I unclaimed the task because we needed another sample (which
would replace the pygame sample) as suggested by Walter and by the time I
finished that, someone else claimed that task. I am not blaiming anyone
here, Walter made himself clear before I decided to unclaim. So, back to
the question, will I get credit for those ports?
ples.  I think the problem is that there

-- 
Thanks
Aneesh Dogra (lionaneesh)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel