These are chat archives for ipython/danger_zone

2nd
Jun 2015
See "Signs that you shouldn't be a programmer" at the bottom. It made me LOL
Jonathan Frederic
@jdfreder
Jun 02 2015 16:19
pip install pyside 10 minutes later, I'm wondering if this was a mistake.
Jonathan Frederic
@jdfreder
Jun 02 2015 16:31
Hm, this is abnormally slow.
Thomas Kluyver
@takluyver
Jun 02 2015 16:53
on Linux or on a Mac?
Jonathan Frederic
@jdfreder
Jun 02 2015 16:54
Linux, Mint (Ubuntu)
30 minutes later it failed
It's okay though
ended up settling with PYQT
from apt-get
lol
Thomas Kluyver
@takluyver
Jun 02 2015 16:55
yeah, pip install pyside would try to compile it from source. That's not something you want to do...
Jonathan Frederic
@jdfreder
Jun 02 2015 16:55
( this is all related to building the Sphinx docs, btw )
But I have the docs building now
Thomas Kluyver
@takluyver
Jun 02 2015 16:55
oh cool. I spent a while trying to mock out PyQt yesterday, and didn't get anywhere with it.
Jonathan Frederic
@jdfreder
Jun 02 2015 16:55
I'm going to work on the Javascript integration
Aw sorry to hear that
so the RTD build isn't working yet?
Thomas Kluyver
@takluyver
Jun 02 2015 16:56
I suspect we'll just have to host the Qt console docs on Github pages
no :(
Jonathan Frederic
@jdfreder
Jun 02 2015 16:56
hmm
I shouldn't have to worry about that with the notebook though
I'm not documenting any QT anything, right?
Thomas Kluyver
@takluyver
Jun 02 2015 16:57
yeah, all the other repos should only need things that can be pip installed
Jonathan Frederic
@jdfreder
Jun 02 2015 16:57
Great
Well, I'll also need to use your conf.py launcher trick for the jsdoc execution
I'm guessing..
Since RTD only executes Sphinx, right?
Dang, someone left a bar of chocolate on my desk, it's almost gone.
(someone = me)
Thomas Kluyver
@takluyver
Jun 02 2015 16:59
ha :)
oh yeah, the jsdoc stuff. That might be going a bit beyond what RTD can do, even with conf.py tricks
Jonathan Frederic
@jdfreder
Jun 02 2015 17:00
Poo
Thomas Kluyver
@takluyver
Jun 02 2015 17:00
Even if it's technically possible, it's probably frowned upon to install NPM on RTD
Jonathan Frederic
@jdfreder
Jun 02 2015 17:01
Well then notebook docs may need to be GH pages too
if we want to include any JS
we can talk about it at the meeting
Thomas Kluyver
@takluyver
Jun 02 2015 17:01
yeah
Matthias Bussonnier
@Carreau
Jun 02 2015 17:02
I'm in 190 D
As last time.
Thomas Kluyver
@takluyver
Jun 02 2015 17:03
ha, I'm sending one of Fernando's old laptops off for repair so I can use it, and I've just realised that they have overnighted me an empty box for me to put the laptop in and send back to them.
OK
Matthias Bussonnier
@Carreau
Jun 02 2015 17:03
Great !
Jonathan Frederic
@jdfreder
Jun 02 2015 17:03
Wow, that's nice of them. Which manufacturer is that? Dell?
Matthias Bussonnier
@Carreau
Jun 02 2015 17:03
Lenovo.
Jonathan Frederic
@jdfreder
Jun 02 2015 17:03
Ah
Matthias Bussonnier
@Carreau
Jun 02 2015 17:03
Still under waranty.
Jonathan Frederic
@jdfreder
Jun 02 2015 17:03
Good to know
Matthias Bussonnier
@Carreau
Jun 02 2015 17:04
Make lawnmower noise at startup
Jonathan Frederic
@jdfreder
Jun 02 2015 17:04
Hah
Maybe just a bad fan
Warranty = free fix though
So not worth a DIY
Thomas Kluyver
@takluyver
Jun 02 2015 17:05
yeah, it's very nice
I just think it's funny that they shipped a box 2000 miles from Kentucky
I think it should be a simple fan replacement
Jonathan Frederic
@jdfreder
Jun 02 2015 17:06
Yeah, seems like they'd benefit from a deal with UPS allowing people to pickup boxes from the local store
Maybe a simple fan replacement, hopefully a brand new laptop for free : )
Thomas Kluyver
@takluyver
Jun 02 2015 17:07
one can hope, but I doubt it
Sylvain Corlay
@SylvainCorlay
Jun 02 2015 20:35
functions are first class objects in JavaScript except that function.name is not writable
any other attribute is writable
and it just silently fails when assigning a value to it
:rage4:
Jonathan Frederic
@jdfreder
Jun 02 2015 20:51
@SylvainCorlay interesting
> var x = function() {};
undefined
> x
function () {}
> x.name
""
> x.name = "test"
"test"
> x.name
""
just like you said
Sylvain Corlay
@SylvainCorlay
Jun 02 2015 20:52
#undebuggable
Matthias Bussonnier
@Carreau
Jun 02 2015 22:32
@jdfreder you want a named function :
>function x(){}
undefined
> x
x()
> x.name
"x"
Jonathan Frederic
@jdfreder
Jun 02 2015 22:33
Yeah, but you still can't change that
right?
> var x = function y() {};
undefined
> x
function y() {}
> x.name
"y"
> x.name = "test"
"test"
> x.name
"y"
Matthias Bussonnier
@Carreau
Jun 02 2015 22:34
hum, yeah, that's true.
but at least you get a name :-)
Sylvain Corlay
@SylvainCorlay
Jun 02 2015 22:40
I was trying to set the name of an anonymous function
as an object attribute
but it is read-only
Jonathan Frederic
@jdfreder
Jun 02 2015 23:44
@takluyver , I'm waiting on RTD now - https://www.youtube.com/watch?v=vWuQVpBeqLs