« first day (1349 days earlier)      last day (3603 days later) » 

12:00 PM
Well, I'll probably keep the existing clients and get someone onboard to handle their work load
 
Ah ok
 
So how we both @JonClements @Ffisegydd?
 
Tired and too hot. Hoping it's going to rain.
 
Hot? In Wales?
 
I'm currently living in Bath
 
12:09 PM
Ah OK
Bit miserable in London
certainly not hot
You should travel up ;)
 
@Ffisegydd in a bath? ;)
 
/me doesn't know if srs ^^ :P
 
(ohh.. it sounded so much better in my head..)
 
oh ho ho! No one from Bath has heard that one before! Such wit...
:P
 
yeah.. I regret to write it down.. but I had to..
 
12:11 PM
Anyone going anywhere nice this summer?
 
It's funny when you have to deal with the same kind of questions/jokes throughout a very long period. You can think up original responses for your own amusement
 
You mean you have the time to appear as witty?
 
@IanClark if my passport ever gets back to me, I'll be somewhere "not nice" :)
 
@JonClements ooh, exotic
 
There's that, but... I don't know, I guess it just entertains me to observe repetitive patterns in people's behavior
 
12:15 PM
A people watcher, eh?
 
@Lev thank a deity I'm a dog then...
 
@LevLevitsky This is my life. My last name is an English word, and everyone comes up with the same "clever" observation about it
 
Thank you merciful deities
 
@Kevin oh, just :) about it :p
 
@Kevin There was a "clever" joke of that kind in "House"
 
12:16 PM
I usually just give a nonplussed look and move on with the conversation
 
I'd love to have an interesting name
 
@Kevin Strangely tempted to guess ... I mean, how many English words can there be?
 
12?
 
At least.
 
Hah I can think of 13!
Beat you @Ian...
 
12:17 PM
I remember seeing the number before. I'm pretty sure there's a nine in it.
Dare I guess... 99?
 
"Dr. House? I've heard your name." - "Most people have. It's also a noun."
 
haha.
 
:(
 
reversed situation, kind of
But anyway, bad jokes are an art. You can be good at bad jokes.
Or are they called dad jokes?
 
Well there's a scale with anything isn't there? Once you reach absolutely terrible you simultaneously reach amazing
 
12:19 PM
I had a friend in high school who would only tell bad jokes. I would hate myself for laughing at them, and then hate him for telling it. It was a complicated relationship.
 
mediocre is the worst
 
In retrospect, I was full of myself to think that a joke could somehow be "unworthy" even though I found it funny
 
It seemed to be doing the trick :P
 
You know how there are things that are acceptable to hint at, but absolutely unacceptable to say out loud?
 
Yes.
 
12:25 PM
I have a friend who actually thinks it's funny to say them. Even after someone else has hinted at them.
He's a permanent danger.
 
cbg folks!
 
Every birthday party I attend, I think "another year closer to death", but I don't say it out loud any more. It was only funny the first time.
 
Why doesn't anyone ask "are you next" at birthday parties? Only at weddings and sometimes funerals.
CAW
 
Ugh, there was a maelstrom of "are you next" this last year, because one coworker got engaged, then another, then the first one had a kid...
 
12:41 PM
This meeting is in 20 minutes. Does anyone want/need access to dystroy.org/miaou/100?python-meeting?
Speak now if this is so!
 
That's the "Room Owner" thingy right?
 
sigh I would love to, if it were not my bedtime!
 
@Ffisegydd this is so ? .... errr
 
Everyone is invited but be warned if you distract from the discussion with randomness you will be taken from this place and your gaskin slit, your moules shown to the four winds, your welchet torn asunder with many hooks and your figgin placed upon a spike....
 
@Ffisegydd that's romantic??? runs scared
 
12:44 PM
@Ffisegydd oooooooo That's quite scary
 
It's a Pratchett reference <3
 
@Ffisegydd me
 
@Lev join then and ask for permission and it will be given :P
 
Maybe I'll silently run away in the middle, but that shouldn't distract anyone :)
 
Hot buns and coffee will be served during the interval calming foyer music
 
12:48 PM
woah, I have to put a link in my SO profile?
Or is it not mandatory?
 
No no. You should be able to login directly with Stackexchange I think?
I ddin't have to do the link thing
 
@LevLevitsky You can get your Miaou account linked to your SO account by putting a (temporary) link in your profile, but it's not necessary to use the service.
 
yeah, looks like I'm in the room and all is fine
waiting for the overlords to start discussing the conspiracies now, shouldn't be long...
 
What is the Bigdeal with twitter bootsrap. It's just a navbar right? Why is it getting so much attention
 
It's not just a navbar.
 
12:54 PM
Then...............?
 
Then...............what?
 
What else is it?
 
Wow! That just blew my mind
 
Is everyone in, that wants in for dystroy.org/miaou/100?python-meeting ?
 
12:58 PM
I can keep an eye on main chat and add anyone else who asks
 
If you don't have to alt-tab for work
:)
 
Supervisor is away for the day so I've spent it writing javascript...
 
@MartijnPieters are you comin'?
 
cabbage all
 
cbg @Xavier
jsbin.com/raxemapi/13/edit been playing with a possible replacement editor box for the SO wiki. I've written the JS to support code indentation of selected areas.
Unfortunatrely as yet it doesn't un-indent if you press Ctrl+K again
 
1:15 PM
what is "cbg" ?
 
It means "Hello" :)
 
@JuanPablo Hello in salad language
 
thanks @KDawG @Ufoguy
 
@PeterVaro Yup, when it is 14:00 UTC, right?
 
@Martijn pedant :)
 
DSM
1:24 PM
FYI, running behind: mind be fashionably late (about to brave the local transit system).
 
We started early anyway so don't worry too much...
 
ImportError: No module named wtfroms.validators
In flask
 
Dude.
Please.
 
try wtforms instead of wtfroms
 
Spellcheck your code before you post it here.
It's starting to get a bit silly now @Ufoguy. That's more than a few code snippets you've posted with spelling mistakes. If you can't take the time to check these things then why should we spend out time doing it for you?
 
1:32 PM
Actually, just talk to a rubber duck for 5 minutes before you post it here
 
Why can't you use a IDE @Ufoguy ?? Cause this ain't the 90's.......
 
Sometimes I consider self-adopting the policy "wait fifteen minutes before answering a typo question". Maybe it would disencentivize people using chat as their first resort in debugging, since diagnosing it themselves would then become the faster option.
 
sorry
 
On the other hand, users with no confidence in their own abilities would still post their problems right away, thinking "better to get through the fifteen minute waiting period now, than to spend X minutes trying to fix it, failing, and having to wait fifteen minutes on top of that"
 
There will always be someone who won't wait 15 minutes before answering.
 
1:44 PM
 
Depending on your temper, that may or may not make you angry at them for ruining your perfect educational scheme.
 
Is there a debug mode for flask?
Cause the server is running fine from ssh but I'm still getting a 500 error
 
There is but you don't want to run debug mode on a production server
 
@LevLevitsky Yeah, that's the other problem. It only works if all answerers do it.
 
1:46 PM
As debug mode allows you to run arbitrary python code.
 
I can do it when everyone else is idle, which occurs from time to time.
 
Meaning that someone who visited your production website would be able to run code on your server and do naughty things.
 
So What do I do
?
 
Do you have the exact same set up on your development and production servers?
 
I only have a production server
Lol!
 
1:48 PM
Your development server is usually your computer
 
I didn't set it up. I guess it is about time I did
 
Well do you write your code on your computer and then copy it to your production server?
Or do you write it directly on production?
 
directly
Using the web based code editor
 
Ok you need to do some research on how these things are put together. AFAIA writing code directly to production is very bad. You should write it and test it locally and then when you're happy with it you push it to production
 
Ok thanks
is Sublime Text an IDE?
Or is Komodo better
 
1:52 PM
I don't know, I've never used Komodo.
 
@Ufoguy pycharm ?
 
Is pycharm available in the linux repositories
 
@JuanPablo Kinda expensive but that's probably the best :-)
 
I believe we have a number of Sublime Text fans in the room right now, so it must be good.
 
I can't afford paid software
 
1:53 PM
vim !!!!!!!
 
I already invested all my money on a server
 
@Ufoguy pycharm have a free version
 
is it available for linux
Yes it is
And I'm downloading the 30 day trail version
 
There's a Community version which is free forever.
 
yes , @Ufoguy download the community edition
@Ufoguy if you are begining a app , you can try openshift, with this you have three free app
 
2:19 PM
Chacha mocha chino
greetings from canada
 
i'm getting the error ImportError: No module named flask.ext.wtf
in Pycharm
 
Vim is O.K. too
 
I have installed Flask-WTF
 
I like NinjaIDE
 
Is it free
ninjaIDE i.e,
 
2:23 PM
@Ufoguy have you read any documentation or tutorials on Flask-WTF?
 
Yes i'm using a book
 
Yes free as in beer.
 
@ericGnuLuver yes, vim with plugins of Tim Pope or Shougo is great !
 
Yes but you came across a problem, have you tried at all to fix it?
 
I don't know how to fix it'
i tried reinstalling flask-wtf'
 
2:25 PM
Yeah <kbd>ESC</kbd>wq
 
i reinstalled flask too
 
my fav.
INSERT mode is best mode
 
@Ffisegydd Dang! I was going to link the first google result once the 15 minute waiting period expired.
 
@Kevin sowweh D:
I'll buy an egg timer so I can time things.
 
2:29 PM
"Every 15 minutes, I will ping you with another google result"
 
That's vaguely sinister
 
ROFL
 
Creepy doll wheels in on a tricycle. Hello Ufoguy, would you like to play a game?
 
did you try this @Ufoguy?

from future import __braces__
 
This room is airtight and slowly filling with google results...
 
2:31 PM
what game
 
I meant from _future_ import braces
lewlo
double underscore future double underscore
 
@Ufoguy A spooky and gross game of survival.
 
NOoooooo!
 
Fak ya
 
Yam you too Sir
 
2:32 PM
@Jon did you migrate the server across in the end? Cos I was gonna add davidism to the wiki list and wondered which one to do it on?
 
nope
use the old one
 
cbg :)
 
cbg @Paolo!
 
Cbg peaches & peaars
 
welcomes our new alliterative overlords
 
2:34 PM
For that matter I'll ask in here: Is there anyone who wants write access to the sopython wiki to be able to edit things like the common questions/gotchas list? Only ask for it if you think you'll actually use it. And remember that there's no backup and if you accidentally delete my beloved questions I will place your figgin upon a spike.
 
Yosh
I don't use python I'm just here for the company T_T
So don't give me write access to anything lol
 
Don't worry, I wasn't going to :P
 
Thank goodness
 
@Ffisegydd you know where the primitive access system is though?
 
Don't get me wrong, I <3 BDFL.
 
2:35 PM
In allowed.py?
 
Just my supervisor has me working in Java *sadface
 
Jon you are the webmaster to sopython?
 
I'm gonna remove wiki access for Inbar and Poke too. Just to make it complete.
 
Bunnies doe
Poke is a cool celery stick
Don't remove him =3
 
2:39 PM
okay @davidism you should be able to edit wiki articles now (such as sopython.com/wiki/useful-comments). You'll need to login (top right) and then select edit. Try not to accidentally delete anything as we don't have auto backups yet.
 
Poke can get it back when he returns :-)
 
wow, so late ... rhubarb
 
DSM
Cabbage, all.
 
But yeah knock yourself out and add anything you feel to the common questions etc
 
DSM
(Hopefully everyone saw me sneak into the meeting, so they know I was there, but can't put a finger on my time of arrival. That's what I was aiming for..)
 
2:41 PM
Good job @DSM :) cabbage
 
@Ffisegydd don't forget you need to touch main.py to get the workers to reload
 
thanks @Ffisegydd it works
 
@Jon yeah cheers I did. sudo touch still makes me giggle.
 
@DSM: Can you jump in on this comment ?
I don't know pandas; the OP is trying to replace string time durations with timedeltas, I've shown him the timedelta part, but the 'replace the value' part now cropping up in the comments is probably answerable with a direct link to a question you know about or answered.
 
time to go, rbrb all
 
@MartijnPieters Sounds like he wants apply. I'll try to find a pertinent answer.
 
how many deleted answers on that one now
 
@Ffisegydd: ah, thanks.
@JonClements troll?
 
I guess I should be honoured I have a stalker or something
 
Wow, what was in those posts that Sklivvz♦ had to erase them from the database even.
 
2:52 PM
and they even got upvoted...
 
Before they went, they were all posted by "Jon Clements"
 
probably by the same person
 
Probably our resident troll (he returned recently).
 
how kind of him to pick my name then
 
Some people have no sense of culture or humour.
A shirt of a demeaning, wrong answer that breaks the site's own restrictive rules so that the site could celebrate its oppressive closed-mindedness? No thanks... — Aleksandr Dubinsky 26 mins ago
 
2:54 PM
I'm learning that google knows everything through this chat
 
Don't let the door hit you on the way out. You were leaving, right?
 
i just thought of asking another dumb quesion. I googled it instaed
guess what? I found the answer right away
 
It's a miracle!
 
I am now hesitating with voting to close as 'unclear' or 'debugging requires a complete problem description' in case the author will update and it turns out to be a dupe.
 
2:57 PM
Haven't slept much, stuff to do etc... etc...
Going to have a nap
 
@Martijn I've not found a Q/A but I've got the solution to that guy's timedelta problem if you want me to comment on your answer and explain it to him?
 
@MartijnPieters Haha, so apparently we can't parse html with regex, not because of the rules of logic, but because of our close mindedness :-)
 
@Ffisegydd Could you?
 
rbrb all - and ty very much for attending the meeting
 
@Kevin LOL!
 
MA1
3:00 PM
Anyone have any idea how to skip a unittest during running test without using raise unittest.SkipTest?
 
couldn't have hoped for more really... :)
 
If only we were more open and accepting, it would be possible!
 
ttfn
 
@MA1 have you tried using the skipTest decorator or is that what you want to avoid?
 
3:03 PM
rbrb @Jon
 
MA1
actually skipTest also raising raise SkipTest(reason)
 
@Ffisegydd Thanks.
 
@Martijn np.
 
Freedom ! I finished my year. Now I only need to find an internship in germany or luxemburg or autria.
 
3:05 PM
@ZeroPiraeus flagged as "It is a troll"
 
One of my "not an answer" flags was declined, but a diamond moderator commented on the answer and said "this is not an answer" :-I
 
@WalleCyril Congratz dawg
 
user559633
oh no i missed the meeting. i can only assume that we've decided to ban anyone that talks about python < version 3.3 and that @MartijnPieters has decided to only answer Ruby questions from now on
3
 
I flagged as "this is a troll"
but now I'm really afk...
 
user559633
i don't think that password one is a troll, i just think it's a lazy question
 
3:07 PM
the one that zero posted
 
Yeah, but the "why is this platform unix .. such a base with no promises for a good future?" post seems pretty inflammatory
 
if you'd have seen the last 6/7 ones
different IPs no doubt so the system can't auto-ban
 
i am so sorry for this question being put on hold by american trolls. please feel free to post comments. comments section work ok. — user3778809 1 min ago
uhhh
 
user559633
"but it is not logical if a human does not make money
and use the money to buy food and consume the food
until death." brb getting this tattooed on me, unrelated: anyone know where 18 year old stoner girls hang out?
 
@Jerry LOL american trolls
 
3:09 PM
@tristan The short version is, Ffisegydd and I are co-chairmen of the room, and/or puppet-like figureheads.
 
written in the same style, with the same kind of thing, it's obviously the same person
 
@Jerry That is the usual troll.
 
oh I see
 
The narrow text formatting is a giveaway.
I flagged the post.
 
so that's what that resident troll looks like
 
3:10 PM
but the mods have tools that can decide this, and they'll make their choices regarding the network
I've flagged, and it's up to them
 
Using <br> in markup is a sure sign of a deranged mind.
 
The real plan is to distract us with troll accounts, while the real team makes off with all the rep.
 
Except when I do it.
 
user559633
there's no flag for "user thinks (s)he is breaking new philosophic ground"
 
you can choose 'other' :)
 
3:11 PM
Pretty sure an account or several accounts will go down very shortly though :)
 
Where's the "User is the voice of the zeitgeist and threatens our totalitarian hegemony" button...
 
laters all
 
user559633
take care jon!
 
user559633
the 'other' flag doesn't live every week like it's snark week
 
rbrb @JonClements
 
3:23 PM
@Ffisegydd: uhoh, the OP uses an older Pandas version. :-/
 
@MartijnPieters Ah damnit. Well if he can write a function that takes a string and converts it to a timedelta then he can do df['elapsed_time_new'] = df['elapsed_time'].apply(this_is_my_function) and it will apply the function to each string in his column and assign it to the new column. I can reply to him with that.
 
I can do that too. Thanks!
 
DSM
.. aw, man. I leave the chat to do some work and I miss something right in my wheelhouse.
 
That'll teach ya! Don't go do work!
 
Or you can just post it. :-) Thanks again, @Ffisegydd
 
DSM
3:31 PM
<grumble> Back to xml parsing in c++..
 
I'm up to 13k rep. Now for a long period of bad luck and misfortune.
(expected pedant reply: "there's nothing unlucky about the number 13000. That's totally distinct from 13")
(that's actually pretty comforting. Thanks, imaginary pedant)
 
Give me a 3k bounty and then you can still be on 10k+ so you have the powers and I'll be on 7k which is my favourite number... (well 7 is but whatever)
Anyway I'm off home, rbrb peeps.
 
@Ffisegydd rbrb dawg
 
@Kevin I should downvote two of your posts, so you can be at 13013.
 
:-)
 
This list of interview questions makes me feel inadequate. "design a search engine" isn't something I could do in thirty minutes with a whiteboard.
 
Actions: vote down, vote to close, once closed, vote to delete.
Perhaps flag it for moderator attention (I already did).
 
Community♦ beat me to it
 
@Kevin my eyes are bleeding
 
Gone.
Yeah, a moderator nuked the account before the post was done.
 
3:57 PM
@PeterVaro Apparently "design a color scheme for readable text" isn't a question he's been asked XD
 
I have used a 100 variations of 'airstrike', 'nuke' and 'mushroom cloud' on the guy.
 
hehe:)
 
I'm so spoiled by Python... I don't even remember what an arraylist is
 
@Kevin naah, I bet you know..
 
3:59 PM
apparently the account is already abandoned, because no further responses were given to the comments and answer.
 
Presumably something with elements of an array and a list
 
although a bit more challenging task would be: implement a fixed sized hash table
@Kevin the only criteria was constant insertion and remove time -- that is a simple linked list
 
Oh, that's easy then.
 
yepp
 
closed, cast my delete vote.
 
4:01 PM
I thought there might be other requirements implied in the name
"an array must have constant time access" or something
 
I think the name is a stupid, misleading name in the question
hash table (if no collision) and static/dynamic array have constant time access but they don't have constant insertion time
 
DSM
These interview questions unnerve me, as I think they test things that I've never needed. Scares me if I ever want to leave the analysis side to move toward a more develop-y one.
 
it is like what I asked you a few weeks ago: is there a perfect data structure type?
 
@DSM Yeah, I feel the same. How often do pro developers design linked lists from scratch? You'd think any seasoned dev would use something from the standard library.
 
@Kevin if I ever want to test someone (where C/++ is the requirement) I would ask for implement a compile time addition using only macros (templates are not allowed)
 
4:07 PM
Haha. Oh those wacky macros.
 
tell me about it..
I'v been working on one for 15 hours to be compiler and platform independent.. it is a special variadic macro which can handle zero or more arguments passed to it
15 hours of my precious time.. I truly hate the C committee not improving the macro language enough
 
DSM
...
 
4:22 PM
for some time ago I have this question, how I can copy the code from a module to a script ? stackoverflow.com/questions/21630726/…
 
@JuanPablo are you actually trying to mimic #include instead of import?
 
Why do you need to flatten the package into a single file?
 
^ that would be my next question too
 
@davidism I need a single file for distribution
 
Sometimes I use execfile when I want to get everything from a file into the current namespace. i only really find it useful when playing around in the interactive prompt, though
For packing multiple files into a single file suitable for distribution, I recommend zipping
 
4:28 PM
the file is used for many users (windows users) and when I make changes I need share the modifications
 
ok, and when they download the new zip file and extract it, your changes will overwrite the old files as desired.
 
@kevin, yes, but I use ONE big file for the users
@PeterVaro what is a mimic #include ?
 
I think what we're basically saying is, don't do that.
 
#include is a directive used in C++ to indicate to the computer that some file should be directly copy pasted into the current file. so a "mimic #include" would be "something that mimics #include, but in Python"
(No such thing exists, though)
 
Whatever problem you're actually trying to solve, there is a better way to do it.
427
Q: What is the XY problem?

GnomeWhat is the XY problem? When asking questions, how do I recognize when I'm falling into it? How do I avoid it? Return to FAQ index

 
4:40 PM
Your current reasoning appears to be "I want to distribute my project. projects with multiple files cannot be distributed because of reasons A, B, and C. Therefore, I want to condense my project into a single file. How do I condense my project into a single file?"
This is an XY problem. The question you're asking is "how do I condense my project?", but what you should be asking is, "how do I distribute a multi-file project?"
 
DSM
[When you're pulling out valgrind, you know it's going to be one of those days.]
 
Well, back to the old valgrind.
 
DSM
Urf.
Capture by value of a pointer-to-self which should have been captured by reference in a lambda. Isn't that always the way?
 
ah, the old "cbvoaptswshbcbrial" issue... I know it well
 
@kevin you are right. how do I distribute and update a multi-file python project to windows user ? (the users don't have experience with python or command line)
 
4:52 PM
Probably py2exe or similar
 
@kevin I try py2exe, generate one single .exe, but the execution is slow because the .exe contains the python interpret and libs and this are copied to a temporaly directory.
 
@JuanPablo I'm back -- but I think you have you answer now
 

« first day (1349 days earlier)      last day (3603 days later) »