« first day (3443 days earlier)      last day (1520 days later) » 
00:00 - 18:0018:00 - 23:00

6:01 PM
My equations are flawless and my plans cannot be stopped, except by three to five adventurers of level 14 or above
 
@JonClements anyway, you need to message me your github details so I can add you to my Beatroute repo. I've been sitting on that name for ages for my vehicle routing library but that'll be years in the making so I'll just use it for this little app :)
 
Thanks for your help everyone! Really super helpful! See you again soon! Stay safe!
 
@Johnston ditto!
@Kevin I'm sure a questing beast with an embercleave and all that glitters might be able to sort that one out :)
@roganjosh first three letters of my first name and last name
 
@Johnston So use a salt with your auto incrementing counter & hash it, or encrypt it. This is similar to AES in CTR mode: en.wikipedia.org/wiki/…
Of course, rolling your own crypto is never a good strategy. ;)
 
@JonClements Thanks, done. Gives me something to work on over the weekend :)
 
6:12 PM
kind of reminded of a post I commented on... the OP when they deleted an entry in Django wasn't happy that if you had IDs 1, 2, and 3; then if you delete ID 2, ID why didn't ID 3 go back to to ID 2 so there wasn't "gaps"
 
AMC
Alright, that's it, I gave up, I'm writing a canonical/reference answer for the whole "trying to scrape dynamically generated content using Requests/urllib" thing. Is there anything that you feel I should include, and is there a way to get feedback on the post once it's done (without publishing it)?
 
@AMC shove it in pastebin/gist and if anyone wants to take a look - they can?
 
AMC
Good idea.
 
@roganjosh accepted - thanks.
 
wow that's a fast reply
bdw cbg guys
 
6:14 PM
@anky_91 cbg
 
On my wishlist of SO features, there is "semi-private draft space for questions you haven't yet posted"
Pastebin is a reasonable stopgap but you don't get to see what the final result will look like with formatting and embedded images etc
 
@JonClements thanks for being always receptive :)
 
not always - but one can try :)
 
ha ha , one can understand...
 
@roganjosh Got a call booked in with the client on Monday - so hoping to push a little bit then
 
6:17 PM
@Kevin We might get some kind of sandboxing feature like that. Mainly so newbies could be mentored before subjecting their questions to the full force of the main site(s).
 
@JonClements I'm hopeful to have a decent skeleton up by then. I've gone to sit outside somewhere with public wifi to push the first commit and dumped just about everything from static on my main app in so it'll be easier for me to push updates now; subtract not add :)
In other words, it's messy and I didn't get to make a start until after work because I ended up getting caught up when I went in the office
 
6:33 PM
Turns out my pytest problem is a bit more involved than I thought. It's a bit hard to explain, so I made a small illustrative example. Would appreciate any input, because the only solution I could come up with so far involves functools.lru_cache and dynamically storing classes in the globals
 
6:52 PM
cbg patch
I'm trying to take a cross-tabulation i did before and generate a bipartite graph from it.
It's like
A B C D
1: 0 2 1 4
2: 0 0 3 0
3: 0 0 0 1
I have a df that has ABCD as the columns, and 1 2 3 as the rows, but I'm not quite sure how I'd save the row and column names if I turned it into a scipy sparse matrix and used the networkx built in from_biadjency function. Alternatively I can just generate tuples like ('D',1,4) but how would I generate this list of tuples?
and just in case to be clear, the crosstab is at this point in time actually just a dataframe. It's imported from a csv so if there was a crosstab class and unique attributes for a crosstab it wouldnt be here by default
 
it might help if you turned that 3r-w example into the corresponding example dataframe
ugh, I meant 3-row
Plus an example output because I'm not even sure what your table represents (but it's been a very long day)
 
7:14 PM
one sec, i was working with info cant share, ill just prep that exact example quickly
 
sure thing
I'll be on and off anyway
 
fresh cbg all
 
is there still a badge when you get a star in this chat? it's not listed but i see some people have it
 
it's 10 stars I think
 
that's way too much, there's no way i'm sticking around that long
you have it @Aran-Fey and it's 10 messages, one of which is starred
 
7:54 PM
if a poster selects an answer that doesn't answer the question. and there's another answer that does, is there any way to mark it for review and get the right answer selected?
 
@Todd no
 
that's unfortunate
 
@Todd Hopefully, future readers are smart enough to look at other answers as well as the accepted one. ;)
 
this guy answers a question that asks how text parsing can be done, and just says "please use regular expressions"
and my answer gives details on how to use them, and even the expression that can parse their text.
 
AMC
@Todd I agree, not pinning the accepted answer would be a decent solution too.
 
8:04 PM
pinning?
 
The big green check mark on the accepted answer is an integral part of the Stack Exchange system, and how it works it's unlikely to change significantly. But most long-term members realise it has various flaws. At least they changed it a few years ago so that an accepted answer to a self-answered question no longer floats to the top.
 
oh. you're talking about how the feature works. I thought you were mentioning some feature where a selected answer could be unpinned somehow.
 
@Todd pinning like message boards
 
Consider: the OP is often the least qualified person contributing to a page to evaluate the answers there. Some OPs don't even bother testing answers before accepting. And some OPs have publicly stated that they upvote every answer they get, just to thank the person for answering.
 
yeah.. i guess i underestimated this poster
 
8:09 PM
@Todd Yeah, I was just saying that self-answers aren't pinned.
 
oh well
 
When I read old questions, I often switch to the Active tab, in case there are newer answers that supersede the old highly voted ones.
 
@AndrasDeak what's your situation now? We're down to just guesstimating qualifications pre-uni (qualifications for 16-yr-olds and 18-yr-olds) when it comes up, but I don't think Unis have declared how it's gonna work
 
@roganjosh we've been working all week on preparing for remote learning starting Monday. Theme:
 
@AndrasDeak oh man; I can understand the exhaustion, then. Good luck mate
 
8:16 PM
thanks
 
8:35 PM
that dog is me
 
@AndrasDeak sorry about the delay, when we were talking someone had incorrectly told me a meeting had been pushed back an hour
heres the df
data = np.array([[0, 2, 1, 4],[0, 0, 3, 0],[0, 0, 0, 1]])
pd.DataFrame(data=data,index= [1,2,3], columns= ['A','B','C','D'])
 
@anonim please see our code formatting guide to chat and practice in the sandbox if necessary
 
AMC
@PM2Ring Consider: the OP is often the least qualified person contributing to a page to evaluate the answers there. Unfortunately I've only seen that brought up maybe once or twice.
 
8:56 PM
@Skyler and expected output?
 
9:40 PM
So it appears the state will guarantee 80 pct of a salary if they don't let employees go
With that and other bits - must be up to well over 500 billion now
Apparently this little island still makes 2.1 trillion a year... still a lot for the state to do though
 
user6568562
cbg @JonClements
 
user6568562
Which island ?
 
AMC
10:27 PM
As someone suggested, I shared a draft/WIP version of the canonical/reference web scraping dynamic content QA: pastebin.com/V9N2XgsU
You're more than welcome to take a look :)
The answer itself is quite short, I'm still trying to figure out exactly what it should cover.
 
00:00 - 18:0018:00 - 23:00

« first day (3443 days earlier)      last day (1520 days later) »