« first day (1718 days earlier)      last day (3213 days later) » 

user559633
12:00 AM
lol, verizon wireless does a shadow ban on IP addresses from Russia. I just tried in vain to login in for ~10 minutes before realizing they weren't sending password resets or validating my actions
 
@Dracunos Some of the faeries are helpful but don't tell you they exist until you actually look for them. Some of the faeries wait behind fruit bushes and when you stop to get a snack, they leap out and beat you to death with their massive cinder-block paws full of machete-length claws. Sometimes, the faeries are actually just bears.
@tristan From the whole country? Wow.
Classy.
 
user559633
@Augusta Not sure about the whole country, but from two separate netblocks that I tried on.
 
Ah.
 
user559633
@Augusta Not sure about the whole country, but from two separate netblocks that I tried on.
 
@tristan ?
 
12:27 AM
Just posted our KeyboardInterrupt problem :)
0
Q: Cannot catch KeyboardInterrupt in command prompt twice?

Waffle's Crazy PeanutToday, I had to check how my script runs on the Windows command prompt[1], when I noticed something weird. I was working on something similar to this, but this is enough to demonstrate the problem. Here's the code. def bing(): try: raw_input() except KeyboardInterrupt: pr...

 
Can anyone answer this for me? Are most developers building on Windows or Linux for python? And why? If anyone has any resources regarding this question, that would be greatly appreciated as well. ty :)
 
@AmagicalFishy How does Python deal with pointers? Think of variables and keys in dictionaries as pointers to the values they reference.
Boom! Asked and answered.
@Green no and no. because C and C++ and Java etc... resources? here's a reference: tiobe.com/index.php/content/paperinfo/tpci/index.html
Boom! Asked and answered.
 
@AaronHall actually i mean when developers are actually using python. Will they use a windows environment or a linux environment?
 
Earlier today someone mentioned Python development on Windows as character building.
 
@AaronHall sorry what you mean as character building?
 
12:39 AM
Woah. Two people starred one of my comments. :U
glows
 
yea go ahead
 
1:39 AM
Is there any benefit to importing from flask.ext.foob over just importing from flask_foob?
 
@Dracunos I have no idea. What's the difference that you can think of?
 
Jun 24 at 21:28, by davidism
flask.ext.package is deprecated, the pattern is to directly refer to the package: flask_package
and it goes from there. You were even in the chat at the time.
 
Awesome, thanks, just an old tutorial I guess : p
You guys were just talking about this?
 
@davidism I thank you and my neuroses thank you. <3
 
1:46 AM
no problem, I wasn't trying to move the whole conversation and didn't think that was a problematic message
 
That's fine. I just have problems. Thank you for accommodating them.
 
Ha.. I even responded to that comment when you first made it. Sorry
 
2:02 AM
@Dracunos Sorry for what?
 
Not remembering the chat from a couple days ago about the same thing, although I wouldn't expect anyone to. I was just linking it rather than writing it again.
 
Aa, I see.
 
I was referring to my question of a half hour ago.. Which it turns out a couple days ago I had already responded to the answer :p
And it says pretty much the same thing in the flask.ext's __init__.py
 
Same avatar on github?
 
What other sites use gravitar?
 
A lot. There's no list.
 
I'm still thinking about changing mine
 
2:26 AM
Are there any fun projects you guys are currently working on?
 
I've been trying to make a game to go with a story I've had tumbling around my head for the past year or so.
 
Just in time
I built battleships lol
 
That kind of project?
You can never have too many battleships.
 
Jk, I'm just practicing some class syntax
and I added bombs aswell :D
 
Yeah, that sounds interesting
 
2:32 AM
so if you miss, you lose a life, if you hit a bomb, you lose three, if you hit a ship, you win
three difficulties
Harder it is, more bombs and bigger the matrix
But I doubt anyone would play that lol, it's really just a practice since I suck at classes, or at least did
But, I actually wanted to ask a quick question, sorry for bumping without saying hello (Hello! :))
os command to clear screen, I've seen it's separate for win and linux
Can I simply call both?
I mean, would it crash on win/linux for any reason?
 
I would just print a bunch of empty lines to clear the screen.. I'll wait for people to tell me how bad that is
 
Well, I did that already
But I'm afraid it's not good/proper way of doing it
So I just wanted opinion from you guys, since you guys never really miss
 
Nothing beats the elegance of a ton of blank lines
 
I hope that was not sarcasm :D
 
I'm still pretty new at this myself, don't take my advice : p
 
2:37 AM
nah, anyone's advice is good :)
I've also been making something similar to crunch, but I doubt I'll be developing it anymore
 
I understand that you and he can make it happ'n, though.
(Huehue)
 
Few days ago, I finally learned to use argparse, I was amazed
I keep loving python more every day
now I feel like I missed my university education...
 
goes to see what that is
 
electric engineering
not done yet
 
Not as into that anymore?
 
2:40 AM
but I'm on a good way, I can still transfer, but after all that headbanging to a book, I don't really feel like switching my profession
 
Oh, I meant argparse.
 
I am, it's just that I've always wanted to work as a programmer
 
@Meaty you want to use curses to draw to the terminal yourself
 
oh come on!
Thaks mate! :D
at first, you made me very puzzled to be honest
 
or probably blessings, which makes it much easier
 
2:41 AM
is this some kind of a joke? :D
 
Why is it called curses, anyway?
 
Thanks very much!
That part got me puzzled
 
> The name is a pun on the term “cursor optimization”.
from wikipedia
 
oh!
 
Used to make Rogue, that's the first thing I thought about when I read the description
 
2:45 AM
now it makes sense!
by the way, if anyone wants to try, here's the code :D

http://pastebin.com/FTeFcsmQ
I was so stunned to find out it's possible to make instance of another class in a class, and use it that way
by the way, if you will try it, don't open it in any IDEs because it looks horrific
it looks just fine in cmd/terminal
 
Would pycharm flag your code for hundreds of pep-8 violations?
 
not sure, I use wing
I hated charm for it's "not in default project" harassment
and it's easy to get wing for free if you ask nicely, explain you're trying to learn python, I said I'm using it on my college, I mean I wasn't lying anyway
but it's possible, since I don't even know what those violations are....:/
Sorry for typing so much. I've drank three cups of coffee...
 
Wait, so.. Why did you need to edit files that weren't part of the project?
 
No, it kept telling me it's not in it's default folder
and if I wanted to move it there
or something similar
brb
 
I've been using PyCharm for years, and I've never seen that message.
You can also disable any inspections that you don't find useful.
 
3:00 AM
Well, I found PyCharm to be extremely fast
 
pycharm is kinda a lot to get used to early on.. When I first used it I tried to use it more as a text editor than an IDE, and it just felt cumbersome
 
I've used some scripts and they were really faster than on other IDEs/terminals
But yeah, lot of information for the start
wing is simple, but has tons of functions to explore
like stack data and stuff
it's worth trying it out
 
I still like notepad++ for the same reasons, super simple but with tons of extensions you can really make it your own. But even with fancy debugging extensions and such it's still far from a true ide
 
I've never really used it, but I heard it's very good
Well, it's 5AM. Time to go to sleep. Always nice talking to you guys. See ya!
 
Sleep well
 
3:06 AM
Thanks
 
I find myself needing to commit every ten seconds because every change I make turns the filename blue
no squashing commits in pycharm?
 
3:40 AM
hmm...that doesn't have the direct link I thought it had. Its in the color and font configurations
@Dracunos jetbrains.com/pycharm/help/… : or if you just want pycharm to check less often
 
 
1 hour later…
4:46 AM
cbg
 
cbg
 
5:31 AM
CBG!
 
 
1 hour later…
6:44 AM
Hey up
 
Cbg
I'm letting my house out at the moment, due to not being in Nottingham
In fact if that works out, and the house appreciates a reasonable amount, depending on how well I do at work it will either be called the retirement plan or the Porsches.
 
Dude come on. It should be called the Aston Martin.
 
Yeah true
Aston do seem to have a new lease of life these days
Although having said that, my wife wants lots of kids, and I'm warming up to the idea, so it may just be called the place we live in one day because we have no money
 
Buy an Aston Martin and a tent.
 
That's a good plan
Or just live in the Aston; I'm sure the seats will be an easy-wipe leather.
 
6:54 AM
cbg
 
Cbg
It would be fun to turn up at campsites in an Aston, haul the kids out of the boot, extend a tent out of it and go round asking people for food
 
Send the kids for food. They're cuter and will have more success.
 
Not these kids; they're uggos
 
That could work too though! "Oh...Richard...look at these disgusting little freaks that climbed out of that boot! They...they seem to by hungry! Quick, give them some food before they take little Giles!"
 
That's true
In fact if parents saw the kids, and then I just walked up to the parents in a pied piper costume, I could coerce money out of them in exchange for not enchanting their kids
 
7:08 AM
You'd need to learn how to play the pipes, but that'd work nicely.
 
These are some amazing plans; we should definitely become business strategy consultants
 
Fizzy Bob Inc - We're here to solve your pickles.
 
I'm envisaging two mutton-chopped, cider-swilling men in a boardroom advising a bunch of suits
THIS'LL BE ENOOF T' BOIY COIDER FOR A ONEMONTH! HAHAHAHAHAHAHA
 
Definitely. We'd be dressed completely over the top in extravagant and flash suits.
 
Wow. Not often you get a glimpse of your future...and it's amazing
 
7:14 AM
We'd have to drive sports cars. But really crap sports cares from the 80s.
 
What about that car David Jason drives in The Darling Buds of May
 
Actually yeah that's better.
Rolls Royce IIRC
 
Fun fact: my brother married one of the twins from that show
Yeah
 
That is a fun fact, that's pretty cool.
 
That's the actual car apparently; you can hire it
Here's another fun fact: my sister-in-law is one of the twins from that show. And another: my brother's sister-in-law is the other twin. Tries to think of more equivalences
What is it about small businesses and putting half their copy in quotes or italics?
We'll be "a good company to use"
 
hey, can somebody answer a quick question?
 
Just ask.
If someone can answer then they will.
 
Um, ok, I’m writing a python script, and I’d like it to automatically launch itself when the user logs in. Im using a Mac, if that’s of any help.
A link will do.
 
85
Q: Running script upon login mac

MZimmerman6I am wondering if anyone is able to help me out with getting a .sh file to run when I log in to my account on my computer. I am running Mac OS X 10.6.7. I have a file "Example.sh" that I want to run when I log onto my computer. I do not have a problem running it when I am already logged in, but ...

 
Isn't Google amazing
 
7:40 AM
Looks like you'll need to write a shell script to run your Python script.
 
Ok thanks @Ffisegydd :)
@RobertGrant yes I’ve managed to get myself question-banned, because of that :/
 
And yet..
 
Here is what I googled "how to schedule a program to run automatically mac os x"
I never can find the right search terms :p
 
You should try to improve the quality of your existing questions and also answer some questions to get unbanned. Note that chat isn't a replacement for asking a full question on the site, as in if you come in and ask a question that really should be on the main site (due to scope/depth/etc) then you'll be told to ask it there, whether you can or not.
That's a terrible search term btw, I think I found it with "os x python automatic login" or such.
 
@Ffisegydd yes I have answered a bunch of questions after getting banned :)
 
7:45 AM
You should improve your existing questions though, after all it's those that got you banned.
 
Yeah, but when the questions themselves are a) duplicates b) easily google-able c) a mistake a made: then there’s not much scope of improvement.
I even wrote a meta post on that.
Which turned out to be a duplicate.
 
Funny things happen.
 
@Waffle'sCrazyPeanut After sleeping on the problem, I came up with something and answered your question. Let me know what you think :)
Cabbage!
 
cbg
@RishavKundu did you follow the advice given by the link in meta - try to clean up your questions etc...? Trying to get around it by asking in chat is not going to get you far I'm afraid
 
8:00 AM
@JonClements I have answered a bunch of questions (15ish) but I’m afraid that there’s nothing much to improve, because they are all bad questions :(
I’ll try to answer more questions, that will (hopefully) lift my ban.
 
answering doesn't assist with a question ban
 
Really? I always thought it did.
 
It doesn’t.
?
 
I thought it was akin to "If you answer some good stuff it can help balance the scales."
 
So did I...
 
8:06 AM
@JonClements Uhm...
@Ffisegydd is correct here, but fixing your existing questions and improving their quality helps more.
 
love to be proven wrong (semi-right or something).... \o/
 
Pieters brings down his knowledgehammer, Martijnir.
16
 
That so should be a phrase... Martijnr.... :p
walk dog briefly... brb
 
@Martijn Do you guys manually check the questions for improved quality later, or is there some mechanism?
 
-5
Q: Combinations between elements in two tuples in Python

AndrejI have two tuples: t1 = ('A', 'B') t2 = ('C', 'D', 'E') I wonder how to create combinations between tuples, so the result should be: AC, AD, AE, BC, BD, BE EDIT Using list(itertools.combinations('abcd',2)) I could generate list of combinations for a given string: [('a', 'b'), ('a', 'c'...

The amount of answers that are even more terrible than the question... :/
 
8:16 AM
That's a weird-looking dupe target
 
yeah, completely unrelated...
 
And it's been closed because it's a dupe
 
Cabbage
 
I was going to say, one of the answers is okay, but it's yours :)
 
Interesting answer on the ctrl-c question, @poke
 
8:20 AM
@RobertGrant Found a better one
@JRichardSnape Tried to do my best guessing around the problem, finding a working solution that’s consistent enough to be usable.
 
Yeah, it's a tricky one. I think you're found something probably workable explained it nicely.
 
Question for Brits: Does anyone know a good place to get boxes from? I'm going to be moving soon and could do with some good, sturdy, plastic boxes for moving stuff in. Where do you buy these things from?
When I was a kid I used to have boxes like this for my toys science equipment. I'm thinking something like that.
It seems a silly question, I know. Unfortunately if I ever need anything nowadays I buy it from Amazon, and this is the kinda thing that's too big to get delivered :P
 
Ikea?
 
Yeah Ikea is a possibility but that would involve me getting Fizzygirl to give me a lift to Ikea 30 miles away.
 
Homebase
 
8:33 AM
Homebase may be a good shout, and there's one within walking distance (2 miles or so)
 
@poke All fully automated.
 
This will do, good call JRS.
 
Also - viking / staples do them, especially with offers
 
Don't have a Staples nearby. I can't think of any shops closer than Homebase.
 
Sorted
 
8:43 AM
Fizzygirl is gonna give me a lift to go get them, as I want 3-4 and they'll be a bit bulky to carry back on my bill.
 
Did you say "Let's get (boxes) Fizzygirl. Fizzygirl" ?
If so bravo
 
I did not.
 
No bravo for you
 
@Ffisegydd use a moving company?
 
I don't get the reference, clearly it's some old-person one.
@Jon nah, hiring a van.
 
8:48 AM
Oh wow, I don't think it's that old
 
ahhh... last time I bought storage boxes, I bought 'em from homebase
 
I guess it's Olivia Newton-John, so pretty old
 
(got free delivery as well)
 
@Ffisegydd Hire a van with boxes? :D
 
But then I won't have boxes to store my stuff in once I've moved :o
 
8:49 AM
Haha exactly
 
No, seriously. I am lucky here that I have plenty of storage space but I'm not sure about where I'm moving. I might end up storying not-often-used stuff in boxes in the corner.
 
today I am more than pissed off
 
user559633
frustrating internet provider cbg to you
 
@tristan wanna trade your problems with me? :D
 
user559633
@AnttiHaapala n..no?
 

« first day (1718 days earlier)      last day (3213 days later) »