« first day (1285 days earlier)      last day (3656 days later) » 
01:00 - 17:0017:00 - 00:00

user3444876
1:28 AM
Cabbage ALL
 
user3444876
@xiaodongjie I am sorry I have not used the LZMA SDK in C++ before
 
Oh, sorry. It's my mistake. but I don't remove it.
 
1:42 AM
stackoverflow.com/questions/23233239/… Vote to Close/Delete pls :)
 
@Haidro How to close/delete it?
 
You need a certain amount of reputation
I think it's 3k to Close
 
i see
 
 
6 hours later…
7:25 AM
Cbg
1 message moved to recycle bin
 
Cbg all. @Jon Briiiiiiiiiiiiiiian!
 
@ffisegydd STEWIE!!!!!!!!!
My mission to bark at the orange ball in the sky until it goes away is going very slowly...
 
 
2 hours later…
9:46 AM
cab-badge
 
lol
Cabbage to you too :)
 
Was wondering if everyone had left me - was going to start running around and ripping the chairs to bits! :p
 
@JonClements I have 99.9% uptime here ;)
 
Not good enough - there need to be more 9's at the end of that!!!!
 
Let me cut down the bio-breaks, I should be able to add few 9's ;)
 
10:01 AM
;-)
One of the better ones that made me chuckle anyway
 
10:52 AM
I tweeted that image :)
 
io2
cabbage
 
11:56 AM
cbg
@AjGauravdeep all singleline comments? In what language?
 
@JonClements you know that it is at least a 5 years old image, don't you?
 
@PeterVaro I guess that is the 4th group of geeks, "ANCIENT!!!"
@AjGauravdeep while many programming languages are regular languages, the matching of such single line comments is a bit tricky to do with 1 regex only
 
Can anyone tell me, why I get a syntax error?
class Seite:
	def __init__(self):
		self.templ = file("Aufg1Files/index.html").read()

s = new Seite()
the last line
 
bc you did not indent properly
ah :d
now I noticed the new ... :P
remove new and it works
 
Yeah :)
 
12:04 PM
a class name is its own factory
 
Too much C# I guess :)
 
in python
 
But when I import this module, I have to write new, right?
 
no
there is no new in python
period
 
ok
 
12:04 PM
and you want to always write your class definition as
class Seite(object):
 
thanks
Why?
 
that is if not inherit from anything else, inherit from object
bc in python 2 it will make a "new style class"
and your code works the same in python 3
self.templ = file("Aufg1Files/index.html").read()
 
kk
thanks
 
this style is also not that good, since it can sometimes leave the file open until reference counted
better write like:
*and file() too is deprecated, you want to use open()
with open('Aufg1Files/index.html') as f:
    self.templ = f.read()
 
Have we got a canonical dupe target for "what changed between Python 2 and 3?"?
Or would it be ok to close as asking for an offsite resource? It's effectively a documentation request, I guess
 
12:16 PM
@AnttiHaapala probably. guess what, I travel to Helsinki tomorrow for 4 days ;)
 
@PeterVaro and I dont :(
 
oooohhhh :(
@AnttiHaapala Maybe I'm wrong, but I thought you are living there.. I don't know what gave me that impression..
 
12:31 PM
Hello (or I believe Cabbage is appropriate). My first time/comment in Chat. Interesting community here. :)
 
Welcome.
 
Thank you. So you discuss question/answer moderation here?
 
Yeah
 
I see. Cool.
 
Close vote requests are fairly frequent, and we share links to questions that are asked a lot. Some day, our common questions list will be complete!
 
12:41 PM
cbg all
 
Hi
 
Okay, the downvote on my answer and the acceptance of a terribly worded answer makes me suspicious.
0
Q: Dictionary declaration in python

Nattui have declared a dictionary data=dict(key="sadasfd",secret="1213",to="23232112",text="sucess",from='nattu') it is showing error in python .saying keyword used .why does it is not taking From . when ever i encounter with from as a key in dictionary cant i use this format

is off to scan for sock-puppetry.
 
is there anything wrong with this? Someone on my team is telling me it's wrong.
 
@MartijnPieters, Maybe the OP was in a hurry and just accepted the short self-contained answer instead of bothering to read the detailed explanation with examples and links.
 
Hmm, it's true that some posters favor short answers... But usually you have to take up an entire screen to get the "long answer, short attention span, penalty"
@Crow, Maybe they think for c in dict(request.args)] is a syntax error and should be for c in dict(request.args):, because they didn't notice it's a continuation of the previous line.
In any case, you should punish your team member for being critical without being constructive.
 
12:47 PM
@Kevin oh I meant in terms of practice... he said using a script block like that is wrong
 
Saying "there's a problem" without saying what the problem is, is a cardinal sin on the order of saying "I get an error" without pasting the error
 
@sshashank124 sure, but why then the downvote at the same time?
 
@MartijnPieters, That is beyond the scope of my comprehension
 
@Crow Ok, now you're the sinner here, because you were withholding details about the problem from me.
A better introductory sentence might have been, "is there anything wrong with this? Someone on my team is telling me that using a script block like that is wrong."
Anyway. Did he say which of the two script blocks was wrong?
The var charts = {{ charts }} one, or the {{ url_for('static', filename='render_charts.js') }} one?
 
all is right in the world; OP has switched accepted answers.
 
12:52 PM
@MartijnPieters That makes it even more suspicious
 
:-)
I have found no other overlap between the two users.
 
BTW, I have been meaning to tell you this. I am growing my hair like yours :)
 
Can shutil.move be used to move files from one drive to another? this guy wants to go from C:\ to H:\ and I'm uncertain if that's allowed
The docs don't say it's not allowed, so I'm leaning towards "that's fine"...
 
except..
and that points to a post with a bounty by the other user.
curious.
@Kevin Sure, that's one of the use-cases for shutil.move(), actually.
 
@MartijnPieters mmmm.... What if I have shown you this question?
 
12:56 PM
Thanks. Just making sure. I would have tested myself, but I've only got one drive on this machine
 
Ah, a comment by that user too.
Friends maybe?
 
Yeah, I see that.
 
Suggesting an edit with expected output?
 
I am flagging.
 
12:57 PM
@Kevin basically, he said you can never use a script block explicitly like that, I'm confused as to why
 
Also, the same guy complains like this in the comments
i dint down voted but .. ihave seen many answer as soon as u answer u get an upvote. think ur doing it from other account — Sundar Nataraj yesterday
 
@Crow Me too. Best thing to do would be to ask him. Provided there's no weird office politics going on that would prevent you from doing that.
 
@thefourtheye Feel free to flag the accounts as well with your own findings.
 
another thing he said that was odd is python and javascript shouldn't be mixed at all... which is odd, I eliminated all of the javascript except for those lines specifically so a python developer would have an easy time developing on it
 
Don't think "asking coworkers for help makes me look dumb," think instead "it makes me look inquisitive and engaged"
 
1:01 PM
@MartijnPieters But, what if I am wrong? :(
 
Leave that to the moderators.
My flag:
> This user and the OP are at best friends in the same classroom. This answer was accepted plus received an upvote, where the solution given was at best inadvisable. This user also created suggested edits for other posts by the OP (see stackoverflow.com/posts/23210679/revisions) and the OP has been asking for attention for a post that Sundar has a bounty on. Can someone investigate for sock-puppetry or a voting ring here?
 
@Kevin nah this guy is cool, and really smart, and has been very helpful. The one thing is that he is a javascript developer
 
anywho, time for some lunch
 
@MartijnPieters Cool, I ll do that from the next time onwards. I often see activities like this in JavaScript tag as well, but wasn't sure how to deal this.
 
rbrb, bbiab
The downvote was undone, on the quiet.
 
1:07 PM
Hello! I'm Austin Burk
 
@MartijnPieters I may be nit-picking, but look at the latest comments on the other answer.
 
I, uh, am not as good at Python as I am at PHP, and I can't seem to do something like this:

[root@sudomemo ~]# python /var/www/lib/py/testPPM.py 1 3043A1_0D6119EB4681C_000.ppm testout/
== PPM.py ==
== by pbsds ==
== v1.06-sudofox (Austin Burk, for Sudomemo) ==

Reading the flipnote file... Done!
Dumping frame #1...
Traceback (most recent call last):
File "/var/www/lib/py/testPPM.py", line 679, in <module>
WriteImage(flipnote.GetFrame(i), os.path.join(sys.argv[3], "%s.%s.png" % (flipnote.CurrentFilename[:-3]+filetype), str(i+1).zfill(3)))
 
cabbage
 
@AustinBurk Well, filetype is not defined.
 
This line works:
WriteImage(flipnote.GetFrame(i), os.path.join(sys.argv[3], "frame_%s.png" % str(i+1).zfill(3)))
and the filename should already be defined for the flipnote object
hey wait, does getFrame define the filename?
brb
oh, I think I might have figured it out, bb in a few
 
1:16 PM
@terfin cbg!
I hate clients
 
@JonClements Ahoy Jon!
 
I'm starting to wonder if 90% of my clients are alcoholics
 
lol
 
@JonClements I started a public repo on Github named pyodata, it is completely empty now, I am throwing in feature requests labeled issues according to the OData protocol.
 
The clients are drunk on power, of course.
 
1:21 PM
I'm struggling a 2nd pint.. one of 'em just necked their 7th and is now on shorts
 
I wish I had someone to review them tho, another pair of eyes that can see whether I didn't miss anything and that there are no ambiguities.
 
Haha
 
@terfin fair play to you... I'll look when I can
 
@JonClements I'm pretty sure one person I work with hasn't seen a website that was made past 2003
 
I thought you suspected them of being alcoholics because they gave confusing project requirements... But your actual evidence is that they drink a lot. That's much more conclusive :-)
 
1:23 PM
I bet that there are ambiguities, I mean, spank me all day for mistakes if you want, the only way to become better at something is doing a mistake and learn how to fix it :)
 
@Kevin I suggested a nice local fish restaurant - maybe a couple bottles if wine to share round
Not that I'm arguing with a pub that does fantastic steaks but...
 
Is this a business dinner? Are they scribbling class diagrams on bar napkins? :-)
 
Yes... it's highly productive and professional in all regards
 
Herrre's a chart represhenting the increase in our google rank after your SEO work... draws a duck in a top hat. Wait, that's not right...
 
Some imaginary hours are going on the next invoice...
@terfin not into spanking - don't you know that well after all? ;-)
 
1:29 PM
Give them two invoices. They'll think it's just double vision, and sign both of them
 
@JonClements tbh, I am not into that as well, tho I got a friend that went to a S&M club once. He was the slave and I am pretty sure he's not gonna go near that place ever again
 
But sure - link to the room - sure others and I would be able to take a look when we have timd
@terfin TMI!
 
@JonClements I have a lot of disturbing info, as much as you can possibly imagine. :D
 
Let's aim for a PG-13 rating here...
 
oh hey, I only have one semester of college left
 
1:33 PM
Aight. No more disturbing comments from me, I will play nice.
 
Or 12A or whatever the british equivalent is
 
Free at last!!!
 
Finally out of that stuffy pub. Let's celebrate by going to the pub!
 
Better sort the bill now
 
Well that's fiddlybumpus
 
1:41 PM
@Kevin let's not!
Hopefully the "investment" proves to be worth it
 
okay, very vague question, but how is flask meant to interact with javascript and jquery? Should there be a front-end architecture like backbone or would individual scripts be sufficient?
 
@crow very suitably vague indeed ;-)
 
I dunno, I feel like I might be doing it wrong... but all examples seem to support that I'm doing it right in the documentation. Unless I'm stuck on the small details and don't have scope into the larger picture of the application
 
And yet you provide nothing further for anyone to advise ;-)
 
@thefourtheye That indicates that they are friends.
 
1:47 PM
@JonClements here's how I am handling my apps in terms of structure: github.com/DarkCrowz/flask_big_app
 
cbg, btw.
 
cbg @Martijn
£412.78 - livable with I guess
Gonna argue the champagne as I didn't see that - brb
Paid on company CC with expected bitching from the FD later
 
UGH my VPS internet connection dropped out again
 
Fellow pythoners. Please voice your opinions. Thank you. meta.stackexchange.com/questions/230319/…
 
Hello @sshashank124
 
1:58 PM
@Ffisegydd, Hello :)
 
@ffisegydd are you on Skype or similar?
 
@Ffisegydd, Currently? No. But I have one if that is what you're asking.
 
@Jon I have a skype account though I am not on at the present time as I'm about to run out to the shop to buy ingredients for BROWNIES! but my username is bluepizzey
 
Okay - I'll add you in a bit if that's okay
 
That's fine :P
 
2:00 PM
Have a nice day!
 
Anyway, off to make some brownies :D
 
Enjoy!?
 
how do ajax requests fit into flask? :| probably an unbelievable dumb question. The url doesn't seem to generate, am I just doing ajax requests incorrectly?
 
@sshashank124 I am glad you've had such a positive experience with people helping out with your answers
but I don't think that your feature request is a good idea or necessary.
 
Anyone fancy helping me with a scrapy crawler not being able to fully extract results to a MySQL database?
 
2:06 PM
As much as I'd love being compensated for the great deal of editing I do, I worry that people would make trivial edits with the expectation of getting a tip...
 
user559633
compensated?
 
"I capitalized the "i" in your post, and am now entitled to half of your earnings. Thanks in advance"
@tristan Yeah, to clarify, this is in reference to this post
 
user559633
"i answered your dumb php question. that will be $5"
 
user559633
yes, but do you consider internet website points as compensation?
 
user559633
because if so, i'm hiring
 
2:08 PM
It (very) roughly correlates to the respect of my peers, so yeah.
The rep to dollar exhange rate isn't too good, though.
 
Fair enough. I see. Anyways, seemed like an OK idea at the time :P
 
user559633
Your peers respect you more/less based on internet points?
 
My online ones, yeah. As an extreme example, plenty of people are starstruck by Jon Skeet, not because of his beautiful writing, but because his number is so high.
 
user559633
I feel like you're barking up the wrong tree if you want cookies for editing new user posts that are essentially "how does i foo my bar in python"
 
2:14 PM
when flask does flashed messages, is it essentially just sending another template to render with the flashed messages contained within?
 
@tristan Yeah, I agree with you. Posters that need editing most, will have the least amount of rep to give.
 
user559633
And are the most likely to be self-centered time-vampires
 
user559633
Most of the time, I only bother to answer new user posts to help out future developers that google for the problem
 
@tristan good way to look at it
 
user559633
google seems to love to link to closed questions
 
user559633
also omg omg last day at my job omg omgomgomg
 
Sat in car being driven to shop for brownie ingredients by girlfriend. @Jon are you drunk giving out room owner privileges? Not that I'm not flatteted/grateful :p
 
@tristan, Leaving amicably ? reminisce with coworkers : defecate on boss' desk
 
user559633
hah, gave notice last month
 
user559633
leaving amicably-ish
 
2:20 PM
Ok, take the middle path and reminisce with coworkers on top of the boss' desk
 
@ffisegydd nope... welcome to the team - if you're willing to accept the onourous position ;-)
 
user559633
i got barked at publically for suggesting that people shouldn't regex email addresses yesterday, so i'm sort of beyond giving a sh*t
 
@tristan regex it so that it at looks acceptable then query mx records is normally what I do
 
user559633
i'm cool with my coworkers and generally care that peoples' lives aren't unnecessarily hard, so i'm not going to do anything offensive or coarse
 
well, I agree with you not to use regexes for that purpose
 
user559633
2:22 PM
sure sure, but we we're using it for external auth, so .+@.+ is all you need
 
user559633
anyway
 
user559633
implementation is beyond the point
 
I'm willing to accept :p this is stage 2 of world domination, everything is going according to plan. But seriously thanks for the vote of confidence, I shall do my solemn best :p
 
@ffisegydd welcome to the thankless task of having limited ability to make this the best SO room possible then ;-)
 
@Ffisegydd Right, welcome aboard. here's your robe and cowl... We meet in the secret world leaders' room at the center of the earth on Tuesdays. It's your turn to bring snacks.
 
2:26 PM
Scooby snacks are on me then.
 
@Kevin don't tell him that now... at least let's get the elevator fixed... it's a long walk otherwise
 
There's no net gravitational force at the centre of the earth, makes it difficult to hold a meeting no?
 
@JonClements Well, if you're daring, you can skydive down the shaft... still a bit of a climb coming back I suppose
(skydive? grounddive?)
Useless physics question of the day: how long would it take to freefall to the center of the earth?
 
Don't be pedantic - at the secret (now publically announced meeting place) - only the laws of cabbage apply
 
@Ffisegydd Yeah, which explains why we're so rubbish at running things. I mean, have you seen the Earth lately?
 
2:29 PM
That's a non-trivial question, as you descend your acceleration would change, someone has probably worked it out though...
 
user559633
there would be no "you" at the center of the earth
 
Yeah, is the shaft a vacuum, or full of air at a density of one atmosphere? Or much more likely, lots of molten magma?
 
user559633
"how long would take for my heavily compacted body mass to reach the center"
 
@tristan you haven't seen the super secret dwelling surrounded by diamonds then?
 
user559633
oh my god jon stop giving out our secrets
 
2:34 PM
cabbage
 
@Jerry Cabbage :)
 
cbg @Jerry
 
How are you mudkip?
 
cabbage @thefourtheye and @JonClements
bananas
 
This morning I confused you for @Haidro :D
 
2:36 PM
just got home
this morning?
 
@Jerry welcome your new room "overlord" aka @ffisegydd ;-)
 
ohh hey, congrats @Ffisegydd !
 
@JonClements Me always wanted to bite @Ffisegydd... Gr.r.r.r
 
All part of my master plan to be able to "step down"
 
@JonClements Is that a rap reference?
(hi)
 
2:40 PM
@JonClements Why puppy? Why?
 
@inbar LTNS
I don't have as much time as I'd like any more - personal reasons
 
@JonClements I thought that you were kidding :'(
 
Stepping down from what?
(glad I came out of lurk mode)
 
I hit a nerve somewhere
@MartijnPieters - I think if you want me calm you will cut down on that BS you are spewing. You've been caught lying and not being able to understand the context of a basic question. Me being calm ain't gonna do much good... — user2341104 2 mins ago
time to step away.
 
2:58 PM
Wow, way for him to assume bad faith on your part
 
Yup, no longer worth wasting time on.
 
Going to live on the farm @Jon?
 
user559633
Oh man, talk about owned @MartijnPieters you liar
 
Yeah, that guy has gone way beyond the pressure warning line.
So we retire to a safe distance and wait for the furnace to blow. No point anymore in trying to douse that fire.
 
user559633
"And just in case you cannot tell, this is my way to request my account be terminated, because this joke of a site doesn't even allow you to delete yourself."
 
3:05 PM
\o/
 
Yep, retreat's prudent here
 
user559633
To be fair though, I feel like that condition is sort of crappy for stack overflow
 
It's just that over time the community has learned (the hard way) that the type of question attracts spam and other crappy answers.
 
user559633
I think it's perfectly valid to request a tool/library to accomplish something
 
3:06 PM
so the decision was made to disallow all such questions.
 
user559633
Fair enough
 
user559633
It's all in how you phrase it anyway
 
Yes, there are great ways to phrase a question where the answer might be: use this compiler API.
 
I patiently wait for someone to make a NegaStackOverflow, that allows all of the stuff we don't. It could work!
 
user559633
Yeah. stackoverflow.com/questions/23058873/… the question in...question
 
3:07 PM
However, arguing until you are blue in the face and foaming at the mouth is not the way to get there.
 
user559633
Sure
 
@Kevin I regret not bookmarking the 'lets revolt' meta post that Evan Carol created recently.
(Evan Carol being a Meta.SE troll that then discovered that the question ban on MSE didn't apply to the new MSO).
 
I flagged that answer
 
I think a revolution isn't outside the realm of possibility :-)
If there happens to be a silent majority that begrudges our current culture
 
@thefourtheye nope
 
3:12 PM
@JonClements But... but... but... you are the nucleus of this room...
 
@Kevin as long as they bring biscuits!?
 
yep, revolutions turn on a full stomach
 
@thefourtheye thanks I guess...
 
Time will tell - Let's see what transpires in the next couple of weeks
Prepping just in case
 
3:16 PM
"Hundreds of people poured in to answer homework questions that were asked by millions of Computer Science students." Lol, that's accurate :-D
 
Why Bill isn't taking any action? :(
@BilltheLizard- why don't you edit your common sense instead. How can one consider you moderator material when you can't even understand simple logic? The question is clearly asking about GCC and Clang in particular. Your moronic misinterpretations are irrelevant. — user2341104 4 mins ago
 
I miss the for/else very much in C -- how could people live without that ;)
 
And Bill discloses...
Just for the sake of full disclosure, the question was not flagged. There were flags on an answer and a comment that drew my attention to the question. — Bill the Lizard ♦ 4 mins ago
 
user559633
I have crazy low rep
 
user559633
i should work on that
 
3:29 PM
cbg
 
The fireworks from this furnace explotion are rather amazing.
ah, deleted.
 
@MartijnPieters I couldn't stand it, I had to delete vote it :(
I even tried this
> @user2341104 Come on. Please be nice. Help the mods to help you. Do you think you can edit the question a little bit so that it fits the site's standards?
 
If he was capable of listening to reason, he would have done it a dozen comments ago
 
3:47 PM
@tristan even users that have "hi rep" don't keep in the spirit of things - I wouldn't worry too much
 
@thefourtheye it was deleted by the Community user
which means that people had flagged the post as spam or offensive..
 
@MartijnPieters I flagged it too :)
But I flagged for Moderator attention. My bad :(
 
It's entirely deleted now, by Bill.
The user account is still busy exploding.
 
I'm still surprised that 3x20k users can delete an answer
(Accepted answer that is)
 
user559633
@JonClements more so i can help with the queues :)
 
user559633
3:57 PM
wow, that guy is really mad
 
4:21 PM
is it possible to join two paths if they contain relative paths? Eg, os.path.join(path_to_here, '../blahblah')
 
@crow think that makes sense?
 
I think the final composition of the two paths must yield a valid file
 
well it seems to make the path /path/to/place/../blahblah... will that register, ultimately, as /path/to/blahblah?
 
/dir/name/../overthere/really/filename.txt
i think joining them as long as they resolve to the correct path is ok
its really a function of the operating system to resolve the path
One thing to watch out for is directory permissions up above you though
@ crow I believe it will
 
4:37 PM
can you also somehow assert in unittest.TestCase that a file, or directory, exists?
 
yes
 
@Crow you can get the absolute path using abspath I believe
Which will remove the ../ part I believe
 
That freaking weird moment you use Ubuntu on your laptop and you somehow mistake it for Windows 8. WTF Is wrong with me?
 
I don't use Windows, but I didn't immediately recognize that my son was running a game on Windows and not Ubuntu either.
That was confusion in the other direction..
 
I dual boot Windows 8 and Ubuntu 14.04. For my paid work I use Windows (.NET, unfortunately) and for my spare time and things that I think actually got a future, I use Ubuntu :P
 
4:51 PM
why not just stay on windows all the time and use a linux machine in the local network? SSH and SMB make that a pretty neat combination
 
so... if a file is called by another file, and I do os.path.dirname(os.path.abspath(__file__)), will it still register that as the file being called?
 
Prolly cause of the comfort of knowing I got both in case of need.
and I find myself using the laptop more than I use my desktop, which has Kubuntu on it
Actually I think I will get a new desktop within a year, the old desktop will become a local server instead.
 
01:00 - 17:0017:00 - 00:00

« first day (1285 days earlier)      last day (3656 days later) »