« first day (2199 days earlier)      last day (2743 days later) » 
00:00 - 16:0016:00 - 00:00

4:08 PM
I meant to put to b in place of y and i also added parentheses. I am asked by my professor to use eval(input) so I have to use it and i also changed variables but still me error — Roshni Patel 38 secs ago
w t f... "asked by my professor to use eval"
/o\
I'm beside myself
 
Sad state of affairs in their college
 
Why would a professor suggest eval...why
why
 
> Fatal error in MPI_Allreduce: Other MPI error
hahaha thanks MPI :|
 
dammit Other MPI error....whoever you are
shakes fist
 
4:24 PM
thanks, hope that suffices;)
 
@BhargavRao wow you've been reading TOO much about Finland already. What do I know about Kannada, Bengaluru or anything such.
@idjaw that's eval
 
@idjaw thanks, that actually worked
 
cbg @davidism :)
 
cbg
 
@AndrasDeak glad I could help. Let me know if you need to make any other gestures
 
4:35 PM
cbg
 
@AnttiHaapala I'm not sure if I can link a comic here (as it contains a bit of foul language). But Google "The Nordic Model - reddit polandball" and read the first link. :)
 
was up late finishing and merging this big patch for flask-wtf: github.com/lepture/flask-wtf/pull/264
 
@AnttiHaapala is this a thing that happens in academics? Professors suggest eval as a way to teach?
 
cabbage @davidism
 
@idjaw this is the Learn Application Security the Hardest Way.
 
4:35 PM
:D
 
getting really close to a Flask-WTF 1.0 release, only 5 issues, 2 prs open
 
@AnttiHaapala punchline incoming in 10 years
 
@AndrasDeak WIP.
@BhargavRao regarding Simo Häyhä: if you see a smiling Finn, be very, very afraid:
(then look at my avatar again)
 
@davidism might be a silly question, but what are your rules with merging prs? I see that you merged your own pr? Is it a matter of just waiting for another core contributor to give a +1 and it's the OK to merge?
 
@AnttiHaapala Yeah, Yeah. I'm really afraid of you :P
 
4:43 PM
I mostly just merge because I'm never wrong. ;-)
 
haha
 
I made the PR so that I could have a URL to point to in the change log, and so that if there was an issue latter people could reference it easier, but I was pretty confident in these changes.
 
davidism is so polite that he even requests a pull from himself before pushing
 
@idjaw I guess the problem is that if one waits for another developer...
 
@AndrasDeak He's not impressed with himself.
 
4:45 PM
the worst noob is Past Self
 
It's slightly annoying because Travis.CI will test both the branch commit and the PR, so you get duplicated tests.
 
hmm.. really?
 
Yeah, so if you have commit access but also want a PR to track everything, you make Travis do twice the work.
 
oh ok. Because we definitely only have one test that runs when we open a pr
I guess it depends what you give travis in the config
 
sore throat rhubarb for now
 
4:48 PM
We have "build pushes" and "build prs" enabled. Which we want; sometimes we just push without making a PR.
 
hmmm, our travis files don't look that different, and I do see your tests running twice
oooh
ok that's it
 
Rhubarb @Andras. Take care
Rhubarb others too. Time to leave.
 
rbrb @BhargavRao
 
rbrb
 
If we cleaned up the workflow and only allowed commits through PRs, we could disable "build pushes".
 
4:50 PM
right...we run tests on pr, and then push to pypi on tag once in master.
 
But that only really works if you have a feature like in GitLab where you can force PRs to be ff-only.
Because otherwise merges that required merging won't be tested.
 
5:14 PM
@thefriend please don't link recent questions in the room sopython.com/chatroom
 
Ok
Sr about that.
 
no worries
 
5:52 PM
@idjaw @DSM you could petition with the government to split the Hans island with Denmark in half just for the sake of having Wikipedia to say that "Canada shares land borders with the contiguous United States to the south, and the US state of Alaska to the northwest, and with Denmark to the east.
 
@AnttiHaapala Consider it done. I shall forward this request to the appropriate governmental body to handle this
 
Good! I knew I could count on you
 
Canada is about helping. For your kind request, expect a bottle of our best maple syrup in the mail.
 
6:12 PM
random sharing of what my topic-of-the-day is - today's reading material is reading about node's scalability.
 
Is it web-scale?
 
this is what I'm trying to really get a good understanding about. Because, there seem to be quite a lot of high performing applications that use node, and I read about how fast node is.
it just seems like node needs to be horizontally scaled. Unless I'm really not understanding how efficient node really is at being bombarded by several requests.
 
7:03 PM
TIL (yeah, this is 43 years old... :D)
 
HL3 confirmed
 
is the best way in GH to find out how old a repo is to see when the first commit was? Surely there is a date somewhere else, no?
 
user6568562
7:52 PM
@AnttiHaapala That's some damn artistic commitment
 
Started working on the new developer story. I really like how it is laid out
 
 
1 hour later…
9:24 PM
@idjaw the "graphs" tab seems to show contributors from the beginning, judging by the 2 repos I looked at:P
 
10:02 PM
Hello hello
Is there any way to avoid having so many damn self.CONST_NAMEs in Python classes?
 
@gowrath yes
CONSTs should be class attributes, shouldn't they?
 
Right that's what i meant
but then you'd have cls.CONST_NAME right?
 
so?
@gowrath I guess, yes
what is the alternative?
 
Idk just wondering if there was a way to just use CONST_NAME
but retain it as a class constant
Something like a namespace
 
you can always bind a local name to cls.CONST_NAME
note that I'm not very hot on OOP, so there might be something obvious I'm missing
but I'm not sure I see your issue
 
10:10 PM
I see
It's not really an issue
Just makes the code kind of messy
 
Unless I'm mistaken, local namespace lookups are fastest. So if you say CONST = cls.CONST_NAME at the beginning (inside your function of interest), then using CONST instead of cls.CONST_NAME might also be faster (my notion of this subject is pretty vague, so I easily might be wrong on this one)
but anyway this will work
 
Oh true
Thanks haha
 
no worries
 
Also if something is a class constant
Is it bad style to do self.CONST as opposed to cls.CONST?
 
I'm guessing, but my guess is yes
I guess it shouldn't matter if you don't intend to change those "constants"
and either can be changed, so...
Are those realy class constants? Does that make sense?
they are usually module constants, and even PEP8 mentions them
the only constants I'm closely familiar with are scipy.constants, which also seem to be module constants
but of course those are partly constants in the physical sense
 
10:20 PM
I guess the motivation to keep them as class constants is to let a subclass override them?
 
I'm only talking about what's logical to me:D
if it's a constant defined on the class level, I'd expect it to be a class (or module) attribute. This expectation of mine might be wrong.
and the post is only 15 years old
 
Thanks a lot Andras
Also where is Tristan when you need him
smh
 
he's been around a lot today
maybe not a lot, because I've been around very intermittently myself, but I saw him multiple times in the room
 
Hows the teaching going?
 
Fine, thanks. Nothing out of the ordinary.
 
10:47 PM
Good evening everyone
 
hey, long time no see
 
yep...been trying to wean myself off stackoverflow....but that has been largely unsuccessfull
 
hehe
 
Just got a fanatic badge some few days ago!....Ironic representation of the amount of work i put into staying away from SO :)
 
yup:P
 
11:22 PM
Idk what it is, but there's just something really satisfying about the green color SO uses for rep changes
It's just so
Green
 
I'm finding the weirdest bugs in our code when implementing a new feature...
 
@gowrath That turns us into rep whores sometimes...
 
11:37 PM
Cabbage!
 
cbg
 
Was wanting to see if anyone here knew how to get information from zlib pertaining to what it uses when it decompress's a file. So i can copy the settings and recompress correctly?
 
is this the same thing as what you asked about half an hour ago on the main site?
 
No its not.
 
OK:)
 
11:41 PM
xcompress and zlib are two different things.
 
I don't know any zlib, nor LZX, and I know you've been here before, I just wanted to make sure
 
Yes quite a bit ago i was around for a minute.
 
yup
 
00:00 - 16:0016:00 - 00:00

« first day (2199 days earlier)      last day (2743 days later) »