[BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread davidsnt
Bangpypers,

Having a little trouble in parsing a file of 702 line appox,

the file is in the format

#
# 
#
[Space]
[

Few lines of information about the title

]

[Space]

#
# 
#
[Space]
[

Few lines of information about the title

]

I want to read this file block by block, the need is build a data
structure(dictionary) with title as key and the information as values.


Example:

#
#Delhi
#

Population = 7cr
Temperature = 10 deg cel
Area = 13000 sqft

#
#Mumbai
#

Population = 10cr
Temperature = 30 deg cel
Area = 132000 sqft






Regards,
Davidsanthosh L
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Gora Mohanty
On 7 January 2013 15:06, davidsnt  wrote:
> Bangpypers,
>
> Having a little trouble in parsing a file of 702 line appox,
>
> the file is in the format
>
> #
> # 
> #
> [Space]
> [
>
> Few lines of information about the title
>
> ]
>
> [Space]

If the above format is strictly followed, this should do it,
assuming you can read the entire file into a string (s in
the example below.

import re
TITLE_RE = re.compile( r'#\n#([^\n]*)\n#\n \n\[([^\]]*)\]\n \n',
re.MULTILINE|re.DOTALL )
for m in TITLE_RE.finditer( s.strip ):
 title, info = m.groups()
 print title, info

Error handling, and reading chunks from a large file
are left as an exercise for the reader.

Also, if the file format is at all more complex, and
maybe even in this case, I would write a parser
rather than use regular expressions.

Regards,
Gora
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread davidsnt
I am trying with re.split to split the file based on the pattern but stuck
at the point where I am unable to move forward, I also need this app to be
able to do a search in the file based on the title.

Regards,
Davidsanthosh L


On Mon, Jan 7, 2013 at 3:21 PM, steve  wrote:

> On Monday 07 January 2013 03:06 PM, davidsnt wrote:
>
>> Bangpypers,
>>
>> Having a little trouble in parsing a file of 702 line appox,
>>
>> the file is in the format
>> [...snip...]
>>
>
>
> Could you show us what you already have done ?
>
> cheers,
> - steve
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Gora Mohanty
On 7 January 2013 15:38, Gora Mohanty  wrote:

> import re
> TITLE_RE = re.compile( r'#\n#([^\n]*)\n#\n \n\[([^\]]*)\]\n \n',
> re.MULTILINE|re.DOTALL )
> for m in TITLE_RE.finditer( s.strip ):
>  title, info = m.groups()
>  print title, info

Oops, that should be s.strip(), viz.,
import re
TITLE_RE = re.compile( r'#\n#([^\n]*)\n#\n \n\[([^\]]*)\]\n \n',
re.MULTILINE|re.DOTALL )
for m in TITLE_RE.finditer( s.strip() ):
  title, info = m.groups()
  print title, info

Regards,
Gora
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread davidsnt
Gora,

Can you help me with few links that you have handy to which I can refer to
build a parser instead of RE

Regards,
Davidsanthosh L


On Mon, Jan 7, 2013 at 3:38 PM, Gora Mohanty  wrote:

> On 7 January 2013 15:06, davidsnt  wrote:
> > Bangpypers,
> >
> > Having a little trouble in parsing a file of 702 line appox,
> >
> > the file is in the format
> >
> > #
> > # 
> > #
> > [Space]
> > [
> >
> > Few lines of information about the title
> >
> > ]
> >
> > [Space]
>
> If the above format is strictly followed, this should do it,
> assuming you can read the entire file into a string (s in
> the example below.
>
> import re
> TITLE_RE = re.compile( r'#\n#([^\n]*)\n#\n \n\[([^\]]*)\]\n \n',
> re.MULTILINE|re.DOTALL )
> for m in TITLE_RE.finditer( s.strip ):
>  title, info = m.groups()
>  print title, info
>
> Error handling, and reading chunks from a large file
> are left as an exercise for the reader.
>
> Also, if the file format is at all more complex, and
> maybe even in this case, I would write a parser
> rather than use regular expressions.
>
> Regards,
> Gora
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread steve

On Monday 07 January 2013 03:06 PM, davidsnt wrote:

Bangpypers,

Having a little trouble in parsing a file of 702 line appox,

the file is in the format
[...snip...]



Could you show us what you already have done ?

cheers,
- steve
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Amit Sethi
On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
> Gora,
>
> Can you help me with few links that you have handy to which I can refer to
> build a parser instead of RE
Can you elaborate on the idea of "build a parser" , in any case you
will have to use regex.

>  I also need this app to be
>able to do a search in the file based on the title.
What kind of file are you are working with , How often does it change?
 It might be good move the data to a database in case file does not
change very often .

-- 
A-M-I-T S|S
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread davidsnt
No this file changes very often, like once in 5 minutes and the values are
updated, also there is no way I can move it to a database.

Regards,
Davidsanthosh L


On Mon, Jan 7, 2013 at 4:55 PM, Amit Sethi wrote:

> On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
> > Gora,
> >
> > Can you help me with few links that you have handy to which I can refer
> to
> > build a parser instead of RE
> Can you elaborate on the idea of "build a parser" , in any case you
> will have to use regex.
>
> >  I also need this app to be
> >able to do a search in the file based on the title.
> What kind of file are you are working with , How often does it change?
>  It might be good move the data to a database in case file does not
> change very often .
>
> --
> A-M-I-T S|S
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Syed Mushtaq
What do you really want to do *


* http://mywiki.wooledge.org/XyProblem


On Mon, Jan 7, 2013 at 5:02 PM, davidsnt  wrote:

> No this file changes very often, like once in 5 minutes and the values are
> updated, also there is no way I can move it to a database.
>
> Regards,
> Davidsanthosh L
>
>
> On Mon, Jan 7, 2013 at 4:55 PM, Amit Sethi  >wrote:
>
> > On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
> > > Gora,
> > >
> > > Can you help me with few links that you have handy to which I can refer
> > to
> > > build a parser instead of RE
> > Can you elaborate on the idea of "build a parser" , in any case you
> > will have to use regex.
> >
> > >  I also need this app to be
> > >able to do a search in the file based on the title.
> > What kind of file are you are working with , How often does it change?
> >  It might be good move the data to a database in case file does not
> > change very often .
> >
> > --
> > A-M-I-T S|S
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] [OT] Introducing myself

2013-01-07 Thread Jonathan Toomim

Hello all,

My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer, 
programmer (with a strong preference for python), and entrepreneur. I'll 
be moving from San Francisco to Bangalore on February 11th/12th. I have 
never been to India before, so I will probably be rather bewildered and 
lost in the city initially. If anyone felt like helping me get situated, 
showing me around, or introducing me to relevant people or groups, I 
would be grateful. I'm on a modest budget, so I'd rather not waste time 
and money by being unnecessarily logistically inefficient out of ignorance.


In particular, I'll be looking for a place to do work. In California, I 
spend a lot of time at hackerspaces, especially Noisebridge 
, Crash Space 
, and Nullspace . I like 
working there because (a) I'm more motivated and productive than if I 
stay at home, and (b) much of my work requires or is facilitated by 
having easy access to soldering irons, oscilloscopes, dissection 
microscopes, laser cutters, and the like. I was hoping to find someplace 
similar in Bangalore. I've found the website for Jaaga 
, and they look like they might be close, but they 
appear to have more of a focus on arts and crafts and less of a focus on 
tech than I would like. Does anyone have any experience with Jaaga? If 
so, what's your impression of the place? Does anyone know of any other 
places I might find appropriate?


I'm bringing two python-related projects with me. Once I'm settled in, 
if funding holds up, I will be looking to hire a couple of coders, one 
for each project.


One of them is Brain Workshop , a popular 
open source (GPL2) brain-training program based on the dual n-back task 
, 
written (inelegantly) in python and using pyglet for graphics and sound.


The other is my company HEG Research (which is currently comprised of 
one person: me), which makes and sells systems for near-infrared 
hemoencephalography neurofeedback 
 (or HEG for short). 
HEG is where an instrument measures brain activity (as indicated by 
cerebral blood oxygenation, measured optically), and the subject is 
given real-time feedback, which s/he uses in order to learn to increase 
that activity. The software I use (and wrote) to provide the feedback 
and record the data is HEGStudio . It 
is also open source (LGPL) and developed in python, though the hardware 
you need in order for it to be of use is neither.


I look forward to meeting you all.

Jonathan
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread kracekumar ramaraju
There is an unofficial hackerspace in bangalore, it is Centre for Internet
Society. http://cis-india.org/. You should visit.

On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim wrote:

> Hello all,
>
> My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> programmer (with a strong preference for python), and entrepreneur. I'll be
> moving from San Francisco to Bangalore on February 11th/12th. I have never
> been to India before, so I will probably be rather bewildered and lost in
> the city initially. If anyone felt like helping me get situated, showing me
> around, or introducing me to relevant people or groups, I would be
> grateful. I'm on a modest budget, so I'd rather not waste time and money by
> being unnecessarily logistically inefficient out of ignorance.
>
> In particular, I'll be looking for a place to do work. In California, I
> spend a lot of time at hackerspaces, especially Noisebridge <
> https://noisebridge.net/wiki/**Noisebridge>,
> Crash Space , and Nullspace .
> I like working there because (a) I'm more motivated and productive than if
> I stay at home, and (b) much of my work requires or is facilitated by
> having easy access to soldering irons, oscilloscopes, dissection
> microscopes, laser cutters, and the like. I was hoping to find someplace
> similar in Bangalore. I've found the website for Jaaga <
> http://www.jaaga.in/>, and they look like they might be close, but they
> appear to have more of a focus on arts and crafts and less of a focus on
> tech than I would like. Does anyone have any experience with Jaaga? If so,
> what's your impression of the place? Does anyone know of any other places I
> might find appropriate?
>
> I'm bringing two python-related projects with me. Once I'm settled in, if
> funding holds up, I will be looking to hire a couple of coders, one for
> each project.
>
> One of them is Brain Workshop , a popular open
> source (GPL2) brain-training program based on the dual n-back task <
> http://www.pnas.org/content/**early/2008/04/25/0801268105.**abstract>,
> written (inelegantly) in python and using pyglet for graphics and sound.
>
> The other is my company HEG Research (which is currently comprised of one
> person: me), which makes and sells systems for near-infrared
> hemoencephalography neurofeedback  Hemoencephalography >
> (or HEG for short). HEG is where an instrument measures brain activity (as
> indicated by cerebral blood oxygenation, measured optically), and the
> subject is given real-time feedback, which s/he uses in order to learn to
> increase that activity. The software I use (and wrote) to provide the
> feedback and record the data is HEGStudio  net/ >. It is also open source (LGPL)
> and developed in python, though the hardware you need in order for it to be
> of use is neither.
>
> I look forward to meeting you all.
>
> Jonathan
> __**_
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/**mailman/listinfo/bangpypers
>



-- 
*
Thanks & Regards

"Talk is cheap, show me the code" -- Linus Torvalds
kracekumar
www.kracekumar.com
*
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread स्वक्ष
On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim  wrote:
> Hello all,
>
> My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> programmer (with a strong preference for python), and entrepreneur. I'll be
> moving from San Francisco to Bangalore on February 11th/12th. I have never
> been to India before, so I will probably be rather bewildered and lost in
> the city initially. If anyone felt like helping me get situated, showing me
> around, or introducing me to relevant people or groups, I would be grateful.
> I'm on a modest budget, so I'd rather not waste time and money by being
> unnecessarily logistically inefficient out of ignorance.

Hi Jonathan,

You've reached out to the correct group as far as Python goes. Also,
if you are looking for a general Linux group, there is the "ILUG
Bengaluru" group at
http://groups.google.com/group/ilug-bengaluru?hl=en


> In particular, I'll be looking for a place to do work. In California, I
> spend a lot of time at hackerspaces, especially Noisebridge
> , Crash Space
> , and Nullspace . I like
> working there because (a) I'm more motivated and productive than if I stay
> at home, and (b) much of my work requires or is facilitated by having easy
> access to soldering irons, oscilloscopes, dissection microscopes, laser
> cutters, and the like. I was hoping to find someplace similar in Bangalore.

CIS  would be the closest match for a free
hackerspace, though not exactly equipped with the equipment you
require - just so you know what to expect, these may be a little hard
to come by outside of the local Engg schools and/or research labs.


> One of them is Brain Workshop , a popular open
> source (GPL2) brain-training program based on the dual n-back task
> , written
> (inelegantly) in python and using pyglet for graphics and sound.
>
> The other is my company HEG Research (which is currently comprised of one
> person: me), which makes and sells systems for near-infrared
> hemoencephalography neurofeedback
>  (or HEG for short). HEG

This seems very interesting. Once you are settled in, do consider
holding a hacking workshop. (PS: I would be interested in attending)

HTH,
Vid  ॥ http://svaksha.com ॥
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Rahul R
Hey David,

Assuming , its not a continuous stream of data being written to file all
the time. you could do something like this  https://gist.github.com/4477268 .
you can enhance it and make it more pythonic. :)

Thanks,
Rahul





On Mon, Jan 7, 2013 at 5:02 PM, davidsnt  wrote:

> No this file changes very often, like once in 5 minutes and the values are
> updated, also there is no way I can move it to a database.
>
> Regards,
> Davidsanthosh L
>
>
> On Mon, Jan 7, 2013 at 4:55 PM, Amit Sethi  >wrote:
>
> > On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
> > > Gora,
> > >
> > > Can you help me with few links that you have handy to which I can refer
> > to
> > > build a parser instead of RE
> > Can you elaborate on the idea of "build a parser" , in any case you
> > will have to use regex.
> >
> > >  I also need this app to be
> > >able to do a search in the file based on the title.
> > What kind of file are you are working with , How often does it change?
> >  It might be good move the data to a database in case file does not
> > change very often .
> >
> > --
> > A-M-I-T S|S
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Dhruv Baldawa
regex = """#
#(?P[a-zA-Z]+)
#
Population = (?P\d+)cr
Temperature = (?P\d+) deg cel
Area = (?P\d+) sqft"""

regex = re.compile(regex, flags=re.MULTILINE)

print regex.findall(rstr)
# >>> [('Delhi', '7', '10', '13000'), ('Mumbai', '10', '30', '132000')]

for x in regex.finditer(rstr):
group = x.groupdict()
data[group['city']] = {'area': int(group['area']),
'population': int(group['population']), 'temperature':
int(group['temperature'])}


In [14]: data
Out[14]:
{'Delhi': {'area': 13000, 'population': 7, 'temperature': 10},
 'Mumbai': {'area': 132000, 'population': 10, 'temperature': 30}}

--
Dhruv Baldawa
(http://www.dhruvb.com)


On Tue, Jan 8, 2013 at 12:02 AM, Rahul R  wrote:

> Hey David,
>
> Assuming , its not a continuous stream of data being written to file all
> the time. you could do something like this
> https://gist.github.com/4477268 .
> you can enhance it and make it more pythonic. :)
>
> Thanks,
> Rahul
>
>
>
>
>
> On Mon, Jan 7, 2013 at 5:02 PM, davidsnt  wrote:
>
> > No this file changes very often, like once in 5 minutes and the values
> are
> > updated, also there is no way I can move it to a database.
> >
> > Regards,
> > Davidsanthosh L
> >
> >
> > On Mon, Jan 7, 2013 at 4:55 PM, Amit Sethi  > >wrote:
> >
> > > On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
> > > > Gora,
> > > >
> > > > Can you help me with few links that you have handy to which I can
> refer
> > > to
> > > > build a parser instead of RE
> > > Can you elaborate on the idea of "build a parser" , in any case you
> > > will have to use regex.
> > >
> > > >  I also need this app to be
> > > >able to do a search in the file based on the title.
> > > What kind of file are you are working with , How often does it change?
> > >  It might be good move the data to a database in case file does not
> > > change very often .
> > >
> > > --
> > > A-M-I-T S|S
> > > ___
> > > BangPypers mailing list
> > > BangPypers@python.org
> > > http://mail.python.org/mailman/listinfo/bangpypers
> > >
> > ___
> > BangPypers mailing list
> > BangPypers@python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Question on Pattern Matching and Regular Expression

2013-01-07 Thread Dhruv Baldawa
Sorry, I just hit the TAB key, and the message got delivered.
I am not sure if this is what you want. If it is then to accomplish this,
you will need to read the entire file first, and then compile the regex.
Iterate using finditer(), and take the groupdict() to get all the values.
Also, I have typecasted the values to int.

--
Dhruv Baldawa
(http://www.dhruvb.com)


On Tue, Jan 8, 2013 at 12:27 AM, Dhruv Baldawa wrote:

> regex = """#
> #(?P[a-zA-Z]+)
> #
> Population = (?P\d+)cr
> Temperature = (?P\d+) deg cel
> Area = (?P\d+) sqft"""
>
> regex = re.compile(regex, flags=re.MULTILINE)
>
> print regex.findall(rstr)
> # >>> [('Delhi', '7', '10', '13000'), ('Mumbai', '10', '30', '132000')]
>
> for x in regex.finditer(rstr):
> group = x.groupdict()
> data[group['city']] = {'area': int(group['area']),
> 'population': int(group['population']), 'temperature':
> int(group['temperature'])}
>
>
> In [14]: data
> Out[14]:
> {'Delhi': {'area': 13000, 'population': 7, 'temperature': 10},
>  'Mumbai': {'area': 132000, 'population': 10, 'temperature': 30}}
>
> --
> Dhruv Baldawa
> (http://www.dhruvb.com)
>
>
> On Tue, Jan 8, 2013 at 12:02 AM, Rahul R  wrote:
>
>> Hey David,
>>
>> Assuming , its not a continuous stream of data being written to file all
>> the time. you could do something like this
>> https://gist.github.com/4477268 .
>> you can enhance it and make it more pythonic. :)
>>
>> Thanks,
>> Rahul
>>
>>
>>
>>
>>
>> On Mon, Jan 7, 2013 at 5:02 PM, davidsnt  wrote:
>>
>> > No this file changes very often, like once in 5 minutes and the values
>> are
>> > updated, also there is no way I can move it to a database.
>> >
>> > Regards,
>> > Davidsanthosh L
>> >
>> >
>> > On Mon, Jan 7, 2013 at 4:55 PM, Amit Sethi > > >wrote:
>> >
>> > > On Mon, Jan 7, 2013 at 3:52 PM, davidsnt  wrote:
>> > > > Gora,
>> > > >
>> > > > Can you help me with few links that you have handy to which I can
>> refer
>> > > to
>> > > > build a parser instead of RE
>> > > Can you elaborate on the idea of "build a parser" , in any case you
>> > > will have to use regex.
>> > >
>> > > >  I also need this app to be
>> > > >able to do a search in the file based on the title.
>> > > What kind of file are you are working with , How often does it change?
>> > >  It might be good move the data to a database in case file does not
>> > > change very often .
>> > >
>> > > --
>> > > A-M-I-T S|S
>> > > ___
>> > > BangPypers mailing list
>> > > BangPypers@python.org
>> > > http://mail.python.org/mailman/listinfo/bangpypers
>> > >
>> > ___
>> > BangPypers mailing list
>> > BangPypers@python.org
>> > http://mail.python.org/mailman/listinfo/bangpypers
>> >
>> ___
>> BangPypers mailing list
>> BangPypers@python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread Pradeep Banavara
Hi Jonathan - CIS might be more suited for your needs. Jaaga is in a good
location but it's a bit noisy and there's no quiet space.

Other options:

IIM, Bangalore runs an accelerator. It might not hurt to contact them and
see if you can get some space.

IISc runs an incubation center with good space. They are tech and research
heavy. Might not hurt to contact them.

*Shameless plug - I'm part of the Microsoft accelerator team and you are
welcome to explore this place as well. We are located in the heart of the
city.

-pradeep


On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim wrote:

> Hello all,
>
> My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> programmer (with a strong preference for python), and entrepreneur. I'll be
> moving from San Francisco to Bangalore on February 11th/12th. I have never
> been to India before, so I will probably be rather bewildered and lost in
> the city initially. If anyone felt like helping me get situated, showing me
> around, or introducing me to relevant people or groups, I would be
> grateful. I'm on a modest budget, so I'd rather not waste time and money by
> being unnecessarily logistically inefficient out of ignorance.
>
> In particular, I'll be looking for a place to do work. In California, I
> spend a lot of time at hackerspaces, especially Noisebridge <
> https://noisebridge.net/wiki/**Noisebridge>,
> Crash Space , and Nullspace .
> I like working there because (a) I'm more motivated and productive than if
> I stay at home, and (b) much of my work requires or is facilitated by
> having easy access to soldering irons, oscilloscopes, dissection
> microscopes, laser cutters, and the like. I was hoping to find someplace
> similar in Bangalore. I've found the website for Jaaga <
> http://www.jaaga.in/>, and they look like they might be close, but they
> appear to have more of a focus on arts and crafts and less of a focus on
> tech than I would like. Does anyone have any experience with Jaaga? If so,
> what's your impression of the place? Does anyone know of any other places I
> might find appropriate?
>
> I'm bringing two python-related projects with me. Once I'm settled in, if
> funding holds up, I will be looking to hire a couple of coders, one for
> each project.
>
> One of them is Brain Workshop , a popular open
> source (GPL2) brain-training program based on the dual n-back task <
> http://www.pnas.org/content/**early/2008/04/25/0801268105.**abstract>,
> written (inelegantly) in python and using pyglet for graphics and sound.
>
> The other is my company HEG Research (which is currently comprised of one
> person: me), which makes and sells systems for near-infrared
> hemoencephalography neurofeedback  Hemoencephalography >
> (or HEG for short). HEG is where an instrument measures brain activity (as
> indicated by cerebral blood oxygenation, measured optically), and the
> subject is given real-time feedback, which s/he uses in order to learn to
> increase that activity. The software I use (and wrote) to provide the
> feedback and record the data is HEGStudio  net/ >. It is also open source (LGPL)
> and developed in python, though the hardware you need in order for it to be
> of use is neither.
>
> I look forward to meeting you all.
>
> Jonathan
> __**_
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/**mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself [Jonathan Toomin]

2013-01-07 Thread Aditya Athalye
Sorry folks, forgot to change the subject line to my reply. I stand
corrected. And the text of my reply is included again, below.
-Aditya.


> -Original Message-
> From: Aditya Athalye [mailto:aditya.atha...@gmail.com]
> Sent: 08 January 2013 08:46
> To: 'jtoo...@jtoomim.org'
> Cc: 'bangpypers@python.org'
> Subject: RE: BangPypers Digest, Vol 65, Issue 5
> 
> Hello Jonathan,
> Like @krace says, it will be good to explore CIS. I can vouch for Jaaga.
I've
> used the co-working space there and I think it's a real nice spot to work
out
> of. Several tech start-ups / tech freelancers use the space, along with
> creative folk. I believe a few python programmers also frequent the place.
> Jaaga also regularly hosts tech study circles and inexpensive food and
filter
> coffee are also easy to access, just across the road.
> 
> Off-list, I'll connect you with one of the Jaaga founders - @freemanindia
-
> also a valley guy. I feel, given your purpose, there may be other
> opportunities for technical collaboration.
> Best,
> Aditya.
> 
> 
> 
> > -Original Message-
> > Date: Mon, 07 Jan 2013 08:43:27 -0800
> > From: Jonathan Toomim 
> > To: bangpypers@python.org
> > Subject: [BangPypers] [OT] Introducing myself
> >
> > Hello all,
> >
> > My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> > programmer (with a strong preference for python), and entrepreneur. I'll
> > be moving from San Francisco to Bangalore on February 11th/12th. I have
> > never been to India before, so I will probably be rather bewildered and
> > lost in the city initially. If anyone felt like helping me get situated,
> > showing me around, or introducing me to relevant people or groups, I
> > would be grateful. I'm on a modest budget, so I'd rather not waste time
> > and money by being unnecessarily logistically inefficient out of
ignorance.
> >
> > In particular, I'll be looking for a place to do work. In California, I
> > spend a lot of time at hackerspaces, especially Noisebridge
> > , Crash Space
> > , and Nullspace . I like
> > working there because (a) I'm more motivated and productive than if I
> > stay at home, and (b) much of my work requires or is facilitated by
> > having easy access to soldering irons, oscilloscopes, dissection
> > microscopes, laser cutters, and the like. I was hoping to find someplace
> > similar in Bangalore. I've found the website for Jaaga
> > , and they look like they might be close, but they
> > appear to have more of a focus on arts and crafts and less of a focus on
> > tech than I would like. Does anyone have any experience with Jaaga? If
> > so, what's your impression of the place? Does anyone know of any other
> > places I might find appropriate?
> >
> > I'm bringing two python-related projects with me. Once I'm settled in,
> > if funding holds up, I will be looking to hire a couple of coders, one
> > for each project.
> >
> > One of them is Brain Workshop , a popular
> > open source (GPL2) brain-training program based on the dual n-back task
> > ,
> > written (inelegantly) in python and using pyglet for graphics and sound.
> >
> > The other is my company HEG Research (which is currently comprised of
> > one person: me), which makes and sells systems for near-infrared
> > hemoencephalography neurofeedback
> >  (or HEG for short).
> > HEG is where an instrument measures brain activity (as indicated by
> > cerebral blood oxygenation, measured optically), and the subject is
> > given real-time feedback, which s/he uses in order to learn to increase
> > that activity. The software I use (and wrote) to provide the feedback
> > and record the data is HEGStudio . It
> > is also open source (LGPL) and developed in python, though the hardware
> > you need in order for it to be of use is neither.
> >
> > I look forward to meeting you all.
> >
> > Jonathan

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] BangPypers Digest, Vol 65, Issue 5

2013-01-07 Thread Aditya Athalye
Hello Jonathan, 
Like @krace says, it will be good to explore CIS. I can vouch for Jaaga.
I've used the co-working space there and I think it's a real nice spot to
work out of. Several tech start-ups / tech freelancers use the space, along
with creative folk. I believe a few python programmers also frequent the
place. Jaaga also regularly hosts tech study circles and inexpensive food
and filter coffee are also easy to access, just across the road.

Off-list, I'll connect you with one of the Jaaga founders - @freemanindia -
also a valley guy. I feel, given your purpose, there may be other
opportunities for technical collaboration.
Best,
Aditya.



> -Original Message-
> Date: Mon, 07 Jan 2013 08:43:27 -0800
> From: Jonathan Toomim 
> To: bangpypers@python.org
> Subject: [BangPypers] [OT] Introducing myself
> 
> Hello all,
> 
> My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> programmer (with a strong preference for python), and entrepreneur. I'll
> be moving from San Francisco to Bangalore on February 11th/12th. I have
> never been to India before, so I will probably be rather bewildered and
> lost in the city initially. If anyone felt like helping me get situated,
> showing me around, or introducing me to relevant people or groups, I
> would be grateful. I'm on a modest budget, so I'd rather not waste time
> and money by being unnecessarily logistically inefficient out of
ignorance.
> 
> In particular, I'll be looking for a place to do work. In California, I
> spend a lot of time at hackerspaces, especially Noisebridge
> , Crash Space
> , and Nullspace . I like
> working there because (a) I'm more motivated and productive than if I
> stay at home, and (b) much of my work requires or is facilitated by
> having easy access to soldering irons, oscilloscopes, dissection
> microscopes, laser cutters, and the like. I was hoping to find someplace
> similar in Bangalore. I've found the website for Jaaga
> , and they look like they might be close, but they
> appear to have more of a focus on arts and crafts and less of a focus on
> tech than I would like. Does anyone have any experience with Jaaga? If
> so, what's your impression of the place? Does anyone know of any other
> places I might find appropriate?
> 
> I'm bringing two python-related projects with me. Once I'm settled in,
> if funding holds up, I will be looking to hire a couple of coders, one
> for each project.
> 
> One of them is Brain Workshop , a popular
> open source (GPL2) brain-training program based on the dual n-back task
> ,
> written (inelegantly) in python and using pyglet for graphics and sound.
> 
> The other is my company HEG Research (which is currently comprised of
> one person: me), which makes and sells systems for near-infrared
> hemoencephalography neurofeedback
>  (or HEG for short).
> HEG is where an instrument measures brain activity (as indicated by
> cerebral blood oxygenation, measured optically), and the subject is
> given real-time feedback, which s/he uses in order to learn to increase
> that activity. The software I use (and wrote) to provide the feedback
> and record the data is HEGStudio . It
> is also open source (LGPL) and developed in python, though the hardware
> you need in order for it to be of use is neither.
> 
> I look forward to meeting you all.
> 
> Jonathan

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread Gopalakrishnan Subramani
I agree with Jaaga comments. Jaaga is little noisy due to near by busy
road, I would prefer that place if you don't get another place. You also
find co-working spaces in many places as Bangalore runs a lot of startups
and early stage companies ready to share per seat basis. I love the Jaaga
idea and I have been there 2 times as part on Bootstrap breakfast. Jaaga is
very cheap (cost about RS  500 for a month), it has other issues like
parking, toilets etc. Make a visit and see if you are comfortable. It has
bus connectivity.

Stay as close as possible to office, that will help to save energy. Never
underestimate Bangalore traffic. Be extra careful when you drive.




On Tue, Jan 8, 2013 at 8:56 AM, Pradeep Banavara wrote:

> Hi Jonathan - CIS might be more suited for your needs. Jaaga is in a good
> location but it's a bit noisy and there's no quiet space.
>
> Other options:
>
> IIM, Bangalore runs an accelerator. It might not hurt to contact them and
> see if you can get some space.
>
> IISc runs an incubation center with good space. They are tech and research
> heavy. Might not hurt to contact them.
>
> *Shameless plug - I'm part of the Microsoft accelerator team and you are
> welcome to explore this place as well. We are located in the heart of the
> city.
>
> -pradeep
>
>
> On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim  >wrote:
>
> > Hello all,
> >
> > My name is Jonathan Toomim. I'm a neuroscientist, electrical engineer,
> > programmer (with a strong preference for python), and entrepreneur. I'll
> be
> > moving from San Francisco to Bangalore on February 11th/12th. I have
> never
> > been to India before, so I will probably be rather bewildered and lost in
> > the city initially. If anyone felt like helping me get situated, showing
> me
> > around, or introducing me to relevant people or groups, I would be
> > grateful. I'm on a modest budget, so I'd rather not waste time and money
> by
> > being unnecessarily logistically inefficient out of ignorance.
> >
> > In particular, I'll be looking for a place to do work. In California, I
> > spend a lot of time at hackerspaces, especially Noisebridge <
> > https://noisebridge.net/wiki/**Noisebridge<
> https://noisebridge.net/wiki/Noisebridge>>,
> > Crash Space , and Nullspace  >.
> > I like working there because (a) I'm more motivated and productive than
> if
> > I stay at home, and (b) much of my work requires or is facilitated by
> > having easy access to soldering irons, oscilloscopes, dissection
> > microscopes, laser cutters, and the like. I was hoping to find someplace
> > similar in Bangalore. I've found the website for Jaaga <
> > http://www.jaaga.in/>, and they look like they might be close, but they
> > appear to have more of a focus on arts and crafts and less of a focus on
> > tech than I would like. Does anyone have any experience with Jaaga? If
> so,
> > what's your impression of the place? Does anyone know of any other
> places I
> > might find appropriate?
> >
> > I'm bringing two python-related projects with me. Once I'm settled in, if
> > funding holds up, I will be looking to hire a couple of coders, one for
> > each project.
> >
> > One of them is Brain Workshop , a popular
> open
> > source (GPL2) brain-training program based on the dual n-back task <
> > http://www.pnas.org/content/**early/2008/04/25/0801268105.**abstract<
> http://www.pnas.org/content/early/2008/04/25/0801268105.abstract>>,
> > written (inelegantly) in python and using pyglet for graphics and sound.
> >
> > The other is my company HEG Research (which is currently comprised of one
> > person: me), which makes and sells systems for near-infrared
> > hemoencephalography neurofeedback  > Hemoencephalography >
> > (or HEG for short). HEG is where an instrument measures brain activity
> (as
> > indicated by cerebral blood oxygenation, measured optically), and the
> > subject is given real-time feedback, which s/he uses in order to learn to
> > increase that activity. The software I use (and wrote) to provide the
> > feedback and record the data is HEGStudio  **
> > net/ >. It is also open source (LGPL)
> > and developed in python, though the hardware you need in order for it to
> be
> > of use is neither.
> >
> > I look forward to meeting you all.
> >
> > Jonathan
> > __**_
> > BangPypers mailing list
> > BangPypers@python.org
> > http://mail.python.org/**mailman/listinfo/bangpypers<
> http://mail.python.org/mailman/listinfo/bangpypers>
> >
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/m

Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread Kiran Jonnalagadda
On Monday, 7 January 2013 at 11:20 PM, स्वक्ष wrote:
> On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim  (mailto:jtoo...@jtoomim.org)> wrote:
> > In particular, I'll be looking for a place to do work. In California, I
> > spend a lot of time at hackerspaces, especially Noisebridge
> > , Crash Space
> > , and Nullspace . I like
> > working there because (a) I'm more motivated and productive than if I stay
> > at home, and (b) much of my work requires or is facilitated by having easy
> > access to soldering irons, oscilloscopes, dissection microscopes, laser
> > cutters, and the like. I was hoping to find someplace similar in Bangalore.
> >  
>  
>  
> CIS  would be the closest match for a free
> hackerspace, though not exactly equipped with the equipment you
> require - just so you know what to expect, these may be a little hard
> to come by outside of the local Engg schools and/or research labs.
>  
>  


CIS is the closest there is to Jon's requirements. It has a hardware lab and 
Sunil has been asking for a list of equipment that people need that the lab 
doesn't already have.

CIS also has HasGeek, so you just need to come upstairs to find Python and web 
hackers.

Kiran

___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] [OT] Introducing myself

2013-01-07 Thread स्वक्ष
On Tue, Jan 8, 2013 at 5:40 AM, Kiran Jonnalagadda  wrote:
> On Monday, 7 January 2013 at 11:20 PM, स्वक्ष wrote:
>> On Mon, Jan 7, 2013 at 10:13 PM, Jonathan Toomim > (mailto:jtoo...@jtoomim.org)> wrote:
>> > In particular, I'll be looking for a place to do work. In California, I
>> > spend a lot of time at hackerspaces, especially Noisebridge
>> > , Crash Space
>> > , and Nullspace . I like
>> > working there because (a) I'm more motivated and productive than if I stay
>> > at home, and (b) much of my work requires or is facilitated by having easy
>> > access to soldering irons, oscilloscopes, dissection microscopes, laser
>> > cutters, and the like. I was hoping to find someplace similar in Bangalore.
>> >
>>
>>
>> CIS  would be the closest match for a free
>> hackerspace, though not exactly equipped with the equipment you
>> require - just so you know what to expect, these may be a little hard
>> to come by outside of the local Engg schools and/or research labs.
>>
>>
>
>
> CIS is the closest there is to Jon's requirements. It has a hardware lab and 
> Sunil has been asking for a list of equipment that people need that the lab 
> doesn't already have.
>

Wow, didnt know CIS had soldering irons, oscilloscopes, dissection
microscopes, laser cutters ... Its been ages since I've visited.
-- 
Regards,
Vid  ॥ http://svaksha.com ॥
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers