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 | what do you suggest for production? | 2017-12-11T11:29:28.000520 | Jacki | pythondev_help_Jacki_2017-12-11T11:29:28.000520 | 1,512,991,768.00052 | 103,203 |
pythondev | help | so, I I have a 10 servers on AWS | 2017-12-11T11:29:46.000269 | Meg | pythondev_help_Meg_2017-12-11T11:29:46.000269 | 1,512,991,786.000269 | 103,204 |
pythondev | help | and 12 different queues | 2017-12-11T11:30:03.000122 | Meg | pythondev_help_Meg_2017-12-11T11:30:03.000122 | 1,512,991,803.000122 | 103,205 |
pythondev | help | workers on celery servers are daemonized, where workers are listening to one or more queues, depending on the task resource requirements, run time, etc | 2017-12-11T11:30:45.000581 | Meg | pythondev_help_Meg_2017-12-11T11:30:45.000581 | 1,512,991,845.000581 | 103,206 |
pythondev | help | for example, tasks that run in five seconds require fewer resources than tasks with 6 hours run time | 2017-12-11T11:31:10.000618 | Meg | pythondev_help_Meg_2017-12-11T11:31:10.000618 | 1,512,991,870.000618 | 103,207 |
pythondev | help | then my app API pushes new tasks into the rabbit broker queues | 2017-12-11T11:31:54.000650 | Meg | pythondev_help_Meg_2017-12-11T11:31:54.000650 | 1,512,991,914.00065 | 103,208 |
pythondev | help | and what about scalability | 2017-12-11T11:31:57.000134 | Jacki | pythondev_help_Jacki_2017-12-11T11:31:57.000134 | 1,512,991,917.000134 | 103,209 |
pythondev | help | no problem. Spin up 1 or 10 new servers, map them to the queues required and its hands off after that | 2017-12-11T11:32:27.000219 | Meg | pythondev_help_Meg_2017-12-11T11:32:27.000219 | 1,512,991,947.000219 | 103,210 |
pythondev | help | then when it comes time to spin down, shut down the worker processes and wait for them to finish executing the currently executing tasks | 2017-12-11T11:33:08.000277 | Meg | pythondev_help_Meg_2017-12-11T11:33:08.000277 | 1,512,991,988.000277 | 103,211 |
pythondev | help | ok, makes sense. | 2017-12-11T11:33:24.000009 | Jacki | pythondev_help_Jacki_2017-12-11T11:33:24.000009 | 1,512,992,004.000009 | 103,212 |
pythondev | help | once that’s done, the workers will stop listening to the queue, and the broker doesn’t care | 2017-12-11T11:33:36.000381 | Meg | pythondev_help_Meg_2017-12-11T11:33:36.000381 | 1,512,992,016.000381 | 103,213 |
pythondev | help | problably I am using a cannon to shot a fly | 2017-12-11T11:34:15.000113 | Jacki | pythondev_help_Jacki_2017-12-11T11:34:15.000113 | 1,512,992,055.000113 | 103,214 |
pythondev | help | if all you’re doing is sending out emails with this, then yeah | 2017-12-11T11:34:34.000645 | Meg | pythondev_help_Meg_2017-12-11T11:34:34.000645 | 1,512,992,074.000645 | 103,215 |
pythondev | help | much better ways to handle that | 2017-12-11T11:34:40.000046 | Meg | pythondev_help_Meg_2017-12-11T11:34:40.000046 | 1,512,992,080.000046 | 103,216 |
pythondev | help | like coding a queue | 2017-12-11T11:35:00.000117 | Jacki | pythondev_help_Jacki_2017-12-11T11:35:00.000117 | 1,512,992,100.000117 | 103,217 |
pythondev | help | and send email using aiohttp | 2017-12-11T11:35:08.000454 | Jacki | pythondev_help_Jacki_2017-12-11T11:35:08.000454 | 1,512,992,108.000454 | 103,218 |
pythondev | help | no, use an external mailing service | 2017-12-11T11:35:24.000877 | Meg | pythondev_help_Meg_2017-12-11T11:35:24.000877 | 1,512,992,124.000877 | 103,219 |
pythondev | help | because you’re running the risk of being blacklisted | 2017-12-11T11:35:42.000206 | Meg | pythondev_help_Meg_2017-12-11T11:35:42.000206 | 1,512,992,142.000206 | 103,220 |
pythondev | help | i can’t really use an external service for policy | 2017-12-11T11:35:47.000330 | Jacki | pythondev_help_Jacki_2017-12-11T11:35:47.000330 | 1,512,992,147.00033 | 103,221 |
pythondev | help | so no mailchimp or stuff like that | 2017-12-11T11:35:58.000057 | Jacki | pythondev_help_Jacki_2017-12-11T11:35:58.000057 | 1,512,992,158.000057 | 103,222 |
pythondev | help | and I can assume that I won’t be backlisted | 2017-12-11T11:36:13.000557 | Jacki | pythondev_help_Jacki_2017-12-11T11:36:13.000557 | 1,512,992,173.000557 | 103,223 |
pythondev | help | something like this might make more sense for you | 2017-12-11T11:36:53.000799 | Meg | pythondev_help_Meg_2017-12-11T11:36:53.000799 | 1,512,992,213.000799 | 103,224 |
pythondev | help | <https://github.com/nvie/rq> | 2017-12-11T11:36:54.000256 | Meg | pythondev_help_Meg_2017-12-11T11:36:54.000256 | 1,512,992,214.000256 | 103,225 |
pythondev | help | I’ll have a look at | 2017-12-11T11:38:08.000008 | Jacki | pythondev_help_Jacki_2017-12-11T11:38:08.000008 | 1,512,992,288.000008 | 103,226 |
pythondev | help | thanks | 2017-12-11T11:38:10.000294 | Jacki | pythondev_help_Jacki_2017-12-11T11:38:10.000294 | 1,512,992,290.000294 | 103,227 |
pythondev | help | good luck :smile: | 2017-12-11T11:38:21.000095 | Meg | pythondev_help_Meg_2017-12-11T11:38:21.000095 | 1,512,992,301.000095 | 103,228 |
pythondev | help | so, in a nutshell, when Celery is a good solution? | 2017-12-11T11:38:43.000749 | Jacki | pythondev_help_Jacki_2017-12-11T11:38:43.000749 | 1,512,992,323.000749 | 103,229 |
pythondev | help | a large collections of vms taks deployments? | 2017-12-11T11:41:58.000247 | Jacki | pythondev_help_Jacki_2017-12-11T11:41:58.000247 | 1,512,992,518.000247 | 103,230 |
pythondev | help | loading the top 100 stories from a remote services? | 2017-12-11T11:42:29.000463 | Jacki | pythondev_help_Jacki_2017-12-11T11:42:29.000463 | 1,512,992,549.000463 | 103,231 |
pythondev | help | when you have repeatable tasks that you want to keep out of the http request-response loop | 2017-12-11T11:43:02.000257 | Meg | pythondev_help_Meg_2017-12-11T11:43:02.000257 | 1,512,992,582.000257 | 103,232 |
pythondev | help | with quality scale up/down capability | 2017-12-11T11:43:18.000192 | Meg | pythondev_help_Meg_2017-12-11T11:43:18.000192 | 1,512,992,598.000192 | 103,233 |
pythondev | help | for example, I just finished indexing 10 million mirrored web pages in solr for search using celery. took 3 days to do | 2017-12-11T11:45:45.000826 | Meg | pythondev_help_Meg_2017-12-11T11:45:45.000826 | 1,512,992,745.000826 | 103,234 |
pythondev | help | brought online some extra servers from AWS to handle the extra load, and shut them down when it was done | 2017-12-11T11:46:12.000920 | Meg | pythondev_help_Meg_2017-12-11T11:46:12.000920 | 1,512,992,772.00092 | 103,235 |
pythondev | help | great. | 2017-12-11T11:46:26.000824 | Jacki | pythondev_help_Jacki_2017-12-11T11:46:26.000824 | 1,512,992,786.000824 | 103,236 |
pythondev | help | cool, I know how I’ll spend the rest of the day | 2017-12-11T11:46:44.000138 | Jacki | pythondev_help_Jacki_2017-12-11T11:46:44.000138 | 1,512,992,804.000138 | 103,237 |
pythondev | help | thanks again | 2017-12-11T11:46:53.000581 | Jacki | pythondev_help_Jacki_2017-12-11T11:46:53.000581 | 1,512,992,813.000581 | 103,238 |
pythondev | help | I’ll try to sort it out | 2017-12-11T11:47:03.000378 | Jacki | pythondev_help_Jacki_2017-12-11T11:47:03.000378 | 1,512,992,823.000378 | 103,239 |
pythondev | help | <@Glinda> there is no cache that I know of for the rtm | 2017-12-11T11:47:34.000116 | Ciera | pythondev_help_Ciera_2017-12-11T11:47:34.000116 | 1,512,992,854.000116 | 103,240 |
pythondev | help | but may I ask you why you don’t like the docker solution | 2017-12-11T11:47:36.000046 | Jacki | pythondev_help_Jacki_2017-12-11T11:47:36.000046 | 1,512,992,856.000046 | 103,241 |
pythondev | help | for a production env | 2017-12-11T11:47:44.000002 | Jacki | pythondev_help_Jacki_2017-12-11T11:47:44.000002 | 1,512,992,864.000002 | 103,242 |
pythondev | help | i mean, docker is strong enough and reliable | 2017-12-11T11:48:07.000061 | Jacki | pythondev_help_Jacki_2017-12-11T11:48:07.000061 | 1,512,992,887.000061 | 103,243 |
pythondev | help | is it something related to celery itself ? | 2017-12-11T11:48:23.000423 | Jacki | pythondev_help_Jacki_2017-12-11T11:48:23.000423 | 1,512,992,903.000423 | 103,244 |
pythondev | help | just don’t see the need for it | 2017-12-11T11:48:42.000386 | Meg | pythondev_help_Meg_2017-12-11T11:48:42.000386 | 1,512,992,922.000386 | 103,245 |
pythondev | help | because celery workers are already daemonized | 2017-12-11T11:48:54.000057 | Meg | pythondev_help_Meg_2017-12-11T11:48:54.000057 | 1,512,992,934.000057 | 103,246 |
pythondev | help | so, why go through the docker layer? | 2017-12-11T11:49:05.000395 | Meg | pythondev_help_Meg_2017-12-11T11:49:05.000395 | 1,512,992,945.000395 | 103,247 |
pythondev | help | to have a configuration ready to start in different env | 2017-12-11T11:49:45.000734 | Jacki | pythondev_help_Jacki_2017-12-11T11:49:45.000734 | 1,512,992,985.000734 | 103,248 |
pythondev | help | you do the conf once, you can repeat everywhere, even localy | 2017-12-11T11:50:43.000128 | Jacki | pythondev_help_Jacki_2017-12-11T11:50:43.000128 | 1,512,993,043.000128 | 103,249 |
pythondev | help | ```pip install -r requirements.txt
cp celery-default /etc/default/celeryd
sudo service celeryd restart
``` | 2017-12-11T11:50:51.000556 | Meg | pythondev_help_Meg_2017-12-11T11:50:51.000556 | 1,512,993,051.000556 | 103,250 |
pythondev | help | I’ll try your way | 2017-12-11T11:51:12.000152 | Jacki | pythondev_help_Jacki_2017-12-11T11:51:12.000152 | 1,512,993,072.000152 | 103,251 |
pythondev | help | that’s pretty much it for me. | 2017-12-11T11:51:34.000147 | Meg | pythondev_help_Meg_2017-12-11T11:51:34.000147 | 1,512,993,094.000147 | 103,252 |
pythondev | help | ok | 2017-12-11T11:52:07.000369 | Jacki | pythondev_help_Jacki_2017-12-11T11:52:07.000369 | 1,512,993,127.000369 | 103,253 |
pythondev | help | that said, I am going to be teaching myself docker this winter. It has benefits I can use | 2017-12-11T11:52:51.000446 | Meg | pythondev_help_Meg_2017-12-11T11:52:51.000446 | 1,512,993,171.000446 | 103,254 |
pythondev | help | but I just don’t see any distinct advantage to containerizing celery on dedicated servers that are wholly responsible for async workers | 2017-12-11T11:53:30.000023 | Meg | pythondev_help_Meg_2017-12-11T11:53:30.000023 | 1,512,993,210.000023 | 103,255 |
pythondev | help | portability is one of the main advantages | 2017-12-11T11:54:21.000042 | Jacki | pythondev_help_Jacki_2017-12-11T11:54:21.000042 | 1,512,993,261.000042 | 103,256 |
pythondev | help | your container is not coupled to your server | 2017-12-11T11:54:49.000666 | Jacki | pythondev_help_Jacki_2017-12-11T11:54:49.000666 | 1,512,993,289.000666 | 103,257 |
pythondev | help | Where should I ask questions about test cases for a project? | 2017-12-11T11:54:59.000603 | Glinda | pythondev_help_Glinda_2017-12-11T11:54:59.000603 | 1,512,993,299.000603 | 103,258 |
pythondev | help | but, yes, I see your point | 2017-12-11T11:55:29.000063 | Jacki | pythondev_help_Jacki_2017-12-11T11:55:29.000063 | 1,512,993,329.000063 | 103,259 |
pythondev | help | anyway I am trying to put my celery app into a container | 2017-12-11T11:55:49.000497 | Jacki | pythondev_help_Jacki_2017-12-11T11:55:49.000497 | 1,512,993,349.000497 | 103,260 |
pythondev | help | and see what’s going on | 2017-12-11T11:56:01.000675 | Jacki | pythondev_help_Jacki_2017-12-11T11:56:01.000675 | 1,512,993,361.000675 | 103,261 |
pythondev | help | you might want to check out <https://github.com/pyslackers/website> | 2017-12-11T11:56:30.000459 | Meg | pythondev_help_Meg_2017-12-11T11:56:30.000459 | 1,512,993,390.000459 | 103,262 |
pythondev | help | when you signed up for the group, that’s the website that’s behind it | 2017-12-11T11:56:43.000206 | Meg | pythondev_help_Meg_2017-12-11T11:56:43.000206 | 1,512,993,403.000206 | 103,263 |
pythondev | help | ah ok | 2017-12-11T11:57:44.000034 | Jacki | pythondev_help_Jacki_2017-12-11T11:57:44.000034 | 1,512,993,464.000034 | 103,264 |
pythondev | help | thanks | 2017-12-11T11:57:46.000203 | Jacki | pythondev_help_Jacki_2017-12-11T11:57:46.000203 | 1,512,993,466.000203 | 103,265 |
pythondev | help | Hey <@Patty> I was using google for queries with `geocoder` but I'm finding I'll quickly be over the limit as far as requests go. Which other provider is good to use? | 2017-12-11T12:14:29.000542 | Myong | pythondev_help_Myong_2017-12-11T12:14:29.000542 | 1,512,994,469.000542 | 103,266 |
pythondev | help | <@Ciera> figured it out, pycharm "refactored" when I moved old creds to `archive` folder and my creds was pointing to the wrong variable. | 2017-12-11T12:14:37.000220 | Glinda | pythondev_help_Glinda_2017-12-11T12:14:37.000220 | 1,512,994,477.00022 | 103,267 |
pythondev | help | :facepalm: | 2017-12-11T12:14:57.000113 | Glinda | pythondev_help_Glinda_2017-12-11T12:14:57.000113 | 1,512,994,497.000113 | 103,268 |
pythondev | help | <@Myong> <http://geocoder.readthedocs.io/#providers> | 2017-12-11T12:18:03.000172 | Patty | pythondev_help_Patty_2017-12-11T12:18:03.000172 | 1,512,994,683.000172 | 103,269 |
pythondev | help | right now I have `creds.py`in a file, with that file added to `.gitignore` Currently testing locally, what are some better ways than that? | 2017-12-11T12:19:31.000775 | Glinda | pythondev_help_Glinda_2017-12-11T12:19:31.000775 | 1,512,994,771.000775 | 103,270 |
pythondev | help | environment variables | 2017-12-11T12:19:52.000462 | Ciera | pythondev_help_Ciera_2017-12-11T12:19:52.000462 | 1,512,994,792.000462 | 103,271 |
pythondev | help | and second choice would be args to pass at startup for testing | 2017-12-11T12:20:15.000809 | Ciera | pythondev_help_Ciera_2017-12-11T12:20:15.000809 | 1,512,994,815.000809 | 103,272 |
pythondev | help | Trying ArcGIS atm, giving error for SSL cause of works WiFi... | 2017-12-11T12:20:30.000085 | Myong | pythondev_help_Myong_2017-12-11T12:20:30.000085 | 1,512,994,830.000085 | 103,273 |
pythondev | help | I tend to favor Environment variables as well, primarily because in the case of a deployed environment it allows you to change them without a re-deploy. I usually have a settings file that can be loaded that refrences the envvars to keep it tidy and not leak envvars all over the code base | 2017-12-11T12:23:41.000081 | Beula | pythondev_help_Beula_2017-12-11T12:23:41.000081 | 1,512,995,021.000081 | 103,274 |
pythondev | help | yeah environment variable is usually the way to go and it's really easy to load them in a script | 2017-12-11T12:29:47.000297 | Ciera | pythondev_help_Ciera_2017-12-11T12:29:47.000297 | 1,512,995,387.000297 | 103,275 |
pythondev | help | how do I convert `"2017-12-08 17:19:36 -0600"` to `"2017-12-08 23:19:36` in python | 2017-12-11T12:32:04.000059 | Arlene | pythondev_help_Arlene_2017-12-11T12:32:04.000059 | 1,512,995,524.000059 | 103,276 |
pythondev | help | <https://docs.python.org/3/library/datetime.html> | 2017-12-11T12:33:16.000575 | Ciera | pythondev_help_Ciera_2017-12-11T12:33:16.000575 | 1,512,995,596.000575 | 103,277 |
pythondev | help | I receive that date format from an api, but need to conver it to 2017-12-08 23:19:3 ill look in the docs | 2017-12-11T12:37:04.000375 | Arlene | pythondev_help_Arlene_2017-12-11T12:37:04.000375 | 1,512,995,824.000375 | 103,278 |
pythondev | help | to see | 2017-12-11T12:37:06.000172 | Arlene | pythondev_help_Arlene_2017-12-11T12:37:06.000172 | 1,512,995,826.000172 | 103,279 |
pythondev | help | I'm not sure if you have control of the API but it might be easier to change it to a timestamp | 2017-12-11T12:38:02.000313 | Ciera | pythondev_help_Ciera_2017-12-11T12:38:02.000313 | 1,512,995,882.000313 | 103,280 |
pythondev | help | no control of the api | 2017-12-11T12:40:28.000343 | Arlene | pythondev_help_Arlene_2017-12-11T12:40:28.000343 | 1,512,996,028.000343 | 103,281 |
pythondev | help | timestamp wont work for me, | 2017-12-11T12:42:08.000229 | Arlene | pythondev_help_Arlene_2017-12-11T12:42:08.000229 | 1,512,996,128.000229 | 103,282 |
pythondev | help | ill try to see if i can get it to be `2017-12-08 23:19:36` in this format | 2017-12-11T12:42:27.000205 | Arlene | pythondev_help_Arlene_2017-12-11T12:42:27.000205 | 1,512,996,147.000205 | 103,283 |
pythondev | help | ```
>>> import arrow
>>> s = "2017-12-08 17:19:36 -0600"
>>> dt = arrow.get(s, 'YYYY-MM-DD HH:mm:ss Z')
>>> print(dt)
2017-12-08T17:19:36-06:00
>>> print(<http://dt.to|dt.to>('UTC'))
2017-12-08T23:19:36+00:00
``` | 2017-12-11T12:44:37.000014 | Suellen | pythondev_help_Suellen_2017-12-11T12:44:37.000014 | 1,512,996,277.000014 | 103,284 |
pythondev | help | never used arrow :confused: looks nice | 2017-12-11T12:45:02.000387 | Ciera | pythondev_help_Ciera_2017-12-11T12:45:02.000387 | 1,512,996,302.000387 | 103,285 |
pythondev | help | it's a beautiful thing :slightly_smiling_face: | 2017-12-11T12:45:14.000577 | Suellen | pythondev_help_Suellen_2017-12-11T12:45:14.000577 | 1,512,996,314.000577 | 103,286 |
pythondev | help | WOW that is AWESOME | 2017-12-11T12:46:01.000143 | Arlene | pythondev_help_Arlene_2017-12-11T12:46:01.000143 | 1,512,996,361.000143 | 103,287 |
pythondev | help | Thanks <@Suellen> | 2017-12-11T12:46:10.000749 | Arlene | pythondev_help_Arlene_2017-12-11T12:46:10.000749 | 1,512,996,370.000749 | 103,288 |
pythondev | help | :tada: | 2017-12-11T12:46:25.000299 | Suellen | pythondev_help_Suellen_2017-12-11T12:46:25.000299 | 1,512,996,385.000299 | 103,289 |
pythondev | help | Turns out bings API isn't ratelimited and allows upwards of 250k queries a year so that should do. | 2017-12-11T12:47:18.000447 | Myong | pythondev_help_Myong_2017-12-11T12:47:18.000447 | 1,512,996,438.000447 | 103,290 |
pythondev | help | so I guess it is rate limited at 250k queries a year but whatever | 2017-12-11T12:47:51.000183 | Myong | pythondev_help_Myong_2017-12-11T12:47:51.000183 | 1,512,996,471.000183 | 103,291 |
pythondev | help | does anyone has ever used Celery with Redis sentinels? | 2017-12-11T13:28:55.000216 | Jacki | pythondev_help_Jacki_2017-12-11T13:28:55.000216 | 1,512,998,935.000216 | 103,292 |
pythondev | help | it is driving me crazy … | 2017-12-11T13:29:11.000539 | Jacki | pythondev_help_Jacki_2017-12-11T13:29:11.000539 | 1,512,998,951.000539 | 103,293 |
pythondev | help | Question: I have a server-side application that automates downloading a bunch of excel files, performs some ETL, and writes them to a SQL db. I have like 30 functions that contain each search (automated through selenium, and the site's HTML doesn't really lend itself to iterating through those searches in a single func... | 2017-12-11T13:34:11.000307 | Enid | pythondev_help_Enid_2017-12-11T13:34:11.000307 | 1,512,999,251.000307 | 103,294 |
pythondev | help | Are the functions just different in terms of the search arguments they're called with or are they actually different functions? | 2017-12-11T13:46:30.000075 | Antionette | pythondev_help_Antionette_2017-12-11T13:46:30.000075 | 1,512,999,990.000075 | 103,295 |
pythondev | help | Also, is this a blocking function or are you using some sort of task queue like Celery? | 2017-12-11T13:48:13.000605 | Nicole | pythondev_help_Nicole_2017-12-11T13:48:13.000605 | 1,513,000,093.000605 | 103,296 |
pythondev | help | <@Antionette> They are different functions. | 2017-12-11T14:03:51.000001 | Enid | pythondev_help_Enid_2017-12-11T14:03:51.000001 | 1,513,001,031.000001 | 103,297 |
pythondev | help | <@Nicole> I'm not using a task queue. | 2017-12-11T14:04:29.000384 | Enid | pythondev_help_Enid_2017-12-11T14:04:29.000384 | 1,513,001,069.000384 | 103,298 |
pythondev | help | Is there an easy way to wrap a `slackclient` rtm_socket in a flask app so I can host on `pythonanywhere` | 2017-12-11T14:11:33.000619 | Glinda | pythondev_help_Glinda_2017-12-11T14:11:33.000619 | 1,513,001,493.000619 | 103,299 |
pythondev | help | Not that I know of but the you could host it on digital ocean | 2017-12-11T14:16:18.000390 | Ciera | pythondev_help_Ciera_2017-12-11T14:16:18.000390 | 1,513,001,778.00039 | 103,300 |
pythondev | help | I didnt know time objects would be such a big pain today haha. If I have the time in a string like `2017-12-11 11:21:29` is there a good way to convert string times like that into UTC times in python? | 2017-12-11T14:16:28.000026 | Arlene | pythondev_help_Arlene_2017-12-11T14:16:28.000026 | 1,513,001,788.000026 | 103,301 |
pythondev | help | There is the arrow lib <@Suellen> showed you or `datetime.strptime` | 2017-12-11T14:17:24.000710 | Ciera | pythondev_help_Ciera_2017-12-11T14:17:24.000710 | 1,513,001,844.00071 | 103,302 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.