« first day (1524 days earlier)      last day (3418 days later) » 
00:00 - 20:0020:00 - 00:00

user559633
8:00 PM
I need to hang out in the deeper end of the pool of python questions
 
user559633
oh, @Kevin's comment reminds me, i need to release my "oh god shutup" chrome extension that removes divs that complain about patriarchy/trigger warning/etc
 
user559633
current feature: unfollows people on twitter that incur 3 strikes in 24 hours
 
I solve that problem by not using Twitter.
 
user559633
yeah, i don't really use it anymore either.
 
But when I do, I only read gimmick accounts like Bored Elon Musk or Modern Seinfeld or horse_ebooks.
 
user559633
8:05 PM
I used to keep up with it because people would want some way to contact me after meetup groups/talks, but most people that used to follow me from those days have stopped following me as i don't twit anymore
 
user559633
the only social networks i still use are stackoverflow, linkedin, and twitter, and i barely use the latter 2
 
You'd think I'd be all about twitter, since 90% of the things I write are under 140 characters long. But somehow it just doesn't appeal to me.
 
user559633
and starlord and so forth
 
user559633
it's been ruined by oversensitive idiots
 
Such is the way of things.
 
DSM
8:07 PM
I'm 80% convinced that's just an attempt to throw us off the scent, and that Kevin is the anonymous author of some popular comedy twitter account.
 
Is there a way to turn retweets into dollars? I'd consider joining then.
I need ordinary conversation to catalyze my star bait, anyway. I can't make anything interesting just by staring at a blank text box.
 
the last stars don't seem to be for you though
(except the last one. But it's about butts. Everybody stars butts.)
 
This is true.
 
user559633
.~:*:・’゜☆。my star butts 。☆゜’・:*:~.
 
I think my star acquisition rate took a downturn just around the time "starlord" was coined for me. It's something of a self-defeating prophecy.
See previous conversation regarding higher standards for 20k+ users. Same concept.
 
DSM
8:16 PM
It's true. Now I don't star anything Kevin says unless it's five times funnier than what I'd star Fizzy for.
 
Luckily I don't place much self-esteem in star count. I mostly care that I enjoy the things I say. Hooray, self-centeredness!
 
user2555451
Oh look, everybody is asking about memory consumption today: stackoverflow.com/q/27554932/2555451
 
user559633
i used to like my own comments on facebook just to piss other people off when we were having an "argument"
 
:-)
That question looks like pointer weirdness. Maybe a one element list is the same size regardless of the total size of its elements, because it's only really "storing" pointers to those elements.
NPE seems to have the same idea as me.
 
user559633
boo, didn't get FGITW on that
 
user559633
8:21 PM
cmon additional details, rise me to the top
 
user559633
i want to see those sweet, sweet embarrassing closed questions
 
DSM
How far to go?
 
user2555451
idk, NPE has a docs link. That is a huge plus.
 
user559633
i'm at 2031, 3k is the goal
 
Yeah, it's hard to trump a doc quote
You need like, a humorous limerick written by GvR.
 
user559633
8:23 PM
added documentation :)
 
user559633
anything else would just be stickers on my answer at this point.
 
user559633
NPE deserves the accept (and it looks like he'll get it)
 
Speaking of Star Lord, yesterday I watched Guardians of the Galaxy, and I noticed a plot hole. Drax the Destroyer is extremely literal, and does not understand metaphors or figures of speech. So why does he understand the main character's pep talk when he says "this is our chance to give a sh*t"? Boy, I hope someone got fired for that blunder.
 
user2555451
@Kevin - You pay attention in meetings?! Woah, that's a new one...
 
user559633
The transformative process of embracing death is what allowed him to also sympathize with others and understand turns of phrases.
 
8:29 PM
ok :-)
 
DSM
I often don't understand things people say and just let them roll by..
 
user559633
I'm that way with human emotions
 
I do that in real life a lot. Don't hear what the other person said? Smile and nod vaguely, and hope it wasn't a question
 
user559633
Which is fun when I'm with strangers/coworkers out drinking after work and I'm like "and we're....*look at facial expression*.....mad about this! mad mad mad"
 
DSM
I do that in noisy pubs too. Try to read faces and fall back on generic shaking-my-head reactions. Works most of the time.
 
8:32 PM
I actually have pretty good hearing, but the sounds don't seem to resolve themselves into meaning immediately. Sometimes I'll say "what?" and the understanding train will finally arrive in the brain station before they repeat themselves.
 
user559633
I mostly have a hard time reading emotion when I don't give a single duck about the person expressing them
 
user559633
As opposed to with my girlfriend, in where I just wait to interpret which emotion I should feel/engage to continue having a good time(tm)
 
Hmm, not sure if I'm good at reading emotion, or I'm really bad and my friends just telegraph emotions very directly to compensate...
The old "how do you know you're not mentally handicapped, and everyone is just humoring you?" doubt.
 
user2555451
From this question: "I wrote it myself, and it works, but I have no idea how it works." That basically sums up all of Perl.
 
Guyz one quick question
 
8:42 PM
OPs should avoid putting "for the life of me" in their questions, as it merely signals that it will be very hard to give them a satisfactory answer.
 
why does the print of r = re.compile('r*') returns re.compile('r*') instead of _SRE object thing
 
I get the _sre thing on my machine:
>>> import re
>>> r = re.compile("r*")
>>> print r
<_sre.SRE_Pattern object at 0x00000000029CF3D8>
(in 2.7)
 
user2555451
@Sudh - How did you get that output? Is it a string?
 
no it is supposed to be a regex
 
I see it is different in 3.x, though:
>>> import re
>>> r = re.compile("r*")
>>> print(r)
re.compile('r*')
 
8:45 PM
I am using 3.x
yes
 
I'm going to go with "that's just the way 3.X displays it"
 
user559633
stackoverflow.com/questions/27554769/… i've helped a person do a terrible thing today
 
hmmm... followup question why re.match('r*','here') does not match anything
 
It's generally encouraged amongst devs to make their repr representations of objects into code-looking things which could theoretically be copy-pasted back into the interpreter and then evaluated into the original object. So it's preferable to <_sre.whatever>.
@Sudh Because match starts searching from the start of the string.
"here" doesn't start with "r", so it bails out immediately.
 
but re.search gives the same result
 
8:48 PM
hmm.
 
while thedocs say that search is supposed to look everywhere in the string
 
user2555451
I get match objects:
 
user2555451
>>> re.match('r*','here')
<_sre.SRE_Match object at 0x01B3BC60>
>>>
 
Trying to remember my regex training. Does * mean "zero or more of the preceding character"? If so, then it will match the zero R's at the beginning of the string.
 
user2555451
yea, * is zero or more.
 
DSM
8:49 PM
Yep. re.findall comes in handy to verify.
 
Try searching for "r+".
>>> re.search("r+", "here")
<_sre.SRE_Match object; span=(2, 3), match='r'>
Search success!
 
haha yes that makes sense
thanks pythonians :D
 
user559633
i want my 7 points today on a single answer
 
user559633
so i can have 2 helmets
 
DSM
The only other hat I like the look of doesn't come out for weeks. :-/
 
user559633
8:55 PM
i really want this war crime to be my +7
 
user559633
if i was faster on the draw earlier, i'd already have it (the getsizeof ended up being a 7 pointer)
 
I've plussed one of your old answers sitting at six points, to see if that's sufficient.
But I'm guessing all the upvotes have to have been from the Winter Bash time period.
 
Might take a while even if the votes do count...
 
I think they write vague requirements for the hats, just so we have something to talk about.
 
user559633
cheers @Kevin :)
 
9:00 PM
@Kevin That's one amusing thing about the secret hats, in that when you go to meta, you get much more precise requirements.
 
user559633
oh well
 
user559633
i'll log on on sunday and have some answers mostly pre-written and just try to FGIW one
 
user2555451
@tristan - All you need to do for FGITW is throw up a few sentences to get your foot in the door. Then, you can nurse your answer to a great one during the grace period. :)
 
user559633
haha ughhh at least i'll be home near a shower
 
@iCodez And get downvoted during the transition phase...
 
user2555451
9:03 PM
Only if what you say is incorrect. You need to make sure that the few sentences answer the question.
 
user2555451
Then, you can spend the next five minutes adding more detail and getting links to documentation.
 
@iCodez Might be difficult pre-cooking the starter, though.
 
user559633
i'll just write a sentence finisher with links to the C source and the text parts of "this works due to the fact that:" and "as is shown in the following example"
 
@tristan Or write a bot. They seem to be popular at the moment.
 
user559633
i decided a couple months ago to not to bad things to technologies/projects i care about -- no bots on SO, no linux exploits
 
9:10 PM
Hasn't stopped some people... meta.stackoverflow.com/questions/280546/…
 
user559633
typographical error etc
 
user559633
okay, back to work. take care all
 
Interesting use of tiny caps in that question.
 
That would have been an interesting error if they used python 2
 
9:14 PM
guys. I get to graduate.
 
congratulations :-)
All during your final exams, I considered saying "don't worry, if you fail, you can spend another semester here instead of going into the scary real world", but I worried it would compel you to sabotage yourself.
I guess you could still sabotage yourself, perhaps by setting your professor's desk on fire. But that's harder to do than just handing in a blank scantron.
 
DSM
9:27 PM
Congratulations, corvid! Cabbage for you. (If crows don't eat cabbage, assume I'm using it in the wildcard sense.)
Pineapple! (I'd forgotten that one.)
 
Bananas!
 
user559633
@corvid good, now get a job you hippy
 
man... like... what even IS a job?
 
user559633
 
Oh I have one of those
 
user559633
9:33 PM
oh, that's not what kind of job you were asking about.
 
DSM
...
 
user559633
it's where you show up and do work for someone else and he or she pays you for your time that you didn't spend doing something else
 
@Kevin but the scary real world compensates with money .-.
 
user559633
i love it when you provide an answer and the person is like "tried that, question changed, now answer again please"
 
user2555451
I answered a question earlier today where the OP did that. The new question made my answer look entirely off-topic.
 
user559633
9:37 PM
haha that's the best
 
DSM
If it's severe enough, I revert the question.
 
user559633
Ooh. Good idea. Nope, you're staying here with me pulls back with hook
 
DSM
SO Qs aren't threads where we agree to work someone through a collection of problems they might encounter until he arrives at his goal.. one time a guy did that three times to me (changing the question, I mean), and finally when I gave up he asked something stupid like "So you know the answer and won't tell me?"
 
@tristan Hahaha.... implying I'm not getting paid for typing this chat message
 
user559633
went pretty direct on my answer on that one too. it works, accept
 
user559633
9:47 PM
exactly DSM
 
user559633
and i'm near positive that this guy is going to self-accept his own answer
 
user2555451
I recently self-answered a question, but it was just a few days before Winterbash. Oh, if only I would have waited just a little longer I'd have a Selfie hat right now. :(
 
user559633
hey @corvid joking aside, congrats man
 
I like to give all my networking devices short 2 - 4 letter hostnames, but I can't think of a good one for my router... "rtr"?
 
10:03 PM
Ugh. It's such a pain that Spyder won't let me override the default end of line. Maybe it's time to look for a new IDE.
 
user559633
@Soviero WIFI? RTE?
 
@tristan Huh?
 
DSM
S2LH?
 
R2D2?
@iCodez no, you had to ask the question during winterbash too
 
user559633
@Soviero GATE?
 
user559633
10:09 PM
wifi because i assume wifi router, rte as in route, gate as in gateway
 
user559633
FART64
 
I went with pf1 & 2 since it's a pfSense router/.
 
user559633
you're a monster
 
re-cbg
 
@tristan Why?
 
10:10 PM
I probably would have gone with FWTM for "forgot what this means" to ensure I would never forget what it meant
 
user559633
@Soviero because not really. i'm kidding. if i ever care what a host on a lan is named, kill me
 
DSM
<nerd> GNDN was written on things in Trek, and it stood for "Goes Nowhere and Does Nothing". </nerd>
 
user559633
just like my ex wife. i kid i kid, she drove off a cliff. tip your waitress, try the fish. i'll be here all week
 
@tristan Not a LAN, it's for my product's platform. But point taken.
 
@corvid I always believed in you. I'm pretty sure there's a chat transcript somewhere to prove my belief.
 
DSM
10:15 PM
Okay, time to brave the cold. Rhubarb-sicles for all!
 
user2555451
That question is both "Too broad" and asks us to find things. I love these multi-off-topic posts.
 
I don't always , but when I do, I prefer Dos Razones
 
user2555451
I wonder if we could ever hit all five? A too broad, opinion-based post that asks us to find things in a not so clear way that happens to be a duplicate of another terrible question like it.
6
 
I was just thinking along those lines.
But down that path lies madness.
 
10:29 PM
It would get us the mega-hat.
 
The Hood: Post a question that is closed for five different reasons.
Or maybe "The Muzzle"
 
I was thinking more a "black hole of awfulness"
 
What are you, some kind of physicist?
 
Not an astrophysicist though! Those people are...ewww...
 
Hey! My mom was... uh
 
10:34 PM
So was DSM :P
 
I guess technically she wasn't an astrophysicist. But she did drive the MMTO for a while.
That's astro-rific. I guess "astronomist with a physics degree" works. Except still not terrible accurate. Look, enough about my mom. What's your obsession with her anyway?
Oh myyyy. This is just what I need right now. blog.jetbrains.com/pycharm/2013/03/…
 
Dang. The remote features don't come in the community edition of PyCharm. I wish my employer would buy me things that let me be more productive. #publicsectorproblems
 
11:00 PM
Fair warning to all that advocate using sys.getdefaultencoding(): I'll throw my broken leg analogy at you.
 
81
Q: Can a machine be taught to flag comments automatically?

AndyTL;DR: Yes it can. Background On June 27, 2014 Skynet awoke. It looked at Stack Overflow and thought "Why are all these people being so chatty and talking about obsolete things? I should nuke them all!" Fortunately, Skynet was a baby and only had access to my 100 comment flags a day. Prior ...

 
user2555451
I saw that Meta post. It reminds me of Shakespeare: "brevity is the soul of wit". Thank goodness there was a "TL;DR".
 
@MartijnPieters In that answer, does reloading a module immediately after importing it actually do anything?
 
@AirThomas Yes, in this case it does.
Because the sys.setdefaultencoding() method has been deleted by the site module.
Reloading re-instates the function.
Note that sys.modules['sys'] already exists, so import sys just gets the reference in the current namespace.
 
user2555451
Even ignoring what sys.setdefaultencoding() does, code which goes behind the implementation and undoes what it does by default is hackish and should usually be avoided.
 
user2555451
11:10 PM
...I say "usually" for the freak occurrence when you need to do something like this.
 
In all cases where I've seen this used it was done to paper over bad and inconsistent mixing of Unicode and byte strings.
That's the broken leg that needs fixing in those cases.
 
@MartijnPieters I don't understand your meaning here.
So I poked around; site is "imported automatically during initialization" but I don't see that about sys. How can site delete a method from a module that I haven't imported yet?
 
@AirThomas The default encoding is used for implicit encodings which take place when concatenating byte strings and unicode strings.
Rather than leave it to Python to do implicit encodings and decodings, you should make sure that the data is consistently one type.
site imports sys.
 
Hmm. Something's happening behind the scenes that I haven't thought about, clearly.
 
Just because your code doesn't import it doesn't mean that sys isn't being imported by code that runs at startup.
 
11:19 PM
Excuse the naive questions, but... I don't see sys in the local or global interpreter namespaces. So how would I interact with it?
I guess the key is "implicit"?
 
user2555451
You need to import sys. Python deletes the name after the startup code runs.
 
More posts I downvoted for the practice: stackoverflow.com/a/2013263 and stackoverflow.com/a/8020
@AirThomas sys is a built-in module; it has to be to be bootstrapped, as sys.modules is the global module storage..
import <modulename> creates a reference to the object stored in sys.modules
Only if there is no module object there yet, is the module loaded.
 
Ah. Or if you use reload().
Yes?
I think I'm understanding now.
 
anywho, bed time
rhubarb all!
 
\o Rhubarb
 
user2555451
11:22 PM
Rhubarb @MartijnPieters!
 
@AirThomas reload() is a little more complicated than that, but basically yes.
waves.
 
waves carry Martijn gently away on his stealthy boat
 
00:00 - 20:0020:00 - 00:00

« first day (1524 days earlier)      last day (3418 days later) »