> On 22 Mar 2015, at 05:54, Buddhika Jayawardhana <[email protected]> 
> wrote:
> 
> Dear Jan, Robert other devs,
> 
> I have prepared a draft proposal for the project. It can be found on this
> link
> <https://docs.google.com/a/cse.mrt.ac.lk/document/d/1Yrj73vXAJjBA0-i_Nt78FUipy5oTtZ42UG2TlXmH4y0/edit?usp=sharing>.
> It is neither complete nor contain much technical details. It is completely
> based on what you have told me and what I have read so far. Please add your
> comments to improve the proposal and point me out if I have misunderstood
> anything you have told me or about the project.
> 
> I think I need a deep understanding on stdio. Please point me some
> direction to learn them.

I grabbed a few off the internets:

- Advanced Programming in the Unix Environment, Richard W. Stevens, Chapter 5.
  - this is probably the best literature on this, I hope you have access to it
    via your University’s library or so. Let me know if you have trouble getting
    a copy.

- http://man7.org/linux/man-pages/man3/stdio.3.html
- http://man7.org/linux/man-pages/man3/stdout.3.html
- http://c.learncodethehardway.org/book/ex24.html
- http://www.erlang.org/doc/tutorial/c_port.html
- https://nodejs.org/api/child_process.html
- https://nodejs.org/api/fs.html (especially fs.write(), fs.read() and variants)

Best
Jan
--


> 
> Thank You.
> 
> On 21 March 2015 at 22:16, Buddhika Jayawardhana <[email protected]>
> wrote:
> 
>> Thank You Robert, I already have started  writing the proposal. I will
>> share the link of the google doc tomorrow morning.
>> 
>> On 21 March 2015 at 21:08, Robert Kowalski <[email protected]> wrote:
>> 
>>> Hi Buddhika,
>>> 
>>> no worries - the preparation for each GSoC project is different for
>>> every student. Some projects need more background knowledge in advance
>>> and have to integrate in other way into the codebase, so don't worry
>>> that other folks are submitting code!
>>> 
>>> I would suggest to start writing the proposal as far as you can, we
>>> will also give you feedback. The deadline is for submissions is soon.
>>> 
>>> I tried to write up some tips for writing the two sections you are
>>> worried about:
>>> 
>>> For the "background" section you can just rely on the informations the
>>> community provides plus the background information you gained from
>>> reading the docs (e.g. the current QueryServer protocol [1], the way
>>> the QueryServer operates today and more general informations, like how
>>> you query CouchDB and how you are writing views) - so no worries!
>>> 
>>> Regarding the design/description: Jan already gave some suggestions
>>> regarding the steps that are needed. Are there steps missing in
>>> between? How do you measure the success of the project? How do you
>>> plan to work together with Jan & the community? Also describe how you
>>> going to work: are you planning to work iterative, waterfall, using
>>> techniques like test-driven-development, by building a prototype etc?
>>> 
>>> I hope I could provide some hints!
>>> 
>>> 
>>> [1] http://docs.couchdb.org/en/1.6.1/query-server/protocol.html
>>> 
>>> On Sat, Mar 21, 2015 at 6:58 AM, Buddhika Jayawardhana
>>> <[email protected]> wrote:
>>>> Hi Robert,
>>>> 
>>>> I I saw some other applicants are submitting pieces of codes. But I am
>>>> still reading the documents Jan and others have sent me.
>>>> 
>>>> 
>>>>   - I am middle of learnYouSomeErlang book.
>>>>   - I have around 8 chapters to read in Couch-DB "The Definitive
>>> Guide".
>>>>   - Lots of documentation.
>>>>   - Most of the source code.
>>>> 
>>>> 
>>>> I looked at the template that you have sent me and it requires a
>>>> description about the current situation of the project. And design/
>>>> description of the work.
>>>> I do not have any confidence to write those two paragraphs. But I can
>>> start
>>>> to write the proposal based on the thinks that Jan have
>>> described(Though I
>>>> don't understand all of them). Shall I start that way? or is there any
>>>> other better way.
>>>> 
>>>> Waiting for your advices.
>>>> 
>>>> On 21 March 2015 at 08:14, Robert Kowalski <[email protected]> wrote:
>>>> 
>>>>> Hi Buddhika,
>>>>> 
>>>>> the deadline for proposals is getting closer, do you have any
>>>>> questions? Is there anything we can help you with?
>>>>> 
>>>>> Jan, the ML and I are happy to help!
>>>>> 
>>>>> Best,
>>>>> Robert
>>>>> 
>>>>> On Thu, Mar 19, 2015 at 1:57 PM, Buddhika Jayawardhana
>>>>> <[email protected]> wrote:
>>>>>> Thanks Alexander. I'll try this out.
>>>>>> 
>>>>>> On 19 March 2015 at 16:59, Alexander Shorin <[email protected]>
>>> wrote:
>>>>>> 
>>>>>>> Hi Buddhika,
>>>>>>> 
>>>>>>> May be some docs could help you:
>>>>>>> http://docs.couchdb.org/en/latest/query-server/protocol.html
>>>>>>> 
>>>>>>> The most easiest way to understand it is to play with it.
>>>>>>> Try to enable debug logs for CouchDB (better here stay with 1.x
>>>>>>> series), run view and other functions and see what the communication
>>>>>>> happens between CouchDB and query server.
>>>>>>> Try to run query server from CLI and send it some commands to it and
>>>>>>> notice the responces.
>>>>>>> After that, reading the code would be much more simpler since you'll
>>>>>>> know the idea how it works in general.
>>>>>>> 
>>>>>>> --
>>>>>>> ,,,^..^,,,
>>>>>>> 
>>>>>>> 
>>>>>>> On Thu, Mar 19, 2015 at 2:24 PM, Buddhika Jayawardhana
>>>>>>> <[email protected]> wrote:
>>>>>>>> Dear Jan,
>>>>>>>> 
>>>>>>>> I tried to read the code you have sent me to understand the
>>> current
>>>>> query
>>>>>>>> server protocol(https://github.com/apache/couchdb
>>>>>>>> /blob/master/test/view_server/query_server_spec.rb). But I could
>>> not
>>>>>>>> understand anything :( . I'm stuck here. Can you point me out a
>>> way to
>>>>>>>> understand the code. (At least a brief explanation).
>>>>>>>> 
>>>>>>>> Thanks.
>>>>>>>> 
>>>>>>>> On 19 March 2015 at 10:28, Buddhika Jayawardhana <
>>>>>>> [email protected]>
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> Thanks Robert. This would be really helpful.
>>>>>>>>> 
>>>>>>>>> On 19 March 2015 at 03:20, Robert Kowalski <[email protected]>
>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Some of you asked for a template for their proposals, here is
>>> what
>>>>> I've
>>>>>>>>>> found:
>>>>>>>>>> 
>>>>>>>>>> http://community.staging.apache.org/gsoc#application-template
>>>>>>>>>> 
>>>>>>>>>> Best,
>>>>>>>>>> Robert
>>>>>>>>>> 
>>>>>>>>>> On Wed, Mar 18, 2015 at 1:49 PM, Jan Lehnardt <[email protected]>
>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> On 18 Mar 2015, at 13:35, Buddhika Jayawardhana <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> Dear Jan and Robert,
>>>>>>>>>>>> 
>>>>>>>>>>>> It seems I have to do a lot to get to the speed. I have to
>>> gain a
>>>>>>> lot
>>>>>>>>>> of
>>>>>>>>>>>> theorytical knowladge in
>>>>>>>>>>>> 
>>>>>>>>>>>>  - Erlang.
>>>>>>>>>>>>  - Query servers.
>>>>>>>>>>>>  - and about the source.
>>>>>>>>>>>> 
>>>>>>>>>>>> But I am so exited to learn new things. Currently I am
>>> reading
>>>>>>>>>>>> "learnsomeerlang" and couch db documentation. This is my
>>> first
>>>>>>> attemp
>>>>>>>>>> to
>>>>>>>>>>>> get involve with a large scale open source project and I need
>>>>> help
>>>>>>> to
>>>>>>>>>>>> clarify the source code. I hope to meet you guys. Hope to
>>> meet
>>>>> you
>>>>>>>>>> guys at
>>>>>>>>>>>> the status meeting.
>>>>>>>>>>> 
>>>>>>>>>>> Sounds good, we’re here to help :) (we are not all guys,
>>> though)
>>>>>>>>>>> 
>>>>>>>>>>> Best
>>>>>>>>>>> Jan
>>>>>>>>>>> --
>>>>>>>>>>>> 
>>>>>>>>>>>> Regards.
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> On 18 March 2015 at 03:51, Alexander Shorin <
>>> [email protected]>
>>>>>>> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>>> On Tue, Mar 17, 2015 at 12:28 AM, Jan Lehnardt <
>>> [email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Here is how I would start:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I think you'd forgot a point about protocol design itself.
>>> It
>>>>>>> requires
>>>>>>>>>>>>> in lot of changes. And there is need to think hardly about
>>> is it
>>>>>>> good
>>>>>>>>>>>>> to stay with stdio as a transport if we're going to make it
>>> work
>>>>>>> for
>>>>>>>>>>>>> cluster and much parallel as it is now. Just
>>> reimplementation of
>>>>>>> what
>>>>>>>>>>>>> we have now is interesting, but not very helpful in mid/long
>>>>> term.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ,,,^..^,,,
>>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> --
>>>>>>>>>>>> *Buddhika Jayawardhana*
>>>>>>>>>>>> Undergraduate | Department of Computer Science & Engineering
>>>>>>>>>>>> University of Moratuwa
>>>>>>>>>>>> *[email protected] <[email protected]>* |
>>>>> LinkedIn
>>>>>>>>>>>> <http://lk.linkedin.com/in/buddhikajay/>
>>>>>>>>>>> 
>>>>>>>>>>> --
>>>>>>>>>>> Professional Support for Apache CouchDB:
>>>>>>>>>>> http://www.neighbourhood.ie/couchdb-support/
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> --
>>>>>>>>> *Buddhika Jayawardhana*
>>>>>>>>> Undergraduate | Department of Computer Science & Engineering
>>>>>>>>> University of Moratuwa
>>>>>>>>> *[email protected] <[email protected]>* |
>>> LinkedIn
>>>>>>>>> <http://lk.linkedin.com/in/buddhikajay/>
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> *Buddhika Jayawardhana*
>>>>>>>> Undergraduate | Department of Computer Science & Engineering
>>>>>>>> University of Moratuwa
>>>>>>>> *[email protected] <[email protected]>* |
>>> LinkedIn
>>>>>>>> <http://lk.linkedin.com/in/buddhikajay/>
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> *Buddhika Jayawardhana*
>>>>>> Undergraduate | Department of Computer Science & Engineering
>>>>>> University of Moratuwa
>>>>>> *[email protected] <[email protected]>* | LinkedIn
>>>>>> <http://lk.linkedin.com/in/buddhikajay/>
>>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> *Buddhika Jayawardhana*
>>>> Undergraduate | Department of Computer Science & Engineering
>>>> University of Moratuwa
>>>> *[email protected] <[email protected]>* | LinkedIn
>>>> <http://lk.linkedin.com/in/buddhikajay/>
>>> 
>> 
>> 
>> 
>> --
>> *Buddhika Jayawardhana*
>> Undergraduate | Department of Computer Science & Engineering
>> University of Moratuwa
>> *[email protected] <[email protected]>* | LinkedIn
>> <http://lk.linkedin.com/in/buddhikajay/>
>> 
> 
> 
> 
> -- 
> *Buddhika Jayawardhana*
> Undergraduate | Department of Computer Science & Engineering
> University of Moratuwa
> *[email protected] <[email protected]>* | LinkedIn
> <http://lk.linkedin.com/in/buddhikajay/>

-- 
Professional Support for Apache CouchDB:
http://www.neighbourhood.ie/couchdb-support/

Reply via email to