« first day (1781 days earlier)      last day (3183 days later) » 

4:00 PM
OK, I think my answer is looking a lot better now that I've added all this talk into it.
@Kevin :-|
 
DSM
This is not a good question, but can it really be too broad if there's really only one answer and it can be covered in a few lines?
 
@DSM I tend to go too broad for "explain this code", although in this case it doesn't apply very well.
 
rhubarb
 
rbrb
 
DSM
"There are either too many possible answers, or good answers would be too long for this format. " Neither of those seem applicable here. Since the OP's deleted it, it doesn't matter much now, but still.
 
4:07 PM
Unclear, because they didn't say what they don't understand about it?
 
It has extensive potential to be a rabbit hole wherein you explain large chunks of Python's syntax and the nature of binary number representation
 
DSM
It's 10 characters. A paragraph or two of explanation (I've already spent more time on this metasubject than it would have taken), and a few links to direct the user to know what phrases to search for more info, would have sufficed. Unclear, maybe, but too broad is just silly.
 
I was going to retract my vote
 
Air
I'm confused by imp.load_module. Docs imply that you can get a package with just the name argument, but in actuality (that is, in a 2.7.5 console) it insists all four arguments are required and file cannot be None (contrary to what the docs say)
then, if I do imp.load_module('frobnitz', *imp.find_module('this')), the name argument seems irrelevant as it doesn't affect anything
 
DSM
Well, it sets __name__, which isn't nothing.
 
Air
4:23 PM
@DSM ugh
>>> that = imp.load_module('the other thing', *imp.find_module('this'))
<snip>
>>> that.__name__
'the other thing'
That's horrific
I love it
 
DSM
I don't read the docs as saying you can get away with only one argument, FWIW.
 
Will "Impede the [imp]" be okay as a title for a ?
 
Air
> The file argument is an open file, and pathname is the corresponding file name; these can be None and '', respectively, when the module is a package or not being loaded from a file.
^ what I meant by "just the name"
(Yeah, I said it badly)
 
@vaultah [imp]osition, [imp]erative, Impish suggestion: get rid of the [imp], etc. I'm sure there are more puns still.
 
DSM
[imp]ose an [imp]losion?
 
Air
4:32 PM
> implying implications
 
You can't green text in here :^)
 
Air
"Simpering limp timpanis, Batman!"
@Kevin I don't know what that means, but you still smell like pea soup
 
Thank you for your suggestions :)
I've thought more about those pymongo tags I've created and I agree that the decision was pretty foolish
 
DSM
[imp]lementors, I [imp]lore, I [imp]el: [imp]each! (Why yes, I am procrastinating before lunch.)
 
Okay, here's a thought about the SO set-up. Say I write a good answer, everyone's happy with it and it gets upvoted by the masses. 5 years later, things have moved on and the answer is no longer correct/could be more correct. Someone else fires a more accurate answer for posterity's sake.
Is it fair that the original poster (me, in this hypothetical case) is penalised because time has marched on and loses the points?
 
4:48 PM
Why would you lose points?
 
Because people tend to downvote outdated answers?
Just want to clarify, it's not happening/hasn't happened to me, just that the thought occurs
 
I'd view it as: If I'm still active on the site, I could just update my answer. If I'm not still active on the site, I probably don't care.
 
You could console yourself with the knowledge that you still have more points than if you had made no answer at all.
 
DSM
If you think of it in terms of power and not energy, you can console yourself with all that time you spent with many points.
 
Do people tend to downvote outdated answers? If there are other problems I would, but not just because it's no longer up-to-date.
 
4:51 PM
I generally don't, but it wouldn't surprise me if others did
 
Air
Hmmm... How can I use a while loop without typing the while keyword? I've already used eval in this godforsaken mess. I bet itertools has something
 
for _ in itertools.count():?
 
DSM
for x in iter(int, 1):? (If you want it to keep going.)
 
Air
I think I'm gonna takewhile
 
DSM
What on Earth are you doing that you need this silliness anyway?
 
Air
4:55 PM
@DSM Officially, "improving my Python skills"
Unofficially, trying to squeeze some amusement out of the ridiculously basic assigments in this edX course
It's edutainment.
To paraphrase Calvin, I find my life is a lot more entertaining the more absurd I keep everyone's expectations
 
5:19 PM
@Kevin looking back at my meta post, and the pings I gave you here, I just realized that it was a different Kevin talking to me.
When are you going to get around to eliminating disambiguating all other Kevins?
 
Zen of Kevin - "There should be one -- and preferably only one -- Kevin"
 
Haha. They're difficult to wipe out. They're like bedbugs.
 
BTW davidism, I forgot to thank you for this. There was a question on that in my exam. Thanks.
 
\o/
 
I remembered that while writing a meta answer. :)
 
5:26 PM
:D Cabbage all
 
cbg Alex
 
I just had to explain shallow copy vs. deep copy to nonprogrammers and only had to use the word "magic" once. I'll consider that a success.
 
Normal people laughed at me when I used to tell 1/3+1/3+1/3 is 0.
 
But it is.
Oh, wait, I'm not normal. Gotcha.
 
Well they wouldn't be wrong in Python3.
 
5:28 PM
Now with Python3 it isn't :D
 
Doh, you said 0, not 1. Never mind.. slinks away
 
"Impressive impurity of [imp]" - what do you think?
 
I liked DSM's suggestion to use "implode"
 
Imparts an impure impression.
 
5:30 PM
Un[imp]ortant tags are making the system [imp]ure
 
As it is a nicely destructive word
 
Hmm, I think I'll use "[imp]ose an [imp]losion"
 
The answers are of the type Use this instead and not to the point.
 
Posted the question. Feel free to edit it
 
Yeah they are, but to be fair, string formatting exists for a reason.
 
5:42 PM
@vaultah You might considering adding Shog's 4 point formula.
 
I think someone is taking this too literally stackoverflow.com/questions/32336913/…
 
Random debugging of the day: export to Word unsuccessful for a text table because a font named Monospace in Word is not actually a monospace font. Conversion to Courier New completely successful.
 
Rbrb all
 
Rbrb vaultah.
 
6:30 PM
I want to perform arithematic operation given by condition in string format using values specified in dictionry is possibly one of those "oops I forgot to put quote marks around string literals in my example code" questions
Not sure if test_dict = { value1:120, value2: 200, value3: 500} or test_dict = { "value1":120, "value2": 200, "value3": 500}
 
DSM
Good point. On the underlying question, this is one of those cases where I tend to say "you know what, if you're the only one using your code, use eval and get on with your day."
 
Incidentally I have added the target question as an entry in the common questions page, under "UnboundLocalError: local variable ‘…’ referenced before assignment". If anyone has any other good targets, please add them.
 
7:05 PM
That which I say three times is true.
Think I laid on the passive aggression a little thick there. Time to take a break from getting mad at SO posts.
 
DSM
If it turns out to be tkinter and he pings you, you'll have no one to blame but yourself.
 
He says he wrote his own mainloop. I hope it's not Tkinter, because that's not something Tkinter can do.
Which would mean that the thing he thinks he's doing, isn't even close to what is actually happening
 
DSM
I think you may be overreading that. "** I did write the mainloop() for the GUI, so it should update by itself...?" could simply mean "I put root.mainloop() in, so shouldn't that handle the updating?"
 
That is a more sane interpretation.
I'd actually settle for a CVE here. I'll debug non-minimal Tkinter if the problem isn't some huge structural thing.
I'm happy to find the needle of "whoops you did self.x = Entry(root).pack()" in the haystack of three hundred lines of menu item configuration or whatever
@Kevin I am using Tkinter library — ErezProductions 5 mins ago
Nooooo now I have to help him.
 
DSM
Until he posts some code I think you're still off the hook.
 
7:16 PM
At this point I think I could use my psychic debugging powers to write the MCVE for him.
 
DSM
Resist. For his own sake, resist.
 
I bet 10 Kevin Brand Fun Bucks that he's doing Label(root, text=a.get() + b.get() + c.get() + d.get()), where a-d are text boxes.
 
DSM
What's the exchange rate with quatloos? I'll bet against you. Not because I have any special knowledge, just because there are way more ways you can be wrong than right.
 
This kind of reasoning is consistent with a particular mental model that many people form about GUIs
A Fun Buck is approximately equal in worth to a Chuck-E-Cheese token.
If you can get your hands on empirical data about the average token yield of a single afternoon at C.E.C.'s, then you can establish a Fun Buck / dollar conversion.
Not sure how you get to quatloos from there, though.
 
4 hours ago, by Ffisegydd
user image
 
7:22 PM
AFAIK, quatloos are only ever used to gamble with, so we don't know what kind of actual goods and services you get for one.
For all we know, a quatloo has the same value as a casino chip. Which is to say, it depends on the circumstance.
 
DSM
One quatloo is about $0.003052 USD at current rates. Or did you think I was referring to a currency from a half-century old TV show?
 
That's my default frame of reference for basically everything, so yes.
 
DSM
You're living in the past, Kevin. Quit living in the past!
 
But Star Trek takes place in the future ;_;
 
DSM
(What, no props for #simpsonsreference? Bah. Kids these days.)
 
7:26 PM
Too subtle for me, I'm afraid
 
DSM
Maybe I just loved that line more than other people.
> Marge: What happened to you, Homer? And what have you done to the car?
Homer: Nothing.
Marge: I don't think it had broken axles before.
Homer: Before, before! You're living in the past, Marge! Quit living in the past!
 
Don't think my own reference from yesterday was picked up, even though I was conversing with a user that had a simpsons avatar.
 
DSM
Gone to meeting with CEO. Not back, avenge death. #rhubarb
 
Maybe they were a fan only of the more recent seasons...? Is such a thing even possible?
 
I will avenge by eating a rhubarb in DSM's memory.
Or maybe I can find some rhubarb pie at Whole Foods or Trader Joe's.
 
7:35 PM
I've got a gap in my vengeance schedule on Thursday, so I can pencil him in for some light revenge.
The ol' "get a stain on his tie / leave an unflattering glassdoor review / cast aspersions on his mother" combo.
 
Polymorphism: the parent's methods call the children's methods, which can take many forms.
 
Ok.
 
Just wanted to throw that out there.
 
7:53 PM
Polymorph is a Magic: The Gathering card that destroys a target creature and replaces it with a random creature from its controller's deck.
This is largely unrelated to the OO concept, especially since the two creatures don't need to be related in any way.
In fact, its most popular use is to destroy a small shrubbery and replace it with a hundred foot tall Cthulhu pastiche.
 
I used a wand of wonder with that characteristic and changed the lead monster in a horde chasing me down a narrow hallway into a unmoving floating eye. It was quite useful.
 
Mm, delicious floating eyes.
 
I came back after resting up and blasted them all to bits with beams of lightning.
Let all my enemies know of my power and fear me.
 
I usually save lightning attacks for the late game, when I don't care that it causes the enemy's mid-tier loot to explode.
 
Lightning beams don't seem to have that effect in Angband 3.3.whatever.
 
7:58 PM
I'll usually go with Magic Missile and maybe Magicbane for some light CQC.
@AaronHall I might be thinking of Fireball, then.
(also I'm talking about Nethack which probably has different mechanics)
 
The game is a lot more fun when you just dive, as long as you have the right resists/immunities. You level up faster and get better stuff sooner. I'm trying to teach myself to go ahead down a level when I get a lame level feeling.
When I first started, I would grind on the first level up to almost level 10.
 
Once you establish a decent food cache In NH, you can afford to comb over every level. Speed runners will dig straight down, those daredevils.
 
After I master Angband, I intend to give Nethack a go.
 
Never works for me, though. I get wrecked by ants or rothes or just plain get stuck at the Castle.
 
I had a rod of lightning balls (!) on my last character that would destroy stuff on the ground, so I was more careful with it.
That was fun chat. Ok, gotta write me some code. Python away!
 
DSM
8:11 PM
tst Aaargh, I've done more wrong-window typing in the last few days than I have in the last few months.
 
Morning Anttii
 
@corvid midnight ...
 
8:26 PM
it's always morning in the land of crows
 
might be... if you live on north pole
ah no :P
but on the arctic circle, one does not have to fly that fast...
 
DSM
> Crows are widespread and live around the world. In fact, the only places crows do not live have extreme cold. These include the North Pole, southern South America, and Antarctica.
 
16000 km,
that per 24
666 kilometers per hour and you'll have morning forever
 
:o we were talking Nethack and I missed it
 
user559633
8:54 PM
lifehax
 
9:09 PM
my fav lifehack: procrastinate on everything by doing everything else and that way everything gets done
Including destroying Morgoth.
 
Shameless stealing from javascript room
 
@MartijnPieters It was not an answer until he edited it. Grrr
 
@durron597 sorry; the question was way too broad anyway.
 
/me is annoyed you don't see the post I flagged instead of the post as it is
I saw he edited it and I wanted to rescind my flag, but could not.
 
9:21 PM
I often do look for edits but we don't always remember.
 
I'm not annoyed at you, I'm annoyed at the UI.
 
1
Q: What is the correct way to mix feature sparse matrices with sklearn?

ml_guyThe other day I was dealing with a machine learning task that required to extract several types of feature matrices. I save this feature matrices as numpy arrays in disk in order to later use them in some estimator (this was a classification task). After all, when I wanted to use all the features...

 
I know :-)
 
I noticed he edited it, but there was nothing I could do except hope whichever mod looked at it would see the edit history
272
Q: Cancel misclicked flags

AlbireoI'm wondering (since it just happened to me), is it possible to "cancel" ("undo", "delete", whatever) a flag I just raised if I misclicked it, so the mods won't waste time? I looked everywhere, but I can't find such a feature.

So many bounties on that question, too.
> Caleb's answer reflects my feelings on this one. There: I upvoted it.
Meh.
 
user559633
@corvid lol, that's exactly what i said to the guy i usually hack with. "i heard react is good"
 
9:36 PM
react is bretty good
 
9:51 PM
evening all
 
stackoverflow.com/q/32331758/400617 too broad, see comments on q and my answer
 
10:23 PM
Would anyone recommend(against)? "the flask megatutorial"?
 
10:58 PM
Is someone around who can either close or flag stackoverflow.com/questions/30582332/…. I'm reviewing a late answer and have no flags myself left. The comments in the OP indicate that the poster determined that his error wasn't confined to his OP "happens when he runs other things than tweepy" and the late answer is trying to start the thread again.
 

« first day (1781 days earlier)      last day (3183 days later) »