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 | you should, yes. I am doing AWS stuff right now. If the only option for AWS was the documentation then no one would be able to use the bulk of AWS services | 2019-05-20T15:30:19.263500 | Clemmie | pythondev_help_Clemmie_2019-05-20T15:30:19.263500 | 1,558,366,219.2635 | 24,421 |
pythondev | help | And they have the resources to make good documentation. they just….don’t | 2019-05-20T15:30:46.263900 | Clemmie | pythondev_help_Clemmie_2019-05-20T15:30:46.263900 | 1,558,366,246.2639 | 24,422 |
pythondev | help | ^ | 2019-05-20T15:32:14.264100 | Claudine | pythondev_help_Claudine_2019-05-20T15:32:14.264100 | 1,558,366,334.2641 | 24,423 |
pythondev | help | AWS documentation is super amazing in some spots and almost non-existent in other spots | 2019-05-20T15:32:29.264500 | Claudine | pythondev_help_Claudine_2019-05-20T15:32:29.264500 | 1,558,366,349.2645 | 24,424 |
pythondev | help | or they do one very specific estoeric example for their code and that's it | 2019-05-20T15:32:49.265100 | Claudine | pythondev_help_Claudine_2019-05-20T15:32:49.265100 | 1,558,366,369.2651 | 24,425 |
pythondev | help | I've gotten much better at making assumptions for what is correct lately though | 2019-05-20T15:33:05.265800 | Claudine | pythondev_help_Claudine_2019-05-20T15:33:05.265800 | 1,558,366,385.2658 | 24,426 |
pythondev | help | Cognito with SAML - there, but wrong (incomplete). Proposing a djangocon talk on it now | 2019-05-20T15:33:15.266100 | Clemmie | pythondev_help_Clemmie_2019-05-20T15:33:15.266100 | 1,558,366,395.2661 | 24,427 |
pythondev | help | CloudFormation documentation is pretty gret | 2019-05-20T15:33:23.266300 | Claudine | pythondev_help_Claudine_2019-05-20T15:33:23.266300 | 1,558,366,403.2663 | 24,428 |
pythondev | help | ugh I was excited to learn Cognito & SAML but my current project relies on a third party who only accepts Basic Auth so im kicking the can on learning Cognito | 2019-05-20T15:34:37.267500 | Claudine | pythondev_help_Claudine_2019-05-20T15:34:37.267500 | 1,558,366,477.2675 | 24,429 |
pythondev | help | tbh i almost wanted to cry when they said they only support Basic Auth | 2019-05-20T15:34:52.268000 | Claudine | pythondev_help_Claudine_2019-05-20T15:34:52.268000 | 1,558,366,492.268 | 24,430 |
pythondev | help | Come to my talk! (if it gets chosen, and you come) | 2019-05-20T15:34:58.268200 | Clemmie | pythondev_help_Clemmie_2019-05-20T15:34:58.268200 | 1,558,366,498.2682 | 24,431 |
pythondev | help | it’s a mess! | 2019-05-20T15:35:04.268400 | Clemmie | pythondev_help_Clemmie_2019-05-20T15:35:04.268400 | 1,558,366,504.2684 | 24,432 |
pythondev | help | I can't tell if my authentication system for API Gateway is brilliant or idiotic | 2019-05-20T15:37:27.269300 | Claudine | pythondev_help_Claudine_2019-05-20T15:37:27.269300 | 1,558,366,647.2693 | 24,433 |
pythondev | help | it works and it seems like it's super cool and scalable and whatnot but I may have over engineered it, or rebuilt the wheel | 2019-05-20T15:38:08.270100 | Claudine | pythondev_help_Claudine_2019-05-20T15:38:08.270100 | 1,558,366,688.2701 | 24,434 |
pythondev | help | `If something is stupid but it works its not stupid anymore` | 2019-05-20T16:01:47.270600 | Rikki | pythondev_help_Rikki_2019-05-20T16:01:47.270600 | 1,558,368,107.2706 | 24,435 |
pythondev | help | :cold_sweat: | 2019-05-20T16:03:04.271400 | Jettie | pythondev_help_Jettie_2019-05-20T16:03:04.271400 | 1,558,368,184.2714 | 24,436 |
pythondev | help | Intel sends you their regards :) | 2019-05-20T16:03:31.272100 | Jettie | pythondev_help_Jettie_2019-05-20T16:03:31.272100 | 1,558,368,211.2721 | 24,437 |
pythondev | help | Golden quote :harold: | 2019-05-20T16:05:13.272900 | Nigel | pythondev_help_Nigel_2019-05-20T16:05:13.272900 | 1,558,368,313.2729 | 24,438 |
pythondev | help | I have a solution for my always-offline gaming rig <https://make-linux-fast-again.com/> | 2019-05-20T16:06:29.273300 | Nigel | pythondev_help_Nigel_2019-05-20T16:06:29.273300 | 1,558,368,389.2733 | 24,439 |
pythondev | help | (don't do this at home, kids) | 2019-05-20T16:06:40.273500 | Nigel | pythondev_help_Nigel_2019-05-20T16:06:40.273500 | 1,558,368,400.2735 | 24,440 |
pythondev | help | :cold_sweat: :cold_sweat: :cold_sweat: | 2019-05-20T16:08:27.273800 | Jettie | pythondev_help_Jettie_2019-05-20T16:08:27.273800 | 1,558,368,507.2738 | 24,441 |
pythondev | help | hey y'all, I'm using the socket lib to try and perform some banner grabbing on web servers, since it requires you to send data to at least get a bad http response I'm just sending a mediocre get string, but the odd part is is that it seems to hang and I never hit my receive line, posting my code below if anyone knows where I'm missing something? | 2019-05-20T16:09:49.275100 | Holly | pythondev_help_Holly_2019-05-20T16:09:49.275100 | 1,558,368,589.2751 | 24,442 |
pythondev | help | None | 2019-05-20T16:10:02.275200 | Holly | pythondev_help_Holly_2019-05-20T16:10:02.275200 | 1,558,368,602.2752 | 24,443 |
pythondev | help | I'm doing it against a little flask instance running on 5000, if I do a telnet to it I get the data back | 2019-05-20T16:10:20.275900 | Holly | pythondev_help_Holly_2019-05-20T16:10:20.275900 | 1,558,368,620.2759 | 24,444 |
pythondev | help | son of a... nvm I needed another \n | 2019-05-20T16:11:11.276200 | Holly | pythondev_help_Holly_2019-05-20T16:11:11.276200 | 1,558,368,671.2762 | 24,445 |
pythondev | help | going with uri version for now -- seems easier :parrot: | 2019-05-20T16:12:32.276600 | Raguel | pythondev_help_Raguel_2019-05-20T16:12:32.276600 | 1,558,368,752.2766 | 24,446 |
pythondev | help | I wanna know more about it! | 2019-05-20T16:12:52.276700 | Raguel | pythondev_help_Raguel_2019-05-20T16:12:52.276700 | 1,558,368,772.2767 | 24,447 |
pythondev | help | well so im required to support Basic Auth, so I do it with an API Gateway Authorizer function and the following setup:
- Multiple groups, each group has an inline policy allowing a specific HTTP method on the specific API Gateway endpoints a user in the group can access
- A User is created, assigned to a group, and an access key is generated for the user
- To authenticate, the user provides their Username and Password (access key) when making a request
- The lambda function parses the credentials from the request, pulls up the user and verifies the access key.
- If the user is authenticated, their group is pulled up, the groups inline policy is parsed into a set of `Method: endpoint`s
- an access policy is generated on the fly based off that set and returned by the authorizer function | 2019-05-20T16:20:44.276900 | Claudine | pythondev_help_Claudine_2019-05-20T16:20:44.276900 | 1,558,369,244.2769 | 24,448 |
pythondev | help | So If I want to adjust permissions, I just edit the group's inline policy. If i want to give a new user access with a given set of permission, i just create a new user, assign to a group, and them give them their username/access_key | 2019-05-20T16:21:24.277100 | Claudine | pythondev_help_Claudine_2019-05-20T16:21:24.277100 | 1,558,369,284.2771 | 24,449 |
pythondev | help | since they don't have the secret key they really can't do anything they haven't been given explicit permission to do | 2019-05-20T16:21:48.277300 | Claudine | pythondev_help_Claudine_2019-05-20T16:21:48.277300 | 1,558,369,308.2773 | 24,450 |
pythondev | help | I also needed to version all of this, so I've defined all the user/group/policy stuff in a `serverless` yml file | 2019-05-20T16:22:54.277500 | Claudine | pythondev_help_Claudine_2019-05-20T16:22:54.277500 | 1,558,369,374.2775 | 24,451 |
pythondev | help | sweet -- I need to learn how to do this directly in API gateway. Currently I am using APIGEE which allows us to do most of it. | 2019-05-20T16:39:15.277700 | Raguel | pythondev_help_Raguel_2019-05-20T16:39:15.277700 | 1,558,370,355.2777 | 24,452 |
pythondev | help | You create one API, and then create different products out of it with access to different endpoints | 2019-05-20T16:40:32.277900 | Raguel | pythondev_help_Raguel_2019-05-20T16:40:32.277900 | 1,558,370,432.2779 | 24,453 |
pythondev | help | it was just Apigee makes it easier, but I want to try everything on API gateway so that there is not other layer | 2019-05-20T16:43:06.278100 | Raguel | pythondev_help_Raguel_2019-05-20T16:43:06.278100 | 1,558,370,586.2781 | 24,454 |
pythondev | help | It wasn't too bad for me, I just read API Gateway Authorizer docs, it essentially hooks up a lambda to handle everything, and then you can do whatever you want in that lambda | 2019-05-20T16:56:10.278500 | Claudine | pythondev_help_Claudine_2019-05-20T16:56:10.278500 | 1,558,371,370.2785 | 24,455 |
pythondev | help | So setting it up is easily just the implementation is tough | 2019-05-20T16:56:22.278700 | Claudine | pythondev_help_Claudine_2019-05-20T16:56:22.278700 | 1,558,371,382.2787 | 24,456 |
pythondev | help | How do you contribute to open source projects | 2019-05-20T17:05:19.279100 | Isabel | pythondev_help_Isabel_2019-05-20T17:05:19.279100 | 1,558,371,919.2791 | 24,457 |
pythondev | help | depends on the project, but usually checkout their repo + issues, and see if there's a beginner friendly issue to work on.
you'll probably have to be familiar with git | 2019-05-20T17:06:56.279900 | Jorge | pythondev_help_Jorge_2019-05-20T17:06:56.279900 | 1,558,372,016.2799 | 24,458 |
pythondev | help | i would say the easiest, most beginner friendly way is to trawl their documentation for typos, fix them, and then make a PR | 2019-05-20T17:09:06.281400 | Jorge | pythondev_help_Jorge_2019-05-20T17:09:06.281400 | 1,558,372,146.2814 | 24,459 |
pythondev | help | Yep, that's also a good way to see if the project is actually alive and accepting contributions, before you invest a lot of time in it. | 2019-05-20T18:15:16.282200 | Sasha | pythondev_help_Sasha_2019-05-20T18:15:16.282200 | 1,558,376,116.2822 | 24,460 |
pythondev | help | I have python code for this quote:
```
for i in range(15): print(i%3/2*'Fizz' + i%5/4*'Buzz' or i+1)
```
:troll: | 2019-05-20T18:51:32.282500 | Brain | pythondev_help_Brain_2019-05-20T18:51:32.282500 | 1,558,378,292.2825 | 24,461 |
pythondev | help | in this requirements.txt file celery is listed as `celery[redis]` Is there a link to documentation or some explanation that can explain to me how this works? How you are able to install `celery[redis]` vs `celery`? | 2019-05-20T20:01:37.284300 | Sterling | pythondev_help_Sterling_2019-05-20T20:01:37.284300 | 1,558,382,497.2843 | 24,462 |
pythondev | help | <@Sterling> <https://stackoverflow.com/questions/46775346/what-do-square-brackets-mean-in-pip-install> | 2019-05-20T20:40:42.284800 | Hiroko | pythondev_help_Hiroko_2019-05-20T20:40:42.284800 | 1,558,384,842.2848 | 24,463 |
pythondev | help | <@Hiroko> so its this? <https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies> and specifically this line in package <https://github.com/celery/celery/blob/master/setup.py#L227> | 2019-05-20T20:48:43.285400 | Sterling | pythondev_help_Sterling_2019-05-20T20:48:43.285400 | 1,558,385,323.2854 | 24,464 |
pythondev | help | Thank you for SO/docs. Very helpful | 2019-05-20T20:48:55.285800 | Sterling | pythondev_help_Sterling_2019-05-20T20:48:55.285800 | 1,558,385,335.2858 | 24,465 |
pythondev | help | <@Hiroko> :taco: | 2019-05-20T20:49:09.286200 | Sterling | pythondev_help_Sterling_2019-05-20T20:49:09.286200 | 1,558,385,349.2862 | 24,466 |
pythondev | help | Anyone working on python Flask-AppBuilder ? | 2019-05-21T00:08:23.287000 | Roberto | pythondev_help_Roberto_2019-05-21T00:08:23.287000 | 1,558,397,303.287 | 24,467 |
pythondev | help | working on something and need to pass a long long long SQL string into a url post parameter. the string is url encoded and will be decoded on the other end, there are a couple of paramters before that string | 2019-05-21T02:06:14.287900 | Lindsey | pythondev_help_Lindsey_2019-05-21T02:06:14.287900 | 1,558,404,374.2879 | 24,468 |
pythondev | help | trying to figure out why it doesn’t seem to be sending it correctly
when I print out the `data`, it seems to be passing things not in the order they are written. any reason for that?
does `data` do alphabetical? | 2019-05-21T02:06:23.288000 | Lindsey | pythondev_help_Lindsey_2019-05-21T02:06:23.288000 | 1,558,404,383.288 | 24,469 |
pythondev | help | yeah, it’s sending out of order for some reason? | 2019-05-21T02:08:02.288200 | Lindsey | pythondev_help_Lindsey_2019-05-21T02:08:02.288200 | 1,558,404,482.2882 | 24,470 |
pythondev | help | hmm. trying an ordered dict now | 2019-05-21T02:15:40.288400 | Lindsey | pythondev_help_Lindsey_2019-05-21T02:15:40.288400 | 1,558,404,940.2884 | 24,471 |
pythondev | help | If you have an API which is called by web/native apps (so users visiting your site/app) but also by some applications on your side and you want to see which calls are done by whom, while there is no authentication, is there some way to identify like a 'unique device' or whatever that's calling your api?
Not interested in knowing who's doing what exactly, but I would like to know how many unique apps or people are calling the API instead of knowing all the separate API calls without any context. And since users are not logged in there's no way to tell if 1 guy is calling the API 1000 times or 1000 users are calling it once | 2019-05-21T10:35:21.299200 | Dawn | pythondev_help_Dawn_2019-05-21T10:35:21.299200 | 1,558,434,921.2992 | 24,472 |
pythondev | help | without any kind of identifier coming from the client, no | 2019-05-21T10:37:07.300400 | Hiroko | pythondev_help_Hiroko_2019-05-21T10:37:07.300400 | 1,558,435,027.3004 | 24,473 |
pythondev | help | you can look at user agent strings for identifying the clients being used | 2019-05-21T10:37:25.301000 | Hiroko | pythondev_help_Hiroko_2019-05-21T10:37:25.301000 | 1,558,435,045.301 | 24,474 |
pythondev | help | but as far as unique identifiers, if you’re not requiring that being part of the API call, how would such a method work? | 2019-05-21T10:38:11.301800 | Hiroko | pythondev_help_Hiroko_2019-05-21T10:38:11.301800 | 1,558,435,091.3018 | 24,475 |
pythondev | help | I have no idea, that's why I was asking :upside_down_face: | 2019-05-21T10:38:30.302100 | Dawn | pythondev_help_Dawn_2019-05-21T10:38:30.302100 | 1,558,435,110.3021 | 24,476 |
pythondev | help | Was wondering if there's some kind of device identifier or whatever that's always being sent | 2019-05-21T10:38:59.303100 | Dawn | pythondev_help_Dawn_2019-05-21T10:38:59.303100 | 1,558,435,139.3031 | 24,477 |
pythondev | help | lol. yea you would have to try and use existing information which isn’t perfect but you could extrapolate quite a bit. you also have to ask if you want that kind of overhead. | 2019-05-21T10:39:06.303500 | Eliana | pythondev_help_Eliana_2019-05-21T10:39:06.303500 | 1,558,435,146.3035 | 24,478 |
pythondev | help | Don't have a lot of experience in this field | 2019-05-21T10:39:08.303700 | Dawn | pythondev_help_Dawn_2019-05-21T10:39:08.303700 | 1,558,435,148.3037 | 24,479 |
pythondev | help | the user agent string as <@Hiroko> suggested but it can easily be spoofed. | 2019-05-21T10:39:26.304100 | Eliana | pythondev_help_Eliana_2019-05-21T10:39:26.304100 | 1,558,435,166.3041 | 24,480 |
pythondev | help | you could create some kind of compound key such as user agent string and ip address. | 2019-05-21T10:40:05.304900 | Eliana | pythondev_help_Eliana_2019-05-21T10:40:05.304900 | 1,558,435,205.3049 | 24,481 |
pythondev | help | But are user agent string and IP address always sent with the request in the headers? | 2019-05-21T10:40:26.305600 | Dawn | pythondev_help_Dawn_2019-05-21T10:40:26.305600 | 1,558,435,226.3056 | 24,482 |
pythondev | help | even IP address is not perfectly reliable | 2019-05-21T10:40:29.305700 | Carlo | pythondev_help_Carlo_2019-05-21T10:40:29.305700 | 1,558,435,229.3057 | 24,483 |
pythondev | help | yep that’s why i said it isn’t going to be perfect. | 2019-05-21T10:40:49.306800 | Eliana | pythondev_help_Eliana_2019-05-21T10:40:49.306800 | 1,558,435,249.3068 | 24,484 |
pythondev | help | Nah I didn't expect 100% reliability but something that's getting close to some form of grouping that would be nice | 2019-05-21T10:40:58.307100 | Dawn | pythondev_help_Dawn_2019-05-21T10:40:58.307100 | 1,558,435,258.3071 | 24,485 |
pythondev | help | honestly anything that's received by the client should be seen as unreliable | 2019-05-21T10:40:58.307200 | Carlo | pythondev_help_Carlo_2019-05-21T10:40:58.307200 | 1,558,435,258.3072 | 24,486 |
pythondev | help | depends on how reliable you need this to be | 2019-05-21T10:41:06.307500 | Carlo | pythondev_help_Carlo_2019-05-21T10:41:06.307500 | 1,558,435,266.3075 | 24,487 |
pythondev | help | but yeah if you're okay with some fuziness then id go with something hand-rolled li a IP/UA compound as <@Eliana> said | 2019-05-21T10:41:51.308800 | Carlo | pythondev_help_Carlo_2019-05-21T10:41:51.308800 | 1,558,435,311.3088 | 24,488 |
pythondev | help | i think it’s ok to assume what normal users would do. they probably won’t be changing their user client or ip address. if you are more worried about crackers or script kiddies then it’s going to be REALLY tough. | 2019-05-21T10:41:56.309000 | Eliana | pythondev_help_Eliana_2019-05-21T10:41:56.309000 | 1,558,435,316.309 | 24,489 |
pythondev | help | IP is unreliable with VPN users too | 2019-05-21T10:42:33.309700 | Carlo | pythondev_help_Carlo_2019-05-21T10:42:33.309700 | 1,558,435,353.3097 | 24,490 |
pythondev | help | what you should do is force some kind of auth (token, basic login, etc) | 2019-05-21T10:43:01.310600 | Eliana | pythondev_help_Eliana_2019-05-21T10:43:01.310600 | 1,558,435,381.3106 | 24,491 |
pythondev | help | also a bunch of ISPs have dynamic IPs | 2019-05-21T10:43:10.310900 | Carlo | pythondev_help_Carlo_2019-05-21T10:43:10.310900 | 1,558,435,390.3109 | 24,492 |
pythondev | help | and limit requests if it’s open. | 2019-05-21T10:43:13.311100 | Eliana | pythondev_help_Eliana_2019-05-21T10:43:13.311100 | 1,558,435,393.3111 | 24,493 |
pythondev | help | like github | 2019-05-21T10:43:23.311400 | Eliana | pythondev_help_Eliana_2019-05-21T10:43:23.311400 | 1,558,435,403.3114 | 24,494 |
pythondev | help | yeah but still, dynamic IP doesn't change every day | 2019-05-21T10:44:04.311900 | Dawn | pythondev_help_Dawn_2019-05-21T10:44:04.311900 | 1,558,435,444.3119 | 24,495 |
pythondev | help | so at least some form of grouping, for regular users, is fine for our use case | 2019-05-21T10:44:17.312300 | Dawn | pythondev_help_Dawn_2019-05-21T10:44:17.312300 | 1,558,435,457.3123 | 24,496 |
pythondev | help | thanks for the tips. Are user agent and IP always sent in the headers? | 2019-05-21T10:44:35.312800 | Dawn | pythondev_help_Dawn_2019-05-21T10:44:35.312800 | 1,558,435,475.3128 | 24,497 |
pythondev | help | with regular browsers, without VPN, usually they are | 2019-05-21T10:46:05.313600 | Carlo | pythondev_help_Carlo_2019-05-21T10:46:05.313600 | 1,558,435,565.3136 | 24,498 |
pythondev | help | (btw not just ISPs, mobile IPs change a lot) | 2019-05-21T10:46:37.314500 | Carlo | pythondev_help_Carlo_2019-05-21T10:46:37.314500 | 1,558,435,597.3145 | 24,499 |
pythondev | help | my ip changes every day | 2019-05-21T10:46:44.314900 | Karoline | pythondev_help_Karoline_2019-05-21T10:46:44.314900 | 1,558,435,604.3149 | 24,500 |
pythondev | help | users will eventually do really bad things. make sure to have plenty of testing. | 2019-05-21T10:46:47.315100 | Eliana | pythondev_help_Eliana_2019-05-21T10:46:47.315100 | 1,558,435,607.3151 | 24,501 |
pythondev | help | But we also have native apps talking to our APIs (Android/iOS). Those probably don't have user agent :thinking_face: | 2019-05-21T10:46:54.315300 | Dawn | pythondev_help_Dawn_2019-05-21T10:46:54.315300 | 1,558,435,614.3153 | 24,502 |
pythondev | help | it depends of your ISP, I think in the EU it's around 24 to 72h | 2019-05-21T10:47:30.316100 | Jimmy | pythondev_help_Jimmy_2019-05-21T10:47:30.316100 | 1,558,435,650.3161 | 24,503 |
pythondev | help | <@Dawn> they will have use agent strings | 2019-05-21T10:51:21.316500 | Hiroko | pythondev_help_Hiroko_2019-05-21T10:51:21.316500 | 1,558,435,881.3165 | 24,504 |
pythondev | help | we have android/ios apps for work product, and new relic/datadog both allow us to monitor by user agent with mobile apps | 2019-05-21T10:52:03.317400 | Hiroko | pythondev_help_Hiroko_2019-05-21T10:52:03.317400 | 1,558,435,923.3174 | 24,505 |
pythondev | help | How do i embed a "terminal" in a tkinter window | 2019-05-21T11:30:24.318200 | Rodrick | pythondev_help_Rodrick_2019-05-21T11:30:24.318200 | 1,558,438,224.3182 | 24,506 |
pythondev | help | Or What would better describe it is an output log | 2019-05-21T11:31:50.318700 | Rodrick | pythondev_help_Rodrick_2019-05-21T11:31:50.318700 | 1,558,438,310.3187 | 24,507 |
pythondev | help | I dont want to cross post. Later figured out it should be posted here.
I will be glad if any help is rendered.
<https://pythondev.slack.com/archives/C07F1KB2Q/p1558453534414400> | 2019-05-21T11:53:37.320200 | Lucrecia | pythondev_help_Lucrecia_2019-05-21T11:53:37.320200 | 1,558,439,617.3202 | 24,508 |
pythondev | help | Little question how to read a variable from kubernetes configmap from a python script ? ```os.envior['name'] = output
print os.environ['name'] | 2019-05-21T12:21:29.321800 | Avis | pythondev_help_Avis_2019-05-21T12:21:29.321800 | 1,558,441,289.3218 | 24,509 |
pythondev | help | RE: API call source logging -- If you've got control over the internal calls, set it up where they can provide a token parameter. Doesn't have to be used for authentication, just one that you can log with their requests. Then it's just a matter of counting the calls with that specific token. | 2019-05-21T12:28:55.323700 | Carmen | pythondev_help_Carmen_2019-05-21T12:28:55.323700 | 1,558,441,735.3237 | 24,510 |
pythondev | help | Effectively, access token-lite. | 2019-05-21T12:29:18.324100 | Carmen | pythondev_help_Carmen_2019-05-21T12:29:18.324100 | 1,558,441,758.3241 | 24,511 |
pythondev | help | As long as it's a long enough token, even if the users can see the parameter being available via public schema, they won't be able to spoof your system effectively. | 2019-05-21T12:30:20.325000 | Carmen | pythondev_help_Carmen_2019-05-21T12:30:20.325000 | 1,558,441,820.325 | 24,512 |
pythondev | help | ^AWS does this in API Gateway if you enable it | 2019-05-21T12:40:00.325300 | Claudine | pythondev_help_Claudine_2019-05-21T12:40:00.325300 | 1,558,442,400.3253 | 24,513 |
pythondev | help | you can also use the token for auth if you want, but it's used to rate limit and monitor usage and such | 2019-05-21T12:40:32.326000 | Claudine | pythondev_help_Claudine_2019-05-21T12:40:32.326000 | 1,558,442,432.326 | 24,514 |
pythondev | help | all, I know I don't have any code examples, but does anyone know if it's possible to use a generator on a continuously open file in order to achieve real-time parsing? | 2019-05-21T13:36:51.327500 | Granville | pythondev_help_Granville_2019-05-21T13:36:51.327500 | 1,558,445,811.3275 | 24,515 |
pythondev | help | Yes. You're looking for something similar to this: <https://stackoverflow.com/a/5420116/> | 2019-05-21T13:39:53.327800 | Carmen | pythondev_help_Carmen_2019-05-21T13:39:53.327800 | 1,558,445,993.3278 | 24,516 |
pythondev | help | Thanks Joe | 2019-05-21T13:50:46.328200 | Granville | pythondev_help_Granville_2019-05-21T13:50:46.328200 | 1,558,446,646.3282 | 24,517 |
pythondev | help | Is there any other option to output info to the console besides `print()`?
In PowerShell, there is `Write-Host`, `Write-Verbose`, Write-Warning`, etc. Just seeing if there is a `Write-Verbose` equivalent. | 2019-05-21T14:06:51.329500 | Annabell | pythondev_help_Annabell_2019-05-21T14:06:51.329500 | 1,558,447,611.3295 | 24,518 |
pythondev | help | <https://docs.python.org/3/library/logging.html> | 2019-05-21T14:07:36.329700 | Chester | pythondev_help_Chester_2019-05-21T14:07:36.329700 | 1,558,447,656.3297 | 24,519 |
pythondev | help | Thanks. I'll take a look. | 2019-05-21T14:08:16.330000 | Annabell | pythondev_help_Annabell_2019-05-21T14:08:16.330000 | 1,558,447,696.33 | 24,520 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.