« first day (2045 days earlier)      last day (2903 days later) » 
04:00 - 20:0020:00 - 22:00

4:03 AM
Why is nodejs on c++(v8) faster than cpython ?
 
4:21 AM
okay v8 uses JIT compiler.
 
 
2 hours later…
5:53 AM
@MartijnPieters unfortunately no, my cons are pretty much limited to PyCON finland
@davidism <-- @Scribbles
 
 
2 hours later…
7:50 AM
@BhargavRao bronze game USA-RUS 18:45, and final is at 23:15 IST...
 
 
2 hours later…
9:42 AM
cabbage
 
9:54 AM
cabbage
@AnttiHaapala Wow, 3 hours left. I can finish all my work by then. Thanks
 
 
1 hour later…
11:22 AM
yam, I'm starting to think that the reason my app hasn't been working for days is not an error on my side:S
in which case I've been debugging my working code for days:D
 
 
1 hour later…
12:34 PM
hey guys. morning.
 
12:44 PM
cbg
 
quick question. How do I import data into my postgresql docker container. Can't seem to find any instructions.
 
no idea, sorry
 
@AndrasDeak do you know what format postgres accepts database in
is it json? sure not csv or excel right?
 
1:08 PM
@Ming why are you asking a specific person and pinging them? Please don't do that.
It's a Sunday, people don't need you bothering them.
 
he replied me earlier. thats why.
 
He replied to say "no idea, sorry".
In no way does that constitute a continuing conversation.
And doesn't give you the right to further bug him.
 
it was a followup question. but ya. didnt want to disturb ppl.
 
A follow up question to "no idea, sorry"? Really?
Is that really your excuse?
Please don't do it again.
 
sure thing. got it.
 
1:17 PM
thanks Fizzy
 
Time for more badminton \o/
 
have fun:)
 
@AnttiHaapala Tell that to David Beazley. — C Panda 1 min ago
cbg
@BhargavRao damn RUS in lead.
 
1:33 PM
cabbage, Antti
 
I hope USA wins. Just because it'd displease Putler maximally
 
as long as you have the right reasons:P
 
cbg all!
In classes tutorial it mentions, Although scopes are determined statically, they are used dynamically.
I know how scopes work when referencing a variable, but can't understand this statement.
 
@AbhishekBhatiab so read the paragraph in its entirety.
and if you do not understand, then ignore :D
 
@AnttiHaapala perma-garlic
 
1:44 PM
@AbhishekBhatia lmgtfy.com/…
in general case I suggest you'd use google instead of me using google for you.
 
@AnttiHaapala I did, but the answer used decorators to explain it, I am not much familiar with that. Was looking for easier explanation.
 
I'm done. @AbhishekBhatia do your own research from now on.
 
then ignore. Ignore whatever you didn't understand. As simple as that.
or we will ignore you
If (1).__dir__() always returns the same list and the "conversion" is like if not isinstance(x, list): x = list(x) and the sorting is like x.sort(), then dir would always return the same list, not a new one. — Stefan Pochmann 9 mins ago
sigh
@BhargavRao en.wikipedia.org/wiki/… :D:D
 
2:33 PM
Cabbage
 
done
RUS-USA 5-0
 
3:00 PM
@AnttiHaapala 5 - 1
 
yeah :(
 
Back home now.
I am supporting Russia :P
5-2, @antti Hoping for a turn around in the game?
 
@BhargavRao as I said, I am supporting USA because I want Putler to be displeased :D
and USA is the underdog here
 
I am supportin Russia just to spice things up for you :P
 
user559633
I just supported a breakfast burrito for my stomach. We both won.
 
3:15 PM
"Here's some code about adding numbers, how do I write an app that shows what song is playing on my computer?"
 
user559633
Heh, just commented.
 
user559633
it's come to my attention that i need to be playing doom
 
"the blandening" PreRec is so good.
 
user559633
i only found out about PreRec earlier this week. it's so good.
 
3:25 PM
You watch Red Letter Media, right? Same guys.
 
user559633
oh, yeah -- i just mistakenly thought that they were all riding mike's coattails, but PreRec is solid
 
I'm just waiting for that Force Awakens review.
 
user559633
it's out
 
user559633
so far, PreRec registers to me as video game reviews by people that actually play video games and not just someone getting paid $0.05 a word to bullshit about how offended they are and how problematic shit is.
 
user559633
3:28 PM
Oh. Plinkett Force Awakens instead of Half in the Bag.
 
It reminds me of old EGM and Area 5 Co-op.
 
@BhargavRao pretty certain now
 
Yep! 6-2
 
user559633
My understanding was that the new Star War was eh, fine, so I imagine it will be closer to the Star Trek reviews. In that it will partially another shot at the crappy original 6 star wars
 
well....... it was better than 1-3 ...
 
3:31 PM
Woah! Goal in last 10 secs :O
 
still time for 1 more
 
Heh, They just took it away. :D
 
user559633
is wondering if he claim a gaming PC as a business expense
 
Anyway, I'll have my dinner and be back for the Can-Fin Match. rbrb.
Best of luck for ya team @antti
 
@BhargavRao for our team :D
let's annex bengaluru to Finland.
the Indian enclave :D
or populationwise annex Finland to Bengaluru :D
 
3:36 PM
@tristan check out Co-op: youtube.com/user/area5media/…
 
user559633
@davidism would you recommend one?
 
Try something from the middle seasons. I watched it back when it came out, can't really remember specific episodes.
 
Ha, I don't really like reading the C code, I'll just trust what you say there. That's the source code, though, not the documentation. — Stefan Pochmann 9 mins ago
-pedantic anyone?
 
3:52 PM
@AnttiHaapala Lol, I will see the 1st period and then decide which team to support :P
 
hey that's not correct.
remember canada invented this game, finland is the underdog here
 
Awesome, then I am supporting Finland. \o/
 
also if finland wins it would be a historic event of same country winning U18, U20 and general championship on the same year...
canada has 25 gold metals, Finland 2 :D
 
Let's have some "koskenkorva" after the match ;)
 
:P
are you sure :d
 
4:01 PM
Lol, I saw it on 9gag. (after Finland beat Russia yesterday, there was a meme posted)
 
user559633
4:13 PM
pedantic people, on my site for people whose core identity is centered around programming?
 
@tristan I said the documentation says X, then amended my statement thrice with links to various parts in documentation. When the guy says "it doesn't prove anything" I dig the source code to show afterwards that my reading of documentation matches how it is written in C, and the guy says "but the code is not documentation".
 
user559633
@AnttiHaapala i read the comment as "ugh gross i didn't actually want to see what the documentation explains" and saw that you quoted the doc, so i didn't bother reading the thread
 
Another day, another HV kicked.
 
@Antti If you are interested live.robinwidget.com/livematches/… You know which team to support :P
 
(I just came back to "Davidism has kicked ..." header)
 
user559633
4:28 PM
From where? Oh
 
user559633
@BhargavRao Why didn't they just name them the "DareDelhvils?"
 
@tristan Lol, Perhaps they did not get that idea.
 
user559633
My understanding of marketing is that it's 90% about pun-density
 
@BhargavRao how can you concentrate on 2 games a the same time :D
 
@AnttiHaapala 1 hr left for the finals. So can watch this in between. :P
 
4:30 PM
:D
indian cricket, where are the indian players :(
 
Looks like it's time for more DOOM.
 
@AnttiHaapala Premier league, So there are 4 international players.
 
@BhargavRao I am like "oh wait, this must be another ad before the indian cricket starts" :D
because I just saw dutch or boer names there :D
 
Dutch Names?
 
user559633
@Ffisegydd Are you playing on a gaming PC? I saw that they're releasing a new ps4 (with different specs) and didn't know if it was fine on console
 
4:34 PM
@tristan but of course.
 
@BhargavRao de Villers
@BhargavRao and I was right
 
user559633
@Ffisegydd Fair enough. I guess that I should have expected that given the extreme amount of time we spent playing l4d2 together
 
It was pretty extreme.
For the record, I don't even own a console (an old 360 that has been dubbed NetflixMachine doesn't count)
 
@AnttiHaapala He's from South Africa
 
@BhargavRao exactly
@BhargavRao he's got a Dutch name because he is of Boer/Afrikaans origin
 
4:36 PM
The two players who are playing atm are the best batsmen in intl cricket.
AB De Villiers had a newspaper column called "De Vil's views" :D
Damn he got out :( .. I'll grab a cup of coffee and be back.
 
4:49 PM
excuse me all, someone here knows sqlite3 well?
 
Just ask your question
Don't ask if anyone knows X.
 
@johndoe_asking you had 1 question...
 
@BhargavRao about to start
 
@idjaw @DSM :P
let the best European team win
 
5:49 PM
Well, Can start watching properly. Bengaluru won the match. ;)
 
6:04 PM
shit :D
 
That's 1
 
one shit, yes
 
I'll take it hehe
 
DatabaseError: database disk image is malformed - what makes this error occures?
in sqlite3
 
your database is b0rken
 
6:11 PM
Sounds like the file is broken
 
it happens me after many select queries
the actuall question is here stackoverflow.com/questions/37374962/…
 
let me kick him the next time :D
 
user559633
that's probably a dupe
 
user559633
i know i've answered that before
 
6:14 PM
It's also an awful question
"I am confuse. Unconfuse me."
 
user559633
it has to go beyond the constants for the int
 
@tristan closed as dupe
 
user559633
>>> a = 1
>>> b = 1
>>> c = 9001
>>> d = 9001
>>> a is b
True
>>> c is d
False
 
already.
235
Q: "is" operator behaves unexpectedly with integers

Greg HewgillWhy does the following behave unexpectedly in Python? >>> a = 256 >>> b = 256 >>> a is b True # This is an expected result >>> a = 257 >>> b = 257 >>> a is b False # What happened here? Why is this False? >>> 257 is 257 True # Yet the literal numbers compare properly...

it is duplicate of this.
 
The strange thing is that he's using large ints.
 
6:15 PM
notice the last line is 257 is 257
 
>>> a=343434;b=343434
>>> a is b
True
 
user559633
yeah, same line.
 
@Antti sorry to say but your dupe is wrong :P
 
+1
 
@Ffisegydd it is not
it is exactly correct.
the last line is 257 is 257 gives true
 
it is because the bytecode is compiled once
 
user559633
^
 
so the constant is loaded only once
exactly
it is exec(..., 'single') behaviour
all in all, not interesting at all
 
I think Weird Integer Cache inside Python would be a better dupe target
 
though that poke's one is better
ok I'll reopen :D
or someone else change that
that is a better dupe
actually anyone withhammer can change it
 
6:21 PM
Vaultah sorted it
He sorted out YOUR MESS.
 
That’s a nice dupe target, didn’t know that yet
A very technical question post already too.
 
I actually already had that upvoted, so it must have come up here before.
 
because that question is so stupid already...
 
Further reason to avoid using is for these types.
 
user559633
well, this is whatever the opposite of fun is
 
6:24 PM
because when you know that you cannot really use is...
and then start asking these silly questions
 
Now that True and False are constants like None, you can use x is True correctly though.
 
it is like the people in
 
user559633
haha yeah people trying to learn things are the worst
 
they accept that something has undefined behaviour... then they start asking "why is the undefined behaviour defined like this in this case"
 
@davidism Well yes, when I said these types I was being casually racist against anything not False, True, or None.
 
6:25 PM
@tristan they're not trying to "learn"
@AnttiHaapala If you read forward it mentions, literal numbers compare properly. This is different though same in concept. It is easy to get confused by this. — Abhishek Bhatia 41 secs ago
 
user559633
yeah i'm just sort of crop dusting with trolling comments because we're dangerously close to being shitty because someone doesn't understand something
 
I wonder if back when there wasn’t a bool type yet, you could do is True because the integers 0 and 1 were cached singletons anyway..
 
see... not trying to learn
AB is not trying to learn.
 
Yeah exactly.
 
AB cannot ignore what they do not understand :D
 
6:27 PM
Surprisingly, 1 is True returns False in 2.7 as well. It's only equal to 1, not identical to it.
 
AB does not learn. They just ask, and ask, and ask. No matter what. No matter how much they're asked to ask proper questions. They just ask crap.
 
hem...
 
@davidism That’s because bool is an actual type there already
 
Sometimes you have to draw a line and say "I don't care if this person is trying to really learn this time, based on previous behaviour they have zero chances."
 
clicked to see question. Saw who asked question. Closed tab and went back to my beer.
 
user559633
6:28 PM
not that it matters, but i'm not sure this is similar to people wondering why undefined behavior is defined in a certain way in C
 
Does anyone have a Python 2.2 sitting around somewhere?
 
no
deadsnakes didn't even have that iirc
@poke howso
the True is 1
 
@tristan Huh?
 
Can you check whether 1 is True
 
user559633
@Ffisegydd >they accept that something has undefined behaviour... then they start asking "why is the undefined behaviour defined like this in this case"
 
6:30 PM
Actually, needs to be a 2.2.1 since True and False weren’t constants before
And actually, we don’t need to check, because the changelog explains:
> A Boolean type was added to Python 2.3. Two new constants were added to the __builtin__ module, True and False. (True and False constants were added to the built-ins in Python 2.2.1, but the 2.2.1 versions are simply set to integer values of 1 and 0 and aren't a different type.)
 
oh yam...turns out my python android app doesn't handle listeners right, I might have to write it in java:S
 
Python 2.2.3 (#1, May 22 2016, 11:31:55)
>>> 1 is True
0
 
I might be late to this party, but AB has been like this months ago too, so he's had a lot of time to improve
 
@davidism Huh.
Odd
 
@davidism 1 is 1?
@davidism can you test that?
 
6:33 PM
Well that was 2.2.3, I can go back through the point releases.
 
no need
just try 1 is 1
 
Returns 1.
 
odd
 
then
a = 1 <enter>
b = 1
a is b
lets see if the integer cache is still there
 
Maybe the 1 object that’s used for True is then a different than the cached one?
 
6:35 PM
it must be
stupid us
the source's in github
@poke ^
 
Is that 2.2.0 or 2.2-trunk?
nvm, it’s trunk
 
2.2-trunk
Include/intobject.h:#define Py_True ((PyObject *) &_Py_TrueStruct)
 
derp
okay
mystery solved
 
but:
@davidism 0 is False?
 
0
 
6:41 PM
@Antti No, for the same reason
 
ah indeed, just checked
stupid name though
@davidism so can you have 2.1?
 
Yeah, I was confused for a second too.. Why is one True, the other Zero?
 
I am wondering if 0 is (1 > 2)
I am thinking, perhaps these were different constants in 2.1 as well
 
Imagine False being named Zero instead…
That could work, since all the operations would only return actual bool objects starting with 2.3. But the Py_True/Py_False` once may be used internally already for longer
(that’s actually very likely…)
 
Python 2.2.1 (#1, May 22 2016, 11:43:16)
>>> 1 is True
0
>>> 0 is False
0
>>> 0 is (1 > 2)
0
 
6:44 PM
no, in 2.1 :D
or 2.2.0
 
oops, lol
Python 2.2 (#1, May 22 2016, 11:45:46)
>>> 1 is True
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'True' is not defined
>>> 0 is (1 > 2)
0
 
hm
>>> a = 2
>>> b = 2
>>> a is b
^ that please @davidism :D
 
1
 
meh
Okay, I give up xD
Maybe they already used Py_True internally but didn’t expose that
 
davidism i/o is very inefficient
 
6:50 PM
– I could click the blame button and find out, but I don’t want to.
 
lol
 
Okay, I did it @Antti
I pressed the blame button.
Py_True and Py_False exist at least as early as Jan 1995.
 
6:55 PM
@poke yeah I thought so :D
 
So it’s likely that they have been used internally already for a while.
 
makes sense
 
The True and False came in April 2002.
Fun fact: Py_False was previously named False and its object was FalseObject instead of _Py_ZeroStruct.
Would be interested in the reason behind that rename..
 
But the commit message “Quickly renamed the last directory.” (which contains 3155 additions and 3088 deletions—so much for quick) does not really give an idea about the reason to that.
 
7:02 PM
I wouldn't be too sure about there being any rationale
to me it seems much of the CPython development is driven by irrationales at most
 
:D
 
At least it’s mostly a benevolent irrational development.
 
@davidism I thought I'd breathe in and out 10 times before kicking
why you need to be so fast
 
user559633
hooray more bullshit internet drama for a sunday
 
7:05 PM
 
Stealth attack
 
@Antti Still 0-1 down :-(
Finland needs to up their game
 
user559633
game's not finnished yet (are we still doing this?)
 
Looks like Finland will get finnished :/
 
7:20 PM
:/
 
one more period left
We are totally still doing this
 
I believe in you
 
I believe in me too
 
user559633
not sure if family planning or hockey
 
let's just leave this one up in the air. It works too well for both
 
7:26 PM
In Canada, could be both.
 
definitely
 
"We can't have a kid just yet because in 9 months time it'll be the play offs and don't want to miss that!"
 
-serious conversation between two mating Canadians.
 
You guys should watch The League. You don't even need to understand American football.
It's up there with Archer and Silicon Valley as favorite comedies.
 
user559633
 
7:33 PM
The League is fantastic. I love it
 
out for now, rhubarb
 
rbrb poke
 
user559633
take care poke, good seeing you
 
user559633
i don't think it holds a candle to archer or sv, but it is amusing
 
user559633
okay, time to go head's down.
 
user559633
7:35 PM
have a good day everyone
 
user559633
good luck to your teams, etc
 
Cheers Tristan
 
rbrb both.
 
7:52 PM
shitshit :d
finland crumbles
10th time in finals
and 8th defeat? :D
 
Tough luck.
COngrats @idjaw
 
no goalie
:D
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooool
 
Huh? Where did the goal keeper go?
 
finland should have lost to canada, then canada would've been defeated by Russia
@BhargavRao you can have 6 players in the rink...
you are not required to have a goalie though ... :P
 
That's silly. :/
 
7:56 PM
An extra attacker in ice hockey is a forward or, less commonly, a defenceman who has been substituted in place of the goaltender. The purpose of this substitution is to gain an offensive advantage to score a goal. The removal of the goaltender for an extra attacker is colloquially called pulling the goalie, resulting in an empty net. The extra attacker is typically utilized in two situations: Near the end of the game — typically the last 60 to 90 seconds — when a team is losing by one or two goals. In this case, the team risks a goal being scored on its empty net. In "do-or-die" situations, such...
 
@AnttiHaapala :). Good game. Cheers. Join me in having a beer!
 
I do not have beer :D
I bought 1 pint can of IPA
the can had a hole :///
so I drank it already...
buhuhuhuhuhuhuhuhu
 
I should have sided with Canada :P
Anyway, It was a good game. @Antti Ping me for the next championship :-)
Time to sleep, Rhubarb
 
04:00 - 20:0020:00 - 22:00

« first day (2045 days earlier)      last day (2903 days later) »