workspace
stringclasses
1 value
channel
stringclasses
1 value
sentences
stringlengths
1
3.93k
ts
stringlengths
26
26
user
stringlengths
2
11
sentence_id
stringlengths
44
53
timestamp
float64
1.5B
1.56B
__index_level_0__
int64
0
106k
pythondev
help
Have the site listen on 2 network interfaces, one inward-facing to your network, one outward-facing to the internet, and the inward facing one can use different auth criteria
2017-07-05T10:02:13.711202
Gabriele
pythondev_help_Gabriele_2017-07-05T10:02:13.711202
1,499,248,933.711202
84,103
pythondev
help
<@Meg> Let me explain it more detailly
2017-07-05T10:06:13.854510
Hyman
pythondev_help_Hyman_2017-07-05T10:06:13.854510
1,499,249,173.85451
84,104
pythondev
help
There is a website that I am setting up and i want to grant direct access to persons i a given location that is persons connected to my WiFi. If a person is connected to my WiFi, he can access the website with no problem, but if he is not in my WiFi, he should enter a passcode before proceeding to the site's content
2017-07-05T10:08:49.945315
Hyman
pythondev_help_Hyman_2017-07-05T10:08:49.945315
1,499,249,329.945315
84,105
pythondev
help
why?
2017-07-05T10:09:19.963533
Meg
pythondev_help_Meg_2017-07-05T10:09:19.963533
1,499,249,359.963533
84,106
pythondev
help
why do you want to have such a huge hole in your authentication
2017-07-05T10:09:35.973060
Meg
pythondev_help_Meg_2017-07-05T10:09:35.973060
1,499,249,375.97306
84,107
pythondev
help
just have them sign in
2017-07-05T10:09:45.979537
Meg
pythondev_help_Meg_2017-07-05T10:09:45.979537
1,499,249,385.979537
84,108
pythondev
help
and keep a session cookie active for them
2017-07-05T10:09:55.985855
Meg
pythondev_help_Meg_2017-07-05T10:09:55.985855
1,499,249,395.985855
84,109
pythondev
help
and so when they re-access the site, their login session is still active
2017-07-05T10:10:08.993222
Meg
pythondev_help_Meg_2017-07-05T10:10:08.993222
1,499,249,408.993222
84,110
pythondev
help
I've seen this sort of thing done before to facilitate company intranets, and that's done primarily just by virtue of listening on an inward-facing network address. But sometimes there is still extra auth anyway, because it's not a great hardship.
2017-07-05T10:10:48.017739
Gabriele
pythondev_help_Gabriele_2017-07-05T10:10:48.017739
1,499,249,448.017739
84,111
pythondev
help
Is it the case that it’s irrelevant *who* the user is that accesses content? i.e. there is no user data specific to a user?
2017-07-05T10:10:52.019900
Junita
pythondev_help_Junita_2017-07-05T10:10:52.019900
1,499,249,452.0199
84,112
pythondev
help
...also that.
2017-07-05T10:11:00.024588
Gabriele
pythondev_help_Gabriele_2017-07-05T10:11:00.024588
1,499,249,460.024588
84,113
pythondev
help
if it’s truly irrelevant who people are, then yeah, I’d combine <@Gabriele>’s comment with a VPN from the wifi router to the network that second interface is on
2017-07-05T10:11:33.044988
Junita
pythondev_help_Junita_2017-07-05T10:11:33.044988
1,499,249,493.044988
84,114
pythondev
help
not a bad suggestion
2017-07-05T10:14:20.144598
Meg
pythondev_help_Meg_2017-07-05T10:14:20.144598
1,499,249,660.144598
84,115
pythondev
help
<@Hyman> do you have the expertise to do this?
2017-07-05T10:14:31.151427
Meg
pythondev_help_Meg_2017-07-05T10:14:31.151427
1,499,249,671.151427
84,116
pythondev
help
what's the best way to join on a string x time the same value ?
2017-07-05T12:26:46.012992
Ciera
pythondev_help_Ciera_2017-07-05T12:26:46.012992
1,499,257,606.012992
84,117
pythondev
help
like `', '.join('hello' for _ in my_list)`
2017-07-05T12:27:21.031794
Ciera
pythondev_help_Ciera_2017-07-05T12:27:21.031794
1,499,257,641.031794
84,118
pythondev
help
But it seems a bit overkill
2017-07-05T12:27:56.051458
Ciera
pythondev_help_Ciera_2017-07-05T12:27:56.051458
1,499,257,676.051458
84,119
pythondev
help
<@Ciera>: is there a better way than that?
2017-07-05T12:30:25.134085
Jodie
pythondev_help_Jodie_2017-07-05T12:30:25.134085
1,499,257,825.134085
84,120
pythondev
help
`'hello ' * n`
2017-07-05T12:31:05.155950
Meg
pythondev_help_Meg_2017-07-05T12:31:05.155950
1,499,257,865.15595
84,121
pythondev
help
where `n` is the number of times to repeat
2017-07-05T12:31:21.164789
Meg
pythondev_help_Meg_2017-07-05T12:31:21.164789
1,499,257,881.164789
84,122
pythondev
help
But won't it add a space at the end?
2017-07-05T12:31:49.179886
Shelly
pythondev_help_Shelly_2017-07-05T12:31:49.179886
1,499,257,909.179886
84,123
pythondev
help
that does each letter <@Meg>
2017-07-05T12:32:07.190037
Ciera
pythondev_help_Ciera_2017-07-05T12:32:07.190037
1,499,257,927.190037
84,124
pythondev
help
can do that `('hello',) * n`
2017-07-05T12:32:26.201189
Ciera
pythondev_help_Ciera_2017-07-05T12:32:26.201189
1,499,257,946.201189
84,125
pythondev
help
I completly missed your point <@Meg> in fact :smile:
2017-07-05T12:34:11.257152
Ciera
pythondev_help_Ciera_2017-07-05T12:34:11.257152
1,499,258,051.257152
84,126
pythondev
help
got it
2017-07-05T12:34:14.258520
Ciera
pythondev_help_Ciera_2017-07-05T12:34:14.258520
1,499,258,054.25852
84,127
pythondev
help
`('hello, ' * n).strip(', ')`?
2017-07-05T12:34:25.264444
Vada
pythondev_help_Vada_2017-07-05T12:34:25.264444
1,499,258,065.264444
84,128
pythondev
help
I feel the original was good enough tbh
2017-07-05T12:34:35.269652
Vada
pythondev_help_Vada_2017-07-05T12:34:35.269652
1,499,258,075.269652
84,129
pythondev
help
Wait. Got it :ok_hand:@ndevox
2017-07-05T12:35:21.294476
Shelly
pythondev_help_Shelly_2017-07-05T12:35:21.294476
1,499,258,121.294476
84,130
pythondev
help
I hoped something existed for that. I'll stay with the for loop more readable
2017-07-05T12:36:48.340674
Ciera
pythondev_help_Ciera_2017-07-05T12:36:48.340674
1,499,258,208.340674
84,131
pythondev
help
Quick side question for my project server
2017-07-05T13:57:46.955015
Sherry
pythondev_help_Sherry_2017-07-05T13:57:46.955015
1,499,263,066.955015
84,132
pythondev
help
is forcing https everywhere bad?
2017-07-05T13:57:52.958641
Sherry
pythondev_help_Sherry_2017-07-05T13:57:52.958641
1,499,263,072.958641
84,133
pythondev
help
should i rollback and switch to 1? Not really python but web related, haha
2017-07-05T13:58:27.977987
Sherry
pythondev_help_Sherry_2017-07-05T13:58:27.977987
1,499,263,107.977987
84,134
pythondev
help
hey, arent you in the sneakerbible? ^
2017-07-05T13:58:46.988833
Lekisha
pythondev_help_Lekisha_2017-07-05T13:58:46.988833
1,499,263,126.988833
84,135
pythondev
help
No, I run House of Carts.
2017-07-05T13:58:54.993636
Sherry
pythondev_help_Sherry_2017-07-05T13:58:54.993636
1,499,263,134.993636
84,136
pythondev
help
Crazzyyyyy haha.
2017-07-05T13:59:54.027746
Lekisha
pythondev_help_Lekisha_2017-07-05T13:59:54.027746
1,499,263,194.027746
84,137
pythondev
help
woah
2017-07-05T14:02:18.111652
Jodie
pythondev_help_Jodie_2017-07-05T14:02:18.111652
1,499,263,338.111652
84,138
pythondev
help
<@Sherry> : you looking for extra developers haha
2017-07-05T14:03:39.156517
Jodie
pythondev_help_Jodie_2017-07-05T14:03:39.156517
1,499,263,419.156517
84,139
pythondev
help
Lol, DM me.
2017-07-05T14:04:32.185378
Sherry
pythondev_help_Sherry_2017-07-05T14:04:32.185378
1,499,263,472.185378
84,140
pythondev
help
House of Carts?
2017-07-05T14:12:32.438787
Johana
pythondev_help_Johana_2017-07-05T14:12:32.438787
1,499,263,952.438787
84,141
pythondev
help
<@Johana> it’s a sneaker group that I run
2017-07-05T14:29:47.989906
Sherry
pythondev_help_Sherry_2017-07-05T14:29:47.989906
1,499,264,987.989906
84,142
pythondev
help
“run” :troll:
2017-07-05T14:31:06.032997
Patty
pythondev_help_Patty_2017-07-05T14:31:06.032997
1,499,265,066.032997
84,143
pythondev
help
we need :dad_pun:
2017-07-05T14:31:20.040429
Patty
pythondev_help_Patty_2017-07-05T14:31:20.040429
1,499,265,080.040429
84,144
pythondev
help
:run:
2017-07-05T14:32:17.071805
Sherry
pythondev_help_Sherry_2017-07-05T14:32:17.071805
1,499,265,137.071805
84,145
pythondev
help
:laughing:
2017-07-05T14:32:20.073757
Sherry
pythondev_help_Sherry_2017-07-05T14:32:20.073757
1,499,265,140.073757
84,146
pythondev
help
is this even legal?
2017-07-05T14:36:02.194089
Patty
pythondev_help_Patty_2017-07-05T14:36:02.194089
1,499,265,362.194089
84,147
pythondev
help
Kind of depends on your locality
2017-07-05T14:38:53.283283
Beula
pythondev_help_Beula_2017-07-05T14:38:53.283283
1,499,265,533.283283
84,148
pythondev
help
its bots to circumvent/deal with purchasing ASAP, including CAPTCHA breaking
2017-07-05T14:39:15.294232
Patty
pythondev_help_Patty_2017-07-05T14:39:15.294232
1,499,265,555.294232
84,149
pythondev
help
<@Sherry> is this what you ask for help with here?
2017-07-05T14:41:32.364871
Patty
pythondev_help_Patty_2017-07-05T14:41:32.364871
1,499,265,692.364871
84,150
pythondev
help
He asked about SSL, I thought - what are you seeing for captcha?
2017-07-05T14:42:18.389181
Beula
pythondev_help_Beula_2017-07-05T14:42:18.389181
1,499,265,738.389181
84,151
pythondev
help
looked into what house of carts was
2017-07-05T14:42:51.406337
Patty
pythondev_help_Patty_2017-07-05T14:42:51.406337
1,499,265,771.406337
84,152
pythondev
help
<@Patty> : it's legal, just breaks site ToS I think
2017-07-05T14:43:50.436891
Jodie
pythondev_help_Jodie_2017-07-05T14:43:50.436891
1,499,265,830.436891
84,153
pythondev
help
Oh. Yeah, the community is generally against enabling breaking TOS or anything Illegal ¯\_(ツ)_/¯
2017-07-05T14:44:06.444637
Beula
pythondev_help_Beula_2017-07-05T14:44:06.444637
1,499,265,846.444637
84,154
pythondev
help
its a big grey area, so, yeah
2017-07-05T14:46:03.506473
Patty
pythondev_help_Patty_2017-07-05T14:46:03.506473
1,499,265,963.506473
84,155
pythondev
help
What? I asked for help with setting up a SSL certificate that has nothing to do with a sneaker group..
2017-07-05T14:52:27.714100
Sherry
pythondev_help_Sherry_2017-07-05T14:52:27.714100
1,499,266,347.7141
84,156
pythondev
help
I think it's more the soliciting DMs for help and such
2017-07-05T14:53:58.763276
Beula
pythondev_help_Beula_2017-07-05T14:53:58.763276
1,499,266,438.763276
84,157
pythondev
help
Ah, okay. He’s the one who asked if I needed a dev, but there’s not really a need right now.
2017-07-05T14:54:29.780042
Sherry
pythondev_help_Sherry_2017-07-05T14:54:29.780042
1,499,266,469.780042
84,158
pythondev
help
No worries though
2017-07-05T14:54:36.783631
Sherry
pythondev_help_Sherry_2017-07-05T14:54:36.783631
1,499,266,476.783631
84,159
pythondev
help
Okay, generally speaking - the group would prefer to not be used for anything gray-area or illegal, whether DM, public, or private channels
2017-07-05T14:56:58.859514
Beula
pythondev_help_Beula_2017-07-05T14:56:58.859514
1,499,266,618.859514
84,160
pythondev
help
Sure
2017-07-05T15:24:51.706092
Sherry
pythondev_help_Sherry_2017-07-05T15:24:51.706092
1,499,268,291.706092
84,161
pythondev
help
I am trying to read a .nc file using netCDF4 and get this error (NetCDF: HDF error) I have installed all the prerequisites (<http://unidata.github.io/netcdf4-python/>). is anybody familiar with this error
2017-07-06T04:45:23.710814
Isis
pythondev_help_Isis_2017-07-06T04:45:23.710814
1,499,316,323.710814
84,162
pythondev
help
recent i study flask - micro web framework. I need some good stuff about flask. Who know the good material about flask?
2017-07-06T05:10:41.298845
Floyd
pythondev_help_Floyd_2017-07-06T05:10:41.298845
1,499,317,841.298845
84,163
pythondev
help
you'll have more luck in <#C0LN2AD7T|flask> :slightly_smiling_face:
2017-07-06T05:12:35.342108
Ciera
pythondev_help_Ciera_2017-07-06T05:12:35.342108
1,499,317,955.342108
84,164
pythondev
help
<@Meg> I got your suggestions about the VPN
2017-07-06T07:14:05.849518
Hyman
pythondev_help_Hyman_2017-07-06T07:14:05.849518
1,499,325,245.849518
84,165
pythondev
help
Anyone using GCP here?
2017-07-06T08:07:43.850769
Vada
pythondev_help_Vada_2017-07-06T08:07:43.850769
1,499,328,463.850769
84,166
pythondev
help
Wondering if I can ssh with a service account but can't see any docs anywhere
2017-07-06T08:08:08.859227
Vada
pythondev_help_Vada_2017-07-06T08:08:08.859227
1,499,328,488.859227
84,167
pythondev
help
So i have a type error issue
2017-07-06T09:33:50.080153
Ressie
pythondev_help_Ressie_2017-07-06T09:33:50.080153
1,499,333,630.080153
84,168
pythondev
help
added b ref
2017-07-06T09:40:45.308332
Ressie
pythondev_help_Ressie_2017-07-06T09:40:45.308332
1,499,334,045.308332
84,169
pythondev
help
I got it thanks all sorry for the bother I needed to talk it out i suppose.
2017-07-06T09:44:06.418523
Ressie
pythondev_help_Ressie_2017-07-06T09:44:06.418523
1,499,334,246.418523
84,170
pythondev
help
no problem :slightly_smiling_face: If it's helping you
2017-07-06T09:44:39.436696
Ciera
pythondev_help_Ciera_2017-07-06T09:44:39.436696
1,499,334,279.436696
84,171
pythondev
help
I am just getting my feet wet with building stuff out of bits and parts i find and cleaning it up for my use. I am still quite noob. This slack has pulled me out of the fire many times where i wanted to bang my head into the wall
2017-07-06T09:45:57.481717
Ressie
pythondev_help_Ressie_2017-07-06T09:45:57.481717
1,499,334,357.481717
84,172
pythondev
help
Question about unit testing and type hinting - is there a simple way to assert that a function call returns a certain type and that there are no other type warnings if return types have already been hinted in the function signature?
2017-07-06T11:02:03.326225
Franklyn
pythondev_help_Franklyn_2017-07-06T11:02:03.326225
1,499,338,923.326225
84,173
pythondev
help
mypy probably
2017-07-06T11:07:36.544459
Suellen
pythondev_help_Suellen_2017-07-06T11:07:36.544459
1,499,339,256.544459
84,174
pythondev
help
It's pretty intelligent in type inferring
2017-07-06T11:08:36.581793
Suellen
pythondev_help_Suellen_2017-07-06T11:08:36.581793
1,499,339,316.581793
84,175
pythondev
help
is it possible to run nosetests with mypy?
2017-07-06T11:32:54.517635
Franklyn
pythondev_help_Franklyn_2017-07-06T11:32:54.517635
1,499,340,774.517635
84,176
pythondev
help
anyone have any recommendations on best ways to test flask api’s? I am writing an api in flask and want to do unittests on it but not sure the best way to do it with flask
2017-07-06T12:31:25.638024
Mei
pythondev_help_Mei_2017-07-06T12:31:25.638024
1,499,344,285.638024
84,177
pythondev
help
do you want unit tests or integration tests?
2017-07-06T12:31:58.656412
Signe
pythondev_help_Signe_2017-07-06T12:31:58.656412
1,499,344,318.656412
84,178
pythondev
help
well this is all sorta new to me as far as testing goes I haven’t done it much in the past but I want to mainly ensure the code works and get back proper responses, etc
2017-07-06T12:32:27.672734
Mei
pythondev_help_Mei_2017-07-06T12:32:27.672734
1,499,344,347.672734
84,179
pythondev
help
since its basically a bot
2017-07-06T12:32:30.674609
Mei
pythondev_help_Mei_2017-07-06T12:32:30.674609
1,499,344,350.674609
84,180
pythondev
help
So there are various levels of testing. If you want a lot of confidence, you should do `end-to-end` testing
2017-07-06T12:32:56.689057
Signe
pythondev_help_Signe_2017-07-06T12:32:56.689057
1,499,344,376.689057
84,181
pythondev
help
which basically means you spin up your app, then use `requests` to hit the api's and check that they actually work
2017-07-06T12:33:19.702107
Signe
pythondev_help_Signe_2017-07-06T12:33:19.702107
1,499,344,399.702107
84,182
pythondev
help
an integration test would be just calling the handler, not using http. And a unit test would only check the logic of one function alone, as in, the function where the logic is
2017-07-06T12:33:48.717638
Signe
pythondev_help_Signe_2017-07-06T12:33:48.717638
1,499,344,428.717638
84,183
pythondev
help
yea basically the end to end is what I want
2017-07-06T12:34:20.735734
Mei
pythondev_help_Mei_2017-07-06T12:34:20.735734
1,499,344,460.735734
84,184
pythondev
help
take the code spin up the flask app and make calls to the routes to verify they work
2017-07-06T12:34:31.741726
Mei
pythondev_help_Mei_2017-07-06T12:34:31.741726
1,499,344,471.741726
84,185
pythondev
help
before it deploys the code to heroku, etc
2017-07-06T12:34:36.744757
Mei
pythondev_help_Mei_2017-07-06T12:34:36.744757
1,499,344,476.744757
84,186
pythondev
help
so this will be a part of my jenkins setup
2017-07-06T12:34:51.753105
Mei
pythondev_help_Mei_2017-07-06T12:34:51.753105
1,499,344,491.753105
84,187
pythondev
help
I’ve never done testing in the past lol need to learn how to integrate it into my projects
2017-07-06T12:35:00.758185
Mei
pythondev_help_Mei_2017-07-06T12:35:00.758185
1,499,344,500.758185
84,188
pythondev
help
Unfortunantly I dont know of any "api testing frameworks" in python
2017-07-06T12:36:49.818363
Signe
pythondev_help_Signe_2017-07-06T12:36:49.818363
1,499,344,609.818363
84,189
pythondev
help
its more of how do I test flask
2017-07-06T12:36:59.823914
Mei
pythondev_help_Mei_2017-07-06T12:36:59.823914
1,499,344,619.823914
84,190
pythondev
help
but its really not very hard to just write tests that use requests
2017-07-06T12:37:00.824193
Signe
pythondev_help_Signe_2017-07-06T12:37:00.824193
1,499,344,620.824193
84,191
pythondev
help
since its a flask app
2017-07-06T12:37:03.825694
Mei
pythondev_help_Mei_2017-07-06T12:37:03.825694
1,499,344,623.825694
84,192
pythondev
help
and call your app
2017-07-06T12:37:03.825756
Signe
pythondev_help_Signe_2017-07-06T12:37:03.825756
1,499,344,623.825756
84,193
pythondev
help
yea if thats all it is I guess I can do that
2017-07-06T12:37:12.830599
Mei
pythondev_help_Mei_2017-07-06T12:37:12.830599
1,499,344,632.830599
84,194
pythondev
help
You also might want to look at: <http://flask.pocoo.org/docs/0.12/testing/>
2017-07-06T12:37:23.836491
Signe
pythondev_help_Signe_2017-07-06T12:37:23.836491
1,499,344,643.836491
84,195
pythondev
help
or ask more questions in <#C0LN2AD7T|flask>
2017-07-06T12:37:31.841026
Signe
pythondev_help_Signe_2017-07-06T12:37:31.841026
1,499,344,651.841026
84,196
pythondev
help
I was more curious how I test it and where for example where do I spin up the code and test it or does it just do it all local, etc
2017-07-06T12:37:31.841034
Mei
pythondev_help_Mei_2017-07-06T12:37:31.841034
1,499,344,651.841034
84,197
pythondev
help
yea I’ve been looking over that doc
2017-07-06T12:37:45.848341
Mei
pythondev_help_Mei_2017-07-06T12:37:45.848341
1,499,344,665.848341
84,198
pythondev
help
problem is that one is very db driven and I’m not even using a db yet, just want to test simple flask routes, maybe I’ll just go the route of requests
2017-07-06T12:38:13.863337
Mei
pythondev_help_Mei_2017-07-06T12:38:13.863337
1,499,344,693.863337
84,199
pythondev
help
I’ll see what I can find, thanks
2017-07-06T12:38:33.874752
Mei
pythondev_help_Mei_2017-07-06T12:38:33.874752
1,499,344,713.874752
84,200
pythondev
help
if you dont have a DB then ignore the DB code
2017-07-06T12:38:45.881340
Signe
pythondev_help_Signe_2017-07-06T12:38:45.881340
1,499,344,725.88134
84,201
pythondev
help
the rest will still work
2017-07-06T12:38:53.886133
Signe
pythondev_help_Signe_2017-07-06T12:38:53.886133
1,499,344,733.886133
84,202