« first day (1554 days earlier)      last day (3619 days later) » 

02:23
cbg
02:42
anyone seen this? falconframework.org/#Metrics Looks bretty cool
03:27
Hey guys. I am having trouble linking an existing (installed) python versions to pyenv. Is it even possible to do that?
03:37
Is there a list of magic commands for ipython notebook? I googled around but there doesn't seem to be a complete list
I've been away on business all week. My wife just sent me a sappy text telling me how much she missed me. I responded with the first lines of Cake - Never There
I didn't get in trouble until the chorus.
03:57
@Heisenberg You can always go into python notebook and type in % [tab]. It will bring up a list of them. I am not sure if there is a website out there explaining it all though.
@jakebird451 The ipython notebook tutorial mentions some of them, but not an exhaustive list. Something simple like %%file I could probably guess, but it would be nice to have some docs...
btw, !pip install Scrapy says /bin/sh: 1: pip: not found
do you guys know why? this is a notebook running on a remote server
when I ssh in, there's pip and I can install scrapy fine however
A_l
A_l
when I can find simple and nice guide for python gui dev in pycharm?
Thanks
@Heisenberg you can get docs on anything in ipython by appending one or two question marks to the end of an object
use tab completion after typing % to get a list of all magic, then get the doc for a specific command, for example timeit: %timeit?
as to the second one, check that the path in iPython is the same as the path when ssh'd in
you can also type %lsmagic to see all magic commands
and %magic to get a huge help text dump
A_l
A_l
05:46
I understand that glade is the simplest way to make gui app. I look on the web and I didnt find how to make a table. I want to make a table that every row contain a person and in every column contain property (name,age,address,phone number...).
I tried do that with glade but it didnt work. I didnt find any guide for this.. how I can do this??
Thanks
06:31
@A_I Personally I found Qt very easy (especially with QtDesigner, very easy to design and create GUI apps). (you create the design within QtDesigner and then you can use it within your app)
(And there are a rich variety of widgets and configuration)
A_l
A_l
@RamchandraApte thanks I will take look. I want to make very simple app. as I say table that I can add person and remove. Thanks!
07:08
@davidism what do you mean check the path in iPython? which path?
using ?? to get the doc works great btw! Thanks!
07:33
Cbg
cbg
08:04
Cbg
08:30
So I want to test my asyncio-based Autobahn server. Is there anything like WebTest but for websockets?
Nvm, I think I'll write a client and put tests into it
09:33
cbg
 
3 hours later…
12:08
hello
12:28
Cbg
Does any body here know titanium see?
*SDK
I want to develop android apps with python with ads
Kivy doesn't have ads
13:04
Shouldn't this be closed?
cbg ..
@BhargavRao Yeah, it is too broad. If you tag your post with [tag:cv-pls] many people here use a browser add-on to track such close requests.
@BhargavRao: see github.com/cv-pls/cv-pls
Oh. Thanks for that
13:13
@BhargavRao Weird. He's got a program that looks ok (at first glance) but he can't translate it into pseudo-code??? I wonder if he wrote the program...
the tool adds buttons to chat to insert the tag for you, and alerts you of any pending close-vote requests.
Or maybe he just doesn't get what pseudo-code is.
In this room, try to keep it to Python posts, but posts that are clearly off-topic for the site but may not gather enough close votes without help can be posted here too.
Thanks will test from next close vote.
Currently, some room members are very active in trying to keep the LinkedIn tag clean, for example, since the company moved support to Stack Overflow but doesn't actually have the resources to do this themselves (thanks, LinkedIn).
13:15
Yeah, especially Ffisegydd
@BhargavRao closed
What is Categories and subject descriptors field in an ACM paper ?
I need to fill them, I have no idea what they are
I just got an upvote on a 2 month old answer on U&L. :does happy dance: It's a simple Python program that makes graphs in SVG. Pity the OP didn't like it...
13:31
Such a huge answer and 3 upvotes ? :(
@BhargavRao Less traffic. Don't compare other sites to Stack Overflow. :-)
I use only SO that's why ;)
Anyway, is it the same tag for dupes too [tag:cv-pls]?
Wow, way to solve a problem that doesn't exist: stackoverflow.com/a/27984592
@BhargavRao yes.
Dupe closing is just like other close votes.
@BhargavRao Compare SO to other sites by traffic: stackexchange.com/sites#traffic
6.5 million visits daily for SO. The next busiest site is 631 thousand sites daily. SO gets more than 10 times the visitors.
U&L gets 172k visits a day. That's a 37.7 to 1 ratio.
@BhargavRao \o/
voted.
13:36
Damn. SO is like the big brother of all SE sites
\o/ My first close vote tag...
@BhargavRao It's ok. U&L can be very generous with upvotes for questions & answers that are actually about doing stuff on Unix / Linux. That question was not really on-topic, I guess. But I enjoyed writing that code. And I may even have a use for it myself one day. :)
Great going. Would have upvoted if was on that site
U&L is a lot more lenient than SO on "how do I do X in bash / awk / sed" type questions - it's understood that the OP may be just getting into *nix and have limited coding skills, and people are happy to just write the code & explain what it does and how portable it is.
@BhargavRao Thanks! :)
Coming back to my earlier asked question What is Categories and subject descriptors field in an ACM paper?
Does any one know about titanium SDK with which you can use python to write android apps
I'm trying to find tutorials but not finding any
13:46
Stéphane Chazelas is a regular on U&L. He's the guy who discovered the Shellshock bug in bash last year. His knowledge is vast. And he has the interesting habit of improving other people's answers so that their code handles obscure corner cases and is more portable, and then upvotes them. :)
I hate it when the OP comments Thanks, this works and leaves without accepting ... (twice today)
@BhargavRao If the OP is relatively new and has not yet accepted an answer before, I reply to thanks comments with a comment of my own: Glad to have been of help! Feel free to [accept my answer](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answe‌​r-work) if you feel it was useful to you. :-)
No No No ... Doing that type of link is even worse ... They will not know where to click. Had faced this situation once ... So I just add the same words with the link open as in Glad to have been of help! Feel free to accept my answer if you feel it was useful to you. Check this out once --> http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answe‌​r-work
Yeah, I guess the more blatant link's a good idea.
I don't know what kind of sorcery, the OP accepts it after 15 mins after I comment (even though he was online ... question was posted 3 hours ago)
14:00
I just started contributing on the Mathematics site a few days ago. They have a bad problem with homework help vampires: Not only do they not accept answers, once they get a good answer they delete their question before the answers can be upvoted. They do that to remove evidence that they've cheated on their homework. Grrr. :(
14:15
I voted as too broad, but then found a dupe. So please:
which is far more thorough.
@MartijnPieters Did you just close vote my meta question? :(
@PeeHaa I did.
Why?
It's a resource request, external.
It is certainly not a bug. You can dislike the design, but the bug tag is not applicable there.
You could use wayback engine if you wanted to recover the old style.
@MartijnPieters Hey why can't you directly mark as dupe ... You've got the gold badge na
14:20
I can live with the retagging. But asking on meta about a way to fix main... I don't see why that would be offtopic
@BhargavRao I already had voted to close.
Because, as worded, it isn't really about Stack Overflow itself anymore. It's a where can I find a stylesheet request.
@MartijnPieters Ah yes much better
If this was a request for a stylesheet for, say, Facebook it'd be closed in an instant.
Perhaps StackApps is a better venue, but I don't think they do requests either.
DSM
DSM
Not that it matters much, but I don't agree with the dup closing-- "which approach is better" and "is X faster than Y?" are only the same question if performance is your only metric for, er, "betterness".
@MartijnPieters Yes but it is about SO.
I could try to ask the SO team, but I have learned from the past that trying to work with them is pretty much useless
14:24
@PeeHaa Why are you named so?
@BhargavRao ?
Why Pee at the starting?
@BhargavRao Why do you have Bhargav at the starting? :p
Naw .. What is the meaning of Pee in your language?
No meaning at all ;) It's an old name (which I really didn't think through at the time). My initials are PH which in Dutch is pronounced as PeeHaa (PayHah)
14:29
Oh ... So it is Pay ... LOL ;)
My name has become somewhat know now so I cannot really be arsed to change it right now (might do it later), but hey at least it's an icebreaker on conferences :P
Perhaps just asking about whether there is a solution with a soft hint to user styles?
hey guys
can anyone help with Flask app configuration
After refactoring I've came to working application but my unittest failing all as one
In what way are they failing?
You'll have to refactor your unittests too..
@MartijnPieters Why do you edit your answer so many times? It is like loading
@BhargavRao standard operating procedure for me. I fine-tune, add documentation links, tangents, etc.
But ain't it like the answer is to be continued
No, the most basic form of the answer is use int() to compare user input against other integers.
But that's rather basic and bare-bones, so I add window dressing. More information related to that answer (the documentation for int() is here, read this if you want to handle errors properly, etc.).
15:51
Yeah, bro your answer is perfect 200%, not speakin bout that. But it is funny to see so many edits ...
Even I should have written accept my answer like how marty did, Lost 15 rep now :(
16:20
@Jerub Welcome back to the Python room.
16:37
.......@
user2555451
Huh. It looks like they reverted the syntax coloring for code snippets. I was actually getting to like the new one. Having operators and parenthesis/brackets colored was neat. :(
17:17
use minimax they said, prunning will make it run great, they said...
Don't know what happened today.. Yesterday it was 400 profile views, today it 465 ...
user2555451
Have you posted anything significant lately? Even a +5 or so answer can attract a ton of views if it is really good.
One +4 ... but 65 in one day is too much
Dan
Dan
17:40
cbg
user2555451
cbg
Dan
Dan
@iCodez how's it going?
I see the tumbleweed...
user2555451
Good, thanks. Yea, SO is surprisingly dead today...
Dan
Dan
@iCodez something tells me that mlk day isn't the cause
user2555451
No. Maybe the new design scared them all away. :D
Dan
Dan
17:46
it's not that different
user2555451
I actually like it, aside from a few minor issues here and there.
Dan
Dan
@iCodez I barely noticed it
user2555451
cbg
Dan
Dan
17:58
cbg
user2555451
cbg
yay... colours are back properly! w00t!
user2555451
Hrm? What colors? You mean the syntax highlighting?
18:22
hi what does this syntax mean points[...,0] = xvalues
@deostroll it's a special form of slicing that's usable on numpy arrays
so it's setting the first column of a 2d array to be equal to the values in xvalues
Which is the best tutorial for numpy?
@BhargavRao no idea - never read one :)
user2555451
@deostroll - Note that ... is the Ellipsis object. You can read about it here: stackoverflow.com/questions/772124/…
18:26
@JonClements Then how to learn numpy ?
Not sure... can't recommend a tutorial as I've never read one... I'm sure there's loads available though... I just tend to look at what techniques I need for some (relatively) simple problems... so I'm definitely not a numpy expert
I am tempted to go with vice versa, the title of the first one is much better.
Why not both? Recursion
user2555451
Does SE allow you to close an older question as a dupe of a newer one? I can't remember the policy.
18:37
@Martijn vice-versa I think
@JonClements yeah, the first one is more generic. Duped.
Fev
Fev
hello @MartijnPieters & everyone
@Fev cbg
hello @Fev
Fev
Fev
oh hi ...
18:43
read it again and again but still couldn't think it was on topic
gong
Fev
Fev
hi... , i'm just walkiing around and end up in this room XD
@Fev I can think of worse places to end up :)
Fev
Fev
hehe
Fev
Fev
maybe he means he wants some Collaborative IDE.. something like that
Does any body here know about TideSDK or Titanium SDK
19:07
@Wally I have worked with titanium a looong time ago
@PeeHaa Can I include Cpython libraries in titanium SDK. And also what amount to Java Script do I need to learn to make an app for android
@Wally I'm not sure about cpython, but regarding your JS question... considering everything you will write is JS (and XML) you should be able to atleast write some JS
I want to develop Androdi apps without having to learn much JavaScript
In that case I would not go for titanium
What about python?
Titanium supports python, right?
19:15
I'm not sure whether it actually support python
If I were you I would just write the thing in java instead
I hate java. I tried learning it but my mind couldn't learn more than one language at a time
Well if you go for titanium you will find that writing jabbascript really isn't hard. Also there are lots of example available if you don't need to do funky things
I doubt that includes a full runtime
It looks like that is just IDE support?
Also aptana is imho a piece of shit
I think we can embed python code in Javascript
Using titanium
But I still need to learn Javascript
Can you point me to some tuts if possible
19:23
Not really. My advice is to just install it and look at the kitchen sink demo
It really is not that scary
uuggggh rep whores...
HTTTP - new one to me :)
20:29
@Jon re. Marco Polo - very good, well worth a watch.
20:49
cbg, all
Cbg @Matt
so what do you think of the new theme to the main site? All my fonts are screwed up now...
I like the over all change, I prefer it. But there are issues. The issues need fixing then it'll be all good.
21:05
@Ffisegydd excellent - I'll add it to my watch then list :)
 
1 hour later…
22:07
cbg
user2555451
It's not a question
23:45
hello Reut its chris. I accepted your answer. I would of eariler I was just knee deep in self information. To be honest I am still unsure exactly of what I need to do to my code. A bit more help if you don't mind
No problem, As I've mentioned, python is more explicit about the instance passing to the instance method than other languages. Where are the gaps in your understanding right now?
Also, English isn't my native language, so if something I say makes no sense this may be the reason :)
Thank you very much. I owe you beer. and your English has been great dont worry :)
What languages you're usual to? (programming)
or is Python you main / first?
for starters. I still dont understand why score and not Score. the reason being is because I have not defined score anywhere, only Score
and python is my first. I have just started learning this is my first time in object oriented
Score is the name of the class, score is an instance of the class Score
It's the same as having a class PythonProgrammer and me and you would be it's instances.
There is one class with two instances.
so you'd have:
`reut = PythonProgrammer()`
`chris = PythonProgrammer()`
23:50
so, because initalScore for example is defined in the class, we just need to post and instance relating to the class? would that mean that we dont have to use score? would I be able to use something like cakeIsgreat.initialScore(start)?
Not exactly. I'm not being 100% accurate here for the sake of clarity, but you have to use an instance of the class to use an instance method defined in the class.
so unless cakeIsGreat is an instance of Score, it wouldn't have the method initialScore
well ok as it currently stands initalScore has the instance (i think I am using the word correctly) (self, and start) meaning the first line of the method is
def initialScore(self, start):
the instance is self, the argument is start
so should I then be using self.initialScore(start)? or start.initalScore(start)
ok so then I should be using self
but notice that when you call it you use: score.initialScore(start), which is begging the question: where is self?
you should be using score.intialScore(start)
and you should be wondering where is self
since it is defined as an argument the method expects, isn't it?
23:55
thats exactly what I am wondering
good! so the story is that when you use score.initialScore(start)
what ACTUALLY happens is:
initialScore(score, start)
that's because python implicitly passes the instance calling the method as the first argument int he method.
in your case, score
so self is just a place holder for the later score which comes up when I actualy use it in
def processScores
when you use processScores I assume you're passing a file, and an instance of Score
so you can take that instance and use instance methods from Score, like score.something(x, y), and that would actually call something(score, x, y)
yes. my goal is to open the file and then read each line. As the code goes through the file. If a line meets criteria in the if statements to then use the methods in the Class Score to execute a task.
example if the code sees a 'o' then it is to that the next line and add it to the running score
so with that in mind I have two error messages I would like to show if you dont mind

« first day (1554 days earlier)      last day (3619 days later) »