GSoC 2012 Idea

33 views
Skip to first unread message

Rishav Das

unread,
Mar 20, 2012, 1:48:59 AM3/20/12
to sympy
Hi everyone
I'm a second year undergrad student in the Indian Institute of
Technology.
I wish to work on a mobile application for SimPy for this upcoming
GSoC.
I have some prior experience in developing for android platform and
will be able to create a UI that would integrate well and work
efficiently on the same.
Please let me know if this is an appropriate idea for google summer of
code and what other information I should provide.

Sergiu Ivanov

unread,
Mar 20, 2012, 10:30:09 AM3/20/12
to sy...@googlegroups.com
Hello,

On Tue, Mar 20, 2012 at 7:48 AM, Rishav Das <risha...@gmail.com> wrote:
>
> I wish to work on a mobile application for SimPy for this upcoming
> GSoC.
> I have some prior experience in developing for android platform and
> will be able to create a UI that would integrate well and work
> efficiently on the same.
> Please let me know if this is an appropriate idea for google summer of
> code and what other information I should provide.

The idea you suggest is listed here:

https://github.com/sympy/sympy/wiki/GSoC-2012-Ideas

so it is a valid idea.

Here

https://github.com/sympy/sympy/wiki/GSoC-2012-Application-Template

you will find what you have to do and what information you need to
provide in order to write a good proposal.

Sergiu

Rishav Das

unread,
Mar 20, 2012, 9:52:16 PM3/20/12
to sympy
I've created wiki page with appropriate details:

https://github.com/sympy/sympy/wiki/GSoC-2012-Application--Rishav-Binayak-Das--Mobile-Application-for-SymPy

And I'll now proceed to work on the patch!

On Mar 20, 10:30 am, Sergiu Ivanov <unlimitedscol...@gmail.com> wrote:
> Hello,
>

Rishav Das

unread,
Mar 21, 2012, 9:29:15 AM3/21/12
to sympy
Please let me know whom I can get in contact with and what development
work I should proceed with. In order to get acquainted with the code
and meet the patch submission prerequisite, I've sent my first pull
request on GitHub.


https://github.com/sympy/sympy/pull/1154

On Mar 21, 6:52 am, Rishav Das <rishavd...@gmail.com> wrote:
> I've created  wiki page with appropriate details:
>
> https://github.com/sympy/sympy/wiki/GSoC-2012-Application--Rishav-Bin...

Joachim Durchholz

unread,
Mar 21, 2012, 10:20:12 AM3/21/12
to sy...@googlegroups.com
Am 21.03.2012 14:29, schrieb Rishav Das:
> Please let me know whom I can get in contact with and what development
> work I should proceed with. In order to get acquainted with the code
> and meet the patch submission prerequisite, I've sent my first pull
> request on GitHub.
>
>
> https://github.com/sympy/sympy/pull/1154

XNor is (or should be) the same as Equivalent, so I'm wondering what
that is good for.
Is there a bug tracker entry that this solves? Other motivation that
makes this useful in its own right?

Rishav Das

unread,
Mar 21, 2012, 10:26:42 AM3/21/12
to sympy
Xnor is defined for multiple inputs while logical equivalence is
defined only for two inputs.
(Interestingly, the two are identical for two inputs)
I added this as a new function since it wasn't present and was one of
the known logic functions on Wikipedia.

No, there was no bug fixing motivation behind it.

Joachim Durchholz

unread,
Mar 21, 2012, 10:36:02 AM3/21/12
to sy...@googlegroups.com
Am 21.03.2012 15:26, schrieb Rishav Das:
> Xnor is defined for multiple inputs while logical equivalence is
> defined only for two inputs.

Equivalent as defined in SymPy can handle multiple inputs, see the
doctests on Equivalent.eval.

It seems we have a somewhat too narrow class docstring on Equivalent.

Rishav Das

unread,
Mar 21, 2012, 10:41:08 AM3/21/12
to sympy
Xnor(True,True,True) = False
whereas Equivalent(True, True, True) = True

One example of how they differ.

Joachim Durchholz

unread,
Mar 21, 2012, 5:32:04 PM3/21/12
to sy...@googlegroups.com
Am 21.03.2012 15:41, schrieb Rishav Das:
> Xnor(True,True,True) = False

NOT (True XOR True XOR True)

isn't how operators are commonly extended to multiple operands.
The common definition would be

True XNOR True XNOR True

which evaluates to True.

> whereas Equivalent(True, True, True) = True

Agreed.

Rishav Das

unread,
Mar 23, 2012, 1:23:24 AM3/23/12
to sympy
I can see you're right. I was trying to meet the patch requirement for
GSoC 2012. I'll focus instead on working on creating an Android app
since that makes more sense for my project idea.

Joachim Durchholz

unread,
Mar 23, 2012, 3:47:14 AM3/23/12
to sy...@googlegroups.com
Am 23.03.2012 06:23, schrieb Rishav Das:
>
> I can see you're right.

No harm done, that's what code review is for :-)

Can you close the pull request? Otherwise, it will stay around as "open,
needs to be merged into the project" until somebody comes around to
pulling it (and we'll have the same review discussion again).

> I was trying to meet the patch requirement for
> GSoC 2012.

Hm... yes, I can see how that can happen.
The important point about patches is that they help the project along. A
patch just for bureaucracy's sake isn't very useful, as you just found
out :-)

Where did our web pages not make that clear enough?

> I'll focus instead on working on creating an Android app
> since that makes more sense for my project idea.

Sounds like a good strategy.
Somebody with an Android background might be able to provide more advice
on how to do that in a form that the project can use. (I have no Android
background.)

Reply all
Reply to author
Forward
0 new messages