« first day (2230 days earlier)      last day (2943 days later) » 

wim
wim
00:02
one-lineritis is a tragic disease
Indeed.
wim
wim
if you suspect you have contracted one-lineritis please stay away from other python devs, and fry to limit your exposure to filter, lambda, and itertools - they only aggravate the symptoms.
I like to try it, sometimes just for kicks and grins, but most of the time it doesn't add anything helpful
user559633
code golfing in a language that cares about whitespace. i'm okay :)
Sadly, I have to do it :)
00:09
good night
Good night @Andras
user559633
@BlueMonday is this homework?
@tristan Yes.
user559633
the struggle will be good for you. giving you the answer would be cheating you out of an education.
4
Yeah, indeed :)
00:12
Antti was helpful:
Nov 20 at 0:03, by Antti Haapala
lambda network: (lambda result: ([result[len(v)].add(k) for (k, v) in network.items()], [result[i] for i in range(1, len(network))]) and dict(result))(__import__('collections').defaultdict(set))
How do you write this into comprehension empty = set()?
{empty : ...}?
FWIW Blue explicitly has to oneline his assignments (...), and he's getting better at asking specific questions about his homework rather than "how do I do it?"
but then again I seem to remember a "one more to go" remark from earlier: is this still the last one?
Yeah
I did it in multiple first( as you said)
Struggling goes now :D
00:15
good
TypeError: 'dict' object is not callable
What..
{empty : ...} is a dict, so is {}
shit, I should be sleeping
rhubarb
@tristan I'm on if you're still... Keen... to play
user559633
let's do it. booting up gaming pc now
wim
wim
00:31
Thinking of drafting a "BURNING POOP" emoji proposal to unicode consortium
Would anyone find a turd on fire to be a useful character? I need this one at work to emote about various systems and code ..
user559633
@Programmer want to play some Overwatch?
user559633
(or anyone else that has it)
anyone here who can help me with pandas
00:53
I did it, yohoooooooo
DSM
DSM
You know. Just in case.
I should send that to my mother. That is right up her alley.
user559633
@MorganThrapp do you have overwatch?
I do not. :/
I played it a bit during beta, and it's not really my genre. I wasn't a big TF2 fan, either.
Hey, this might be a weird question here, but I have to make a scientific poster in my undergraduate course about something, I wanted to pick something towards AI, Machine Learning, does anyone have an idea what would be an interesting topic to research?
01:43
word up homies
Hey, idjaw
what's happening
02:07
Playing video games and listening to Westworld podcasts. You?
DSM
DSM
LargeCanadianCity is down 2-0 to Montreal in one sport and 2-1 to Carolina in another. :-(
03:03
oh wait..
DSM
DSM
The courtesy drilled into me as a child prevents me from replying appropriately.
@DSM For a moment I thought you were comparing the two hockey teams
because I only started watching just a little while ago, and the scores are different now
realized you said sport after :P
DSM
DSM
You were technically right, though: things have changed. ;_;
if they get two goals they are still well in it
but...nearing 70 minutes
DSM
DSM
Yeah. I'm not optimistic.
03:09
ugh...well smallerCanadianCity is keeping Montreal at bay now....
DSM
DSM
The problem with TFC is, they can't manage to walk it in.
I knorite!
DSM
DSM
Wow, good timing on my part..
well then
things have got interesting.
that's "2"
but I tihnk the aggregate thing only comes in to play if it is tied after two legs?
I can't remember
@idjaw Yeah, two legs or three and a half feet. Whichever hits 11 toes first.
DSM
DSM
03:14
I thought the away goals were used to break ties, but it's aggregate otherwise.
@DSM yes I think that's it
@MorganThrapp There is this gif about sports that is hilarious, that I cannot find anymore. I wish I had it in my gif bank.
I'm imagining it in my head. It's hilarious.
DSM
DSM
Is it the hockey player swinging? That one gets posted in here pretty regularly.
no...it's some misc individual with several different sporting items
and SPORTS all in caps shows up in the gif
it would require an impressive google-fuING
I've never seen this
that is wonderful
user559633
:O
that is so good
user559633
and you were maybe thinking of
DSM
DSM
03:19
On general principles I disapprove of those colours being associated with the word "Victory".
user559633
@DSM White? Jeez bro, way to let those opinions fly
@DSM T W O
wild
I just tuned in
DSM
DSM
Oh, yeah, that happened right when I said "Wow" before..
I can't believe montreal sold out the olympic stadium
61K
that's nuts
DSM
DSM
03:34
Okay, that's not as bad as it could have been. Still salvageable.
DSM
DSM
03:50
Sleepy rhubarb for all.
Throws a Cabbage at DSM :D
04:06
I've just dropped by briefly to offer my congratulations to @BhargavRao. Well done, Hrrundi! :D
Rhubarb
 
1 hour later…
05:13
TFW you just smelled burning electronics but you can't find them and also last time you smelled that scent you woke up from your nap because your house was trying to burn down
05:59
cbg
i need an advice
suppose i have an address with case '10-20 Kingsland Road, Hackney, London, E2 8DA, United Kingdom' and i made the program to split address in Dictionary.
but there are suppose 7 cases more
changed address with zip code first etc etc so do i need to made all the functions
i have heard about usaddress or pyadress
can someone tell me about these libraries and how to train data
06:41
Cabbage
@PM2Ring thanks :)
07:39
@SankarRaj I think it is not the proper place to "market" new area51 proposals.
07:50
cbg \o
@BhargavRao Okay. can you please suggest where i can do marketing? :)
Well, For Area51, SE will themselves do marketing. The max you can do is to link it in your "about me" section
hey, Your about me is like as mine. did you copied my about me?:P
well i am also in bangalore.
@SankarRaj The wordings in my about me are there from 2years
And nope, I've not copied anyone's.
08:00
i'm just kidding dude.
08:11
cabbage folks
@SankarRaj Never saw you here before.
I may visit Banglore some time in the future. I remember the tasty buffet meals in Banglore Marriage Halls
Sankar is hanging around <> chats. I know him, he's not a troll.
The greenery in Banglore is amazing
There are trees everywhere
@Wally I come here once in a while...
Ok.
08:21
did you visit bangalore?
Yes. For attending marriage invitations. While I was young.
My hometown is close to Banglore
indeed Wally. Either I was suspecting you to be precocious or not that young ;)))
I also bought a ticket for PyCon but my exams......
@AndyK I'm 24
@Wally Those are very tasty. Actually, Bangalore is famous for food. Next time, You just try Food street in bangalore. google.co.in/maps/place/Food+street/@12.951317,77.577186,20.5z/…
oh ...
08:25
@Wally :o which is your hometown?
Madanapalle
@SankarRaj * Bangalore is famous for food* Seriously ??
Calle Sierra Dorada 19 7-17, 03503 Benidorm, Spain
how can i remove the white space after comma
@Rakesh_K Yes.
you bangalorean, don't know?
@SankarRaj "Calle Sierra Dorada 19 7-17, 03503 Benidorm, Spain".replace(", ", ",")
08:29
@SankarRaj I am bangalorean But I just hate the Food (every food in Bangalore)
But i love them.
hmm , which Dish you like and where do you eat?
@Wally what if there are more than 3 commas
It'll replace all ", " with ",". So it'll take care of all commas.
@SohaibAsif
It doesn't matter how many there are
08:51
thanks @Wally
cbg :D
@holdenweb your friend Zed has released a new blog post ^^^ :p
wtf ... Who is that Zed?
@AndyK Zed's dead
09:04
yep @AnttiHaapala soul, mind & body
#lmao
Cabbage!
Cabbage
@AnttiHaapala I didn't know that C# was a legacy language until today, so that's good to know!
09:17
Cbg, all. Any xlrd user here can remind me if there's a way to access the sheets of a workbook by name, please?
Also he's talking about static typing of strings - does he mean strongly type?
09:27
@holdenweb .sheet_by_name on the Workbook object
(I think - but it's been a while since I've used it)
@holdenweb there is... can't remember
09:42
cbg
> Python 3 Is Not Turing Complete
cbg @khajvah
> Currently you cannot run Python 2 inside the Python 3 virtual machine. Since I cannot, that means Python 3 is not Turing Complete and should not be used by anyone.
is this serious?
this has to be a joke
09:56
Finally. I may have a chance of becoming an Android dev (Code monkey though). Guess why?
you got a new job
I can't do Java. I suck at non duck typed languages.
@khajvah I'm don't go outside my house. I stay at home all day
Hikikomori
@Wally outside suycks
09:59
Congrats sunshine. When does your reign of terror truly begin?
I've always dreamned of being able to transpile Python code to Java. Now my wish is fulfilled
10:10
> my book is the most effective method for learning to code
Can we, as the sopy room and community, please write a response to that article?
Zedophobia ;)
@poke We now need to have another wiki page :D
I’m already on it…
10:24
@BhargavRao congrats
btw
your name is blue now
@poke even I, a lazy alcoholic, can trash that article
@khajvah Thanks
10:44
Any body explain this code
class MainActivity(
                   extebds=android.app.Activity):
    def onCreate(self,
                state: android.os.Bundle
                ) -> void:
            super().onCreate(state)
I mean ->
What's a -> doing. Or is this something in Python 3
@poke can you share the link once you are done? I wanna write about the "Statically Typed Strings" section
Yeah, I’m currently writing and writing…
(if you aren't doing it yourself of course)
that section is so stupid
You could both just use something like hackmd?
well if he is writing the same stuff as I would, I won't intervene
I will check it out later
10:54
Favourite quote: "I mean, if I struggle to use Python's strings then you don't have a chance."
Way to address the reader at their own level (i.e. below yours)
@holdenweb mine is:
> Currently you cannot run Python 2 inside the Python 3 virtual machine. Since I cannot, that means Python 3 is not Turing Complete and should not be used by anyone
Just wondering if the minor revisions of 2 could accomplish such a feat, i.e. run older byte code.
All of them, that is
This guy wrote a book about Python but can't understand the difference between dynamic/static typing and strong/weak typing
That's the thing about expert programmers: they don't need any theoretical knowledge
11:18
@holdenweb cpt Obvious :D
@poke yes
@Antti I’m still writing.
It’s going to be longer.
ah? :D
I didn't know :D
34 mins ago, by poke
Yeah, I’m currently writing and writing…
:D
hmhm
I am writing too, in a text file :D
perhaps we should do this in google docs :d
11:37
ha ha
  In Python 3 you will always get TypeError. In Python 2, don't be surprised if sometime, somewhere, someplace when you least expect it,
  someone steps up to you and says, smile! UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
> Throw into that a proposal for yet another string type
Any idea what he is referring to?
@poke perhaps the i-strings
i strings?
smart interpolating strings
11:52
oh, that one
Isn’t that f though?
f-strings? I doubt he's referring to them though
no, a new one
But in his referral he talks about "magic" conversions between unicode and bytes again.
So he just misunderstands i-strings?
@IljaEverilä he isn't
Throw into that a proposal for yet another string type and you have a nightmare for anyone who's starting out in programming. The reason why I loved Python for beginners is it was easy to use. A total beginner could easily start making useful code right away. The Python 3 project has ruined that in their failed attempt to internationalize Python.
Ah yea, misread
So he's hoping
11:53
@Antti So were you referring to f'foo {bar} baz'?
this is about the late-interpolated strings
@poke no
any PEP?
> Finally, I'm told there is a new proposal for a string type that is both bytes and Unicode at the same time? That'd be fantastic if this new type brings back the dynamic typing that makes Python easy, but I'm betting it will end up being yet another static type to learn.
11:55
idk about that
I do not know what is his obsession with these binary+unicode strings
Which is what I meant by him referring to returning the "magic" unicode <> bytes
this is rather Non-NPOV... because he's spent so much time with text-like network protocols such as http
im not sure how its difficult to use strings in python 3
i thought they are easier in py3
@marxin ^
read above
it is because Zed A. Shaw has written things like a http server...
if you mix text-like binary, text, binary and all sorts of things together and write sloppy code, you too would be confused
python 3 just makes sure that it doesn't work at all if it is incorrect
hehe
11:58
What the heck is an i-string?
The same as Javascript's backtick template-strings
@holdenweb 501
...Pretty much
it is a good thing <tm>
The whole document makes it fairly obvious that he has only the most tenuous grasp of programming principles
11:59
@holdenweb he is pretty experienced, it's weird
@holdenweb he did write his own C book, put it out in the open, and after criticism put it behind a paywall again
So they do mean the formatted strings, then? That's a terrific simplification in the language, though it adds essentially no capabilities to the language.
weird reaction for criticism
the best thing that could happen is that he put his python book behind a paywall too
12:01
Interpolated strings are so much more than just formatting :)
Makes me want to write Python the Easy Way ...
@marxin now if I want to criticize a new edition of his book, I need to pay him.
@holdenweb please do
Sep 11 '15 at 17:33, by Antti Haapala
maybe we should write a book
Sep 11 '15 at 17:33, by Antti Haapala
learn python the easy way
@AnttiHaapala I will fix a typo and write in my CV that I co-authored
do it
user559633
If you have Learn Python The Zed Shaw Way, why do we talk about things we already know about it so often?
user559633
Starting to sound like god-obsessed atheists
12:03
@tristan a new pamphlet
published yesterday
user559633
Oh goodie
I'm a bit busy with Python in a Nutshell right now, but come January/February I shall be free of that obligation.
so basically he did say ~"I am giving in on supporting Python 3, and make a fork of my book". And now he'd just say "screw that, f*ck Python 3"
this guy dont realise how much money people lose because code is not failing fast
@marxin he also said that undefined behaviour in C is a conspiracy. it doesn't exist. You can ignore it.
@poke should be named: "the case against the case against..."
12:14
@Antti First line of my markdown doc: # The Case Against “The Case Against Python 3”
So yeah, inb4 you :P
:D
so where is it now :d
I can't wait to read your responses
I want to be a co-author :D
heh, and people like him are writing books... I didn't have a pleasure to read his books but if its true what you say, its just miserable :f
@marxin His book is very very famous too
user559633
12:18
# -*- coding: utf-8 -*-
# “The Case Against Python 2”
2
I think he probably has his own right as well, its not that he is fundamentally wrong in everything, but with strings it looks like he just don't understand them
@marxin what about the turing complete stuff?
to be honest I don't really understand what is his problem in terms of turing completeness
Some people go so far as to ban my book because it does not support Python 3, even though my book is the most effective method for learning to code.

- No one has banned it, only expressed their opinion that it shouldn't be advocated as *the* preferred method of learning Python.
  This is very well within the spirit of freedom of expression. Zed A. Shaw is allowed to write any kind of book he likes, and
  others can say anything about it that they want, including saying that it is bad, or not list it in their listings of good Python
@marxin ^
user559633
"ban"
12:27
@marxin he claims that Python 3 is not Turin complete just because you can't run Python 2 code
user559633
# where is your god now
subprocess.Popen
# where is she
os.system
@tristan yeah I removed the reference to his book in the Python wiki. Python subreddit removed a link...
@khajvah for me it looks like bollocks to be honest
it is bollocks
probably he would be much more happy if they would name python 3 with different name, because then it would be something new and he wouldnt expect it to work like python 2
12:43
First he states: "[...] Python project has adopted an arrogant stance [...]" Goes on to say: "[...] even though my book is the most effective method for learning to code".
user559633
rbrb coffee
@poke something I've written at sopython.com/wiki/…
user6568562
@AnttiHaapala Another reason : The Borg are behind it
user6568562
I love how he's trying to convince beginners to not learn python 3 by telling them they wouldn't be able to make a f*cking compiler
Man, he sounds like he's got a real chip on his shoulder.
12:54
post-tutorial cabbage
cabbage
bluerghav!
user6568562
> A final note on this is even the error message is macho and terse
user6568562
Hey Andras, Hey Bhargav
I already routinely confuse Jon and Martijn in chat messages, I really need to teach my lizard brain that blue doesn't mean much:P
12:55
Hiya @Random
@AnttiHaapala +1
@AndrasDeak another dark avatar for you ;)
@AnttiHaapala good you didn't nit-pick the stupid stuff and concentrated on important issues
@khajvah poke's still writing his ... :D
user6568562
@AnttiHaapala Haha, maybe even multiple decades
12:57
actually it wouldn't be nit-picking
user559633
I advise against using ((( Python 3 )))

« first day (2230 days earlier)      last day (2943 days later) »