« first day (3632 days earlier)      last day (1308 days later) » 

2:55 AM
cbg, can anyone tell me how(why)? this works foo.__call__.__call__.__call__(). I was under the assumption that the () only calls the last function in the chain (__call__) but it calls foo
 
 
3 hours later…
6:12 AM
@python_learner Sure, it only calls the last function. But there's no difference between calling x() or calling x.__call__(). They do exactly the same thing. So, naturally, x() and x.__call__.__call__.__call__() also do the exactly the same thing.
 
 
2 hours later…
7:47 AM
@python_learner x() is syntactic sugar for the interpreter executing x.__call__, which in return is x.__call__() in source code land.
Remember that the interpreter can internally do some things that the programmer can not, such as directly executing functions and methods without going through the Python-rules of lookup.
Translating these back to source code land leeds to some nonsensical, infinite equalities such as x() being x.__call__.__call__......__call__().
On a different topic: Did they change the code coloring on SO main?
 
@MisterMiyagi yes
 
It's hard to tell when there is no public outrage.
 
8:14 AM
Oh, thanks. So I was just late for the outcry.
 
 
1 hour later…
9:15 AM
Hey guys anybody able to assist with why this variable isn't displaying correctly in the html?
dpaste.com/HVE37H3FD this is the route all the prints are there to see the variables on server side
I have got all the variables as expected, however the total variable when being displayed in the html here: dpaste.com/CP7MNB7DA
for some reason when running the prints show total as 10000.0 but its displayed as 0
 
9:32 AM
What's the code for the template?
 
oh, I misunderstood the question. No clue, then
 
    {% set total = 0 %}
Is that supposed to be there?
 
@AndrasDeak damn missed that forgot i had put that there when trying to find another solution to another problem
Thanks man appreciate it been wondering why it isnt working and focused so much in the python route forgot about the template part
 
 
2 hours later…
11:56 AM
Got this error in my django server : *TemplateDoesNotExist at /*
*index.html*
Can anyone help?
 
12:29 PM
is there actually a linebreak between the / and index.html?
 
That's probably the base URL route that should return the template
For example in flask you'd define @app.route('/') and that would return index.html and you'd trigger the view by going to 127.0.0.1:5000. I can't remember how django projects are set up but have you got a "templates" directory?
 
1:02 PM
@roganjosh Yup I have a templates directory
@MisterMiyagi Yup
 
hm, google has a few hits for the issue. Did you try them?
 
@Aran-Fey @MisterMiyagi thanks for clearing that up
 
1:21 PM
@MisterMiyagi Yes , everything is okay in my case ,according to stackoverflow answers.But I am still getting the error :(
 
When you get an error it's usually a sign that something is not okay
 
1:34 PM
morning cabbages, all
 
Hooray! .. my problem got fixed
I should laugh at myself for such a stupid mistake I made**'DIRS': [BASE_DIR / "templates"],** I wrote "static" instead of "templates " lol
 
1:49 PM
@AndrasDeak I'm a big fan of the "everything works perfectly but I get this traceback" type of questions on main :P
 
must be a bug in python
 
2:10 PM
Perhaps "everything is ok" in such a context means "The program did not delete my database or order 144 cardboard cutouts of Danny Devito on Amazon using my credit card"
In the grand scheme of things, "everything is normal except my program didn't finish" really is OK.
 
the 2020 paradigm shift
"No angels with flaming swords today. Today was a good day."
 
"How was the drive?"
"Oh, it was fine. Took about 2 hours and I smashed into a tree"
 
"hardwood or softwood?" "softwood." "luxury!"
(Let me just fact check my own joke... "Softwoods are not necessarily softer than hardwoods". Dang it, arboreal classification system!)
 
Are there applications in python using fourier transformation ?
 
I tried using fourier transforms the other month to do one of those cool "circles within circles tracing out an outline of something humorous, such as rick astley" animations, but I couldn't wrap my brain around the 2d formula
There are almost certainly also more practical applications than drawing rick astley
Here is an example of what I'm talking about
And if there was any doubt at all about whether Python is up to the task, google also turns up Drawing with Epicycle (Code in Python)
 
2:33 PM
cbg
How did Saturday's digimeetup go?
 
I didn't attend because I think there's an old-school appeal to having no idea what my internet friends look or sound like
It's like we're on a usenet server in the pioneer days (◕‿◕)
 
I didn't attend because I was in Labour and Delivery ;)
 
I hear ya. Programmers are always laboring to deliver the next version.
But seriously. Could it be that a Toon Jr has entered the world? Exciting news.
 
This is the 3.0. So far a bit beefier than the first two. With similar at-launch features, although the sleep-mode seems a bit buggier than earlier versions.
@Kevin Cheers :) Yup, although when I was selecting dates on that form, I never thought he'd be arriving this late.
 
Kids these days don't know the value of punctuality
All they know is sleep, want milk, who's this hairy guy next to mom
Filling out a form for work... It's smart enough to guess my zip code based on my city/state, but dumb enough to strip the leading zero from it before putting it in the entry field
 
2:51 PM
Here is my Crappy Web Software story for today: My wife does online tutoring now, and was helping a 6th grader with her online homework, on density of materials. The online density-compute-o-meter that is part of the homework shows the density of the object as "0.40 kg/L", so to the question "What is the density of the object?" the student enters "0.40", and it is marked WRONG. I am brought in to consult, and we finally find the answer.
Can you guess?
 
My blame-o-meter is reading 1.21 jigga-scapegoats when I wave it over floating point numbers
 
The online worksheet only accepts "0.4" as a correct answer.
And the overachievers who add the units from the compute-o-meter "0.40 kg/L" are doubly hosed.
 
Ah, interpreting input as strings instead of numbers is one way to avoid floats.
Why is the compute-o-meter displaying 0.40 kg/L instead of 0.4 kg/L? I'd like to formally submit a ticket
 
@toonarmycaptain congratulations toon :) I saw your message briefly this morning and then immediately got called sorry
 
For the tutoree's benefit (over Zoom), I made quite a fit over how she was right all the time and it was lousy software that was impeding her educational career.
They should just use the Javascript version of "eval" on whatever the student enters.
 
3:02 PM
What could possibly go wrong ;-)
(answer: if the eval is occurring locally, not much, since presumably the student already has the ability to run arbitrary js using the debugger console)
(unless they're using some kind of custom locked-down browser)
Doesn't save the site devs much work, unfortunately -- they'll still have to strip units and stuff off of the answer before evaling it, to make sure that 0.40 kg/L doesn't crash with "unexpected identifier kg` or what have you
 
@Kevin I could probably help with that
@toonarmycaptain congratulations!
@PaulMcG they should use moodle
 
I understand the principle of epicycles reasonably well: x(t) = a * cos(b * t) + c; y(t) = a * sin(b * t) + c draws a circle of arbitrary position, radius, and rotational speed somewhere on the 2d plane. By adding together many of these components, you can link circles together. Using the right parameters, this draws rick astley.
Discovering the right parameters is the part I can't figure out on a cocktail napkin
 
that's what 2d fourier does for you
 
I thought that might be the case.
 
the messy part is probably fourier transform vs fourier series (with finite frequency components)
You'd probably need the latter. A lot easier conceptually.
 
3:12 PM
(oops, I meant y(t) = a * sin(b * t) + d. If you use c rather than d, then the circle is always centered on the x=y line)
 
The "linking circles together" is not exactly how I think about it, and I wonder if that throws you off somehow. It makes sense when someone plots it like that, but only because I know the underlying complex math.
scratch that, what you have is 2d real
I'd probably have to look up the specific math... I've never Fourier analysed a 2d curve.
 
I'm starting off trying to conceptualize the 1d equivalent, and then hopefully the 2d version will be a not-incredibly-difficult extension
Just swap the real numbers for complex ones, maybe throw in a euler identity or two, bob's your uncle
 
That's what I was thinking, but it's not as simple as that. 1d -> 2d would naturally generalize to the Fourier analysis of a 2d function z(x, y)
Whereas you want to decompose y(x) of sorts which isn't even a function. It's actually (x(t), y(t)).
Hmm, perhaps it's as simple as independently decomposing x and y, but with y shifted by a quarter period...
 
Yeah, part of my conceptual confusion might be coming from that general area. It's like, x(t) and y(t) are related, but I'm also free to choose differing differing parameters for parts of them, so they're also independent...
 
They absolutely are independent
What makes the connection is that the frequencies that make up the decomposition are fixed: you have a base frequency w0 and its upper harmonics, n*w0 for n natural numbers
 
3:20 PM
Oh, that's helpful. I was worried about having too many degrees of freedom
 
The only thing is that the "plot as sum of circles" thing might not be evident when you decompose both. In general, for harmonic n you have a term x_n(t) = a_{x,n} cos(n*w0*t) + b_{x,n}*sin(n*w0*t). And the same with other coefficients for y_n(t).
I'm trying to figure out with a bowl of stew in my lap whether we need to be tricky to get circles...
 
I guess I incorrectly assumed that x(t) would only use cos, and y(t) would only use sin
I suppose there's no reason to require such a separation, because as you say, sin and cos are just period-shifted versions of one another
 
That would be the straightforward way to ensure a circle in each term. But this would only work if x(t) is even in time and y(t) is odd.
If in one order you had x_n = a_{x,n} cos(w_n t) and y_n = a_{y,n} cos(w_n t) the two of these when plot together would lie on a line rather than a circle
so I'm starting to wonder if the plots we see with this are tricky to ensure that one is odd and the other is even as a function of time...
 
I wonder if you can do epicycle drawings with ovals... But that's a digression from the main topic
Actually that ties in with your "are the plots being tricky?" question. Are the artists specifically avoiding oval epicycles because they're ugly? Or is there some property we haven't noticed that make circle epicycles the only viable solution?
 
OK, the Homer video you linked is completely general, so there has to be a general thing I'm not noticing
If I had time to write this down I'd start from the circles' viewpoint. Assume there is a synthesis in the form of (x in sines, y in cosines, both with an optional but same starting phase), and expand that and try to show that they can construct any signal.
 
3:30 PM
Maybe it has something to do with the fact that sin(x) + cos(x) can be rewritten to use only one sine call and zero cos calls
The internet tells me it comes out to sqrt(2) sin (x + pi/4)
Or, hmm, is that only useful if a_{x,n} equals b_{x,n}...
 
I think it's about sin(x + phi) = sin(phi) cos x + cos(phi) sin x; cos(x + phi) = cos(phi) cos x - sin(phi) sin x.
@Kevin close, yeah
You can construct x_n = a_{x,n} cos(w_n t) + b_{x,n} sin(w_n t); y_n = a_{y,n} cos(w_n t) + b_{y,n} sin(w_n t), with the constraint that, uh, a_{x,n} = A*sin(phi), b_{x,n} = A*cos(phi); a_{y,n} = A*cos(phi), b_{y,n} = -A*sin(phi).
So there's some restriction on the coefficients
It seems you only get circles if x_n(t) = a_n cos(w_n t) + b_n sin(w_n t); y_n(t) = b_n cos(w_n t) - a_n sin(w_n t).
Not sure how much this restricts the Fourier decomposition, but I'm reaching the digestive coma stage of my meal...
 
Well, I already feel like I have a better grasp on things than when I started, so your coma is well-earned by this point
2020 hasn't had angels of the flaming sword variety yet, but now I'm dreaming of wheels within wheels...
 
there's a nice tumblr thread circling about that...
 
I may have seen the one you're referring to, during my tumblr lurkings
 
3:44 PM
There's a reply to that post that's like "what if there are both cutesy anime girl angels and fiery eyeball wheel angels in the same setting" and someone replies with a drawing of the two of them holding hands* with the caption 'they're girlfriends"
 
Ah, yes. Peak internet.
 
(*or more precisely, holding hands-and-fiery-protuberances)
Very on-brand for Tumblr
There is little biblical support for anime girl angels because IIRC even the human-looking ones are gender-neutral or assumed-male by the narrator
For example Lot was confident enough his guests were dudes that he tried to hook them up with his daughters
Or maybe I'm getting two of the acts of that story mixed up. Anyway.
 
I'd be willing to accept that those dudes were badly prejudiced. Wonder how much they'd have unconsciously objected to women being in positions of power.
 
Imagine you're Jacob chilling in the desert and this beautiful stranger comes up and is like "yo let's wrestle" and they're so dang fit that even in round 50 they're energetic enough to dislocate your hip like it's no big deal. You've got to think "dang but this is the manliest man to ever man"
And there's no way you're saying it was a woman in the scriptures because your wife is going to zero in on that right away and say "you were 'wrestling' until daybreak, huh?" and then you're sleeping on the couch for the rest of the pilgrimage
(correction: s/wife/wives. Four times the scorn!)
 
Sometimes I worry about you, Kevin :P
 
4:00 PM
Imagine someone hauling a couch through the desert just so they can sleep on it
 
These are but the smallest of my idiosyncracies
 
@Aran-Fey If anything, it would seem to be an improvement in circumstances to have to sleep
 
If I'm patriarch of my people, you bet your bottom dollar that I'm going to make my least favorite relative carry my couch
 
Ok people, let's remember to never put Kevin in a position of power
 
4:02 PM
I'm imagining a scene similar to the Persian ruler in 300 but on a couch
 
...oh wait, it's already too late
 
Kevin has removed all other ROs from the RO list
Just kidding. Please don't make me enforce room policy on my own ;_;
 
Kevin has edited the room rules and put Aran-Fey the couchbearer on the couch
 
I don't want to be king, I want to be the king's brother who has almost zero chance of taking the throne, freeing up lots of time to hunt boar and look for holy relics
 
that's only a safe life as long as the king lives
 
4:06 PM
It's OK, the king has three healthy sons and odds are low that they'll all poison each other simultaneously
 
That's why you need the relics, to bring protection and longevity
 
Treachery uses a turn-based priority system to avoid such deadlocks
 
Probably best to just lock them in different towers to be on the safe side
 
Ugh, you sound just like my Lady wife, always telling me I'm "too full o' the milk of human kindness", and why don't I pop down to the corner store and pick up some ear poison for the king's visit...
(Wait, that's Hamlet. Revision: why don't I pop down to the dagger store and pick up some daggers...)
 
4:14 PM
"pop down to the shops" - classic Shakespeare. He probably invented the phrase
 
In a pandas object series -- how can I drop a row if it breaks continuity. As in: x,x,x,y,x,x,x So I need to drop 'y'. Problem is y is valid value elsewhere in the series and 'x' might have to be dropped in that range : y,y,y,x,y,y,y ; here drop row with 'x'
by object series I mean str data type in pandas 0.23
 
@pyeR_biz do you mean "drop a row if not all values are the same in it"?
 
@roganjosh I mean... Maybe. The earliest citation Wiktionary has for "pop" as in "To enter, or issue forth, with a quick, sudden movement", is, you guessed it, Shakespeare. "He that hath . . ./ Popp'd in between the election and my hopes."
 
@AndrasDeak the series is a column -- we are checking in a column
 
The more specific "(intransitive, Britain, Canada, often with over, round, along, etc.) To make a short trip or visit. " has no citations at all unfortunately
 
4:20 PM
Are there only ever 2 values in the column, at most?
 
@pyeR_biz ah... so what defines "continuity"? Do you want to end up with a single homogeneous column? I smell insufficient specifications.
 
Also, it's only a single value that is considered to break continuity? What about xxxxyyxx?
 
that's a plot hole
 
@Kevin popp'd to ye olde shoppe?
A slight anachronism because I'm not sure how he'd know he was living in the olden days. That's foresight for you
@pyeR_biz I have a pretty good idea how to implement the question as stated, but you'll need to clarify these questions before I put finger to keys
 
"ye olde" started trending around the 1850s apparently. I guess stuff just wasn't old enough until then.
 
4:24 PM
May be I should narrow the problem case down to : if xyx then drop y. xyyx if fine.
* xyyx is fine
 
4:35 PM
Sorry, had a phonecall.
import pandas as pd
import numpy as np

df = pd.DataFrame({'a': list('xxxxxyxxxxyyxxx'),
                   'b': len('xxxxxyxxxxyyxxx')})

df = df[np.where((df['a'] != df['a'].shift(-1)) & (df['a'] != df['a'].shift(1)),
                 False, True)]
 
What if xy occurs at the start or the end? Should it be dropped?
 
Good point, my solution won't catch xyyyyy, but could be made to
len('xxxxxyxxxxyyxxx') was silliness, I could have just put an int in there :P
 
What should xyxy become?
Or, relatedly, xxxyxyxxx? You can reduce that to a no-single-interruptions string by either removing two ys, giving you xxxxxxx, or by removing one x, giving you xxxyyxxx
A one-pass approach might even do both, giving you xxxxxx
I wonder what the big-O complexity of "choose whichever solution has the longest result" would be...
 
@roganjosh Thank you.
 
No worse than O(N*(2^N)) I suppose, since you can brute force it
 
4:49 PM
@Kevin Thanks for these questions. Luckily, at least for now the physical process that I am trying to describe with the program doesn't have all cases. But I'm still trying to look for other ways to reach my end goal.
 
@roganjosh side note: df[~((df['a'] != df['a'].shift(-1)) & (df['a'] != df['a'].shift(1)))], I suspect
written out in 2 or 3 lines, mind you
 
Ah, indeed. Been a long week, but that's a very valid point
I wonder if that's slower despite being more concise
I'll have a test. Sometimes I'm quite surprised with the overhead going through Pandas can add even in simple cases
 
you are generating the exact same bool Series, just with an additional function call
 
Yeah, but that function call goes straight to numpy, which is the bit I'm curious about
 
No it's 1.bool series -> np.where -> numpy bool array vs. 2. bool series -> bool series
Yeah, I guess if Series.__invert__ is a lot slower then it could be worse, but I never liked np.where, partly because of impressions of overhead.
in any case a test should tell
 
4:57 PM
I suspect your approach will indeed win. I'm betting against myself before I start but oh well
There's nothing in it for 100,000 rows but yours starts pulling ahead on 1 million
145 ms ± 2.34 ms to 165 ms ± 17.2 ms
 
well, we're still talking about 0.02 seconds..
 
5:59 PM
Encountered a fun little form today -- I filled in twenty fields, submitted, and it replied with "you must fill in values for 20 more field(s)" and returned me to the form, now empty. Turns out I have to click "save and preview" in between each and every field.
 
Nice
 
This form happens to be one that, if I submit it, I am entitled to cash rewards from the service. It's almost as if they want me to fail to fill it out until the offer expires...
Nah, probably a coincidence
Hmm, "field 'spouse' may not be empty". Hey Andras, have you ever wanted a green card...?
 
<cough>
 
@Kevin what's your policy on polygamy again? Non-stoning type, right?
 
I mean, talk about being kicked to the curb. It's fine. I'm not hurt. I guess you like the challenge of the married guy. I get it. I'll just go back to the main feed.
 
6:08 PM
Oh, how rude of me. Roganjosh, will you... Videotape my and Andras' sham wedding?
@AndrasDeak I think there's a loophole if the rules are worded as "you can only have one wife; you can only have one husband"
 
Sorry, there's a squished fly on the camera lens so I'm out of business for the foreseeable.
 
@Kevin hehe
I'm sorry to say these might not be the ideal times for me to elope into the US
 
Oops, call the venue and cancel. I figured out how to make the spouse field optional.
 
... I was already writing a script to seat the guests 1.5 meters/5 feet apart
 
6:30 PM
On my part, I had a long lists of guests where, for any guests A and B, A may express one of the opinions {I must sit next to B, I must not sit next to B, no preference}, and we would have had to find the seating arrangement that satisfied the most preferences
 
I could do this in excel pretty easily, but having a hard time in python:
#excel
where C2 = 1
C3=IF(B3=B2,C2,C2+1)...
C4=IF(B4=B3,C3,C3+1)...

#Python
df.loc[0:0,'C'] = 1
df['C'] = np.where((df['B'] == df['B'].shift(1), df['C'].shift(1), df['C'].shift(1)+1))
 
0:0 is empty
Just use 0
 
Are you trying to initialise the whole column to 1?
 
yeah, that won't work like that
Can't vectorise dependent iterations
 
There shouldn't be a need for the first step at all if that's the case, the assignment in the second line should be enough
Ah hold on, yeah, it looks like you want a rolling window
 
6:35 PM
they want (B doesn't change).cumsum()
 
@roganjosh just the first row
 
Again, before I start working on that, please see how I made a copy/paste example here
I have a pretty good idea of what you want but make the self-building dataframe code and give a clear indication of the expected output
There's a reason that you were being asked by multiple people earlier about corner cases - there's an awful lot of wasted effort on SO when the OP turns around and goes "well, yeah, but what about {x}?"
 
I understand
 
user13415013
Guys do you know any reason, when scraping, using scrapy It misses some element
 
6:42 PM
@nerd crystal ball: a bug
 
The #1 reason a web scraper misses content is because it's dynamically loaded
 
user13415013
I am scraping stackoverflow, and getting all votes correct but 2 ,3 question gives nothing
 
@AndrasDeak But it works perfectly except that it misses certain elements
 
user13415013
@Kevin , how to solve it?
 
Selenium, or an API if available
 
6:43 PM
doesn't SO have an API you can use for that?
 
Why are you scraping SO? Kevin'd, see ^
 
user13415013
:D, Its a suprise to you guys, I am making projects on machine learning , a very cool
 
ThiefMaster is wise
 
user13415013
@Kevin, selenium, I used but it requires alot of things, like browser drivers it is messy
 
user13415013
I also wanted to use code for reproduce to other, so i didnt used that
 
6:45 PM
That's why APIs are better if one is available :-)
 
user13415013
@Kevin :) , Can we get all queries publicly on stackoverflow api
 
The API is here
 
As in, can you see all the queries that everybody else is making to the API? I don't think so.
 
It's up to you to decide whether it gives enough info for your purposes, not us. But starting scraping before you've reviewed the API is terrible practice
 
Or are you asking whether you can see all the questions that are being asked on the site? I think you can.
 
6:49 PM
Some things are not available through the API, such as user tag scores. But 95% of stuff are available.
 
user13415013
My future problem is I have to query all stackoverflow questions when a user searchers a question and i have to match it with all question available to input question
like if in one shot, I would get all Python question , Its link, (with only having answer) .
 
user13415013
So i have to repeat that thing again and again if person searches
 
user13415013
do you think api would handle it ?
 
@nerd until you run out of quota
 
How would scraping handle it? Isn't a user's search private to them in a web page?
 
user13415013
6:53 PM
using scraping I am saving all Python question on a database, but that thing occured
 
Hmm, I tried /2.2/questions?page=1&pagesize=10000000000&fromdate=2678400&todate=1600992000&order=desc&sort=creation&site=stackoverflow but I don't think it likes that I'm asking for ten billion results
 
@roganjosh I think they mean that the user searches through nerd's service
 
if it's through their service, why do they even need to scrape?
 
search through their service so that the backend can get the info from SO
@nerd whether scraping or API, "get all python questions" is not something the server will give you easily. That's an insane amount of data.
storing them yourself in the database is a lot more sustainable model, I suspect
 
api.stackexchange.com/docs/search says its search capability is " intentionally quite limited", probably so that you can't easily write your own illegal(?) mirror of the site
 
user13415013
6:56 PM
:) , I was thinking so at first, then realize i have to do some filters and should be saved to database.
 
@AndrasDeak ah ok, I'm up-to-speed. Thanks
 
@Kevin with CC-BY-SA it's actually legal to copy it as long as you attribute. You can download the data dump.
data.stackexchange.com can do some pretty serious heavy lifting magic with a one-week-old database (but you have to know SQL for that)
 
I put the question mark there because I know the license is fairly friendly, but I also know that SO clones that poorly copy everything occasionally get taken down
 
@Kevin only because there's no attribution
(hence "poorly"; I just like stating the obvious)
 
Ok, makes sense.
 
user13415013
6:59 PM
Guys, then only Selenium would be choice if proper data is not scraping?
 
Revision: "probably so that you can't easily write your own mirror of the site and legally redirect those sweet advertising dollars away from StackExchangeCorp"
 
@nerd I don't understand the question but the likely answer is "no"
@Kevin since you can download all of SO, I think it's more about not letting people use too many CPU cycles for free
 
Getting every question using regular old scraping would probably take a very very long time, and the administrators might even notice what you're doing halfway through and block you
Dare I ask, how do you download all of SO?
 
Not to mention that this whole discussion is on the back of not actually seeing any code, so we can't rule out that their code is just broken
 
There you go @nerd, every question in one easy package
 
7:01 PM
that probably gets published once a year, though
 
A mere 15.6 GB for SO posts, and 31ish GB on top of that for revision history, user data, etc
 
a combination of data dump + time-bracketed queries backed up to a database would probably be a prudent way to manage this
 
Updated quarterly, if Meta is to be believed
^^ Yeah, I'd go with dump + weekly queries
 
user13415013
@Kevin Thanks but not understand, I am sticking to scraping.
 
And then you just have to Do MaChiNE lEaRNiNg to all that data. Here's hoping those free servers will hold out.
 
7:04 PM
Lol
 
user13415013
Scrapy consists settings to download delay if it helps, thanks
 
Do what you want, but keep an eye on your bandwidth bill ;-)
 
user13415013
@AndrasDeak, Yed :D I am doing that , Its a suprise,
 
Thanks for taking up our time to understand your problem @nerd just to drop the suggestions because you don't understand them
 
@nerd seems like one of us is paying less attention here
 
user13415013
7:06 PM
No, I am attending, but some talks isnt comprehendable
 
Then ask questions about it, don't just drop it. Why did you come here if you weren't expecting some information that you didn't already know/understand?
 
user13415013
I was banned from asking question, I was just asking about, why?
 
now there's a surprise ;)
 
I endorse "ask questions about it". I don't expect anyone to immediately understand how to work with the data dump I linked to. I start by showing the general direction, but I'm still willing to help with speed bumps along the way
 
user13415013
If a user cannot demonstrate, after asking a reasonable number of questions, that their contributions are making the site better (or at very least, not making it worse)
 
7:09 PM
(provided that I actually know how to resolve the speed bumps, which is not a sure thing when it comes to, say, db stuff like this)
 
user13415013
guys, I'll be back , bye
 
And now open threats? ;)
hmm, that might be a Hungarianism
 
Incidentally, I know that there are trousers that loggers can buy that chew up chainsaws and stall them. Don't know why I've just thought of it. I think it's a Canadian brand
 
Yup, right there with finger-proof tablesaw breaks brakes (actually both)
 
@AndrasDeak It doesn't read like an idiom to me, but it's still humorous
 
7:13 PM
google hits are too specific for it to be an existing idiom
I probably meant an overt threat
 
Compare to the idiom that's the logical inverse, "don't threaten me with a good time"
 
@AndrasDeak It does make sense to me, but it would suggest some kind of shouting vague things
It's possible that there's a UK/US divide on it, but it's something I might actually say myself
 
"I might actually say myself" isn't exactly reassuring, you know
 
I think the average USian reader will correctly interpret "open" here as "overt"
 
user13415013
Oh guys, I was wrong @AndrasDeak, Actually That was my bug,
 
7:15 PM
Rather than "open-ended" or whatever
 
@AndrasDeak our sham marriage is off. You didn't know about it but I have charts and everything. The seating plan was already sorted. Anyway; it's over.
 
@Kevin good to know, thanks :)
@roganjosh I'm not the one with the green card!
 
Open threat: "I'm going to hit you with this here two-by-four"
Open ended threat: "I'm going to hit you with an object of your choice from my Wall of Implements"
 
user13415013
You all guys are from Usa
 
I think the US has the plurality but not the majority here. In other words, we've got quite an international crew.
 
user13415013
7:18 PM
yeah,
 
My instincts tell me that India is #2
 
@AndrasDeak Yeah, but we're leaving you guys behind. Wouldn't you like a bit of the tasty Stronger Britain (insert some actual yamming slogan here, I chose not to commit them to memory)?! Well, it's gone!
 
user13415013
:D, i'm not from india , but india have alot of population
 
user13415013
ok guys, bye, I will come after some days
 
user13415013
:)
 
user13415013
7:24 PM
Thanks guys for voting, I've now unblocked , bye :)
 
👍
 
Floodgate?
 
Oh my
 
 
2 hours later…
10:03 PM
hi
 
hello :)
 
Hello everyone. I'm looking for a Python library that will take a command string and break it up into its components. No, this is not for creating a commandline app so no argparse. For example rm -fr / would be the string and the library will break it up into rm, -f, -r, and /. So I can then do analysis on the structure of the command.
 
can i ask something about django ?
 
@KokHyvv Sure. Please make sure you've reviewed the room rules first, though
 
thanks , i have read the rules
 
10:16 PM
@crypticツ click? I don't think I follow
 
@crypticツ shlex.split gets you pretty close; all you'll need to do manually is expand -fr into -f -r
 
Yeah, I'm way off-base. Rbrb :)
 
my question is , i have a blog okay , i can add new post from admin panel and give it name,url,img, small description then it appear in some html page and any user can click on img to read full article okay ( take him to other html page ) , so what i want to do is create the full article from admin panel and add it to post that i have created before , also i don't wan't create manully html page then go to urls and view.py and add it by my self
i want add post and full article from admin panel then django add it by auto to urls and views or without add it to views, just i want do that from my admin panel by auto
how to do that
 
Drive-by remark: are you essentially creating a CMS (content management system)?
 
@AndrasDeak no
But if i can why not
 
10:34 PM
cbg
 
@CupOfJava
do you speak with me ?
because i don't understand what you say
 
10:49 PM
@AndrasDeak ok fine ,thanks
 

« first day (3632 days earlier)      last day (1308 days later) »