« first day (2859 days earlier)      last day (2094 days later) » 
03:00 - 15:0015:00 - 00:00

3:53 AM
Cabbage

Nice answer there @AndrasDeak https://stackoverflow.com/questions/51801498/creating-surface-of-points
 
 
3 hours later…
7:12 AM
cbg
Does anyone know how you select all the text in the iPython console in spyder 3.2.8 please? And is it considered bad practice or ok to swop between using ' and " for surrounding strings in python?
 
7:54 AM
cbg-morning
 
 
1 hour later…
jpp
9:07 AM
 
cbg room6, I am distraught. I was told using yield in favor of accumulators would save space and time, and using yield from to delegate generators would skip function calls and what not. Behold exhibit_a.py:
def flatten_1(l):
  acc = []
  for e in l:
    if isinstance(e, list):
      acc += flatten_1(e)
    else:
      acc.append(e)
  return acc

def flatten_2(l):
  for e in l:
    if isinstance(e, list):
      yield from flatten_2(e)
    else:
      yield e

test_1 = [1,2,[3,4,[5,6,[7,8,[9,10]]]]]
$ python -m timeit -s "$(cat exhibit_a.py)" 'list(flatten_1(test_1))'
100000 loops, best of 3: 3.35 usec per loop
$ python -m timeit -s "$(cat exhibit_a.py)" 'list(flatten_2(test_1))'
100000 loops, best of 3: 3.65 usec per loop
the simple accumulator is faster, anyone knows why? The generator implementation looks like a straight forward improvement as far as I can tell
 
brief cbg
@Arne there's an overhead of yielding and resuming state that's kept...
 
jpp
Yeh I think those next calls are expensive, e.g. see stackoverflow.com/a/3904534/9209546
 
my assumption was that is cached in a way that there would be no real loss. guess i was wrong =(
 
Kind of similar:
In [28]: r = range(1000)

In [29]: %timeit list(r)
13.1 µs ± 228 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

In [30]: %timeit list(el for el in r)
51.6 µs ± 261 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
 
9:26 AM
alright, so if I always want to put the result in a list, turning my functions into generators can make things slower.
 
jpp
stackoverflow.com/questions/51837752/… Unclear. ~20 comments and still no clear question.
 
that's good to keep in mind in case I desperately need to improve speed
 
The trade off is whether you want to consume results as it goes and potentially stop rather than consume the lot into a list and decide you didn't need it all... If you're always going to need it all then return a list... if you're going to iterate over it and check things and stop, use a generator
 
@JonClements Writing generators is still my default case
But it's good to know about the caveats
 
jpp
@Arne, I often find the same problem as you. I have a function which returns a generator. Sometimes I want to exhaust it; other times I want to iterate it. Seems like a natural requirement, but it appears in Python you have to differentiate these explicitly if performance is important.
 
9:37 AM
@jpp can't believe you've got nearly 60k rep in 7 months :)
 
jpp
@JonClements, Others have done it faster :). But, really, I'm slowing down. Naturally, getting bored of dups :).
And, more to the point, I'm more familiar with the canonicals.
 
Think I aimed for a Python gold badge and getting to 20k (the last rep. of any goodies) was quite quick but took it a lot slower then onwards...
 
jpp
My aim is 100k and then be philanthropic beyond that: answer where I can add genuine value, by which I mean answers that are different to the norm/expected; give bounties to interesting questions to keep my rep at 100k.
that way, I stay interested, and hopefully continue learning!
 
@jpp that sounds like a healthy attitude :)
 
seems like I am ahead of the curve, I slowed down before reaching my goals =D
one day I'll to 10k though
 
9:50 AM
it'll happen naturally I'm sure
 
jpp
Yep, I have to say, though. It is much tougher for new contributors. The generic questions are all done in canonicals. You have to answer focused questions and more frequently. The building blocks are (pretty much) all covered, so you are left with how to apply them.
New Python features are quickly pounced on by canonical writers too, more competition for these as community grows.
Not necessarily a bad thing, if you prefer answering application-based questions rather than conceptual.
 
maybe I'll get into Julia, now seems like a good time
lots of potential rep there!
 
I keep meaning to have a proper with play Go...
 
10:36 AM
@ReblochonMasque thanks, I'm still waiting for OP's final response to where their error may be coming from
 
10:54 AM
cbg
 
cbg
@JonClements could you fix that dype size warning?
 
Node is such a mess.. >_<
 
I thought node is JS :P
 
Node is worse than JS
 
11:04 AM
Sounds great
My only piece of knowledge concerning node i.redd.it/tfugj4n3l6ez.png
 
I just tried contributing to an Angular project. So I cloned the repo and tried a npm install. It failed and I had to setup a PYTHON environment variable so that it can compile stuff. It failed and I had to fix that PYTHON env variable to point to Python 2.7 instead because Python 3 apparently doesn’t exist long enough yet. And then I was spammed with lots of compilation errors in C…
…\node_modules\@firebase\firestore\node_modules\grpc\deps\grpc\t hird_party\boringssl\crypto\asn1\a_object.c(196): error C2065: 'ASN1': undeclared identifier […\node_modules\@firebase\firestore\node_modules\grpc\build\boringssl.vcxproj]
^ for example
Because yeah, apparently in order to run a Node JavaScript tool, I need to have Python 2 to compile native C code.
 
I'm sure there are dozens of posts on SO to help fix :>
 
I have a negative interest in trying to fix this just so I can install a dependency of a dependency of some dependency of this project, just so I can contribute to it.
 
@poke none of that sounds right
Any chance the JS guys can give alternatives?
 
I just don’t care anymore tbh
 
11:09 AM
:(
 
Already deleted the repo again that I actually had to download over tethering my phone’s data connection.
 
how so?
 
rm -r? – How so what? ^^"
 
how so "had to download over tethering" :D
 
The guest wifi sucks here, so I have to tether all the time for this machine.
 
11:16 AM
:(
 
The other machine (that I do most of the actual work on) is connected via cable
 
is there a MAC filter, so you can't just plug the cable into the other one?
 
@AndrasDeak apparently it's to do with pandas building againts one numpy thingy or something... everything I can tell is "it's a warning - not an error - ignore it"... and one of the guys locked the github thread it was being discussed in to avoid more "fuff"
 
:|
it's probably an older version of pandas with a newer version of numpy, or something
 
Hi
Am I free to chat about anything I like here, or any restrictions that it must be related to python?
 
11:24 AM
Welcome, room rules
 
Welcome. Primarily python ^
 
Does somebody know about eigenvectors and the numpy.linalg package?
 
somebody does
somebody always does :P
 
jpp
I would wager the person who wrote the package knows about them. At least I hope :)
 
Lol okay anybody in this room right now?
 
11:28 AM
How about you ask your question and we'll see if anyone can and is willing to help?
 
I got a question regarding the numpy.linalg.eig function
can I get not normalized eigenvectors meaning they have integer components like the eigenvectors you would compute by hand?
 
the eigenvectors you would compute by hand could be equally normalized :)
But short answer is no.
you can divide the eigenvector with the smallest nonzero element and hope that you get rational numbers
 
Thanks I will try that!
 
just watch out not to divide by 1e-15 because that won't give you what you want ;) So don't take "nonzero" too literally
and of course you can easily end up with multiples of sqrt(2) or sqrt(3) or anything (rather than rationals)
 
is 1e-15 the smallest machine size number which is still disginguishable from zero?
 
11:34 AM
no, it's near the machine epsilon
that's the typical magnitude of numerical errors when working with doubles, so theoretical zeros can become +-1e-15 or similar magnitude (depending on the number of arithmetic operations)
 
Ok thx. Yeah probably in most cases the method wont give pretty integer numbers but I have a specific excercise where this does work.
 
you should probably be safe and consider anything under 1e-12 (in absolute value) to be zero
@philmcole OK :)
 
Okay thanks a lot for helping!
 
no problem
 
My problem is kinda weird, you'd laugh if I told you what it was
I'm getting bored....
 
11:42 AM
this is probably not the right place to entertain yourself when you're bored
 
I learnt python a few weeks ago and can do good command line programming, I'm just learning pygame - I know most of the basics of that too and even made a small shooting game. It's just that I wanna program but don't have something challenging enough to do.
 
there are several programming challenge sites out there nowadays
it's still a bit like playing pingpong with yourself, but at least there's some direction to work for
 
True... but you know.. playing ping-pong with yourself is just as boring...
 
yeah, I know, but it can help with your form ;)
 
Could you give me a small kinda challenge? That way, I could interact while doing it
 
11:46 AM
Side note: I noticed in your profile that you learned python from w3schools. There have been some concerns that they sometimes don't know what they're talking about. Depending on where you're now, you may benefit from the official python tutorial :)
 
@Andras w3schools vs lpthw - wonder which is the devil and which the deep blue sea :p
 
I'm still in 9th grade - I don't know if I really need to learn all that stuff. And by the way, what's the official tutorial
 
just make sure to use the python 3 version, forget about python 2
 
Yes yes... No doubt about that... but the w3schools tutorial was good - at least for python. It at least gives you an idea about basic python
 
Did it teach you about arrays? :)
 
11:51 AM
By the way, I think there is a tutorial by google about python - how's that one?
Yes - python lists and tuples can be used as arrays right?
 
I believe you just passed Andras’ test xD
 
jpp
stackoverflow.com/questions/51840451/… - Possible duplicate, full disclosure: another gold badge holder reopened my closure.
 
Wait... I'm sure Python has arrays :p
 
11:54 AM
I'm not sure what "can be used as arrays" means. But the latest issue I've heard about w3schools is that it teaches lists as "arrays" as if it were javascript or something. With the recent addition at the end of the section that "by the way, arrays don't exist in python". Which is again wrong.
 
(as if JavaScript had real arrays… xD)
 
I know what arrays in java are (not in javascript), but aren't python collections (lists, tuples, sets, dictionaries) (forget about the last one) same as arrays?
 
What does "same as arrays" mean? And no.
 
Oh
Can you teach me?
 
I don't think so
 
11:58 AM
“Array” in its core meaning is a very technical explanation of how a list of data is represented as a sequence of slots in memory.
Python, being object oriented and very far above that technical representation, as such has no “arrays”.
 
What about array.array? And bytearray?
 
I just googled it - the way of declaring an array is just the same as a list. How is an array different from a list?
 
Yes, lists can be used whereever you would use an array in other languages, and lists also happen to be implemented using arrays, but they are not the same.
 
@UmeshKonduru can you show the example?
 
www.programiz.com/python-programming/array
 
11:59 AM
ouch, burn that page
 
ok
lol
 
That's exactly why I was bugging you about w3schools. Those are lists
 
xD
 
I have a few dozen comments on main educating askers that what they're calling arrays are really lists
 
They even have an article about both lists and “arrays”, lol.
> However, in Python, there is no native array data structure. So, we use Python lists instead of an array.
oh wow
 
12:01 PM
"arrays" in python are either bytearray, array.array (stdlib), or numpy.array (third-party). I'm not sure there are any others in the mainstream
what people usually use are lists and tuples, neither of which are arrays
 
jpp
I think array.array is there for historic reasons. I very rarely see anyone use them in practice.
 
this may just be a case of wrong terminology but I don't trust a source that does that ^
 
Ok
Thanks!
Now now... any other test that I have to pass?
 
No problem. So do consider at least skimming through the official tutorial, at least to pick up proper terminology
@UmeshKonduru I was testing w3schools...
 
jpp
12:03 PM
There are many examples on SO where people use lists for simple matrix arithmetic. On the basis that NumPy is 3rd party / unwanted / unobtainable. In my opinion, NumPy should be the de-facto standard for all Python numeric array computations. Whether your array has 2 elements or 2mio.
 
Agreed that it's a bad website - but at least that's the way I gained a lot of knowledge about python and learn it from absolutely nil knowledge
 
You might as well do that with a proper tutorial and learn it right the first time around :P
 
@jpp I only have numpy installed to test numpy questions/answers.
 
jpp
Yeh it's a fair point that many installations don't come with NumPy by default
 
Yes, I am gonna make sure I do that - and now I'm beginning to realize - they didn't know what they were talking about when they were explaining about self parameter
 
12:05 PM
no installations come with numpy by default as far as I know :P
 
jpp
I'd argue that as soon as you work with numeric-only lists, you should install NumPY :)
 
@UmeshKonduru there you go ;)
 
I was more trying to say that I have little interest in using numpy for the things I do :P
 
jpp
when I mean installation, I mean anaconda, etc
 
that's cheating
 
12:06 PM
And now, I'll be back after a while, and make sure you've got something interesting for me - Bye!
 
but really, it's more like "don't import that bulky module for adding those 4 numbers in your large program"
@UmeshKonduru have fun
 
jpp
@AndrasDeak wince... the number of times I see a list comprehension with zip or enumerate to do integer location indexing.
 
So what? That still doesn't imply that it's worth importing+building an array+indexing+converting back
 
Non-numpy is probably faster there
 
12:09 PM
plus native can be lazy
it would be great to get item 5 and 10 from your 10M data points using numpy
of course if you have 10M points you should probably use numpy for other reasons
 
jpp
Of course, you have to choose the right arrow to shoot. NumPy works (edit: best) with in-memory arrays.
 
well... you can - just memmap the array and np.r_ it?
 
I've never actually used memmap, but I don't do big stuff
 
Last thing where I really had to deal with a lot of numbers and where performance was very important (the decision between having your computer run ~10 minutes, or ~2 hours and then crash out of memory), I actually wrote something in Rust!
 
I normally work with databases that are 100s of millions of rows... by the time I get what I want using DB aggreation and such into pandas or something, it's normally only 500-900k anyway... so I don't really have to worry 'bout it.
plus, where that's not possible, dask.dataframe can most of the time come to the rescue (even if it's sometimes painfully slow - but at least it'll complete without crashing)
 
jpp
12:26 PM
Of course, Pandas just builds on NumPy, same thing to me!
 
cbg
 
jpp
Although it has an IMO unhealthy relationship / overuse of object dtype. which seems to be the cause of 1000's of SO questions
 
@jpp by "cause of 1000's of SO questions" you mean "source of reputation"?
 
jpp
haha, Yes, indeed. Questions lead to answers, do they not?
 
Sometimes (-:
When a question can be discerned
 
jpp
12:30 PM
Yes, but then I'd claim it's not a Question. Rather, it's a remark, an attempt at a question, or a list of requirements.
I think Pandas developers [or, in fact, most maintainers of libraries] should look at the most popular questions and reconsider some things.
Like renaming columns seems to be unintuitive, it's drilled in to me now but I swear it took me 3 months to get it.
 
@jpp depends if it's rhetorical? :p
 
I know Jeff looks at questions and answers. He's chimed in on a number of mine. They pay attention
 
@piRSquared we talking Jeff the pandas guy?
 
yes
 
he was one of the answerers of my very first (poor) question on SO :)
 
jpp
12:41 PM
Yeh I'm not saying it's not done. Just wish it was done more :). I have a feeling github posts are more commonly used for queuing things to fix / develop.
 
He called me out on my Q&A and I think its fair. I need to take the time to learn what I need to in order write some pandas docs.
it would really be much more useful to the community to simply do a pull request to add some missing examples (just a couple)to the main docs; SO is only searchable and not browse able ; further putting a link to the docs would be useful here - the vast majority of this is already well and completely documented — Jeff Apr 3 at 0:52
 
Did anyone do a pull request in the end re: that?
 
No. And I feel the shame. Seriously, I do. My issue is that I ... <excuse 1>, <excuse 2>, <excuse 3>... /sigh
 
stop chatting - start pulling! (or something...) :p
 
12:59 PM
hello friends
whenever i am trying to encode my json in python the keys in dictionary gets automatically converted to single quotes despite of double quotes
how to fix it
 
hello
 
hello\
 
Is that really something that needs fixing?
 
do you have a small MCVE about the problem?
 
1:01 PM
actually its returning null when using json_decode in php
mcve ??
 
output_data={}
            output_data["status:"]= "success"
            output_data["message:"]= ""
            output_data["data:"]= data_dict
            output_data["code:"]= 200
sample output:
{
"status:": "success",
"message:": "",
"data:": {
"accuracy_insights": {
"median_of_accuracy_is:": 1.25,
"upper_quartile_of_accuracy_is:": 2.5,
"mean_of_accuracy_is:": 1.99
}
},
"code:": 200
}
so i want single quotes in the dictionary keys ?
hope i was able to deliver a MCVE
@AndrasDeak
 
What is "sample output"?
 
“i want single quotes in the dictionary keys” – I thought you wanted double quotes? I thought you want JSON?
 
1:05 PM
There's no MCVE here. When I run your code, I get NameError: name 'output_data' is not defined
If you're thinking "well yeah, you need to do output_data = {} first. Isn't that obvious?", even obvious code must be in the MCVE
 
the other day I edited a question I answered so that the example is runnable (missing 3 imports); OP later removed that in an edit :|
 
@AayushGadia When I do dict(hello='world') on a repl, I get {'hello': 'world'} as output. This doesn't imply that the single quotes are part of the data structure. those single quotes are a device to let me know that there is a string there. Do you care about what is printed to screen? Or do you care about what is actually in the data structure?
 
9 mins ago, by Aayush Gadia
actually its returning null when using json_decode in php
 
I have a feeling this conversation will end with "The json module really makes it easy for me to serialize my data in a way that php's json_decode method can understand. Good suggestion, thanks"
 
xD
 
1:10 PM
we need more participants for a conversation
 
So let's maybe skip all the intermediary bits where we talk about the intricacies of the results of calling repr() on various built-in types, which is a blind alley
 
@AndrasDeak It’s the usual pattern where the helping people keep discussing possibilites between each other, and the person actually needing the help disappeared.
 
Is there a <we> here that represents "one" side. Meaning that all of our chattering is only a hive mind internal monologue?
 
I think we already know the answer to that.
 
problem solved friends
used urllib
json.dumps(output_data, ensure_ascii = 'False')
by ensuring ascii=" False"
the problem got solved now its not showing Null output & now the JSON has double quotes inside it previously despite of putting double quotes it was showing single quotes
thanks a lot friends for your support
will try to put exact MCVE from the next time
 
1:24 PM
thanks
 
\o cbg
 
cbg
 
1:44 PM
Gratz to @PM2Ring for gold badge on physics.stackexchange.com/a/421965/203431
3
 
whaddup sixers
 
^ Ok! I'm whadded up. Now what?
 
let your backbone sliiiiiiiide
 
jpp
@piRSquared, Yes, that's a nice answer (miss my Mechanics class!), I'm sure there's some calculus you can use to demonstrate that as number of weights tends towards infinity, the resulting shape tends towards the cosh function.
 
2:02 PM
fellow testers. Does anyone run tox inside docker containers?
it seems redundant to me
 
Are you using tox to run your containers for testing, or tox inside your containers to setup your environment? @idjaw
 
@user3483203 the latter
but
it's more like I have a Makefile which is used by the CI to run different jobs in the pipeline
so there might be one command that will be like make test-unit
and inside there it will be a docker-compose up command where the "run" command will be a tox -e unit
it is already contained, so why not just do pytest .... blah directly
this is the current debate I'm having with myself
 
2:18 PM
I am against changing a container's environment like tox will on run. Environment setup should be handled completely with build.
 
what do you mean?
the container is ephemeral. It's for contained testing in a CI. It is not the final build
 
Maybe I'm misunderstanding what tox does, but doesn't it essentially create a clean environment, handle dependencies, and run whatever you want to in a that environment?
 
tox creates a virtual environment, and runs the specific command you give it defined in your tox.ini
I have a solution worked out that I might go with, which seems clean enough:
build image with just the "src", volume map the tests to the container, run tox to test
that way the build is "ready" to be pushed as the production-ready build once tests pass
and the unneeded files are excluded inside the image
this removes supporting two test commands. One defined in tox and one defined in my makefile
 
cbg fellas, is kevin around?
 
we've got plenty of them around ;)
cbg
 
DSM
2:26 PM
Cabbage for everyone, including all our Kevins!
 
His spirit is always with us.
 
Cabbage, DSM. Julia looks a lot like MATLAB. Probably with some parts done right.
 
All Kevins are kevin. But only one Kevin is Kevin and that is Kevin Kevinson.
 
I was googling some stuff and ended up at one of his messages here in '16. Let's hope he has a good memory
 
DSM
.. this room shows up in google? This.. is not good.
 
2:28 PM
incoming denvercoder9
@DSM yup
 
@AndrasDeak precisely
I just made the same reference elsewhere :)
 
@Kevin of triangles ^
 
It's time to move this entire room to the knives. Shut it down.
The G-Man knows about us
 
DSM
@AndrasDeak: yep on the matlab influence, syntax-wise. Below the surface it's a lot lispier than you'd expect from a numerical language, which makes some elegant magic possible.
 
I'm at page 7 of the Julia Express so I probably won't see any of the magic for a long time ;)
 
2:34 PM
For a moment I took offense that Python was assigned room numbered 6. So I wondered what else could have been higher priority:

1. Sandbox
2. Chat Feedback
3. General
4. Private
5. the so tavern free snacks

I'm no longer offended
 
@TimCastelijns Yeah
Feb 20 at 20:45, by Kevin
Feb 9 at 17:10, by Kevin
Jan 16 at 19:12, by Kevin
Sep 8 '16 at 18:44, by Kevin
Jul 17 '14 at 13:52, by Kevin
All apparent Kevins are just the 3d cross-sections of a single four dimensional hyperKevin as it intersects our universe.
 
(wow, compound statements for assignment, huh)
 
I <3 Kevin.
Never stop never stopping Kevin
 
Kevin > idjaw/3
5
 
\o/
 
2:37 PM
@TimCastelijns this is one of our representations of Kevin. The cross section this representation occupies tends to express many thoughts that have stars assigned to them.
 
DSM
@AndrasDeak: that was amazing.
 
Jul 20 '16 at 15:01, by Kevin
This is messing up my chat protocol experiments. Now I don't know if http://chat.stackoverflow.com/ws-auth is giving me a 404 because it's down or because I didn't format the parameters right.
^ this is me right now
I see further down how you solved it, but how did you get the data for the missing cookies?
 
@AndrasDeak Love Triangle Inequality?
 
apparently that sort of thing would also work in julia
julia> idjaw=1; Kevin=4;

julia> idjaw<3Kevin
true
 
Please tell me there is a jep8 that julcharm will hi light for me
 
2:42 PM
Hmm
@TimCastelijns I think I copy-pasted them out of Firefox's developer toolbar. Trying to retrace my steps now... If I submit a message to chat while the toolbar is open, the network window shows a POST request to https://chat.stackoverflow.com/chats/6/messages/new. Clicking on that, I see that the Cookie field in the Request headers section has values for prov and _ga and all the other keys you apparently need. I'm pretty sure those are equally valid for sending to ws-auth
 
Nope - just the fkey
 
@AnttiHaapala <3 your exec/eval/compile answer, I used it to figure out what some Sphinx directives were doing.
332
Q: What's the difference between eval, exec, and compile in Python?

andrewdotnichI've been looking at dynamic evaluation of Python code, and come across the eval() and compile() functions, and the exec statement. Can someone please explain the difference between eval and exec, and how the different modes of compile() fit in?

 
where's that prototype code for rabbit - shows how to get the fkey and then establish the websocket I think?
 
I think a while after that I ended up just using the authentication code that Jon gave me
 
Should be in the sopython GitHub, I think Kevin was working on it.
 
2:48 PM
regardless, you need to fetch them dynamically do you not? Assuming the values change
 
@Tim you only need it once to establish the websocket - then you're fine
 
The fkey identifies a user, right? In order to act on their behalf
 
I think the values were constant? At least for the short amount of time that I was using that approach
 
I need to figure out the new non-openid auth flow and update my SO library.
fkey is a csrf token to prevent xss, it's used in addition to the user auth, which is a cookie.
 
Which may have been anywhere between "a single chat session that I never logged out of and whose window I never closed" and "several sessions across several days"
 
2:50 PM
rb folks
 
@Kevin yeah... I think rabbit worked on an SE username/password login...
think the only token I've ever given anyone is the private key for the sopython app on stackapps
 
I don't want to hardcode any of this. Anyway I have it working in a local kotlin project but I have a ktor environment on GAE here that handles cookies differently, just trying to understand how these cookies work etc
 
Yeah, rabbit's config.py requires only an email and password. No fkey or cookies or anything need to be manually supplied
 
@Kevin yeah... you pick 'em up later... not sure what you're doing with the cookies there though... the comment #I wonder if this is the right way to do this? :p
 
2:53 PM
Ah, the good old "doing the first thing that works" school of design
 
@AndrasDeak umm... wonder when chatexchange started using websockets... the reason we were playing with rabbit was because there didn't appear to be anything Python that didn't used polling vs. websockets...
 
I don't know :)
 
a bunch of cookies are required to get the websocket url from /ws-auth
which ones and where to get their data, is the question :)
 
When the dev survey still had "what do you want SO to do" as the last question, I always put "a documented chat API". Then they mysteriously stopped adding that question.
 
@TimCastelijns To save you a few clicks, here is where in the code the fkey and cookies and such get fetched: github.com/sopython/rabbit/blob/master/rabbit/sochat.py#L53
 
2:57 PM
yeah I know a bit about it, I wrote the kotlin version of ChatExchange. However I was looking for the exact cookie requirements, nobody seems to know this :P until I came across your 2 year old message
 
it's as if chat.SO was unmaintained and lacking documentation entirely
 
From what I remember very few things are actually required.
 
As you can see, I just threw in every cookie available
 
adding all the cookies always works with @Jon too
 
I found that you can get the chatusr cookie by visiting chat.stackoverflow.com for example, but if I make a GET request to it manually the cookie is not returned
 
03:00 - 15:0015:00 - 00:00

« first day (2859 days earlier)      last day (2094 days later) »