« first day (1602 days earlier)      last day (3340 days later) » 
00:00 - 18:0018:00 - 00:00

12:06 AM
[Where does CELERYBEAT_SCHEDULE go in your project? [on hold]](stackoverflow.com/q/28834506/400617)
 
Done
So, you don't have a requirement, but you see a function. You don't know what that does, but you want to use it? — thefourtheye 2 mins ago
@thefourtheye. Yes i kind of have to. @ Wally Beaver, oh my bad i added the [] by accident i will fix that. — Arunav Sanyal 44 secs ago
 
Umm.... Indiana Jones has been involved in a plane crash...
 
12:23 AM
... "but he's ok" would be a good follow up to that statement :)
 
he's alive :)
 
Learning the multiprocessing library, need to split up a file and have each process work on a predefined amount. Is it viable to send in a multiprocessing Queue() filled with the full input file, and then in each Process() function have them Queue().get() until they have the chunk amount?
I got it working, but it's not getting the remainder of the Queue, only successfully getting when it doesn't run out.
I'm a tad confused about multiprocessing Queues in this case. :\
I just need a way to take a file, split into equal chunks, have each processed in its own thread, and return each thread's results.
Easiest way to do this?
 
I doubt you need a queue in this case. In the master, count (or estimate) the number of lines, then send a "start" and "stop" value to each worker. Each worker can open the file and iterate over the lines, only capturing/processing the ones that fall in their range.
You most likely want a pool of workers: docs.python.org/3/library/…
and use the pool's map method
anyway, gotta do some yardwork before it gets dark, rbrb
 
12:52 AM
@JonClements "If the news is that important, it will find me", has never been so true. I found out about Harrison Ford's plane crash in a Python chat on StackOverflow. What a crazy time to be alive.
 
bah indy has survived lots of plane accidents
and being shot at in a plane
and being shot at on a motorcycle
and being shot at on horses
and being shot at on camels
no way a stupid golf course is gonna take him out
 
DSM
Dropping in simply to confess that I spent ten minutes trying to figure out why I was getting a mysterious <repr(<django.db.models.query.QuerySet at 0xb38ffa2c>) failed: NameError: name 'self' is not defined> error, which was because I typed Self instead of self as the argument. Score one for implicit self..
 
good job :)
 
DSM
At least public confession of my stupidities should keep me humble, and make me more sympathetic to the n00bs. Anyway, have a rhubarb-filled evening, everyone.
 
1:06 AM
ditto
 
I do that sometimes @DSM ... granted i figure it out pretty dang fast
 
@DSM, your penance is to #reopen-pls stackoverflow.com/q/28834506/117471
 
 
2 hours later…
3:41 AM
Is this really thread-safe?
 
 
2 hours later…
5:44 AM
Cbg
 
Cbg
Happy Holi :)
 
6:21 AM
cbg
@thefourtheye Wish you the same..
 
6:52 AM
@AvinashRaj Melons :)
 
7:04 AM
Cbg
 
Cabbage @RobertGrant. How goes it? :)
 
Reasonably well thanks :)
Yourself?
 
7:30 AM
Morning
 
@Ffisegydd morning
 
Cbg
Cabbage @Ffisegydd
My question doesn't have the enough attention yet :(
 
7:53 AM
good morning reptilians
 
@Mr_LinDowsMac you may want to look at it and tidy it up. Tidy and comment the code of it needs it.
All the bounty in the world won't help an unanswerable question, if it is unclear.
 
@RobertGrant Apart from the injured right hand and the sleepless night, everything else is fine :-)
 
 
2 hours later…
10:07 AM
cbg
 
Mornin'
 
You broke the cbg chain :(
 
One link does not a chain make.
 
It could have been a chain, but its not possible now :'(
 
Cabbage!
 
10:09 AM
Cabbage!
 
There you go you've got a new cha...
 
@Ffisegydd Wow.
 
Gr.r.r.r
I ll leave you to my evil twin.
 
:D
 
cbg
 
10:11 AM
cbg
 
This looks a bit too broad, and there are too many questions. BUt I guess he deserves a comment or two before it gets close-voted. How do I parse Python statements in my cmd shell?
 
10:35 AM
No idea what the OP actually wants from that question, apart from it being a gimmethacodez post.
 
Guy's any one help me to solve this issue
Python serialize a lsit of custom objectshttp://stackoverflow.com/questions/28896794/python-serialize-a-lsit-of-cu‌​stom-objects
 
Use marshmallow.
 
json.dumps({k.decode(): json.loads(d[k].decode()) for k, v in data.items()})poke 11 secs ago
@MartijnPieters ^ my guess
 
@Anish please see the room rules sopython.com/chatroom
 
@Anish Please don’t post your question when you just asked it. Give it some time on SO first.
 
10:42 AM
@poke probably.
 
Okies
 
I love when Visual Studio freezes for 15 seconds when you paste some text into a text file…
 
 
2 hours later…
12:38 PM
Mornin' @Kevin
 
Morning
I'm half-snowed in today. Work opens two hours late.
 
Lovely and sunny here :/ not even wearing a jacket.
 
I am not jealous because I hate all weather equally.
 
If it could be Autumn all year round I would be eternally happy (i.e. I would have to find something else to complain about)
 
Winter - cold. spring - allergies. summer - hot. Autumn - melancholoy that comes from the looming presence of winter. And allergies.
And the trees smell weird, but no one but me ever seems to notice.
I wouldn't mind if every day was the first day of spring. As long as I live in a sealed dome to keep the pollen and ragweed out
 
12:50 PM
Yeah my GF has bad hayfever. From our office at the top of the department you can see pollen being blown across campus on the wind.
 
Time to replace print statements with a print function in KS.
This will the the first actual function I add to the builtin scope. Now, which source file should I put it in...
I guess ObjectFactory will do. Functions are technically objects.
 
Why aren't you printing? ;_; Stupid function.
Found out why. Stupid author. PEBCAK.
 
1:17 PM
morning everyone
 
Re-cbg all
 
does postgres have something similar to mongos $removeFromSet and $set properties?
 
1:30 PM
Hmm, the easiest way to implement Expression printing in the REPL is to create a maybe_print builtin function that prints everything except None. Do I want to pollute the user's namespace to save myself an hour of work...
 
at what point should I assume that the developers of the API I am accessing are doing something wrong, and not me?
 
From the very beginning.
 
every other API that does the same seems to work :\
 
Sounds like a good time to submit a bug report
If you're about to ask, "but what if I'm wrong and get humiliated by the devs?", you're not at the right point yet
 
"But what if the other devs don't like me and make fun of me?"
 
1:43 PM
I can't protect you from the world forever ;_;
>>> 2+2;
4
Hell yeah, expression printing B-)
>>> print("hello");
hello
None
 
Rbrb folks :)
 
bai robert.
 
Uh, hmm. Let's reduce that to "heck yes expression printing? :-\"
 
Autocorrelation functions are fun.
 
1:59 PM
Guess I'll go with the namespace polluting option for now. Nobody use print_single as a variable name, TIA
 
huh. Think it's okay to say in a readme "this is basically copied from another project that's not mine for diagnostic purposes"? I credited the guy who wrote the other code
 
Umm... not sure stackoverflow.com/a/28899847 is completely understandable, but I think it's fairly cool anyway :p
cbg @Bruno
 
2:41 PM
@DSM do you know a neat way to plot straight lines in pandas for a time range? Say I have some daily data for a year and I want to plot the monthly mean as straight lines (say from 1st Jan to 31st Jan, then 1st Feb to 28th Feb, etc) on top of my daily data.
I could hack something together probably, but wondered if you knew of anything nicer?
 
2:58 PM
Hello, what is the difference in Python between A[i][j] and A[i,j] ?
 
@Kabyle that's a frequently asked question, I'm sure you can find the answer using Google.
It's probably asked once per day on the main site.
 
@Kabyle list in list vs. numpy array
 
3:16 PM
@poke thank you very much
 
DSM
Morning cabbage for all.
 
Mornin'
 
DSM
@Ffisegydd: groupby the month and do a mean transform?
 
@DSM yeah done that part easily, it's the plotting that's the pig.
 
DSM
3:23 PM
What are you trying to avoid? The vertical jump between months?
 
How to easily plot between 1st of monthN and last of monthN is the awkward part.
The vertical jump yes, and also I've found issues with my December data being missing as it's only got 01/12/2016 so doesn't extrapolate to 31st.
That's what I've got so far.
By doing hacky hacky code.
 
DSM
Lemme think for a sec.
 
Cbg!
 
@DSM got it. Used some hacky hacky hacky code.
 
DSM
But we don't like hacky hacky code.
 
3:32 PM
ax = df.plot()

for key, group in df.groupby(df.index.month):
    m = group.mean()
    g = pd.Series([m]*len(group), index=group.index)
    g.plot(style='r--')
There's probably a better way to construct the intermediate Series than using [m]*len(...)
 
DSM
Wait, I thought the problem was getting to the end of the month? If you're just doing that, you could do .transform("mean"), like I suggested at the start.
 
The problem was getting to the end of the month.
 
DSM
.. but that doesn't get to the end of the month, does it?
(Sorry, I'm probably missing something. I have my coffee here but I've barely started it.)
 
It does now I've fixed it. I have data from 1st Jan to 31st Dec, and when grouping by a month you end up with 01/01/2015, 01/02/2015, ..., 01/12/2015.
 
DSM
Ah, and you don't care about Jan 2016 dangling. Fair enough.
 
3:38 PM
Damn! My answer was migrated and I lost rep :(
 
DSM
You gained rep somewhere else, though, so consider it an unexpected gift!
 
no .. :( Didn't have account there! SO is my only account on SE
 
DSM
Hmm. What happens if you open an account there? Do you get the associated rep?
 
Is it bad form to name a class instance the same as the Class's parent module if you aren't importing the parent? Specifically: from redis import Redis; redis=Redis(); redis.get('foo');
 
Most probably!
 
3:42 PM
Is it bad form to name a class instance the same as the Class's parent module if you aren't importing the parent? Specifically: from redis import Redis; redis=Redis(); redis.get('foo');
 
DSM
Hmmph. I think I've found a bug in pandas plotting w.r.t. nans. :-/
 
D:
 
I have a doubt in ICON language. Searched the tag on SO, surprisingly no one has asked a question in that language as yet!
 
I was looking for a way to do cross-correlation earlier. Couldn't find anything obvious in the pandas docs.
Actually maybe I did, need to look into it more.
 
DSM
Yeah, it works nicely if I pass it to matplotlib directly. :-/
 
3:57 PM
What's the error?
 
Time to add import statements to KS. I'm getting disturbingly close to being able to implement KS in KS.
 
DSM
Well, usually you can insert nans to force a discontinuity, so I did so, but it gave weird little leading and trailing dangling pieces.
@Kevin: self-hosting cabbage for you.
 
@Kevin when do you plan to implement plotting? You're...you're adding plotting to the stdlib...right?
If not, I'm afraid I'm going to have to pull my funding.
 
DSM
Wait, is Fizzy now funding language experiments? Can anyone apply?
 
How else am I going to be the preeminent programming language among data analysts?
Anyone can apply to give me money, yes.
 
DSM
4:00 PM
Ouch. If we were at a pub I think that would have just cost me a beer.
 
If by funding you mean giving £1 to a random man on the street with an American accent and saying "Give this to Kevin when you next see him"
 
Oh, is that why I couldn't get my books to balance when I was calculating the expense for my globally spanning operative network?
 
Hey I need some help. Is it worth to ask a question on a never before used tag and expect answers?
 
I kept coming up with one £ over expected revenue. I invented 7th dimensional accounting to explain it.
@BhargavRao I expect plenty of people will see the question, if it's not the only tag you use.
 
It is the only tag :( I will have to create the tag.
 
4:04 PM
I don't think you'll get much traffic.
 
DSM
@Ffisegydd: oh, I forgot to mention. One reason I prefer to resample rather than groupby is that you don't have to worry about months bleeding over-- if you groupby df.index.month, then January of both years will blend in to one. Maybe that's what you want, but it's usually not what I'm expecting.
 
Icon, they say, is a precursor of Python!
 
Of course, asking a question can be constructive even if no one ever answers it. At the very least, it forces you to carefully evaluate the actual problem.
 
:(
I will search the net for 2 days before asking on SO.
That is better I guess
 
@DSM yeah good point. I have a contrived example which is only for one year but I should keep it in mind.
 
DSM
4:07 PM
Where's a good place to upload a temporary image again?
 
imgur.
Or press "Upload" if it's for chat.
 
DSM
Aargh, there's a button right there, and I've even used it before. :-/
Thanks.
I can play too. :-)
 
How did you do that then? :P
 
Darkyst majyks
 
What I ideally want eventually is something like
Which I doubt pandas does out-of-the-box :P
So there each horizontal line is the mean for a month, and each squiggly line is the data after it's had a fit subtracted (and then offset to the mean)
 
DSM
4:14 PM
:-) Nope. TBH, given how hacky my nan trick needed to be, I think I'd wind up doing something similar to what you did anyhow..
By which I mean I'd probably use resamply-transformy bits to get what I want to plot, but it'd be more natural to loop over the months and plot them one by one than the too-clever-by-half stuff you'd have to do to get it vectorized.
 
Yeah exactly. Chances are I'd actually do it in Javascript. And there's it'll probably be easier because I'd just write out stuff explicitly, rather than trying to be clever with pandas.
 
@Ffisegydd what do you do?
 
DSM
Speaking of JS, I need to choose a JS frontend package for some stuff soon. Blek.
 
looks somewhat related to my job space
 
@Joran I do SCIENCE. Though I'm looking to move into data analytics once I've finished my PhD.
 
4:17 PM
I'm pretty sure crystals are involved
 
@DSM my newest toy is dc.js. It's d3.js and crossfilter mixed. So you can do interactive plots easily dc-js.github.io/dc.js
 
O i c
 
DSM
Fizzy's our registered scienceman. When we're worried about being nerd sniped, he bravely leaps out to protect us!
 
I do soil characteristics for large scale agriculture ...
 
My PhD is in the structural transformation of amorphous materials under extreme conditions
 
4:20 PM
well i write software to tell them various characteristics based on sensor readings
 
Crystals can be amorphous :-I
 
to me its all just numbers
which may not be at all related to your phd :P
 
DSM
@Ffisegydd: I was thinking more about frameworks (AngularJS etc.) This summer we want to start letting the less technical side of the office play with my codes, which means I need an interface they can use more easily. (And it means I'm writing yet another DSL..)
 
May I suggest KS.js? The latest port of the ultra-successful KevinScript language, ported for use in web-browsers.
 
DSM
"Number One. In your hood. From Morgan Hill to South San Fran, keep it fresh by tuning your airwaves in to 90.5FM!"
("Tuning your airwaves in to 90.5FM" is awkwardly worded. Who's writing their copy?)
 
4:24 PM
You joke, but I am seriously considering jsKevinScript as a side project. Web accessibility ought to improve user retention.
 
DSM
Whenever I try to dig into a front-end framework I wind up deeply, deeply confused. The whole thing seems like a crazy collection of technologies taped together, whose only possible defence is that it seems to work okay.
 
Little bit of cart before the horse here. Guy wrote a class without actually knowing why he wants to have a class.
 
DSM
I don't see a good path without a long conversation from where he is to where he needs to be.
 
If nothing else, he seems inquisitive. I'm sure he'll be fine going solo :-)
It does seem to be a common problem where you'll read about a language feature and think "why would I ever want to use this?"
So you end up trying to hammer it into contexts where it doesn't quite belong
No, you don't need classes to do a listdir.
 
DSM
Reverse happens too, when you go from a language with classes to one which doesn't, and then you ask yourself where you're supposed to put stuff.
 
4:35 PM
I know that feeling.
Looks like my monetization strategy of hiding a bitcoin miner inside the KS runtime, isn't going to be as profitable as I thought. From this HN discussion (not about KS), I estimate that I'd make $0.0014 a day.
 
DSM
I love the "not about KS" clarification.
 
And that's being generous, assuming that the interpreter will run 24/7
@DSM Didn't want to get anyone's hopes up
If only HN would criticize my design choices. Then I'd know that I had truly arrived.
Then all I'd have to do is sell out to Facebook for a gorillion dollars and post a "thanks for this incredible journey" blog post from my gold yacht.
 
Pretty sure a gold yacht would sink.
 
I was just about to ask.
It would just have to be really big so it could be properly bouyant.
 
Only pretty sure though, so feel free to try.
 
4:43 PM
How much heavier is gold compared to steel?
 
Exactly. It'd have to be really, really big.
Lots.
 
DSM
Umm..
 
2.5x denser.
 
DSM
Weight != density..
 
And being a soft material, I'd have to make the hulls much thicker than usual... Tricky.
 
4:44 PM
But you'd need more air to counterbalance the weight, no? I never studied fluid dynamics so I may be absolutely wrong.
 
DSM
You could just go for a gold plating.
 
DSM
Pretty!
 
"the sleeping areas are covered in platinum." That sounds supremely uncomfortable.
 
I have lots of platinum in my lab, if we made it really, really thin I could maybe get you a pillow.
 
DSM
4:47 PM
So much for Jersey boys being tough.
 
I'll have you know I got a paper cut yesterday and I only cried for fifteen minutes.
 
DSM
To be fair, paper cuts are really annoying, so I'm willing to give you a pass on that one.
 
BackInReality: @DSM is df.groupby([lambda x: x.year, lambda x: x.month]) the best way to groupby Year-Month? So 2015-Jan and 2016-Jan are separate groups?
 
well, I s'pose the paper is mightier than the sword... but slashed with a sword, or having a paper cut, guess I'd have to pick the paper cut
 
man what a waste of money
does it go faster because of the gold plating?
or its just to blind the fish?
 
4:51 PM
Maybe the smooth surface prevents barnacles from sticking to it. That would improve the hydrodynamics.
 
Blergh too tired.
 
If not, the maintenance man that has to scrape off the barnacles without scraping the gold, has the most stressful job in the world
 
@Ffisegydd see stackoverflow.com/questions/28773342/… and modify accordignly
 
DSM
@Ffisegydd: I'd do df.groupby(df.index.to_period("M")).
That way the keys are still date-ish.
 
Gah I always forget about pd.Period.
 
DSM
4:54 PM
But your first proposal should work too.
 
I considered posting "do open = __builtins__.open" to this question, but I wasn't sure whether __builtins__ is an implementation detail or not.
Or whether it's even accessible when you're not using the repl
Ah, the doc that Martijn linked to answers that.
> CPython implementation detail: Most modules have the name __builtins__ (note the 's') made available as part of their globals. The value of __builtins__ is normally either this module or the value of this modules’s __dict__ attribute. Since this is an implementation detail, it may not be used by alternate implementations of Python.
 
DSM
Yeah, doesn't look like Jython has it.
PyPy and IronPython both do.
And it looks like the del open trick works across the board.
 
Someone should tell Martijn that his second code block has an extra s in the module name. I would, but it's lunch time.
 
@Kevin exactly; in __main__ (and thus the interactive interpreter) you get a reference to the __builtin__/builtins module, everywhere else it is a dictionary, the __dict__ attribute of that module..
 
DSM
Looks like you already told Martijn. :-)
 
5:02 PM
a little birdie told me.
@Kevin Thanks.
 
For csv library, if I want to set the field names on the file, I just pass a list right? When I create the object I mean
 
DSM
Details depend on whether you're using csv.writer or csv.DictWriter, but basically yes.
 
I'd rather use csv.writer so I don't have to put dicts for each row
So say I had a list like fields = ["field 1","field 2"]. Can I then do writer = new csv.writer(fieldnames=fields) ?
 
DSM
(1) No, because `new` isn't valid Python syntax. ;-)
(2) No, because you don't pass fieldnames to a csv.writer, you just pass the file object, so it'd be like `writer = csv.writer(fobj)`.
 
Bring your torches and pitchforks! stackoverflow.com/questions/tagged/etymology
 
5:12 PM
1: Right sorry. I didn't do that in code.. just muscle memory as I'm usually doing JS
2: The file I want to write to doesn't exist yet. The goal of this script is to create a brand new CSV
 
DSM
2: Then you'll need to open one, using open(filename, "wb") in 2 or open(filename, "w", newline="") in 3.
 
Yeah I'm doing that already
def export(self):
    file = open(self.output_file, "w")
    writer = csv.writer(file, delimeter=self.options['csv']['delimeter'])
    with self.products as prod:
        self.feed.append([
            prod.sku,
            prod.text['en']['name'],
            prod.text['en']['category'],
            prod.prices['sale'],
            prod.url,
            prod.imageUrl,
            prod.text['en']['description'],
            prod.text['en']['brand'],
            prod.prices['original'],
            prod.text['en']['promo']
 
DSM
.. so what's the problem, then?
 
5:14 PM
How does it know what to call the headers?
 
DSM
#1: you should really be using the with open pattern. #2: You're not already doing what I said you should do -- check the arguments you're passing to open. #3: you write them manually using writer.writerow(field_names_list).
 
ok so open(self.output_file, "wb") instead
 
DSM
No, with open(self.output_file, "wb") as file:. Otherwise, if you forget to close the file (like you did here) you can get yourself into trouble.
 
Okay
 
DSM
Plus, it's delimiter=.
 
with open(...) as f:
meh tbh with cython its pretty hard to break file handles in python with the way it does garbage collection
file shadows builtin :P
@DSM
 
DSM
@Joran not in 3, which is what we should be using. :-)
 
5:19 PM
@DSM What do you mean "plus it's delimeter= ?
 
DSM
@Martin: compare the line you just typed with the line I wrote. :-)
 
@DSM lol ok fair enough :P
 
DSM
@Joran: but to be fair, I usually betray my C background and do with open(filename) as fp:..
 
Oh shit
For some reason I thought it was like deli·meter be I guess it's more like de·limiter
 
bah I cant edit ... but above where i said /s/cython/cpython
 
5:21 PM
Okay so how's this? (sorry for pasting code again)
def export(self):
    with open(self.output_file, "wb") as file:
        writer = csv.writer(file,
                            delimiter=self.options['csv']['delimiter'])
        with self.products as prod:
            self.feed.append([
                prod.sku,
                prod.text['en']['name'],
                prod.text['en']['category'],
                prod.prices['sale'],
                prod.url,
                prod.imageUrl,
                prod.text['en']['description'],
                prod.text['en']['brand'],
 
DSM
Don't you need to write the header? And Joran has a good point -- if you're using Python 2, file probably isn't the best name for a variable. Not that it matters much, but it might raise some eyebrows.
 
why are you asking? does it run?
does it do what you expect?
 
if so then its perfect
 
@DSM Yes I need the header, that's what I'm asking about :/
 
Should I just do write like a normal file, then use csv.writer ?
 
DSM
@Martijn: I dunno about some of those. One of my most popular answers was me explaining what the P in the regex (?P...) stands for.. it can be useful.
@Martin: did you see my #3 above?
 
Wow I'm an idiot
 
@DSM Etymology is not on topic; it's people asking why something is named that way.
 
I (for some reason) thought you might need some special function for the headers. But there's no reason for that, since it's formatted the same as the data
Got it
Thanks for being patient guys
lol
 
5:26 PM
That's all very interesting, but keep that on the English.SE site.
stackoverflow.com/questions/12075057/… is borderline; it doesn't ask why, just for the name. So I'll leave it be.
I voted on it, but won't ask others to.
 
To dynamically import i used to use __import__ but if i remember correctly i shouldn't be using that since something new came. Is that correct?
 
Addon keeps removing fields from my database entries :|
 
TypeError: 'str' does not support the buffer interface ???
 
DSM
That's usually a sign you're using a pattern for 2 in 3.
 
5:34 PM
It's blowing at writer.writerow(self.options['csv']['headers'])
 
DSM
That's exactly the error you would get if you were using Python 3 but opened your file using the Python 2 style.
 
But I'm using with like you said :s
with open(self.options['output_file'], "wb") as out_file:
 
DSM
Let me try again. Which version of Python are you using?
 
3.4
 
DSM
...
 
5:36 PM
Ok
I just realized what you meant earlier
 
Heh
 
DSM
23 mins ago, by DSM
2: Then you'll need to open one, using open(filename, "wb") in 2 or open(filename, "w", newline="") in 3.
 
fwiw, with is valid syntax in 2.7 too. So "I'm using with" does not positively identify that you're using Python 3.
 
Okay well that's resolved
 
DSM
Hooray! The csv docs aren't bad, actually -- they're probably worth reading.
 
DSM
There's no way to guess the pattern changes otherwise, they're too obscure.
 
Yup I skimmed them but I guess I should've slowed down and absorbed them better
 
another satisfied customer. Now to determine for @user5061 whether there's something better than __import__.
I'm pretty sure I did see an SO question recently that used something else for dynamic imports. Maybe it was something from the imp library??? I'm pretty hazy on the details
 
@Kevin importlib.import_module()?
Just found it.
 
that sounds right, yeah.
 
DSM
I don't agree with this CV cull. Knowing what the name of something means seems pretty practical to me.
 
I will look it up a bit more, so that i dont waste your time.
 
DSM
Okay, and the second before I post that Martijn links one which does seem OT, but my view remains the same for most cases.
 
At this point, it seems like it would be easier to add "... And questions regarding etymology" to the site's list of allowable topics, rather than actually vote on all these :-D
I voted on all of them up until the one that had 25 points, and then I started to doubt whether I was executing the will of the people.
 
5:46 PM
Hello there.
 
DSM
I can't explain exactly where I'd draw the line, and why I'd close "Why is Python called Python?" but not "What does '86' mean in crazylib.odd_func86y?", but I feel there's a difference.
 
@Kevin now, now. Don't confuse popularity with on-topic-ness.
It's only 13 posts, and they are close to being done already.
 
DSM
@MartijnPieters: there may only be 13 so tagged, but there are lots of other questions not so tagged of a similar bent.
 
@Abdullah Welcome.
 
@Abdullah Cabbage :D
 
5:49 PM
Guys anyone familiar with Django? I have a question about deployment and WSGI.
 
Just ask.
 
DSM
Cabbage (roomspeak for "hello") to you, Abdullah, and you can read the room rules for a description of our customs. :-)
 
@DSM sure, but I was burninating and that means cleaning up the posts I found under that tag.
 
So I wanna deploy Django website with Nginx+uWSGI.

When configuring uWSGI I was blocked by the .wsgi module file (which most resources online mention without explaining as if it something straight forward and easy) (ex https://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html#configuring-uwsgi-to-run-with-a-ini-file)
I don't have it and I don't know where/how to find it (I'm using Django 1.7)
I this file generated when running the server? Or is it located somewhere?
Is*
I even tried replacing --module with --wsgi-file and pointing it to wsgi.py that is generated by Django when starting a new project, and when I did I got this error when running a uwsgi command: failed to open python file mysite/wsig.py
 
00:00 - 18:0018:00 - 00:00

« first day (1602 days earlier)      last day (3340 days later) »