« first day (1409 days earlier)      last day (3555 days later) » 
00:00 - 17:0017:00 - 23:00

12:09 AM
 
12:24 AM
@corvid :):)
 
 
3 hours later…
3:29 AM
cbg
 
3:48 AM
cbg @AnttiHaapala
 
cbg @AnttiHaapala
what's happening?
 
 
2 hours later…
6:11 AM
@MattDMo when guido likes an idea, usually people say "this is why I will hate python even more / ok now I switch to Go"
 
well, you win some, you lose some, I guess. Not that Go is all that bad :)
 
just minutes ago i was sitting in plane
and read an article that made me decide that if I am going to switch from python, it will be java (8) :P
 
6:36 AM
@AnttiHaapala not nimrod?
 
java because of the libs
java used to be major PITA
but the streams will change everything :P
@PeterVaro library support
if one looks at the amount of libraries available, choices pretty much boil down to C-like languages, Java, CLR, and python
then if the libs need to do something useful, then you can drop the C
 
@AnttiHaapala nimrod can eat any C lib, even Obj-C and C++
as it can as a high-level C preprocessor -- like a source to source compiler
 
@PeterVaro that is what I said,
the choices include C
but the C libraries are shit to use for highlevel problems
 
it depends
 
all the highlevel problems such as NLP is in Java/Python - no can do.
 
6:44 AM
anyway @AnttiHaapala do you have like 10 minutes or a bit more -- to test something (compilation and running) on your machine for me?
(IIRC you are using linux, right?)
 
7:01 AM
cbg
Request for an external resource (Is there any tool for this purpose?)
 
7:30 AM
@PeterVaro 10 minutes but not actively :P
 
@AnttiHaapala without any activity it won't compile by itself ;)
 
bwaah
 
anyway, notify me, if you have more time -- and has the ambition to crack this .... linker error I have, only on Linux
 
if you want to test compilation only, you can provision an aws micro inst :D
hmm
grr :D
later
 
@AnttiHaapala kk, kiitos
 
7:35 AM
Szívesen?
hmm
 
that's the one, yes ;)
 
finnish has only 14-15 cases but hungarian has 18
and then they say finnish is hard :(
 
naaah.. there are actually very few languages which are more difficult than hungarian -- I mean to speak it. Chinese is way harder to write it ;)
 
ys
i mean, Finnish has inessive, elative, illative, adessive, ablative and allative cases say, and then Hungarian thinks it is not enough and then adds sublative, suppressive and delative? now that is S/M in its purest form :P
 
:):):)
and if that's not enough => each cases has tons of exceptions
actually hungarian is the language of exceptions..
 
7:38 AM
ah
hey this is funny thing in finnish, there are 5 grammatically correct ways to spell the plural genitive of word omena = apple: omenien, omenain, omenoiden, omenoitten and omenojen
so if you get bored with 1 then the next day you can use another
 
these are weird languages :)
 
and surprisingly, I could not decide which of these 5 to use except that omenain sounds too poetic :P
 
cbg()
 
7:54 AM
I think I'm pretty screwed. It's 4AM here, I need to leave for work by 9, and I haven't gone to bed yet. Anyone know where I can pick up a caffeine intravenous line?
 
8:05 AM
@MattDMo at least -- was it worth being up all night?
 
@Peter I think so. I released new versions of two Sublime packages I maintain - the Python Improved language definition and the Neon Color Scheme - ask @vaultah about them, he uses them.
But, I have a ton of data analysis to do at work tomorrow, which isn't exactly eye-opening...
oh well, my fault :) Rhubarb, all!
 
rbrb @MattDMo
 
rbrb
 
8:27 AM
@AnttiHaapala remember? ("finnish" reminded me about them)
jeez.. it was 15 years ago..
 
@PeterVaro yah, I even watched the vid this yr
 
9:05 AM
Hi I usually code in php, now I am start righting webservice in python (web.py). I need an idea, how to do the image upload from the android phone. I am trying to create the webservice that allow to post multiple images with someother data. I am not sure what is best way to get the image input (base64 encoded or any stream) and not sure how to handle the image upload.Can someone give the idea to do that
 
@gowri Use a multipart POST for binary data.
42
Q: Post multipart request with Android SDK

jpozI'm trying to do something I thought would be relatively simple: Upload an image to a server with the Android SDK. I'm found a lot of example code: http://groups.google.com/group/android-developers/browse_thread/thread/f9e17bbaf50c5fc/46145fcacd450e48 http://linklens.blogspot.com/2009/06/androi...

 
@MartijnPieters: Thanks for the hind I will look at it
 
I can't say I can recommend web.py myself.
Like Django, it does too much itself without letting you swap out parts.
 
web.py was used ages on this project I am just new to it. I can't swap it unfortunately. Which part of the code doing the file upload in the cookbook/fileupload
x['myfile'].file.read() it's reading only write. Do you know how to write the files to exact path.
 
I'm not that familiar with web.py; it looks as if x['myfile'].file is a file-like object, so if push comes to shove you can always use shutil.copyfileobj to copy the data into a file object somewhere.
That's the next recipe in the cookbook, right after handling file uploads.
They use a straight-up .read() call instead of shutil.copyfileobj() there; not the best idea if memory usage is an issue; a large file upload could take a lot of memory, while shutil.copyfileobj() copies data across in chunks.
 
9:17 AM
ah that's really helps, thank you so much. I will that now
 
9:28 AM
cbg
 
9:50 AM
cbg()
 
>>> cbg()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'str' object is not callable
>>> cbg
'Cabbage'
 
Jul 30 at 7:09, by Ffisegydd
In [7]: def cbg(cbg=[]):
   ...:     cbg.append('cbg')
   ...:     print(' '.join(cbg))
   ...:

In [8]: cbg()
cbg

In [9]: cbg()
cbg cbg

In [10]: cbg()
cbg cbg cbg
 
10:48 AM
:D
 
Hey has anyone used python-jwt before ?
 
@AmoghTalpallikar please don't ask if anyone knows something, if you have a question then please just ask
See sopython.com/pages/chatroom for the chat rules
 
11:05 AM
a brief cbg...
 
user559633
a brief cbg, a rope of sand
 
@Ffisegydd I needed to know if someone here has any basic idea about what I am going to ask otherwise there is no point shooting in the dark.
 
@AmoghTalpallikar but whether someone wants to help you depends on your question.
If it's a quick 5 minute one then they may be willing to help.
If you're looking for a 2 hour tutorial on some tiny aspect then they may not want to.
Which is why we ask that people just ask their questions, if someone can help them and wants to then they can do.
 
@JonClements cbg, spoken very briefly.
 
Nice and quiet for a bank holiday :)
 
11:19 AM
I just wanted to know if there is someone who has used Json- Web tokens with Python/Django.
 
Yes, there possibly may be. If you have a question to ask then please ask.
I hate moving house >.<
 
11:44 AM
Found a serial plagiarist..
And of to flagging we go!
 
runs away
Cbg all BTW :)
 
3 out of three so far..
 
@MartijnPieters what is he plagiarising?
 
Other SO answers and blog post code.
 
Ah, naughty
 
11:53 AM
cbg
 
Cbg @AnttiHaapala :)
 
@MartijnPieters oh I'm screwed
 
cbg @AnttiHaapala
 
@AnttiHaapala Hah, I said the same thing :D
 
Interesting, looks like there might be a sock puppet account too.
 
11:54 AM
What is a sock puppet account??
 
Ah, no, misreading bad English
@user3620828 Sock puppets are extra accounts used to bypass the rules.
e.g. vote for your own posts, create easy questions to answer, etc.
 
@MartijnPieters whereohwhere
grr
I want to do detective work too
 
This user is soo naughty.
 
I wannna seeee
 
1!!!!!
 
1 that hasn't been copied so far.
 
one
Go Martijn! Can I DV because of Plagiarism?
(I may have already)
@MartijnPieters link only answer as well stackoverflow.com/questions/24079860/can-we-edit-dll/…
 
Flagged.
61
Q: What to do when plagiarism is discovered

PëkkaHow should I act if I discover a user plagiarizing fellow users' answers? What if I find someone plagiarizing external resources without attribution? See also: Users are calling me a plagiarist. What do I do? Return to FAQ index

 
TY
 
12:09 PM
Some of these snippets have been plagiarised all around the web so often it is hard to find their original source.
 
12:26 PM
Two answers left..
Make that one.
 
It's either 1) a dupe of the usual a or b in C question, or 2) just too broad
 
Damn, that last one was a link to a now-terminated scraper site..
@ThiefMaster: you here?
I misflagged a plagiarised post, but found the correct source now.
Damn, I'll have to retract that too.
As it is the code from the question here. Too eager to find another one I suppose.
 
 
1 hour later…
1:46 PM
Afternoon cabbage.
 
cbg()
 
Yesterday the power cord of my laptop failed, so I can no longer charge it. While I wait for the replacement to arrive, I'll only have Internet access here at work.
I wonder how I should fill my recreational time without it. Maybe I'll experience a personal metamorphosis, and find fulfilling hobbies like art or gardening or prose.
Or, more likely, I'll spend a lot more time watching television.
 
Or failing that, cross compile Python to a home made punchcard machine
 
I'm gonna go with "Kevin stares at the laptop willing it to power by sheer power of the mind. A lone tear rolls down his cheek as the sun sets."
 
There's a web comic that depicts almost that exact scenario, but I can't link it because the bookmark is on my dead laptop :-(
 
1:54 PM
Oh the irony
 
bahahahaha.
 
morning friends
on SOPython, are there any other PRs that I could help out with?
 
Let us consult the Magical Trello Board
Depends what you feel like doing.
 
I'm interested in "Using the star feed, choose a random quote for the frontpage" but that one would probably take me a while. Is that okay?
 
In theory yes but I think there are bigger plans to do with how the site is gonna keep track of the chat transcript possibly. Not sure if we'll be keeping a live version of the transcript on the sopython.com server or we'll just use the transcript on SO.
Similarly for the stars list.
Your best bet is to ask davidism in this case.
As he might already have some plans on what is gonna happen.
Rather than you doing some work and then it being incompatible with the rest of the plan
 
Done
 
I wish "when you get a syntax error, check the line above the reported line too" was written in red blinking 36 point font on every page of the Python docs
 
@Kevin Worth suggesting they invest the time in getting a better IDE?
 
Yeah but that just opens a new argument.
The Ever-awesome PyCharm vs. Those Sublime Text Devils.
 
I'd expect the average IDE to point to the wrong line as well. It's not impossible for a good one to figure out the problem, though.
 
2:11 PM
Maybe suggest they find a better IDE, fire them a discussion link then take cover?
 
Whenever you get a SyntaxError Python should uninstall your OS. People will soon learn to check for missing parentheses.
 
how far along is nidaba anyway? Took a brief look at the source code
 
2:28 PM
@corvid nothing really coded yet. It's more in an imagination/research/whatever stage.
I've been busy with moving house so just been reading up on the theory for now
 
@corvid Thanks for the pull request, I squashed and rebased it in order to apply a single commit.
 
yeah I'm checking out what changes were made to the Form
 
There were a some areas that did not fit with the code and style of the rest of the site. I applied fixes in this commit: github.com/sopython/sopython-site/commit/…
Overall, try to focus on clean code, and pay attention to how the python code and the html are already laid out. Also, please check for things like unused imports and PEP8.
 
are these changes on the official site?
 
They will go up tonight after I write documentation.
Two fixes stood out: first, the migration just added a null string field, since you probably ran into the "table already has null columns problem". The solution is to perform a data migration as well as a schema migration, although I cheated and embellished it a bit this time.
 
2:43 PM
yeah I was wondering that. Way better than my solution which was more of a workaround
 
Second, the form was a) not allowing multiple users, b) didn't load new users, only accepted users who had already logged in. I fixed this and the SEUser.se_load to respond to multiple users who may not be in the database or exist at all.
 
oooh okay, sorry about that... trying to learn all of this haha. Honestly that's kinda why I wanted to help with sopy, to learn all this kinda stuff
 
And we appreciate it, it should be a good experience for anyone who wants to commit. :)
Just keep it in mind for next time and be even more thorough.
 
yep, hoping to get a lot better at it
I'm not used to things not having this little javascript ._. maybe I've been doing it wrong
 
I wonder why this guy is getting unexpected indent. I'd expect him to get expected an indented block instead.
The problem is not enough indentation, not too much indentation
 
2:50 PM
It thinks the else is part of the for.
 
Must be a different interpreter than mine, since my comparable code gives a different error.
for i in range(10):
    if True: print "!"
    else:
    print "?"

#result: IndentationError: expected an indented block
 
Strange
  File "/Users/pizzey/Dropbox/Python/derp.py", line 2
    if True: print "!"
                     ^
SyntaxError: invalid syntax (Python 3)
  File "derp.py", line 4
    print "?"
        ^
IndentationError: expected an indented block (Python 2)
 
@davidism is there any other tickets you'd recommend? I have all this week off (school starts next week)
 
@Kevin Probably mixing tabs and spaces too.
@Ffisegydd Yeah, print is a statement in Python 3. :-P
 
I didn't even notice that. I'm too tired.
 
2:58 PM
Nice catch @MartijnPieters. His else and print x lines are indeed tab indented.
 
There is a tab in the question source.
 
this site is awesome
 
Aw man, ideone is down. I liked using that to share code :-(
@corvid But does it work?
 
@Kevin it's good for people like me with short attention spans and too many random contextless thoughts. But you can just as easily check off the boxes without doing it
 
Not good for gamers that like to game the game, then.
 
3:06 PM
@corvid Ooooooh
 
Oh hey, that looks pretty handy @corvid
 
I just had an idea for an invention, now that Kevin mentioned it... And you see, this is why I need something to keep me on track
Otherwise I'd just randomly pursue anything that came to mind, every day
 
I had an awesome idea for a website last night.
Online dating site for people who don't eat gluten. So they can be anti-gluten together!
Gonna call it OkGluten.
 
@DSM: can I ask for a dupe-hammer correction?
 
DSM
@Martijn: sure, what question?
 
3:17 PM
I need someone with a python gold badge to reclose this post; I picked the wrong one out of two
 
DSM
Gluten-free cabbage, everyone!
 
matplotlib provides a drange method but unfortunately it doesn't return datetime objects (though it does accept them as arguments)
 
DSM
@Martijn: okay, after reading the three questions involved, I agree; your new target is better.
 
@DSM Feel free to hit reopen and then dupe hammer it shut again. :-) Thanks!
 
DSM
@Martijn: done, which obsoletes your comment.
 
3:28 PM
Deleted. Muchas gracias!
 
DSM
De nada.
 
I have an idea for a site that only accepts members with excellent deductive capabilities. It won't be advertised, and members won't tell non-members about it. If you can't find it, you don't deserve to join.
I don't really want to make it, though. I don't know if there's a market for it. For all I know, there are a million sites just like that already.
 
seeks tutorials
@Kevin Am I to deduce that you already built it but are testing the waters to see whom of us will find it?
 
I think I've said too much already ;-)
 
Heh. "I'm so lonely here..."
"It's just me and this weird guy who likes the violin and taking cocaine"
 
3:36 PM
Kevin's like a kid who's playing Hide and Seek, but hasn't realised yet that he's the only one playing...
 
Haha
I'm afraid I've unleashed a monster here... Now everyone is going to be digging through my trash looking for web hosting receipts.
 
"For the last time, there is no secret website!" I shout. "That's exactly what a secret website owner would say!" you reply
I brandish my Stick of Intruder Deterrence and you skitter into the inky blackness of the night. But you'll return. You always do.
 
Try the "Paddle of Rebuke" next time
 
Or the Order Of Restrainment, although getting it requires a tricky quest in the Halls Of Justice And Red Tape
 
3:44 PM
No, you need a Bazooka instead.
Just saw that episode today..
 
DSM
Urf, time to boot into windows..
 
Haha. That's one demon slaying tip you won't find in ye olde handbook.
 
@corvid I can't think of anything in particular. You can pick something, or think of something new, whatever you want. The real problem is that I have a picture in my head of how I want to implement most of those cards, I just can't get to them all at once.
 
@Kevin No weapon forged. Yeah, but it said nothing about rocket propelled high explosives.
 
this one seems fairly explicit and straight forward. How bout I do that one? It's also pretty front end orientated
 
3:49 PM
actually, I wanted to veto that one, was going to discuss with @Ffisegydd first
 
@MartijnPieters If he/it/whatever was truly that terrifying? img2.wikia.nocookie.net/__cb20070225012523/uncyclopedia/images/…
Try that on for size, you blighter!
 
@IntrepidBrit and screw the collateral damage!
 
When in doubt, catapult it into the sun.
 
@MartijnPieters Indeed. It's only America after all. And who cares about a colony anyway? fwof fwof fwof fwoffff
 
okay, customer call in 9 mins
 
3:53 PM
That's it. Going to invent 2 new boolean constants. Ture and Flase. All in favour?
 
Fine with me.
 
I think I might have just saved the world about a billion hours of lost time over the lifetime of humanity
 
Anyone with cross-language chops, this question may be easy for you. It seems to boil down to "how do I call a C function from Python, and retrieve the result"?
 
What an absolute dobber: "English has sentences. A sentence is supposed to be easy to undersrand. Try to employ them"
 
@corvid or I'd at least like to save it until I get a rest api set up
 
3:58 PM
Way to put people off SO
 
Is the app ever going to be purely json-oriented, or keeping it with render_template and stuff like that?
 
Haha, I was annoyed at the guy's use of commas the same way that commenter was. I just edited the post rather than make a comment, though.
 
@Kevin As for combining C and Python on the Pi, I just found it easier to keep the two separate. Invoke the C from command line (from Python) and consume the results accordingly. I find it more a Linuxy solution anyway
 
I don't like JavaScript or single page apps, so unless someone else takes over, it will probably be templates with JavaScript where appropriate.
 
One might argue that it's just as aggressive, just passively so.
 
4:01 PM
@Kevin But your way means that the user is more likely to return to SO in the future and be rehabilitated into a constructive poster... Maybe even answering one of your questions some day :)
I know if that's the first thing I saw, I'd be like "Sack this" and attempt to grapple with ye olde sub-par Q&A sites
 
@IntrepidBrit I agree with that. I made a comment saying as much.
 
@Kevin Might even be answer worthy tbh
 
Also, lol at "A sentence is supposed to be easy to undersrand". Muphry's Law strikes again.
 
@davidism That one was more of a suggestion from someone than a "definite"
I am neither for it nor against it
 
I archived it, we need an api to fetch the data first anyways, which is not in place yet.
 
4:10 PM
cbg all
 
@Ffisegydd what do you think of this one? trello.com/c/HLNG0UFm/…
 
It would be nice to have though not essential.
Eventually Nidaba will move out of the pages blueprint into it's own anyway.
 
It would be a fallback test on 404 pages, but I'm not sure if it's really necessary.
I think I'm going to archive it as well, we didn't really try to preserve the old urls anyway
Last one, what do you think about voting on "best canonical target"? trello.com/c/PMFpHqfH/33-vote-on-canonical-answers
 
The three things I've got "In Progress" are all wiki pages so there's no need to wait for me to finish anything before pushing live.
I don't personally think we need voting, I think it'll just lead to more work for little gain.
 
I'm not sure if we add enough targets for it to be useful, and we should probably discuss in chat instead.
 
4:15 PM
Yeah exactly.
 
Going to archive it as well.
 
If we had 100/1000s of users and as many posts and targets etc then maybe
 
OK, I'm going to turn those HOWTO cards into sphinx docs, then release 1.1.
 
Awesome.
 
@Kevin Do "too broad answers" get deleted after some time?
 
4:23 PM
If they're downvoted without any good answers then yes I think so.
They're given T time to edit and improve the answer
 
Sound.
(probably should have aired that to the room rather than pinging Kevin specifically, kind of followed on from the previous convo)
 
It's ok, just imagine I'm Kevin
<insert witticism>
<admire my multitude of starred posts>
<cry at my powerless laptop>
 
Nice performance. You can be my understudy.
 
He's not a real Kevin. Didn't even get half a star
 
I've got 16 stars on the board at the moment compared to Kevin's 3.
Something is wrong with the internet!
 
4:31 PM
I think Kevin must've hacked your account
 
Clearly.
 
And there's usually one of mine, with a sympathy star ;)
 
Maybe it's a seasonal thing, like cicadas.
Now that my star frenzy has ended, I will burrow into the earth, to sleep for 17 years.
 
I suspect there's a reverse correlation with Sun activity. When Solar Flares occur, the great KevinAI burrows under the Earth to protect its sensitive Witticismâ„¢ circuits
 
@Kevin "That is not starred which can eternal lie. And with eons even death may star"
 
4:36 PM
Wheee, S3boto on Heroku on Python 3 with Django and file storages and encodings and incompatible software-fun.
(codementor session helping someone out)
 
Should we just ping spam Martijn, just to wind him up? ;)
 
Do not rouse the wrath of the AI.
Or your toaster will electrocute you tomorrow.
 
"with strange aeons even death may die" would be a good motto for futurists that hope to increase life expectancy to infinity
 
@Kevin terrifying, we know the reign of humor will come again
Hmm, need 1 more star on that message to get the badge.
 
Which?
 
Already starred it.
I'm on my Macbook Air :P
 
Yam, it's 10 10-star messages, not 1 :-[
Or maybe not, that wording is confusing.
 
Better start again with some more wit.
 
You've got 17 years until Kevin begins again.
 
4:46 PM
I'm not like Kevin, I don't speak pun.
 
Just post a random xkcd once a week. slow and steady.
 
5
Q: Badge Requirements - Outspoken

one.beat.consumer Possible Duplicate: List of all badges with full descriptions The requirements for the silver Outspoken badge are a little confusing to me: Posted 10 messages in chat that were starred by 10 different users Does this mean the badge can be achieved if each message is starred once, b...

So it doesn't require 10 stars on one message or 10
 
@davidism Outspoken requires 10 messages and 10 users.
not 1 message with 10 stars..
 
I'm going to make my own badge! It's pasted on my wall!
 
Count your starred messages on chat.stackoverflow.com/rooms/info/6/…
and hope that if you find more than 10, that at least 10 people starred those 10..
 
4:55 PM
I genuinely think there should be a badge for identifying dead links, and another for hunting down and retrieving the lost link, if possible ;)
 
Only 6, because of our star pruning. I'll get there.
 
Yeah I've not got as many as I thought, damn star pruning.
I'm proud of my most-starred though:
Jun 17 at 13:15, by Ffisegydd
How would I describe being a Python programmer? Sexually exciting.
 
This one's my favorite, just for the absurdity of the conversation.
Jun 25 at 15:05, by davidism
user image
 
hahahaha yeah that was a good convo.
 
Star pruning?! What is this fascism?
 
4:59 PM
We occasionally delete one-star messages, or messages that people starred because they were grateful for help
Think of it as... Star curation. >_>
 
DSM
Some people want all the light for themselves..
 
00:00 - 17:0017:00 - 23:00

« first day (1409 days earlier)      last day (3555 days later) »