These are chat archives for spyder-ide/public

2nd
May 2018
Dan Bradham
@danbradham
May 02 2018 15:54
Hello everyone
Carlos Cordoba
@ccordoba12
May 02 2018 15:55
Hey Dan, welcome to our chat!
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 15:57
Hi @danbradham thanks for the help on QTSass :-)
Dan Bradham
@danbradham
May 02 2018 15:57
No problem =) really useful project
Dan Bradham
@danbradham
May 02 2018 16:16
I noticed you guys maintain your own qt compat module, are you aware of the Qt.py project?
that's what we use in my domain
it's super production tested considering giant studios like disney, weta, sony use it in their own tools
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:20
Yeah we are aware of that wrapper. We created qtpy some time before and it is also used by a lot of different projects in production as well
Dan Bradham
@danbradham
May 02 2018 16:21
sweet, yeah I just checked out qtpy, it's super well organized
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:21
We could not agree on how the author could contribute to QtPy and he opted for creating yet another wrapper (AnyQt is algo around.., pyqode.qt )
Dan Bradham
@danbradham
May 02 2018 16:21
lol
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:22
And he also picked a very similar name....
unfortunately
Dan Bradham
@danbradham
May 02 2018 16:22
right, I imagine some people are accidentally installing one or the other at times
what can you do? =)
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:24
Not much, just keep providing support :-), I think Matplotlib is going to switch to it in an upcoming version
That can give some sort of "official" backing to it
Dan Bradham
@danbradham
May 02 2018 16:28
nice
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:29
Each wrapper solves a different itch, so is room for more... having similar named packages on the other hand, not great
@danbradham created a milestones and some issues to track
you have xp with continuous integration Travis/Appveyor ?
Dan Bradham
@danbradham
May 02 2018 16:30
yeah
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:30
Cool :-p , then have fun xD
Dan Bradham
@danbradham
May 02 2018 16:30
lol
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:30
the idea is to add testing with CI
plas badges etc...
Dan Bradham
@danbradham
May 02 2018 16:30
right on
gonna finish that pull request first
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:30
I activated travis
so feel free to start with that
Sure thing
no rush
Made some comments
on the PR
Dan Bradham
@danbradham
May 02 2018 16:31
great
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:31
Dan Bradham
@danbradham
May 02 2018 16:35
do you want to apply a license to this sucker?
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:35
yes !
MIT
Dan Bradham
@danbradham
May 02 2018 16:36
solid
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:36
spyder-ide/qtsass#9
Dan Bradham
@danbradham
May 02 2018 16:37
I'm just going to copy some stuff from that loghub package
boilerplate including spyder dev team copyright etc
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:37
:+1:
Please open issues to keep track of things, and make separate PRs
Dan Bradham
@danbradham
May 02 2018 16:38
will do
i'm actually not sure how to handle multiple pull requests
do you do feature branches or what
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:39
If there's no license currently, then technically speaking it defaults to all rights reserved and the copyright (of the original code, at least) is owned by the original dev. Therefore, to be safe we need to get something in writing from them that they agree to release their portion of the work under MIT.
Dan Bradham
@danbradham
May 02 2018 16:40
good point
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:40
I think he (implicitely) agrees since he agreed to transfer the project to the spyder-ide Organization
but sure lets ask
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:41
@goanpeca Both the Zen of Python and the Zen of Lawyers says "Explicit is better than implicit" heh.
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:43
Agreed
I tagged the original author handle in one of the comments
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:44
Also @danbradham you want the copyright statement line to read along the lines of the following:
Copyright (c) 2015 Yann Lanthony
Copyright (c) 2017-2018 Spyder Project Contributors
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:44
Could you ping him asking for the License info ?
We could drop the 2018, so we do'nt have to update that every year
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:44
No, otherwise its not legally valid.
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:44
when omitted it means up to current date
Nahh...
not true
But if you feel safer, fine by me
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:47
In the US, a legally valid copyright notice is required contain all three elements: "Copyright", year and author https://www.copyright.gov/circs/circ03.pdf
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:47
Start year, not end year

This

Copyright (c) 2015 Yann Lanthony
Copyright (c) 2017 Spyder Project Contributors

is as valid as

Copyright (c) 2015 Yann Lanthony
Copyright (c) 2017-2018 Spyder Project Contributors

And actually Spyder Project Contributors does not mean anything cause it does not have legal status as a person nor a legal person

So in reallity
we are in a twilight zone in there...
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:51

And actually Spyder Project Contributors does not mean anything cause it does not have legal status as a person nor a legal person

Not by itself, but it is a reference to the AUTHORS file which names/references the individual persons who hold copyright to portions of the work, as contributors

Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:51

but it is a reference to the AUTHORS

Well maybe we should actually include that in the header

Copyright (c) 2015 Yann Lanthony
Copyright (c) 2017-2018 Spyder Project Contributors as listed in AUTHORS.md
?
dont know xD
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:52
Nah
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 16:52
Ok gotta go
have fun!
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:52
Legal fun
heh
Dan Bradham
@danbradham
May 02 2018 16:52
har
CAM Gerlach
@CAM-Gerlach
May 02 2018 16:59
But yeah @goanpeca is right, it can just include the year of first publication, although typically the range is used to indicate the latest date of new contributions, whose relevant year is the year they were first pushed to a public branch. Still, it needs a year, and since it only needs updating when a new change is made in a new year (the year only changes if a change is made in that year) not sure its that much work to update it at most once a year.
Copyright still exists without it, but cases have been won and lost due to not having them and people claiming ignorance, and it is a very good practice to inform users for clarity.
Dan Bradham
@danbradham
May 02 2018 17:16
do you happen to have yann's email?
CAM Gerlach
@CAM-Gerlach
May 02 2018 17:18
You could tag him in the issue thread? I think that's what @goanpeca suggested...
Dan Bradham
@danbradham
May 02 2018 17:22
shall I merge that pull request myself?
CAM Gerlach
@CAM-Gerlach
May 02 2018 17:22
You need to check with the previous dev first.
As @goanpeca requested, please tag him in the issue #9 thread. Also, some changes need to be made.
CAM Gerlach
@CAM-Gerlach
May 02 2018 17:49
@danbradham Just checking, everything you've added is harmonized on LF for EoL, right?
Dan Bradham
@danbradham
May 02 2018 17:53
pretty sure...I'm on windows but it should be automatically converting to LF on commit
CAM Gerlach
@CAM-Gerlach
May 02 2018 17:53
I can check...I always just use LF locally too, to keep things simple and clean, even on my Windows machines.
Dan Bradham
@danbradham
May 02 2018 17:55
yeah my settings are set to checkout crlf and commit lf
should be good
CAM Gerlach
@CAM-Gerlach
May 02 2018 17:57
Yeah, that's fine. I always just put everything to LF both ways (checkout LF, convert to LF on input), but that's personal preference.
danbradham @danbradham raises his thumbs
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 20:37
@danbradham merged!
thanks for the work
;-)
Dan Bradham
@danbradham
May 02 2018 20:38
cool, cool, looking forward to non-monolithic pull requests
Gonzalo Peña-Castellanos
@goanpeca
May 02 2018 20:38
Yes
Remember
one PR per Issue
and lets try to open very specific issues
and also remember tu use a branch in your fork and not master directly ;-)
Anyway, great work!
Dan Bradham
@danbradham
May 02 2018 20:39
will do, thanks
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:29
hi. new here
anyone here ?
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:30
Hey, welcome to Spyder!
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:30
How to move the console to the bottom of spyder - ide ?
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:31
Click the maximize/minimize button to detach the pane, then drag it where you want it.
image.png
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:33
image.png
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:34
Okay, good. Now just drag it over the UI, and you should see it re-arrange on the fly and pop up blue areas where it will insert it.
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:36
it doesnt respond to my click
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:38
You can't drag around the popped-out console window by the title bar?
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:39
i can , but it wont go on the bottom, just vertical to the script
do i need a horizontal split instead of vertical ?
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:43
The split shouldn't matter. You just have to drag it all the way to the very bottom sometimes for it to go the bottom. I was able to do it here, so long as I dragged it all the way down. If you still can't get it, can you record a GIF or something so we can see what's going on?
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:43
ok. thanks
I got what I wanted. thanks
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:48
Great! :+1:
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:49
Im paul from calif
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:51
Hello Paul; I'm C.A.M. Born and raised in DC/Northern VA, but I'm in Huntsville AL at UAH for grad school. We have users from all around the world, so its actually rare thing for me to meet another American.
Paul Armen Gureghian
@paulgureghian
May 02 2018 22:52
100% all american here
does spyder have github integration ?
CAM Gerlach
@CAM-Gerlach
May 02 2018 22:57
Not yet unfortunately. We have basic integration with Git, allowing you to commit and use the gitk GUI right from within Spyder, but expanded features in that domain are being considered for Spyder 4, due out in final form by the beginning of next year.
Even though I'm young I'm a die hard command line git user, and with the spyder-terminal plugin you can actually do all that from within Spyder too. But we're definitely looking in to more advanced features that might tempt me away from the shell.