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 | with 10,000 items | 2017-09-17T14:32:44.000033 | Catheryn | pythondev_help_Catheryn_2017-09-17T14:32:44.000033 | 1,505,658,764.000033 | 94,003 |
pythondev | help | heappush is fast assuming a heap does what you need | 2017-09-17T14:36:06.000035 | Catheryn | pythondev_help_Catheryn_2017-09-17T14:36:06.000035 | 1,505,658,966.000035 | 94,004 |
pythondev | help | im not sure i did that write | 2017-09-17T14:36:30.000082 | Catheryn | pythondev_help_Catheryn_2017-09-17T14:36:30.000082 | 1,505,658,990.000082 | 94,005 |
pythondev | help | ```@timeit
def heapInsert(arr: list) -> None:
heap = []
for el in arr:
heapq.heappush(heap, el)
``` | 2017-09-17T14:36:38.000030 | Catheryn | pythondev_help_Catheryn_2017-09-17T14:36:38.000030 | 1,505,658,998.00003 | 94,006 |
pythondev | help | is heappush the right function? | 2017-09-17T14:36:42.000087 | Catheryn | pythondev_help_Catheryn_2017-09-17T14:36:42.000087 | 1,505,659,002.000087 | 94,007 |
pythondev | help | you could get the functions to return the result, then assert they’re all the right values | 2017-09-17T17:25:02.000033 | Cristy | pythondev_help_Cristy_2017-09-17T17:25:02.000033 | 1,505,669,102.000033 | 94,008 |
pythondev | help | Having trouble figuring out how to upgrade my version of Celery from 3.1 to 4.1
It’s on an ubuntu server, if that matters… Can’t figure out why it won’t upgrade. | 2017-09-17T18:50:27.000093 | Zaida | pythondev_help_Zaida_2017-09-17T18:50:27.000093 | 1,505,674,227.000093 | 94,009 |
pythondev | help | `pip install Celery==4.1` won’t work? | 2017-09-17T18:51:41.000083 | Meg | pythondev_help_Meg_2017-09-17T18:51:41.000083 | 1,505,674,301.000083 | 94,010 |
pythondev | help | ```
(venv) alex@newton:~/newton$ pip install Celery==4.1
Requirement already satisfied: Celery==4.1 in ./venv/lib/python3.4/site-packages
Requirement already satisfied: billiard<3.6.0,>=3.5.0.2 in ./venv/lib/python3.4/site-packages (from Celery==4.1)
Requirement already satisfied: pytz>dev in ./venv/lib/python3.4/site-packages (from Celery==4.1)
Requirement already satisfied: kombu<5.0,>=4.0.2 in ./venv/lib/python3.4/site-packages (from Celery==4.1)
Requirement already satisfied: amqp<3.0,>=2.1.4 in ./venv/lib/python3.4/site-packages (from kombu<5.0,>=4.0.2->Celery==4.1)
Requirement already satisfied: vine>=1.1.3 in ./venv/lib/python3.4/site-packages (from amqp<3.0,>=2.1.4->kombu<5.0,>=4.0.2->Celery==4.1)
(venv) alex@newton:~/newton$ celery --version
3.1.6 (Cipater)
``` | 2017-09-17T18:52:21.000040 | Zaida | pythondev_help_Zaida_2017-09-17T18:52:21.000040 | 1,505,674,341.00004 | 94,011 |
pythondev | help | hmm | 2017-09-17T18:52:48.000098 | Meg | pythondev_help_Meg_2017-09-17T18:52:48.000098 | 1,505,674,368.000098 | 94,012 |
pythondev | help | how about `pip uninstall Celery==3.1.6` | 2017-09-17T18:53:01.000031 | Meg | pythondev_help_Meg_2017-09-17T18:53:01.000031 | 1,505,674,381.000031 | 94,013 |
pythondev | help | and then re-install | 2017-09-17T18:53:04.000088 | Meg | pythondev_help_Meg_2017-09-17T18:53:04.000088 | 1,505,674,384.000088 | 94,014 |
pythondev | help | Good call. I’ll give it a shot. | 2017-09-17T18:53:07.000069 | Zaida | pythondev_help_Zaida_2017-09-17T18:53:07.000069 | 1,505,674,387.000069 | 94,015 |
pythondev | help | Hah! ` Successfully uninstalled celery-4.1.0` | 2017-09-17T18:54:03.000032 | Zaida | pythondev_help_Zaida_2017-09-17T18:54:03.000032 | 1,505,674,443.000032 | 94,016 |
pythondev | help | I swear I copy/pasted ==3.1.6 | 2017-09-17T18:54:15.000024 | Zaida | pythondev_help_Zaida_2017-09-17T18:54:15.000024 | 1,505,674,455.000024 | 94,017 |
pythondev | help | Then after a reinstall:
```
Successfully installed Celery-4.1.0
(venv) alex@newton:~/newton$ celery --version
3.1.6 (Cipater)
``` | 2017-09-17T18:54:53.000054 | Zaida | pythondev_help_Zaida_2017-09-17T18:54:53.000054 | 1,505,674,493.000054 | 94,018 |
pythondev | help | This feels like some kind of classic comedy bit. | 2017-09-17T18:55:16.000004 | Zaida | pythondev_help_Zaida_2017-09-17T18:55:16.000004 | 1,505,674,516.000004 | 94,019 |
pythondev | help | hahaha | 2017-09-17T18:55:21.000036 | Meg | pythondev_help_Meg_2017-09-17T18:55:21.000036 | 1,505,674,521.000036 | 94,020 |
pythondev | help | what does `which celery` show you? | 2017-09-17T18:57:06.000004 | Meg | pythondev_help_Meg_2017-09-17T18:57:06.000004 | 1,505,674,626.000004 | 94,021 |
pythondev | help | maybe you need to deactivate and reactivate the virtualenv? | 2017-09-17T18:57:27.000089 | Meg | pythondev_help_Meg_2017-09-17T18:57:27.000089 | 1,505,674,647.000089 | 94,022 |
pythondev | help | ```(venv) alex@newton:~/newton$ which celery
/home/alex/newton/venv/bin/celery``` | 2017-09-17T18:57:37.000115 | Zaida | pythondev_help_Zaida_2017-09-17T18:57:37.000115 | 1,505,674,657.000115 | 94,023 |
pythondev | help | Good call! | 2017-09-17T18:57:55.000071 | Zaida | pythondev_help_Zaida_2017-09-17T18:57:55.000071 | 1,505,674,675.000071 | 94,024 |
pythondev | help | ```(venv) alex@newton:~/newton$ celery --version
4.1.0 (latentcall)``` | 2017-09-17T18:58:07.000040 | Zaida | pythondev_help_Zaida_2017-09-17T18:58:07.000040 | 1,505,674,687.00004 | 94,025 |
pythondev | help | similar path with me | 2017-09-17T18:58:08.000016 | Meg | pythondev_help_Meg_2017-09-17T18:58:08.000016 | 1,505,674,688.000016 | 94,026 |
pythondev | help | ah, nice | 2017-09-17T18:58:15.000014 | Meg | pythondev_help_Meg_2017-09-17T18:58:15.000014 | 1,505,674,695.000014 | 94,027 |
pythondev | help | interesting, though | 2017-09-17T18:58:29.000007 | Meg | pythondev_help_Meg_2017-09-17T18:58:29.000007 | 1,505,674,709.000007 | 94,028 |
pythondev | help | Thanks, man. Didn’t realize that would have an affect. | 2017-09-17T18:58:30.000013 | Zaida | pythondev_help_Zaida_2017-09-17T18:58:30.000013 | 1,505,674,710.000013 | 94,029 |
pythondev | help | me either | 2017-09-17T18:58:34.000044 | Meg | pythondev_help_Meg_2017-09-17T18:58:34.000044 | 1,505,674,714.000044 | 94,030 |
pythondev | help | only thing that made me think of it is using pycharm with vagrant | 2017-09-17T18:58:45.000052 | Meg | pythondev_help_Meg_2017-09-17T18:58:45.000052 | 1,505,674,725.000052 | 94,031 |
pythondev | help | Yeah. Not a good punchline after all that, but I’ll take it. | 2017-09-17T18:58:45.000074 | Zaida | pythondev_help_Zaida_2017-09-17T18:58:45.000074 | 1,505,674,725.000074 | 94,032 |
pythondev | help | when I add pip packages in vagrant, pycharm doesn’t recognize them until after a cache invalidate and restart | 2017-09-17T18:59:07.000018 | Meg | pythondev_help_Meg_2017-09-17T18:59:07.000018 | 1,505,674,747.000018 | 94,033 |
pythondev | help | so made me wonder if there was something similar happening | 2017-09-17T18:59:32.000036 | Meg | pythondev_help_Meg_2017-09-17T18:59:32.000036 | 1,505,674,772.000036 | 94,034 |
pythondev | help | Yeah, I’ve had to do something similar with pycharm a couple times. I guess it’s a similar venv in a sense? | 2017-09-17T18:59:58.000071 | Zaida | pythondev_help_Zaida_2017-09-17T18:59:58.000071 | 1,505,674,798.000071 | 94,035 |
pythondev | help | I don’t know. what seems to me is the remote interpreter connection doesn’t update with new packages when you install on the remote maching | 2017-09-17T19:01:52.000039 | Meg | pythondev_help_Meg_2017-09-17T19:01:52.000039 | 1,505,674,912.000039 | 94,036 |
pythondev | help | and in order to get pycharm to see them, you need to clear the cache and rebuild the index | 2017-09-17T19:02:10.000113 | Meg | pythondev_help_Meg_2017-09-17T19:02:10.000113 | 1,505,674,930.000113 | 94,037 |
pythondev | help | which can only be done via cache invalidate and restart | 2017-09-17T19:02:28.000077 | Meg | pythondev_help_Meg_2017-09-17T19:02:28.000077 | 1,505,674,948.000077 | 94,038 |
pythondev | help | Does the cache invalidate thing happen when you just close pycharm and open it again? | 2017-09-17T19:03:02.000107 | Zaida | pythondev_help_Zaida_2017-09-17T19:03:02.000107 | 1,505,674,982.000107 | 94,039 |
pythondev | help | I don’t believe so | 2017-09-17T19:06:22.000062 | Meg | pythondev_help_Meg_2017-09-17T19:06:22.000062 | 1,505,675,182.000062 | 94,040 |
pythondev | help | Ah, maybe I haven’t encountered that before, then. | 2017-09-17T19:06:38.000072 | Zaida | pythondev_help_Zaida_2017-09-17T19:06:38.000072 | 1,505,675,198.000072 | 94,041 |
pythondev | help | because cache invalidate happens when you select the option in File menu | 2017-09-17T19:06:40.000005 | Meg | pythondev_help_Meg_2017-09-17T19:06:40.000005 | 1,505,675,200.000005 | 94,042 |
pythondev | help | <https://www.jetbrains.com/help/pycharm/cleaning-system-cache.html> | 2017-09-17T19:07:25.000037 | Meg | pythondev_help_Meg_2017-09-17T19:07:25.000037 | 1,505,675,245.000037 | 94,043 |
pythondev | help | apparently not | 2017-09-17T19:07:29.000018 | Meg | pythondev_help_Meg_2017-09-17T19:07:29.000018 | 1,505,675,249.000018 | 94,044 |
pythondev | help | hey is anyone on by chance | 2017-09-17T19:59:19.000007 | Brendon | pythondev_help_Brendon_2017-09-17T19:59:19.000007 | 1,505,678,359.000007 | 94,045 |
pythondev | help | I have a more than most likely stupid question | 2017-09-17T19:59:28.000029 | Brendon | pythondev_help_Brendon_2017-09-17T19:59:28.000029 | 1,505,678,368.000029 | 94,046 |
pythondev | help | <@Brendon> we're an international community so people come and go, best bet is to just drop a question and a code sample in here | 2017-09-17T20:01:45.000081 | Marcie | pythondev_help_Marcie_2017-09-17T20:01:45.000081 | 1,505,678,505.000081 | 94,047 |
pythondev | help | well i dont really have a code example its more of a gen question. You know how you have event listeners in JS? | 2017-09-17T20:02:12.000165 | Brendon | pythondev_help_Brendon_2017-09-17T20:02:12.000165 | 1,505,678,532.000165 | 94,048 |
pythondev | help | yup | 2017-09-17T20:02:36.000055 | Marcie | pythondev_help_Marcie_2017-09-17T20:02:36.000055 | 1,505,678,556.000055 | 94,049 |
pythondev | help | Well i'm trying to develop an addon for Sublime Text 3 that when you type in html specifically classes and ids that it automatically generates a CSS file with the said classes and ids. | 2017-09-17T20:02:57.000010 | Brendon | pythondev_help_Brendon_2017-09-17T20:02:57.000010 | 1,505,678,577.00001 | 94,050 |
pythondev | help | Im working hard on this i've just hit a roadblock | 2017-09-17T20:03:14.000007 | Brendon | pythondev_help_Brendon_2017-09-17T20:03:14.000007 | 1,505,678,594.000007 | 94,051 |
pythondev | help | sounds ridiculous right? | 2017-09-17T20:03:30.000066 | Brendon | pythondev_help_Brendon_2017-09-17T20:03:30.000066 | 1,505,678,610.000066 | 94,052 |
pythondev | help | sounds alright to me | 2017-09-17T20:04:48.000056 | Marcie | pythondev_help_Marcie_2017-09-17T20:04:48.000056 | 1,505,678,688.000056 | 94,053 |
pythondev | help | what's the roadblock? | 2017-09-17T20:04:58.000116 | Marcie | pythondev_help_Marcie_2017-09-17T20:04:58.000116 | 1,505,678,698.000116 | 94,054 |
pythondev | help | well I'm having a trip up on the fact that i cannot find the args for that particular aspect of the program | 2017-09-17T20:06:23.000068 | Brendon | pythondev_help_Brendon_2017-09-17T20:06:23.000068 | 1,505,678,783.000068 | 94,055 |
pythondev | help | (new to python) | 2017-09-17T20:06:29.000010 | Brendon | pythondev_help_Brendon_2017-09-17T20:06:29.000010 | 1,505,678,789.00001 | 94,056 |
pythondev | help | I cannot seem to find a great resource for Python knowledge learning wise to make this first plugin happen | 2017-09-17T20:09:27.000055 | Brendon | pythondev_help_Brendon_2017-09-17T20:09:27.000055 | 1,505,678,967.000055 | 94,057 |
pythondev | help | see it seems impossible? | 2017-09-17T20:10:54.000047 | Brendon | pythondev_help_Brendon_2017-09-17T20:10:54.000047 | 1,505,679,054.000047 | 94,058 |
pythondev | help | Good morning buddies. | 2017-09-18T02:48:10.000233 | Desire | pythondev_help_Desire_2017-09-18T02:48:10.000233 | 1,505,702,890.000233 | 94,059 |
pythondev | help | ``` print(capital.data)
core_capital = "0"
nest_capital = "0"
print("yolo")
print(len(capital.data))
if capital.data[0]["product"] == "CORE_PRODUCT":
core_capital = capital.data[0]["capital"]
elif capital.data[0]["product"] == "NEST_EGG":
nest_capital = capital.data[0]["capital"]
net_capital = float(core_capital) + float(nest_capital)
return Response({"core_product": core_capital,
"nest_egg": nest_capital,
"net_capital": str(net_capital) })``` | 2017-09-18T02:49:04.000283 | Desire | pythondev_help_Desire_2017-09-18T02:49:04.000283 | 1,505,702,944.000283 | 94,060 |
pythondev | help | Output:
```[OrderedDict([('capital', '376031.95'), ('product', 'CORE_PRODUCT')]), OrderedDict([('capital', '15000.00'), ('product', 'NEST_EGG')])]
yolo
2``` | 2017-09-18T02:49:42.000095 | Desire | pythondev_help_Desire_2017-09-18T02:49:42.000095 | 1,505,702,982.000095 | 94,061 |
pythondev | help | So I get this ordered dict from a query response, where a particular user may have both products or none or just one of the two. | 2017-09-18T02:51:02.000037 | Desire | pythondev_help_Desire_2017-09-18T02:51:02.000037 | 1,505,703,062.000037 | 94,062 |
pythondev | help | What I want to do is in my json response , i want to set the value of the product (nest_capital or core_capital) to 0, if that user does not have that product. | 2017-09-18T02:51:57.000127 | Desire | pythondev_help_Desire_2017-09-18T02:51:57.000127 | 1,505,703,117.000127 | 94,063 |
pythondev | help | I am not able to get it to work, i understand that I have to loop though the dict but I am getting confused. | 2017-09-18T02:52:31.000085 | Desire | pythondev_help_Desire_2017-09-18T02:52:31.000085 | 1,505,703,151.000085 | 94,064 |
pythondev | help | Appreciate your help. Thanks | 2017-09-18T02:52:43.000270 | Desire | pythondev_help_Desire_2017-09-18T02:52:43.000270 | 1,505,703,163.00027 | 94,065 |
pythondev | help | Final json response, suppose the user does not have nest_egg in his portfolio :
```{
"core_product": "376031.95",
"nest_egg": "0",
"net_capital": "376031.95"
}``` | 2017-09-18T02:54:03.000024 | Desire | pythondev_help_Desire_2017-09-18T02:54:03.000024 | 1,505,703,243.000024 | 94,066 |
pythondev | help | Hmm, that bit seems like it should work. What are you seeing instead, some errors? | 2017-09-18T04:12:45.000126 | Junita | pythondev_help_Junita_2017-09-18T04:12:45.000126 | 1,505,707,965.000126 | 94,067 |
pythondev | help | <@Junita> That bit works but I need to loop inside the dict to make it deterministic. I am hitting a blank here. | 2017-09-18T04:28:42.000271 | Desire | pythondev_help_Desire_2017-09-18T04:28:42.000271 | 1,505,708,922.000271 | 94,068 |
pythondev | help | depending on the length of the dict. | 2017-09-18T04:29:16.000338 | Desire | pythondev_help_Desire_2017-09-18T04:29:16.000338 | 1,505,708,956.000338 | 94,069 |
pythondev | help | oh, I see what you are saying. Do you want one response, that sums it all up? | 2017-09-18T04:39:33.000048 | Junita | pythondev_help_Junita_2017-09-18T04:39:33.000048 | 1,505,709,573.000048 | 94,070 |
pythondev | help | <@Junita> This is the response from the query ```[OrderedDict([('capital', '376031.95'), ('product', 'CORE_PRODUCT')]), OrderedDict([('capital', '15000.00'), ('product', 'NEST_EGG')])]```, Now this user has both the products core_product as well as nest_egg. | 2017-09-18T04:44:26.000018 | Desire | pythondev_help_Desire_2017-09-18T04:44:26.000018 | 1,505,709,866.000018 | 94,071 |
pythondev | help | ```so it will be capital.data[0]["product"] == "CORE_PRODUCT"``` and ``` capital.data[1]["product"] == "NEST_EGG"``` | 2017-09-18T04:44:57.000048 | Desire | pythondev_help_Desire_2017-09-18T04:44:57.000048 | 1,505,709,897.000048 | 94,072 |
pythondev | help | I guess I’m not understanding the problem then. What do you mean by “make it deterministic” - do you feel like it’s non-deterministic now? Do you get different values on different runs? | 2017-09-18T04:46:06.000062 | Junita | pythondev_help_Junita_2017-09-18T04:46:06.000062 | 1,505,709,966.000062 | 94,073 |
pythondev | help | now these two variables `core_capital` and `nest_capital` should have the value of the respective products if the user has them in his portfolio or it should be 0. | 2017-09-18T04:46:53.000442 | Desire | pythondev_help_Desire_2017-09-18T04:46:53.000442 | 1,505,710,013.000442 | 94,074 |
pythondev | help | have you tried something like `for item in capital.data:` and then replacing instances of `capital.data[0]` with `item`? | 2017-09-18T04:48:25.000337 | Junita | pythondev_help_Junita_2017-09-18T04:48:25.000337 | 1,505,710,105.000337 | 94,075 |
pythondev | help | No, i will try that | 2017-09-18T04:48:41.000283 | Desire | pythondev_help_Desire_2017-09-18T04:48:41.000283 | 1,505,710,121.000283 | 94,076 |
pythondev | help | and accumulate the results | 2017-09-18T04:48:47.000231 | Junita | pythondev_help_Junita_2017-09-18T04:48:47.000231 | 1,505,710,127.000231 | 94,077 |
pythondev | help | ``` for item in capital.data:
if item["product"] == "CORE_PRODUCT":
core_capital = item["capital"]
elif item["product"] == "NEST_EGG":
nest_capital = item["capital"]``` | 2017-09-18T04:52:51.000007 | Desire | pythondev_help_Desire_2017-09-18T04:52:51.000007 | 1,505,710,371.000007 | 94,078 |
pythondev | help | <@Junita> Thanks for pointing me towards the right direction. | 2017-09-18T04:53:14.000224 | Desire | pythondev_help_Desire_2017-09-18T04:53:14.000224 | 1,505,710,394.000224 | 94,079 |
pythondev | help | Was i being too stupid ? | 2017-09-18T04:53:31.000148 | Desire | pythondev_help_Desire_2017-09-18T04:53:31.000148 | 1,505,710,411.000148 | 94,080 |
pythondev | help | np. and no, not at all. it just takes experience. and now you have more than you did before. :slightly_smiling_face: | 2017-09-18T04:54:12.000335 | Junita | pythondev_help_Junita_2017-09-18T04:54:12.000335 | 1,505,710,452.000335 | 94,081 |
pythondev | help | i’m having trouble getting stubfiles for mypy to work | 2017-09-18T20:03:04.000143 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:03:04.000143 | 1,505,764,984.000143 | 94,082 |
pythondev | help | i usually use typehints in my actual code but im trying to learn how stubfiles work. so i made a super basic test module and a stubfile to go with it. when i run mypy it doesnt parse the stub file tho | 2017-09-18T20:04:19.000085 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:04:19.000085 | 1,505,765,059.000085 | 94,083 |
pythondev | help | i’m using mypy -v to see that | 2017-09-18T20:04:27.000136 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:04:27.000136 | 1,505,765,067.000136 | 94,084 |
pythondev | help | heres the files: | 2017-09-18T20:04:33.000159 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:04:33.000159 | 1,505,765,073.000159 | 94,085 |
pythondev | help | ```class foo:
def __init__(self, bar, baz):
self.bar = bar
self.baz = baz
def f(self):
return self.bar + self.baz
``` | 2017-09-18T20:04:42.000066 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:04:42.000066 | 1,505,765,082.000066 | 94,086 |
pythondev | help | ```class foo:
def __init__(self, bar: int, baz: int) -> None: ...
def f(self) -> int: ...
``` | 2017-09-18T20:04:52.000065 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:04:52.000065 | 1,505,765,092.000065 | 94,087 |
pythondev | help | they are called mytest.py and mytest.pyi and are in the same holder | 2017-09-18T20:05:09.000026 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:05:09.000026 | 1,505,765,109.000026 | 94,088 |
pythondev | help | and i’m executing `mypy mytest.py` | 2017-09-18T20:05:21.000073 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:05:21.000073 | 1,505,765,121.000073 | 94,089 |
pythondev | help | and `mypy -v mytest.py` doesnt show mytest.pyi being parsed | 2017-09-18T20:05:58.000153 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:05:58.000153 | 1,505,765,158.000153 | 94,090 |
pythondev | help | am i doing something wrong? | 2017-09-18T20:06:05.000029 | Catheryn | pythondev_help_Catheryn_2017-09-18T20:06:05.000029 | 1,505,765,165.000029 | 94,091 |
pythondev | help | well in case anyone else was curious about the solution its here: <https://stackoverflow.com/questions/37537194/using-mypy-local-stubs> | 2017-09-19T03:19:21.000201 | Catheryn | pythondev_help_Catheryn_2017-09-19T03:19:21.000201 | 1,505,791,161.000201 | 94,092 |
pythondev | help | Hey Guys
How can I achieve a statement like this
`client.list("fruits").get("oranges").number()`
Here I want to pass parameter for each method , I am working on API wrapper and creating methods to interact with the server | 2017-09-19T05:00:05.000464 | Ward | pythondev_help_Ward_2017-09-19T05:00:05.000464 | 1,505,797,205.000464 | 94,093 |
pythondev | help | <@Ward> <http://code.activestate.com/recipes/578770-method-chaining-or-cascading/> | 2017-09-19T05:19:31.000352 | Vicenta | pythondev_help_Vicenta_2017-09-19T05:19:31.000352 | 1,505,798,371.000352 | 94,094 |
pythondev | help | <@Ward> <https://stackoverflow.com/questions/41817578/basic-method-chaining> | 2017-09-19T05:19:50.000115 | Vicenta | pythondev_help_Vicenta_2017-09-19T05:19:50.000115 | 1,505,798,390.000115 | 94,095 |
pythondev | help | Thanks | 2017-09-19T05:31:11.000490 | Ward | pythondev_help_Ward_2017-09-19T05:31:11.000490 | 1,505,799,071.00049 | 94,096 |
pythondev | help | Hi Everyone, looking for a bit of advice on where to being reading, libraries to look at maybe some examples if there is one. I have a list of 180,000 items I need matching images for, so want to download images from a google search, rename the image to the search string, create a 100x100 thumbnail, upload the original and thumbnail image to an s3 bucket and add the new file name to the original csv file. I am really new to python so apologies if this has been asked before. | 2017-09-19T06:04:14.000187 | Tracey | pythondev_help_Tracey_2017-09-19T06:04:14.000187 | 1,505,801,054.000187 | 94,097 |
pythondev | help | that is a _really_ ambitious scale | 2017-09-19T06:07:01.000238 | Meg | pythondev_help_Meg_2017-09-19T06:07:01.000238 | 1,505,801,221.000238 | 94,098 |
pythondev | help | because if you’re running it on your own machine for 100 items, it could take about two seconds per item to execute | 2017-09-19T06:08:21.000043 | Meg | pythondev_help_Meg_2017-09-19T06:08:21.000043 | 1,505,801,301.000043 | 94,099 |
pythondev | help | that’s about two minutes there to test | 2017-09-19T06:08:33.000208 | Meg | pythondev_help_Meg_2017-09-19T06:08:33.000208 | 1,505,801,313.000208 | 94,100 |
pythondev | help | Ahhh ok, time does not really matter, I can sit and leave the machine running int he background. | 2017-09-19T06:09:33.000012 | Tracey | pythondev_help_Tracey_2017-09-19T06:09:33.000012 | 1,505,801,373.000012 | 94,101 |
pythondev | help | and assume you’re able to get it down to a half second per item when deployed, that’s still 25 hours of execution time | 2017-09-19T06:09:41.000265 | Meg | pythondev_help_Meg_2017-09-19T06:09:41.000265 | 1,505,801,381.000265 | 94,102 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.