Thread: Re: Regarding GSoC 2012 project

Re: Regarding GSoC 2012 project

From
mukesh agrawal
Date:
Hi Dave

Actually I was having my mid-sem exams, so I could not much related to the project, But in the meantime, I went through http://wiki.postgresql.org/wiki/PgAdmin_Internals but I didn't get much related to the project.

In the project proposal, I had to answer about the project schedule(How long will the project take? When can you begin work?) but I am still not much clear about this question. Could you please help me in answering this question?
Could you also please suggest me about what I should do now related to the project to strengthen my GSoC application?

Hoping for a favourable reply.

Thanks
Mukesh Kumar Agrawal.



On Wed, Mar 21, 2012 at 3:24 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Wed, Mar 21, 2012 at 9:38 AM, mukesh agrawal <mkagrawal18@gmail.com> wrote:
> Hi Dave
>
> As per your suggestions, I went through some of the tutorials of wxWidgets
> and I was also able to run some of the examples given there. I have done
> somewhat Blackberry and Nokia programming in my networks course and  I found
> wxWidgets programming much similar to that.
>
> I also came to know that wxWidgets connects with postgres database using
> psqlODBC driver but in the irc channel of postgres, someone suggested me to
> use libpqxx instead, so I tried this and it is working well. But I didn't
> get any reading material related to wxWidgets using postgres. It would be
> really helpful if you please suggest me some reading materials which
> describe the same.

pgAdmin uses it's own database classes that wrap around libpq (not
libpqxx). They are very simple to use, and you can grab a connection
object from virtually any object related to a database in the app. See
http://wiki.postgresql.org/wiki/PgAdmin_Internals for more details -
the database classes are in pgadmin/db and pgadmin/include/db in the
source tree.

> Since I have used yacc for building 'parser for prolog' in my programming
> languages course, and Bison is much similar to yacc, I think I will be able
> to use Bison. But I have not much idea of how to achieve the goal. It would
> be really helpful if you please explain some steps.

I have no idea - I've never written a parser myself.

> Also in the reply, you have mentioned about VC++ project files and Autotools
> scripts, but I have no idea about this.

I can help there when the time comes.

> Also I am not able to send mails to <pgsql-students.postgresql.org>. Is this
> mailing list working or not?

It should be - but it's pgsql-students@postgresql.org.


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
Mukesh Kumar Agrawal
Junior Undergraduate
CSE@IIT Delhi

Re: Regarding GSoC 2012 project

From
Dave Page
Date:


On Sun, Mar 25, 2012 at 7:56 PM, mukesh agrawal <mkagrawal18@gmail.com> wrote:
Hi Dave

Actually I was having my mid-sem exams, so I could not much related to the project, But in the meantime, I went through http://wiki.postgresql.org/wiki/PgAdmin_Internals but I didn't get much related to the project.

In the project proposal, I had to answer about the project schedule(How long will the project take? When can you begin work?) but I am still not much clear about this question. Could you please help me in answering this question?

I haven't investigated what work would be needed to complete those projects, nor do I have any idea of your capabilities so I'm not able to suggest a project schedule for you. You'll need to look at the code, and try to get an understanding of the requirements of each sub-project, and then estimate how long you think it would take you to complete them. I would then suggest doubling that estimate to allow for overruns and testing time. You should also bear in mind you'll need a week or so to get a build environment setup and become familiar with it, and that you'll begin the project with little experience of the code base and wxWidgets, so plan on a slow start to begin with. I will say that I think a competent C++ developer should be able to produce a polished, release quality result for this project in the time allotted for GSoC.
 
Could you also please suggest me about what I should do now related to the project to strengthen my GSoC application?


Research as mentioned above - and avoid under-estimating the requirements of the task (that's a common mistake, not just in GSoC, but in development in general). Show that you understand the project in the application, by including initial thoughts on how you think the code should be written (what are the important functions you'll have to modify, what will you need a parser for, how will the new features look to the end user etc)?

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Regarding GSoC 2012 project

From
Guillaume Lelarge
Date:
On Sun, 2012-03-25 at 20:08 +0100, Dave Page wrote:
> On Sun, Mar 25, 2012 at 7:56 PM, mukesh agrawal <mkagrawal18@gmail.com>wrote:
>
> > Hi Dave
> >
> > Actually I was having my mid-sem exams, so I could not much related to the
> > project, But in the meantime, I went through
> > http://wiki.postgresql.org/wiki/PgAdmin_Internals but I didn't get much
> > related to the project.
> >
> > In the project proposal, I had to answer about the project schedule(How
> > long will the project take? When can you begin work?) but I am still not
> > much clear about this question. Could you please help me in answering this
> > question?
> >
>
> I haven't investigated what work would be needed to complete those
> projects, nor do I have any idea of your capabilities so I'm not able to
> suggest a project schedule for you. You'll need to look at the code, and
> try to get an understanding of the requirements of each sub-project, and
> then estimate how long you think it would take you to complete them. I
> would then suggest doubling that estimate to allow for overruns and testing
> time. You should also bear in mind you'll need a week or so to get a build
> environment setup and become familiar with it, and that you'll begin the
> project with little experience of the code base and wxWidgets, so plan on a
> slow start to begin with. I will say that I think a competent C++ developer
> should be able to produce a polished, release quality result for this
> project in the time allotted for GSoC.
>
>
> > Could you also please suggest me about what I should do now related to the
> > project to strengthen my GSoC application?
> >
> >
> Research as mentioned above - and avoid under-estimating the requirements
> of the task (that's a common mistake, not just in GSoC, but in development
> in general). Show that you understand the project in the application, by
> including initial thoughts on how you think the code should be written
> (what are the important functions you'll have to modify, what will you need
> a parser for, how will the new features look to the end user etc)?
>

I totally agree with Dave here, especially on doubling the estimate of
time. Don't take it as a figure of speech. You really have to double
your estimate. Even with this, you may overrun.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


Re: Regarding GSoC 2012 project

From
mukesh agrawal
Date:
Thanks for your replies.

@Dave: In the reply you have mentioned ablout the code, but I am not able to get pgadmin code by now. Would you please give me the link from where can I get the code.

Also I had a question in mind:

Is the acceptance of a GSoC application is affected if you submit your application your application in the beginning or at the end?


Thanks



On Mon, Mar 26, 2012 at 12:43 AM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
On Sun, 2012-03-25 at 20:08 +0100, Dave Page wrote:
> On Sun, Mar 25, 2012 at 7:56 PM, mukesh agrawal <mkagrawal18@gmail.com>wrote:
>
> > Hi Dave
> >
> > Actually I was having my mid-sem exams, so I could not much related to the
> > project, But in the meantime, I went through
> > http://wiki.postgresql.org/wiki/PgAdmin_Internals but I didn't get much
> > related to the project.
> >
> > In the project proposal, I had to answer about the project schedule(How
> > long will the project take? When can you begin work?) but I am still not
> > much clear about this question. Could you please help me in answering this
> > question?
> >
>
> I haven't investigated what work would be needed to complete those
> projects, nor do I have any idea of your capabilities so I'm not able to
> suggest a project schedule for you. You'll need to look at the code, and
> try to get an understanding of the requirements of each sub-project, and
> then estimate how long you think it would take you to complete them. I
> would then suggest doubling that estimate to allow for overruns and testing
> time. You should also bear in mind you'll need a week or so to get a build
> environment setup and become familiar with it, and that you'll begin the
> project with little experience of the code base and wxWidgets, so plan on a
> slow start to begin with. I will say that I think a competent C++ developer
> should be able to produce a polished, release quality result for this
> project in the time allotted for GSoC.
>
>
> > Could you also please suggest me about what I should do now related to the
> > project to strengthen my GSoC application?
> >
> >
> Research as mentioned above - and avoid under-estimating the requirements
> of the task (that's a common mistake, not just in GSoC, but in development
> in general). Show that you understand the project in the application, by
> including initial thoughts on how you think the code should be written
> (what are the important functions you'll have to modify, what will you need
> a parser for, how will the new features look to the end user etc)?
>

I totally agree with Dave here, especially on doubling the estimate of
time. Don't take it as a figure of speech. You really have to double
your estimate. Even with this, you may overrun.


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com




--
Mukesh Kumar Agrawal
Junior Undergraduate
CSE@IIT Delhi

Re: Regarding GSoC 2012 project

From
Dave Page
Date:


On Sun, Mar 25, 2012 at 8:23 PM, mukesh agrawal <mkagrawal18@gmail.com> wrote:
Thanks for your replies.

@Dave: In the reply you have mentioned ablout the code, but I am not able to get pgadmin code by now. Would you please give me the link from where can I get the code.


I have to point out though, that asking a question to which you could find the answer by looking at the project website for 30 seconds (or using Google) doesn't give a good early impression.
 

Also I had a question in mind:

Is the acceptance of a GSoC application is affected if you submit your application your application in the beginning or at the end?

No. Once submitted though, I would recommend responding to any questions raised by the mentoring team in a timely fashion. 

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: Regarding GSoC 2012 project

From
HuangQi
Date:
Hi, Dave
    We could still send the mentor team the proposal for revision, right? So we should send the proposal to you, or we just submit on the Gsoc site?

On Mon, Mar 26, 2012 at 4:05 AM, Dave Page <dpage@pgadmin.org> wrote:


On Sun, Mar 25, 2012 at 8:23 PM, mukesh agrawal <mkagrawal18@gmail.com> wrote:
Thanks for your replies.

@Dave: In the reply you have mentioned ablout the code, but I am not able to get pgadmin code by now. Would you please give me the link from where can I get the code.


I have to point out though, that asking a question to which you could find the answer by looking at the project website for 30 seconds (or using Google) doesn't give a good early impression.
 

Also I had a question in mind:

Is the acceptance of a GSoC application is affected if you submit your application your application in the beginning or at the end?

No. Once submitted though, I would recommend responding to any questions raised by the mentoring team in a timely fashion. 

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




--
Best Regards
Huang Qi Victor
Computer Science Undergraduate
National University of Singapore

Re: Regarding GSoC 2012 project

From
Dave Page
Date:


On Mon, Mar 26, 2012 at 3:12 AM, HuangQi <huangqiyx@gmail.com> wrote:
Hi, Dave
    We could still send the mentor team the proposal for revision, right? So we should send the proposal to you, or we just submit on the Gsoc site?

The GSoC site.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company