« first day (2175 days earlier)      last day (2766 days later) » 

2:00 PM
Where did you get unicurses in the first place? If this is all happening because you did pip install, maybe grabbing the wheel from gohlke's page would fix everything magically, as is often the case with gohlke's page.
 
Seconded, gohlke is actual magic.
 
Anyway, I have a little question that seems stupidly simple, but I can't find a short and pythonic solution. I have a string like "ABC123" and want to split it in an alphabetic and a numeric part, i.e. into ["ABC", "123"]. How would I do this ideally?
 
>>> import itertools
>>> s = "ABC123"
>>> ["".join(v) for k,v in itertools.groupby(s, key=str.isdigit)]
['ABC', '123']
>>> s = "ABC123XYZ456Q7"
>>> ["".join(v) for k,v in itertools.groupby(s, key=str.isdigit)]
['ABC', '123', 'XYZ', '456', 'Q', '7']
 
user559633
Wow, Kevin is fast.
 
Groupby is permanently in my mental cache.
 
2:02 PM
I would say that or something with re.
 
@ToddLewden It could be a compiler version compatiblity issue, as mentioned here: stackoverflow.com/a/36202029/4014959
 
@Kevin Wow, that looks great! Thanks.
 
I hate the word 'pythonic'
 
Additional troll solution:
>>> s = "ABC123"
>>> (s[:3], s[3:])
('ABC', '123')
 
Ah, I just realized another way using re, if there are always only one block of letters and one block of digits.
>>> re.fullmatch(r"(\D+)(\d+)", "ABC123").groups()
('ABC', '123')
 
2:04 PM
Passes all test cases :-P
 
@ByteCommander ew
 
What the heck is fullmatch. I feel like re keeps getting new methods when I'm not watching.
 
@ByteCommander findall could be easiest
 
fullmatch just anchors the pattern to the front and back.
 
> Try to apply the pattern to all of the string, returning a match object, or None if no match was found.
 
2:06 PM
And then when I inspect further it turns out to have been in the language since '97.
 
It's like re.search("^"+pattern+"$", string)
@AnttiHaapala uhm... no?
I have two different patterns, remember?
 
>>> import re
>>> re.findall('\d+|\D+', 'ABC123XYZ456Q7')
['ABC', '123', 'XYZ', '456', 'Q', '7']
 
I think those +'s should be *'s, in case you don't know if it always starts with non-digits
 
Oh!
Clever.
 
it will have corner cases though, but so do everything else suggested here.
 
user559633
2:07 PM
Not if the problem is a circle.
 
can I monitor JS memory usage on the browser?
 
I wonder what the comparitive performance is of regex versus groupby
 
user559633
@khajvah you sure can!
 
@Kevin, Gohlke I forgot about that!
 
@tristan firefox dev version has it
 
2:10 PM
In [5]: %timeit re.findall('\d+|\D+', 'ABC123XYZ456Q7')

100000 loops, best of 3: 2.46 µs per loop
In [9]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7', key=str.isdigit)]
100000 loops, best of 3: 5.91 µs per loop
surprisingly small difference
 
@KevinMGranger Those regexes should be pretty efficient, since they don't do any fancy stuff like look-back, but my money's on groupby as being faster. But it's getting late & I don't feel motivated to write a proper timeit test...
Of course, I could be totally wrong. :)
Antti, could you try it again with a string of length around 1000, to see how they scale?
 
In [11]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
1000 loops, best of 3: 470 µs per loop
In [12]: %timeit re.findall('\d+|\D+', 'ABC123XYZ456Q7' * 100)
10000 loops, best of 3: 122 µs per loop
 
Whaat
 
Thanks
 
I'm going to blame the overhead of making stringified copies of all the vs
 
2:17 PM
@Kevin calling a function is also expensive...
need to build a tuple for each call
the regex code is suprisingly slow
it could be unicode
 
Are the results consistent?
 
@Kevin Good call. I guess the regex solution is just slicing the parent string, which is bound to be faster than doing "".join(v)
 
I'm curious if [v for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)] is appreciably faster
Unfortunately my shell does not support that %timeit thing and I can't be bothered to do it the long way
 
@Kevin stop whining and pip install ipython
 
^
also
groupby is even worse on my machine
 
2:23 PM
Let's compromise. I'll install ipython but continue to whine about other things.
 
ipython5, 2.7.10
 
In [13]: %timeit  [v for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
1000 loops, best of 3: 282 µs per loop
 
I get 119us for regex and ~730 for groupby
 
@tzaman 2.7.10, on windows 98?
 
@Kevin Python2 is an acceptable thing to whinge about
@AnttiHaapala Windows ME ;)
 
2:24 PM
@AnttiHaapala I wrangle scientific code these days, don't shoot me :p
but interestingly -- [v for k, v...] is still about 2x slower than re
 
@tzaman scientific code on 2.7.10? what are you going to do, gold?!
 
and even turning it into [list(v) for ...] brings the time back to the same as ''.join
 
@tzaman :D (sorry gotta troll more): tzaman: "I just read this interesting paper"
 
hahaha
12th century
that's still pretty recent, I thought you were going to go for hieroglyphics
 
also of interest:
 
2:27 PM
In [4]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
100 loops, best of 3: 2.22 ms per loop
Somebody buy me a better computer please
 
ah nvm
 
@idjaw Not sure, it's a little confusing. I'd perhaps move the mention of __pycache__ to a separate sentence in parentheses (any orphan .pyc files in a __pycache__ directory are ignored when importing)
 
@Kevin :P
 
Pretty sure I've never seen "µs" in any timeit I've ever done
 
stackoverflow.com/questions/39772637/… No MCVE and barely even a question.
 
2:28 PM
@Kevin You might improve the speed slightly by storing the "".join in a local, eg f = "".join; [f(v) for k,v in itertools.groupby('ABC123XYZ456Q7', key=str.isdigit)]
 
That's pretty awesome
 
timeit definitely reports microsecond in Jupyter notebooks
 
@Kevin python 3...
 
Though, now I think about it, that's the %%timeit magic that says "1000 loops, best of 3: 221 µs per loop"
 
user6568562
@khajvah Haha, this is scarily accurate : D
 
2:31 PM
@AnttiHaapala That would probably explain it yeah
 
user6568562
@tristan Dude ! Take off the helmet and go rob a bank : D
 
@Kevin that is slow
In [3]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
1000 loops, best of 3: 533 µs per loop
this on a computer that I built in spring 2009
 
> Oh hi, how are you holding up? 'Cause I'm a potato!
 
Yeah, my computer isn't super fast, but
In [135]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
1000 loops, best of 3: 687 µs per loop
 
2:34 PM
@Kevin I am pretty sure you can get a faster computer for <$100...
... or then your firefox just hung up
 
hey guys can anyone tell what is the best way to share objects between python and java...I will also be dealing with pandas dataframes, series....so jython doesnt seem to be good option...I tried json serialization/deserialization. Can do it for single object.
 
okay, either I'm having a brainfart or something weird is going on:
 
But when pandas object get nested arbitrarily inside other data structures...say dataframe as a value of any arbitrary key nested at any depth in dictionary along with other key-values, it is not possible straight way using builtin methods like to_json....simplejson.dumps does not support pandas object too...
 
In [44]: [''.join(v) for k,v in itertools.groupby('ABC123XYZ456Q7', key=str.isdigit)]
Out[44]: ['ABC', '123', 'XYZ', '456', 'Q', '7']

In [45]: [v for k,v in itertools.groupby('ABC123XYZ456Q7', key=str.isdigit)]
Out[45]:
[<itertools._grouper at 0x10f5e6210>,
 <itertools._grouper at 0x10f61a350>,
 <itertools._grouper at 0x10f61a110>,
 <itertools._grouper at 0x10f5e6050>,
 <itertools._grouper at 0x10f5e60d0>,
 <itertools._grouper at 0x10f5e6250>]

In [46]: [''.join(x) for x in [v for k,v in itertools.groupby('ABC123XYZ456Q7', key=str.isdigit)]]
 
My last computer was also slow. Maybe I'm the problem.
 
2:35 PM
@Kevin dude, my DigitalOcean super cheap droplet
In [4]: %timeit ["".join(v) for k,v in itertools.groupby('ABC123XYZ456Q7'* 100, key=str.isdigit)]
1000 loops, best of 3: 760 µs per loop
 
@Kevin or windows
 
@tzaman the iterators returned are not independent.
 
Momma Kevinson has the supernatural ability to make any electric device spontaneously fail through casual interaction. Maybe I've inherited the same aura of doom.
 
I figured it was something like that
but .. how exactly are they linked?
 
The process of finding where the next _grouper should start moves the underlying iterator onwards and that means the previous _grouper objects are no longer going to return anything sane.
 
2:36 PM
/me goes to read up on groupby
@MartijnPieters of course. Thanks!
 
@tzaman: I once tried to explain it as a bucket chain: stackoverflow.com/questions/6236081/python-groupby-behaviour/…
 
@Mahesha999 Please don't repeat posts here like that.
 
@Mahesha999 Json still seems like the best approach here, even though there's no out-of-the-box solution for jsonifying pandas objects. I don't know anything about panda but I assume it's not impossible to write your own custom serialization methods
 
isnt pandas dataframes and series a standard for data analysis
am bit new to pythin
so what u guys use?
I mean what is usually used?
 
well, it isn't the standard, it is just something that is easy to use...
 
2:40 PM
Or the dataframe to csv
that seems... natural?
 
also not everyone does use python for data analysis.
nor is every data in dataframes, timeseries or so.
 
@AnttiHaapala I know there is R..but I am dealing with python
 
then again I don't know why JSON wouldn't work just fine
 
DSM
Morning cabbage for all!
 
@WayneWerner dont want to create files
 
2:41 PM
@Mahesha999 Why are you using simplejson? That's ancient! The standard json module can be used to dump & load any objects, but you need to provide code to deal with objects that aren't (equivalent to) standard JSON objects.
 
I use Python heavily and I've only used pandas to try to answer a question on SO. I have no use case for pandas in my daily Python life
 
@Mahesha999 not everyone that uses python is using python for data analysi.
 
DSM
@idjaw: your life sucks :-)
 
Unrelated to current conversation: I just found this in some legacy code:
public enum WidgetColor{
    red=1, //use 1 here because 0-valued enums are forbidden by our office's style standards
    blue,
    green
}

public enum SprocketTexture{
    rough=0,
    smooth,
    fuzzy
}
 
@DSM fist shake why you little....</homer>
 
2:42 PM
[deep, world-weary sigh]
 
DSM
Any day without pandas is a day without pandorableness and that's a horrible way to live.
 
@Kevin nice.
 
Cargo-cultish avoidance of the number 0?
 
@Kevin Nice.
 
@ŁukaszRogalski btw you're going to get lots of mispings because of Ł, so it is often autocompleted first...
 
DSM
2:43 PM
@Kevin: I admire the rebelliousness of the Sprocket author. Fight the power!
 
@KevinMGranger Almost certainly yes. Further comments indicate that 0-valued enums anger the automated security checker thing, which falsely identifies it as a possible place where a null reference exception could occur
 
@Mahesha999 then use {"a": dataframe.to_json()}
also, no spamming of fresh questions, read room rules
 
@Mahesha999 your problem is that you haven't asked good questions
 
Aren't java enums objects already? So those could occur anywhere?
 
your questions are either too open ended, or just not well-defined
 
2:46 PM
@AnttiHaapala yess but then I dont know what structure I will be getting...it may not be dict. it may be dataframe inside tuple inside list inside dict...so should I be writing recursive function which will iterate thourgh each of these objects, checking its type and then serializing accordingly?
 
@KevinMGranger This is C#, but I assume enums are objects yeah
 
@Mahesha999 You should figure out what the most complex variant is that you could have and make your question about that
@Mahesha999 do you grok what a Minimum, Complete, Verifiable Example is?
 
ah not that...
 
@AnttiHaapala if you have a moment would you look over this Finnish translation for WTForms? github.com/wtforms/wtforms/pull/278/files
With the understanding that nothing will ever be good enough for you. ;-)
 
2:49 PM
@Kevin actually, I think this is one of those areas where C# and java drastically differ. C# enums are more or less ints unless you change what their backing is
 
@Mahesha999 You may find it helpful to take a look at how the json module works. The source code does a few fancy tricks, but it's mostly not too hard to read.
 
@WayneWerner @AnttiHaapala yess question is too open ended as I want to write something generic which can serialize / deserialize any user configured input objects...there is one orchestration layer which will allow to configure which script to call and which parameters to pass...so params can be anything...
 
> yess
Embrace Python, add more s's.
 
Hmm I don't think they're exactly ints because I'm pretty sure I can call ToString() on one and get "red" instead of "1"
 
@davidism tee hee
 
2:50 PM
@Mahesha999 Generic doesn't mean open ended.
 
Like 85% sure
 
No, they're "more or less ints". That means they can be compared against them but that's it.
 
Yeah
 
but int(Mything.red) would be 1, no?
or whatever the C# cast is :P
 
I gave one simple example in Update on this question: stackoverflow.com/questions/39768230/…
 
2:51 PM
enums in C# are default-initialized to the 0 value. So if you're putting the first member a 1, I think you're forcing users to initialize it(?)
 
5 mins ago, by Wayne Werner
@Mahesha999 You should figure out what the most complex variant is that you could have and make your question about that
Not a simple example. complex.
Complex is a superset of simple
 
@Mahesha999 Sorry, I posted the wrong link to the json module source code before. I meant to post this one: Lib/json/encoder.py
 
cabbage everyone.
 
To figure out the complex example from your real example, you'll need to use some imagination.
 
2:53 PM
o/ @mgilson
 
o/
 
hi @KARTHEEKGUMMALURI
 
(all)
 
@idjaw I thought you were yelling
 
DSM
Oh, hey @mgilson! And everyone else who just dropped by!
 
2:54 PM
@davidism it is a good starting point but definitely requires some editing, I found at least one spelling mistake, some grammar mistakes with compound nouns, then how in hell would a user understand what is a CSRF, a couple inflection mistakes; the translation for string length says "Needs to be longer than %(min)d and shorter than %(max)d."
 
cbg @mgilson
 
etc etc.
@davidism ping me again when I am complaining that I've got nothing to do and I'll fix those :D:D
 
:33171597 Is this you? (probably NSFW, at least if strong language is NSF your W)
 
So this is likely to be a stupid question ... Does anyone actually use Stackoverflow's Documentation? Do we have any guidelines about how docstrings should be formatted in Documentation?
 
@AnttiHaapala thanks
 
@mgilson I think even the last holdout among us finally gave up on SOD
 
The same function is defined twice in that section (division_function)
 
I got mildly annoyed recently when I found out that "notify immediately" documentation notifications disappear after the change has been reviewed, so I don't actually get notified about changes to .
 
@davidism so, if I wrote "foobar" and got "needs to be longer than 10 but shorter than 10000", does it mean I need to write 10 words, characters, or that my answer needs to be less than that 5 digits in 10000...
 
The second time it has a really long-winded docstring -- the first time it doesn't have any.
 
2:57 PM
@WayneWerner LOL that is awesome
....and yes..that's me
 
Yelling bird is pretty great awful great
 
Time to acquaint myself with this. New to me
 
He has a couple of yelling bird strips - especially around thanksgiving
there are also turkeys
 
@davidism on a related note, I am pretty sure a non-technical user wouldn't appreciate the "CSRF failed" message
 
Maybe they should though. Because after all -- Who wants to work on a site that allows Cross Site Request Forgery?
 
2:59 PM
I've never seen anyone actually render errors for the CSRF field, so I don't think it's that urgent.
(And "never" means "everyone on SO is confused when their form mysteriously doesn't validate".)
 
... also I've been thinking about making automatic double-submit forms for CSRF token failures in my programs...
 
Oh, guess what everyone! I'm a real python coder now! I used a virtualenv for the first time last night!
(sorry for the gratuitous ! -- But I'm a little bit excited).
 
@davidism I had problems with CSRF once, but it turned out I was accidentally calling get new csrf token every time I rendered a page, thus breaking the back button
 
@mgilson \o/
did you use python 3? (even if you didn't just say yes...Antti is in the room)
11
 
    x = []
    for row in results:
         x.append(row[0])

    return jsonify(x)
 
3:04 PM
Why do some teachers think that throwing their students onto SO like this would be a good idea?
These are good points to consider, but not really addressing what I'm after. Just like I have my students type "<h1>Hello World</h1>", I want them to ask a Hello World on Stack Overflow. And it doesn't have to be answered by you either. I would be happy if only their fellow students saw it. — Phillip Senn yesterday
 
Did I use python3 for what?
 
Is there a cleaner way to create this list? MySQL returns in the cursor..
 
For my virtualenv?
No ...
 
@mgilson I saw that
 
[
    [
         'item'
    ],
    [
        'other item'
    ], etc
]
 
3:05 PM
I suppose that I could have, but I'm still stuck in a mostly python2.x world :-/
 
So I'm just returning a simple 1 layer array from the mysql results. I'm not sure if I can zip this though
 
return jsonify([row[0] for row in results])
 
DSM
@mgilson: until I finish writing some testing code I've been dragging my feet on I can't convert one of our codebases to Python 3. But I really want to use asyncio & async def/await for a project. :-(
 
I really want to use python3 for everything ...
 
@mgilson as Gandhi famously didn't say:
 
3:06 PM
@DSM I'm actually researching asyncio right now and was watching a pycon 2016 video on twisted, tornado, asyncio
 
But my company's application is currently being hosted on Google App Engine and their python3 support is still lacking.
 
@KevinMGranger so that returns each iteration of results into an array, then jsons it?
(Hence the brackets?)
 
@mgilson so for next app say: "lets not use google app engine, since they don't support python 3"
 
list, not arrray. But yes, it's the same as what you did, but in a single line
 
user6568562
@AnttiHaapala : D
 
@AnttiHaapala -- Yeah, that's a joke.
 
nice work Google:
 
I'm surprised it took that long
 
None of the useful code-based APIs work.
 
3:09 PM
going to support 3.4 now that 3.6 will be out in a moment.
I'd want to paraphrase Linus now
 
@SterlingArcher Do you really want a bunch of single-item lists in a list, or would you prefer a flat list: ['item', 'other item'] ?
 
e.g. want to use ndb to interact with their datastore using the python3.4 flexible environment? Sorry. No dice.
 
@DSM and anyone else interested. This is the video I was watching
 
@PM2Ring that's what I did, I flattened a list of list-items into a single list
 
3:13 PM
@AnttiHaapala Anyone who has ever installed Nvidia drivers on Linux agrees.
 
@WayneWerner the nvidia drivers on linux desktop are the least of the worries...
they actually work
 
and just because Linus rants are great -> quora.com/What-are-some-must-read-Linus-Torvalds-rants
 
From http://zqscm.qiniucdn.com/data/20120517110958/index.html
It's pointless to argue and bicker
Linus doesn't respond to a clicker
So just make a note
He's a crabby old goat
And then we'll all get along quicker
 
So good
 
3:24 PM
so think about this case^
the guy should have written a proper commit message.
instead it made a shit storm when some trolls joined in and started complaining about Linus' person and he responded in kind :D
also losing his valuable time.
 
@WayneWerner nothing is predefined,so I cannot tell what could be the most complex object I will get...
That's why I was thanking about generic code
 
@Mahesha999 When you say nothing is predefined, what does that mean? Are you getting c structs using ctypes? Just a variety of pandas datatypes? Classes?
"nothing is predefined" is a lazy way of speaking
 
@holdenweb I just looked at the github pull request mails... and they're useless
you really can't tell anything from it.
 
@AnttiHaapala But you can merge with one click!
;)
 
All I was saying is let the man do what he does and don't expect him to change. I wasn't taking a moral (or other) stance on the merits of the argument
His playground, his rules (much as some people might dislike that)
 
3:33 PM
@holdenweb and I didn't say you did take a moral stance there, just that is, this was the first time that I looked into how the pull request looks in email...
 
rbrb folks. Thanks for being here. I'll share some news tomo
 
it doesn't have any info at all...
 
good luck @AndyK with whatever it is that is causing news
 
good news ;) @WayneWerner
 
cheers @AndyK
 
3:36 PM
@holdenweb first of all, one cannot contact the author in private about a pull request...
 
DSM
Oh, Zed, you crazy fool.
 
@Antti you can get computers for 100$? How?
 
@TomasZubiri used 7 year old computer
 
> the constant addition of new features to Python 3
@TomasZubiri Raspberry Pi is $35
 
@DSM .....wow
 
DSM
3:38 PM
@idjaw: thanks, will put in in the queue, I'm giving myself a crash course in all this stuff
 
+1
 
the point is that such a computer could still be faster than what someone is using currently
 
Yes, new features. That's terrible
 
"This is the Python 3 version of the book. It is not complete. You will run into bugs and problems. I do not recommend Python 3 to any beginner due to serious issues with the design of strings, destruction of dynamic typing in strings vs. bytes, problems with the 2to3 conversion tool, poor design of the urllib library regarding encodings, the coming use of THREE different ways to format strings, and the constant addition of new features to Python 3."
 
> If you can put up with constant learning and changes
 
3:39 PM
Not going to recommend it.
 
> you will receive the Python 3 and Python 2 versions of this book including videos for both. See? That's how you handle a migration.
Huh? Does he live in a world where 2 and 3 are not available at the same time?
 
If you can't put up with constant learning and changes I recommend you go kill yourself now, because life is constant learning and changes.
 
This exercise has no code. It is simply the exercise you complete to get your computer to run Python. You should follow these instructions as exactly as possible. For example, Mac OS X computers already have Python 2, so do not install Python 3 (or any Python).
wat??1
 
This is why new features might be terrible.

(a == 0 ? a : b) = 1;
 
@davidism ^
ex0
incomplete means: there is a rant about python 3 on the front page, and on the very first line it says "python 2 it is"
 
3:40 PM
Or why C++ might be terrible, read that as you please.
 
I like the complaint (from everyone) about strings vs bytes because they always boil down to "I wasn't actually paying attention to my data before and it all worked by luck."
6
 
Why doesn't Zed just teach... assembly? That hasn't changed, right?
 
@WayneWerner z80 assembly
or 8088
 
DSM
6510, for me..
 
MC6800 4 life
 
3:42 PM
@davidism That was my life before I took the time to actually learn. You know, like one does when they want to read a book.
 
Learn Python 3 The Hard Way:
first example:
OS X: What You Should See:
Last login: Sat Apr 24 00:56:54 on ttys001
~ $ python
Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
 
That didn't work out nicely
 
I don't like unicode strings but at least I'm honest that it's because I'm ignorant and lazy
 
DSM
Lunchtime cabbage!
 
Python 2.5.1 hahah
 
3:43 PM
I love the delightful irony implied in in Zed's statment: You're reading a book about learning python the hard way, but you shouldn't learn Python3 because there are new features and learning is haaaaaard!
3
 
Antti was that deliberate?
 
Can we just portray python3 holdouts as anti-unicode, therefore anti-internationalization, therefore racist?
 
⚘ python
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 
@idjaw I am attributing this to MALICE already.
 
@WayneWerner seriously considering stealing that for Twitter.
 
3:44 PM
@davidism +1
 
@davidism you have my retweet
:)
 
@davidism And my star heart
 
 
The real question is if I should tag Zed.
 
3:45 PM
absolutely. Then link to sopython why LPTHW sucks
all in the same beautiful tweet
 
I'm not linking to that list until it's actually better quality than his book.
 
fair
 
shots fired
 
pew
 
@davidism cool, so now that you're linking that list, we're getting lots of new readers to sopython and members to room/6... though perhaps it is better to not link.
 
3:52 PM
@zedshaw on learning: read my book about learning Python a hard way, but don't learn Python 3 because it changed and learning is hard.
 
user6568562
@WayneWerner Reason to not learn Python 3 : " It will take ten years ! for Python 3 to reach your computers. " As in : When progress poke its head fart on its face, goddamit !
 
@davidism can't see :P
 
I'm pretty sure "learning difficult things that might change later" is, like, the entirety of our profession
 
direct message? :d
 
user6568562
Ok, ok, guys. To be fair, during a previous conversation, I remember PM saying Zed changed his mind on the subject.
 
3:54 PM
@randomhopeful which thing?
 
@randomhopeful He just released his Python3 version that reiterates that.
 
Not based on the language that's still all over LPTHW and LP3THW.
 
user6568562
@AnttiHaapala He made a Learn Python 3 the hard way, if I recall correctly
 
I don't have strong feelings about Zed or his book, I just like complaining when everyone else is complaining. It improves group cohesion.
 
user6568562
@MorganThrapp Oh I see ! Nice. Very nice.
 
3:55 PM
I see Zed's hit a new low in his stellar career as an author. The "Strings and Text" chapter is a masterpiece of obfuscated ignorance
 
I only get angry about true injustices, like people that don't provide MCVEs in their questions
 
@holdenweb it is unmodified LP2THW yet...
 
le sigh ...
 
ah no it isn't
omg raining
 
Is rain a good thing there?
 
user6568562
3:57 PM
I don't see this electronic computer thing taking off anyway. #Steamautomataalltheway !
 
We had a good rain here yesterday. Really quality petrichor.
 
> Programmers love saving time at your expense by using annoyingly short and cryptic variable names, so let's get you started reading and writing them early on.
 
It's raining today too but all the rainsmell got used up yesterday. 6/10.
 
It's 9 am and I'm still the only one in the office. This is weird.
 
@WayneWerner no :(
I need to go home, bicycle, rain + ~5C
not fun
 
3:59 PM
@davidism Everyone took off for the Feast of Saint Crispin, except you because you forgot
 
@davidism I hate when that happens. I always assume that I'm in the process of missing something important.
 
Oh. No, that's not. I've ridden my motorcycle home in like... 28C rain. That's probably equally pleasurable
 
You're going to miss all of the hot Saint Crispin Day deals occurring at wherever they sell high end electronics
 

« first day (2175 days earlier)      last day (2766 days later) »