« first day (2078 days earlier)      last day (2868 days later) » 

4:00 PM
Just going to screenshot that for posterity, Tristan.
:D
 
the list PyObject (aka PyListObject iirc) (in CPython) has an internal pointer to the actual memory area
however in tuples, the area actually succeeds the PyObject data.
 
ahh! so the list PyObject's memory address doesn't change, though the memlocation of one of it's attributes does
 
exactly
 
thank goodness
not all common sense is lost:P
 
phew! that was going to bug me. Thanks
 
4:03 PM
how can you lose that which never existed
 
user559633
@Withnail :) frame it.
 
I prefer uncommon sense anyway
 
Uncanny valley
 
@inspectorG4dget in situations like this, ask yourself what the logical conclusions of your suspicion would be (object changing address). Does that actually happen in Python? No. Hence your perception of that aspect of the implementation is slightly faulty
 
well his question was exactly "can it happen?":)
 
DSM
4:10 PM
@Withnail: maybe 60-70k on the junior end? Wildly variable, though.
 
Oh man, ok. Cool.
Thanks!
 
@DSM Wow, I need to move there.
 
That's actually quite a lot given the cost differential from the UK.
 
Oh, I forgot about the exchange. That's actually about the same as here.
 
Not for me, there's no 'competition' here. :P
 
4:15 PM
I thought the Canadian dollar was stronger for some reason.
 
@holdenweb I agree. But I couldn't think of something better. So I came to the experts
 
pls respond
 
Seeking a duplicate for Python array strange behavior?. Didn't have to read any farther than a = [[0]] *3 to know what the problem was going to be.
 
DSM
"multiplication" in the canon, I think.
@Kevin: hey, I thought we'd had this conversation before..
 
I'm pretty comfortable with the fact that I haven't said anything truly original in years
 
too broad stackoverflow.com/q/38017966/344286 - 10 minutes are up bro </tmnt>
 
"It's been done" is no reason not to do it again, if we enjoyed it the first time.
 
Hey @WayneWerner there's a magic [mcve] link that you can use in comments.
 
Oh, I was not aware of that. Just put in [mcve] and it works?
cause, that'd be nice
 
4:39 PM
it does
 
There are more here, in the advanced comment help page stackoverflow.com/editing-help#comment-formatting
 
expands to [Complete, Minimal, Verifiable Example](...) or something
probably starts with the M...
[edit] is also very useful
chat supports a very limited subset, maybe How to Ask is one
it is! ([ask])
 
hey please someone recommend a good movie to watch :D something perhaps actionish or scifey
 
@AndrasDeak Yeah, [edit] can be handy when the OP is so clueless confused that they can't find the edit button to edit their question. :)
 
@AnttiHaapala have you seen deadpool?
 
4:43 PM
yes
 
(did you like it?)
 
hmm yes
stupid stackoverflow chat doesn't allow me add the same line twice :D
 
:D right
 
I actually don't remember the last scifyish movie I've seen
oh... right. That dumb one.
what was it called? The aliens came 'round. Oh right, 5th wave
 
5th wave? never heard
 
4:45 PM
Previews have a lot less romance than the actual movie
 
@WayneWerner I used the word "recommend" :D
 
that was the real dumb part
I recommend you don't watch that one ;)
 
:D
okie
doens't have to be scifi, can be action, or something like spy films or ...
 
no, no other action/scify here:)
 
It would have been way better if they had either a) shown all the stupid love story part in the trailer, or b) removed it from the movie, which would have been pretty good
 
4:47 PM
hmm
 
The last Sci-fi movie I saw that was good was 10 Cloverfield Lane. I was VERY impressed with it.
 
Vin Diesel? The Last Witch Hunter was a pretty standard film of his
 
the new Mad Max was pretty good as an action film
 
if you know what to expect from Vin Diesel, he delivers:D
 
oh my. independence day premiers here on wednesday
new mad max was pretty darn good
 
DSM
4:48 PM
@MorganThrapp: would it be too spoilery to ask if it was actually sci-fi-ish?
 
@AnttiHaapala one of our news portal said "the dumbest film imaginable, but entertaining"
 
@DSM Just see it.
John Goodman is terrifying in it.
 
I need to see the original Cloverfield first
 
@AndrasDeak that's quite a recommendation. I've seen the first ID4, so...
 
Nah, it's not related at all.
 
DSM
4:49 PM
Goodman's a better actor than he gets credit for.
 
They're just planning on using the Cloverfield name for experimental horror/thriller/sci-fi movies that J.J.Abrams does.
I love Goodman, I think he's a fantastic actor.
 
DSM
Until it turns out they were all dreams in the mind of a child. A child named.. Cloverfield.
 
I would put this and The Big Lebowski as my favorite films of his.
 
@DSM <am I the only one around here who thinks Goodman is a great actor?>
 
Looking through my Netflix viewing history... Death Note is probably the most recent thing I've watched that might apply, lol
 
4:51 PM
@AndrasDeak don't remember any films that I've seen that would have him actually acting
I just remember the flintstones :D
 
Death Note is good but not really action-y
 
me neither, I was responding to DSM's claim:P
 
I really enjoyed (everyone, really, in) Monument Men
@JGreenwell No, more sci-fi... ish
 
fantasy really
 
We did watch Solace, with Anthony Hopkins, and liked it a lot. But your taste in movies doesn't sound like that at all...
 
4:52 PM
ah he was in argo,
which was the worst movie of that year
 
Geeze. I can't wait to get a new Roku or something. It always just uses my account on Netflix :(
 
John Wick was a good action film
 
DSM
There were certainly a lot of deaths.
 
that there were
 
Yes, I enjoyed that one. Also... um what was the one with Denzel Washington?
 
4:54 PM
man on fire
 
DSM
The Equalizer?
 
Yes, equalizer
that one was fun
The BBC Sherlock series on Netflix is a good one, if you're into Sherlock
 
Hi guys
 
they did a great take. I really enjoyed Bilbo Baggins in that.
 
BBC sherlock series is good
 
4:55 PM
Can I ask here sql related 1 problem
 
and we've watched it.
 
cbg, @Learning
 
like... thrice
 
Heh. Nice ;)
I was delighted when another episode came out a few weeks back
 
Little strange output I am getting
@WayneWerner cbg means?
 
DSM
4:56 PM
I didn't care much for the last Sherlock . It was a little too showoffy for me. (Can't be more specific in case anyone hasn't seen it.)
@Learning: means you didn't read the room rules in the top right, is what that means. :-)
 
I've been a fan of Sherlock since before I learned that Conan Doyle hated him
My wife watches a lot of TV, so there are Everybody Loves Ramond and Reign streaks in my history :P lol
 
@DSM ok sorry
I am using SO chat from mobile so cant see it
 
@Learning In answer to your question, not really. This is the python room.
 
I want to watch the ancient Moon Zero Two again. I saw it when it new. The special effects are pretty un-special by today's standards, but considering the tech they had back then it's not bad. It's more of a space western than actual scifi, and the plot's pretty straight-forward, but I remember enjoying it as a kid.
 
@Learning sopython.com/chatroom now you can :)
 
4:59 PM
I'm looking forward to the new Marco Polo series. I'm currently watching the new Scream and Preacher shows.
 
Ok
 
My wife has been into Scream. I enjoyed the few episodes we watched together
@PM2Ring Firefly has me automatically giving Space Westerns a shot
 
I'm liking it.
 
DSM
Do they have the same deaths/minute count as the movie or do they space it out more?
 
I think someone dies in every episode
could be wrong though
someone died in the episodes that I watched
 
DSM
5:01 PM
That sounds like a lot, but then I like procedurals, and someone usually dies in most of those.
 
I don't think someone dies in every episode, but it's close.
Though maybe they do and they're just side characters that I don't care about?
 
Why not both? :D
 
DSM
Okay, time for my scheduled notebook upgrade. Lunchtime rhubarb for all!
 
Lizze Borden Chronicles were super fun, if you like splashy historical fiction
 
we've started watching Wayward Pines, then Penny Dreadful. The latter is very odd, it's as if people put some story around everybody screwing around with everybody else
 
5:06 PM
Cowboy Bebop caused me to give space westerns a chance, Firefly was the payoff
 
I saw Firefly long before Cowboy Bebop. I've enjoyed the couple of episodes of Bebop that I've watched. After we finish Death Note maybe I can convince my wife we need to watch that one ;)
 
I've only heard praise about Bebop. Plus, corgis!
 
I keep trying to get into Jessica Jones (cause the 10th is in it & I liked Powerman/Iron Fist comics at one time) but just can't seem to
Bebop is awesome
my brother and me liked that show so much growing up we named our pet "Ein"
 
Yeah Bebop is pretty terrific. Love that ending.
 
@JGreenwell My wife was surprised at the number of scenes that went from talking about the weather to having sex. Apparently there are a lot of them in Jessica Jones
 
5:15 PM
yes there are, netflix enjoying not having to deal with censors and networks I'd guess
 
I'd enjoy more movies/shows more if they just offered a boot scene version
 
heh, my wife only watched the new Star Trek movies because I mentioned Chris Pines was in his underwear in a scene - and now she is a huge fan (Original & Deep Space 9)
 
The actual time spent doing whatever kind of sexy times they're having is time spent not advancing the story. Unless sexy times is the story, but those shows tend to have pretty low budgets...
 
We got a new ice machine at work, and I'm fairly certain it's actually Satan incarnate. None of us have been able to figure out how to get it to dispense more than about an ounce of water without it beeping and whirring constantly.
 
5:20 PM
Shouldn't your ice machine be dispensing ice?
That's your problem right there
 
It supposedly does both. In reality it does neither.
 
Are you supposed to milk it?
Look like udders to me
Geeze. Whoever designed that interface deserves a special place in Hell. I have a guess about how you can get water, and if my guess is correct it makes me angry
Maybe the Knox is a reference... "It's like Fort Knox - for your water!"
 
You press AND HOLD the tiny blue button.
When you start, it beeps and then starts whirring while dispensing water. After ~3 seconds it stops dispensing water and just beeps. Constantly.
 
It says "instant ice maker". It dispenses instant ice, which you have to dissolve in water to get ice.
hence the ounce of water
 
> then there is the beeping. the incessant beeping. every time ice drops it beeps a loud, shrill beep 5 times, very similar to an alarm clock beep.. every time any button is pushed for dispensing water the machine beeps. when the ice drawer is full it beeps 5 times to let you know it's full. even after setting the alarms for the ice and the hot water it beeps throughout the night. there is no way to turn these beeps off and that is why i will end up throwing this thing in the garbage.
From one of the reviews.
The consensus in the office is that a sledgehammer may accidentally hit it repeatedly.
 
5:28 PM
:D
ice ice baby gets hammer timed
 
I could see that as the start of a decent horror movie, as the beeping slowly drives a person insane
 
maybe it's a covert psycho filter
before the psycho buys a chainsaw
 
It's been 4 and a half hours and we've already been driven insane.
 
it's easier to disarm someone threatening you with a stapler
 
You could always take it apart, I'm guessing it's a piezo speaker, and just chop the stupid speaker out
 
5:30 PM
Twist: it beeps every time it filters brain-eating bacteria from the water supply. Your tap water is about 70% brain-eating bacteria by volume, hence why it takes so long to get so little water.
 
won't stop the whirring, but at least the beeping would be solved
 
depends on who the person is doing the threatening, also all offices have scissors or those machete....err, paper cutters
 
I could even live with the beeping if it was once, and not ear piercingly shrill.
 
is it all the battery back-ups in the server room when the power cuts off bad?
 
Twist: one of the designers went mad due to thinkgeek.com/product/ihvg and is now trying to get everyone else to succumb to his madness
 
5:35 PM
@JGreenwell Worse.
I'm so thirsty, but I don't want to sacrifice my ears to the water demon.
 
Screenshot?
 
 
Woof, that is certainly something.
This is still my favorite deleted question, from codegolf.se.
There was also a troll earlier this year that kept posting smurf related questions, that was fun too.
 
...avocado juice though?
That's just weird.
 
5:45 PM
Yeah, I have no idea.
 
Maybe he is programming an avocado
 
Or trying to use steroids on it.
 
oh man. Lollerskates. Some things are just so far out of left field that they're really funny
 
sooo... postgres friends. Is using json_agg and json_build_object an anti-pattern? Because I am using it everywhere and like it a lot, but it technically distorts the data, no?
 
I don't think so, but I don't use it... but that's more because of our data than because I think it'd be a bad thing
 
wow, that's way more intense than what I was doing... And I thought I was cool :(
 
oh, nice library.
 
neato
 
If you want to use PostgreSQL for JSON, I think it's pretty powerful at this point. I haven't explored it yet, I'm happy with regular relational db stuff.
kvesteri's libraries are insane
Full transaction versioning and rollback: github.com/kvesteri/sqlalchemy-continuum
 
This is way better than mongo too
 
Faster and more reliable
 
waiting for some data to be read in... what's happening folks!
 
Just enjoying kvesteri's libraries
 
hey
 
6:03 PM
any IDE's you would recommend over pycharm?
for use with pygame
 
I used to use eclipse back in the day, and then I tasted PyCharm
and I did do SOME very minimal pygame work on eclipse
 
I've considered it
 
What don't you like about PyCharm?
 
I like pycharm, I was just wondering if there is anything better suited to pygame out there
 
what about the way pycharm works with pygame is undesirable to you?
 
6:07 PM
I just want to know what features you're looking for.
 
PyCharm is probably the best IDE for general purposes. I suppose you could use atom or sublime but they're much more general
 
interesting new (for me) discovery: if I create a namedtuple type within a function, and create a list of objects of that type, then I won't be able to pickle them. The nt has to be defined in the __main__ scope
 
WingIDE worked really well but I don't know if there are any Pygame problems with it. I suspect it works just fine
@inspectorG4dget That's intriguing. I wonder if that's simply because pickle ... well, no I was going to come up with a reasonable explanation but I've got nothing
 
6:28 PM
hmmm....maybe I just am too picky, and work with too high of a precision requirement, but the data given in one of the answers strikes me as "not significant enough to draw conclusions" rather then proof of anything
either way, people care about badges? rep I get some (esp. those with small resumes for which rep on SO can be perceived as helping with job searches) but badges?
 
I like getting gold badges. I'll take or leave the rest.
 
I imagine having a gold hammer is mighty convenient
 
@JGreenwell yeah damn straight.
 
also, seperate tags make more sense (too many freking canvases to make a tag for each)
eh, its more the first thing - and a pet peeve of mine on par with "the data proves ..." when it should be "the data shows correlation between ..."
 
@JGreenwell or does not show correlation ;)
 
6:37 PM
p > 0.05
 
only 13.9% of the changed post affected marke btw.
 
7:01 PM
@Ffisegydd && @RobertGrant && @JRichardSnape just found this one:
> So let's take stock:

1. Nigel Farage starts the morning by retracting the £350 million claim
2. Daniel Hannan retracts the claim that leaving EU will reduce immigration
3. £100 billion wiped off the pensions, ISAs etc. invested in the FTSE
4. The pound suffers the largest currency depreciation of any currency ever
5. The Prime Minister resigns without mapping out a plan for implementing the results of the referendum

If I were a Leave voter, I would not be celebrating this morning. Sure, things might stabilise in time, but the immediate aftermath of the vote is admission that they'd been
 
Which post was it?
 
@PeterVaro which post? I haven't been clearing today, otherwise I'd be worried I misclicked.
 
I only clear out stars that are given by flyby users to messages that answer their question. Any more maintenance than that is a pain.
 
oups.. sorry
shame on me.. :)
 
I think you just got bumped into the star page since there's so much starring going on: chat.stackoverflow.com/rooms/info/6/python/?tab=stars
 
7:04 PM
I found it.. sorry, sorry for blaming
it was very suspicious though :P
 
Nothing wrong with watching the watchmen ;-)
 
Do I need to pin my "stop starring so much stuff, people!" message again? :-P
 
@davidism yepp, it is clearly there, sorry again!
@davidism :D
 
@davidism What if we just star you asking if you need to pin a message asking us to not star things?
 
Starring messages that talk about starring is so 2015.
 
7:06 PM
@MorganThrapp it will open up a portal to the Kevin-verse, where all stars originate.
 
"My God, it's full of stars!".
 
Every time Kevin says something witty, a star is born.
 
In my home universe we don't have Olber's Paradox. The last frame of that gif is a good representation.
 
I'd be surprised if that wasn't a dupe. "How do I run Python programs on a computer that doesn't have Python?" is something any newbie would ask as soon as he finishes a program he's proud of
 
7:13 PM
....I love his answer to how py2exe doesn't work: "it seems pretty complex"
 
been up since 4:30. Wilting. Rbrb all.
 
@MorganThrapp hold on, there's a canon for that
 
I interpreted "it seems pretty complex" as referring to Morgan's links.
 
The MCVE page does have like a dozen bullet points after all.
So he's basically saying "do I really need to put all this seemingly irrelevant information into my post? Can't you just tell me how to do it?"
It's not the kind of question that needs an MCVE, so I get his frustration (if I am interpreting him correctly)
 
7:19 PM
I wonder when that canonical will be closed as a tool rec:P
 
Well, let me backpedal. He doesn't need to provide an MCVE of his actual code. But he ought to provide a log of the commands he attempted to make py2exe work.
 
@AndrasDeak It's been actively maintained for four years, I give it the same status as that C++ book post.
 
I think the reasoning behind closing as no MCVE is "too broad --> best case: debugging problem with py2exe --> need more specific info other than >>didn't work out<<"
and not the MCVE bit, but the "give full error message please"
 
Exactly. I don't necessarily need his code, but I need the error.
 
I really don't get women
 
7:22 PM
@davidism have you consider having it locked, just like the C++ book thing?
 
I mean, I probably need the code, because it's much more likely that there's an issue with the code than an issue with py2exe.
 
@JGreenwell here you go
 
my wife loves watching me do analysis and code (cause I look confident or something) but when I start doing math on a chalk/white board - suddenly I'm a nerd
 
I think most STEM types don't get women. Heyooooo! Ok that's an overgeneralization, sorry.
 
do STEM types understand STEM type women?
no, don't overgeneralize
are there STEM type women?
 
7:23 PM
do STEM type women understand STEM type women
 
Sure, we have a female intern!
 
(just kidding, I have a mathematicianess at home)
 
(and 15 guys).
 
Usually the Ed Mcmahon Heyoo makes me feel better about insensitive jokes, but I think I got caught in the backdraft there
 
Oddly, my wife actually gets a lot of high level math concepts (like up to pre-calc and good with logical proofs)
@AndrasDeak I like this one better ;)
 
7:27 PM
:D
 
besides, that give you the excellent game "what would your murderer name be?"
 
"Mathematicianess" is a great job description and a great supervillain name.
 
IT Crowd was/is so good
0118 999 881 999 119 725...3
 
7:52 PM
Weekend rhubarb, all!
 
rbrb!
 
What is a regular expression that implements Word Boundaries as specified in the Unicode Text Segmentation standard (unicode.org/reports/tr29/#Word_Boundaries)?
 
cbg all. quick question. what should be done here? should i tell the op to answer their own question? (and i would probably suggest edits in the OP to make it cleaner) maybe this is a dup as well...
 
seems like a dup to me - basically wasn't setting content_type
 
yeah, well i will let that bubble its way up for now. i've not yet figured out how to search for dups.
at least efficiently
 
8:05 PM
@Carlos in perl it used to be something like \b
b for boundary
and in the usual way \B is anything-but-a-boundary
 
@wgwz flask testing json "content_type" site:stackoverflow.com
 
in other news seeing all the trump and brexit related stuff in the starred messages, i will share this gem
@WayneWerner fair enough. thought maybe there was another way to do it.
 
@wgwz That's delightful
 
rbrb for now.
@WayneWerner i had a good lol over that one.
 
8:09 PM
@bclayman No, we can't. Please don't link newly asked questions here.
 
TIL "Incompressible" is an insult.
 
Complex pendulums are so much fun.
Chaos theory!
 
yup:)
41-element ensemble of triple pendulums (see the reddit link beow it)
pendulae? pendula
 
8:12 PM
@GrantHill I think it depends on the context
@AndrasDeak Chaos pendulums are fun. I had some kind of app on my phone that I made one on
 
No need to be so incompressible about it, Wayne.
 
@bclayman any particular reason why you're using Python 2?
Python 2, Unicode and CSV fit together like England, Scotland and the EU.
 
heheheh
@AnttiHaapala according to their question there are a few reasons. I'm curious what they are, though
 
I remember vaguely that csv + unicode wasn't fun at all.
 
unicode in Python2 makes me sad :(
 
8:21 PM
there is a module in PyPI to work around
 
2to3?
 
MCVE (error comes from json.dumps, csv module doesn't call json.dumps...)
 
DSM
So the temporary notebook they gave me to tide me over this afternoon is ancient, and runs IE9. It doesn't even correctly render SO.
 
@AndrasDeak It seems that \b only implements Simple Word Boundaries (unicode.org/reports/tr18/#Simple_Word_Boundaries). What about Default or Tailored Word Boundaries?
 
aloha
:)
 
8:58 PM
@Carlos oh, I have no idea
I'm very noobish when it comes to regex
(but I'd suspect that if you want something fancy, you have to get your hands dirty)
 
@Carlos none, nada.
re is shit
 
@Carlos pypi.python.org/pypi/regex this at least attempts to support some of the unicode features. not sure about word boundaries
 
@DSM *twitch*
they gave you the doorstop to work on?
 
 
1 hour later…
10:10 PM
PyCharm doesn't recognize Jinja block assignments. :- ( youtrack.jetbrains.com/issue/PY-19931
 
10:39 PM
@AnttiHaapala Interesting, thanks!
 
wow, PyCharm must be rich, they have a featured tag (or whatever it's called) on SO
sponsored tag
 
11:09 PM
Try using atom IDE in place of PyCharm
 
Uh, no.
 
11:55 PM
anyone knows more about module this
 
?
what is there to know?
the source is in this.__file__, and google is always your friend:)
 
well when you help(this)
you have some data like
s = "Gur Mra bs Clguba, ol Gvz Crgref\n\nOrnhgvshy vf o...bar ubaxvat ...
 
yes
that's a variable called s, this.s
 
What does the message mean,
I know that
 
read the help...
MODULE REFERENCE
    docs.python.org/3.4/library/this

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.
ah, you have to decode it:P
 

« first day (2078 days earlier)      last day (2868 days later) »