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 | alright that wasnt the issue (i am using blueprints) | 2017-08-27T07:31:00.000014 | Vita | pythondev_help_Vita_2017-08-27T07:31:00.000014 | 1,503,819,060.000014 | 91,103 |
pythondev | help | `create_app()` should take care of all that | 2017-08-27T07:35:39.000046 | Suellen | pythondev_help_Suellen_2017-08-27T07:35:39.000046 | 1,503,819,339.000046 | 91,104 |
pythondev | help | your app should also work the same when using Flask debug server, or gunicorn, or any combination | 2017-08-27T07:36:12.000011 | Suellen | pythondev_help_Suellen_2017-08-27T07:36:12.000011 | 1,503,819,372.000011 | 91,105 |
pythondev | help | otherwise something isn't right | 2017-08-27T07:36:22.000027 | Suellen | pythondev_help_Suellen_2017-08-27T07:36:22.000027 | 1,503,819,382.000027 | 91,106 |
pythondev | help | Hmmm not sure where i broke it at though....I'll continue to look and let ya know when I have found something | 2017-08-27T07:38:16.000014 | Vita | pythondev_help_Vita_2017-08-27T07:38:16.000014 | 1,503,819,496.000014 | 91,107 |
pythondev | help | Does it matter whether I `CREATE EXTENSION postgis;` before or after creating the rest of the tables in my database? | 2017-08-27T09:41:13.000100 | Thomasina | pythondev_help_Thomasina_2017-08-27T09:41:13.000100 | 1,503,826,873.0001 | 91,108 |
pythondev | help | if you haven't created an extension, how would you use types from it in your table columns? | 2017-08-27T09:50:08.000027 | Suellen | pythondev_help_Suellen_2017-08-27T09:50:08.000027 | 1,503,827,408.000027 | 91,109 |
pythondev | help | <@Suellen> uhhh.....magic, of course. | 2017-08-27T11:03:00.000018 | Thomasina | pythondev_help_Thomasina_2017-08-27T11:03:00.000018 | 1,503,831,780.000018 | 91,110 |
pythondev | help | `return User_Report.query.filter(func.ST_DWithin(geom::geography, ST_SetSRID(ST_MakePoint(lon, lat), 4326)::geography, 50000))`
Why does this keep giving me a syntax error? | 2017-08-27T11:22:30.000014 | Thomasina | pythondev_help_Thomasina_2017-08-27T11:22:30.000014 | 1,503,832,950.000014 | 91,111 |
pythondev | help | Looks perfectly fine to me | 2017-08-27T11:22:36.000034 | Thomasina | pythondev_help_Thomasina_2017-08-27T11:22:36.000034 | 1,503,832,956.000034 | 91,112 |
pythondev | help | Oh wait, is `::geography` an SQL and not a Python thing? | 2017-08-27T11:24:21.000054 | Thomasina | pythondev_help_Thomasina_2017-08-27T11:24:21.000054 | 1,503,833,061.000054 | 91,113 |
pythondev | help | it is :slightly_smiling_face: | 2017-08-27T11:25:01.000031 | Suellen | pythondev_help_Suellen_2017-08-27T11:25:01.000031 | 1,503,833,101.000031 | 91,114 |
pythondev | help | probably even postgres specific | 2017-08-27T11:25:19.000028 | Suellen | pythondev_help_Suellen_2017-08-27T11:25:19.000028 | 1,503,833,119.000028 | 91,115 |
pythondev | help | Ah, ok, my bad | 2017-08-27T11:25:24.000066 | Thomasina | pythondev_help_Thomasina_2017-08-27T11:25:24.000066 | 1,503,833,124.000066 | 91,116 |
pythondev | help | `cast(geom, Geography)` is supposedly the way to do it but it doesn't work because `name 'cast' is not defined` but I don't know why and there are literally no relevant results when I search. :confused: | 2017-08-27T12:13:44.000032 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:13:44.000032 | 1,503,836,024.000032 | 91,117 |
pythondev | help | I must be missing something but I don't know what | 2017-08-27T12:13:52.000096 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:13:52.000096 | 1,503,836,032.000096 | 91,118 |
pythondev | help | `func.cast(...)` | 2017-08-27T12:14:03.000028 | Suellen | pythondev_help_Suellen_2017-08-27T12:14:03.000028 | 1,503,836,043.000028 | 91,119 |
pythondev | help | I'm not 100% certain | 2017-08-27T12:14:22.000108 | Suellen | pythondev_help_Suellen_2017-08-27T12:14:22.000108 | 1,503,836,062.000108 | 91,120 |
pythondev | help | You need to work with sql and not python for that | 2017-08-27T12:15:27.000025 | Meg | pythondev_help_Meg_2017-08-27T12:15:27.000025 | 1,503,836,127.000025 | 91,121 |
pythondev | help | doesn't GeoAlchemy provide helpers? | 2017-08-27T12:15:57.000026 | Suellen | pythondev_help_Suellen_2017-08-27T12:15:57.000026 | 1,503,836,157.000026 | 91,122 |
pythondev | help | I'm on mobile so don't have the links handy, but postgis has exactly the same queries you're looking for | 2017-08-27T12:16:11.000045 | Meg | pythondev_help_Meg_2017-08-27T12:16:11.000045 | 1,503,836,171.000045 | 91,123 |
pythondev | help | If it's anything like geodjango, it implements some but not the entire feature set | 2017-08-27T12:16:41.000003 | Meg | pythondev_help_Meg_2017-08-27T12:16:41.000003 | 1,503,836,201.000003 | 91,124 |
pythondev | help | <@Suellen> Of course! I was just uhhh...testing your knowledge! :stuck_out_tongue_winking_eye: | 2017-08-27T12:16:47.000104 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:16:47.000104 | 1,503,836,207.000104 | 91,125 |
pythondev | help | <@Suellen> :taco: | 2017-08-27T12:17:00.000079 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:17:00.000079 | 1,503,836,220.000079 | 91,126 |
pythondev | help | <@Meg> `cast(geom, Geography)` seems to be the way to do it with Geoalchemy | 2017-08-27T12:17:19.000101 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:17:19.000101 | 1,503,836,239.000101 | 91,127 |
pythondev | help | Sweet! | 2017-08-27T12:17:35.000058 | Meg | pythondev_help_Meg_2017-08-27T12:17:35.000058 | 1,503,836,255.000058 | 91,128 |
pythondev | help | There's certainly a learning curve to figure what's been implemented in the orm and what hasn't. | 2017-08-27T12:18:08.000047 | Meg | pythondev_help_Meg_2017-08-27T12:18:08.000047 | 1,503,836,288.000047 | 91,129 |
pythondev | help | For example, geodjango doesn't have any clustering built into it, but you can do it with postgis once you install the nearest neighbor extension | 2017-08-27T12:18:52.000067 | Meg | pythondev_help_Meg_2017-08-27T12:18:52.000067 | 1,503,836,332.000067 | 91,130 |
pythondev | help | Definitely. I figured out how to do what I wanted to do using SQL in the command line but didn't realize it'd be a bit different in Python. | 2017-08-27T12:32:47.000089 | Thomasina | pythondev_help_Thomasina_2017-08-27T12:32:47.000089 | 1,503,837,167.000089 | 91,131 |
pythondev | help | It will be | 2017-08-27T12:33:06.000019 | Meg | pythondev_help_Meg_2017-08-27T12:33:06.000019 | 1,503,837,186.000019 | 91,132 |
pythondev | help | Because geoalchemy has its own interface to use | 2017-08-27T12:33:22.000063 | Meg | pythondev_help_Meg_2017-08-27T12:33:22.000063 | 1,503,837,202.000063 | 91,133 |
pythondev | help | So you'll have to translate from a working sql call to how geoalchemy does it | 2017-08-27T12:33:52.000068 | Meg | pythondev_help_Meg_2017-08-27T12:33:52.000068 | 1,503,837,232.000068 | 91,134 |
pythondev | help | <@Suellen> the issue was the wrong server name in my instance folder | 2017-08-27T19:08:46.000001 | Vita | pythondev_help_Vita_2017-08-27T19:08:46.000001 | 1,503,860,926.000001 | 91,135 |
pythondev | help | Hi,
I need to write a python script. On running it will automatically updates and upgrades the ubuntu. | 2017-08-28T05:00:14.000406 | Delisa | pythondev_help_Delisa_2017-08-28T05:00:14.000406 | 1,503,896,414.000406 | 91,136 |
pythondev | help | Hi,
Anyone tried out the Magensa service for credit card decryption? I am trying to use them for a POS. I am using the stripe payment gateway for credit card payment. I just want to get the decrypted card number using the Magensa service. But their doc shows integration with payment gateway. I want to make payment from my server. Any help would be appreciated. | 2017-08-28T05:14:19.000162 | Boris | pythondev_help_Boris_2017-08-28T05:14:19.000162 | 1,503,897,259.000162 | 91,137 |
pythondev | help | <@Delisa> there is tool that are more adequate for this. take a look at ansible (written in python) | 2017-08-28T05:16:13.000304 | Ciera | pythondev_help_Ciera_2017-08-28T05:16:13.000304 | 1,503,897,373.000304 | 91,138 |
pythondev | help | <@Ciera>
Actually I want to learn python coding.
So I am trying to write code and learn it. | 2017-08-28T05:19:33.000233 | Delisa | pythondev_help_Delisa_2017-08-28T05:19:33.000233 | 1,503,897,573.000233 | 91,139 |
pythondev | help | Hello all! I divide two integers i.e. 9/10 and expect to get 0 as a result, but instead got 1. Same test in console produce 0. Why isthat ? | 2017-08-28T10:00:47.000596 | Floy | pythondev_help_Floy_2017-08-28T10:00:47.000596 | 1,503,914,447.000596 | 91,140 |
pythondev | help | ```
def pop(self):
stackidx = self.currentindex / self.maxstack #index of the stack
idx = self.currentindex % self.maxstack #index of the item within the stack
self.currentindex -= 1
item = self.stacks[stackidx].pop()
if idx == 0:
self.stacks.pop()
return item
``` | 2017-08-28T10:01:13.000028 | Floy | pythondev_help_Floy_2017-08-28T10:01:13.000028 | 1,503,914,473.000028 | 91,141 |
pythondev | help | Python 2:
```
>>> 9 / 10
0
```
Python 3:
```
>>> 9 / 10
0.9
```
Neither is `1`. | 2017-08-28T10:02:06.000476 | Suellen | pythondev_help_Suellen_2017-08-28T10:02:06.000476 | 1,503,914,526.000476 | 91,142 |
pythondev | help | here is screenshot from debug session: | 2017-08-28T10:03:06.000265 | Floy | pythondev_help_Floy_2017-08-28T10:03:06.000265 | 1,503,914,586.000265 | 91,143 |
pythondev | help | If you expect zero in this case, you need to use "integer division".
Example:
```
>>> 9 // 10
0
``` | 2017-08-28T10:03:11.000218 | Suellen | pythondev_help_Suellen_2017-08-28T10:03:11.000218 | 1,503,914,591.000218 | 91,144 |
pythondev | help | can someone explain how this is possible | 2017-08-28T10:03:36.000053 | Floy | pythondev_help_Floy_2017-08-28T10:03:36.000053 | 1,503,914,616.000053 | 91,145 |
pythondev | help | `%` is not `/` | 2017-08-28T10:03:40.000161 | Ciera | pythondev_help_Ciera_2017-08-28T10:03:40.000161 | 1,503,914,620.000161 | 91,146 |
pythondev | help | `%` is the modulo | 2017-08-28T10:03:48.000060 | Ciera | pythondev_help_Ciera_2017-08-28T10:03:48.000060 | 1,503,914,628.00006 | 91,147 |
pythondev | help | <@Ciera> look at the operation above that | 2017-08-28T10:04:02.000435 | Floy | pythondev_help_Floy_2017-08-28T10:04:02.000435 | 1,503,914,642.000435 | 91,148 |
pythondev | help | oh sorry my bad | 2017-08-28T10:04:18.000019 | Ciera | pythondev_help_Ciera_2017-08-28T10:04:18.000019 | 1,503,914,658.000019 | 91,149 |
pythondev | help | ignore idx, | 2017-08-28T10:04:20.000088 | Floy | pythondev_help_Floy_2017-08-28T10:04:20.000088 | 1,503,914,660.000088 | 91,150 |
pythondev | help | <@Floy> you're looking at `self.currentindex` _after_ it was decreased by 1 | 2017-08-28T10:04:32.000376 | Collette | pythondev_help_Collette_2017-08-28T10:04:32.000376 | 1,503,914,672.000376 | 91,151 |
pythondev | help | ops, true, this is the reason than... Thanks! | 2017-08-28T10:04:57.000137 | Floy | pythondev_help_Floy_2017-08-28T10:04:57.000137 | 1,503,914,697.000137 | 91,152 |
pythondev | help | So it was `10 / 10` at the time | 2017-08-28T10:04:57.000270 | Collette | pythondev_help_Collette_2017-08-28T10:04:57.000270 | 1,503,914,697.00027 | 91,153 |
pythondev | help | yeap, just confirmed that, need another pair of eyes, too tired. | 2017-08-28T10:05:33.000186 | Floy | pythondev_help_Floy_2017-08-28T10:05:33.000186 | 1,503,914,733.000186 | 91,154 |
pythondev | help | Thanks a lot! | 2017-08-28T10:05:46.000194 | Floy | pythondev_help_Floy_2017-08-28T10:05:46.000194 | 1,503,914,746.000194 | 91,155 |
pythondev | help | Anyone ever used this add on for wagtail translations? <http://wagtailtrans.readthedocs.io/> | 2017-08-28T11:01:07.000188 | Jeanette | pythondev_help_Jeanette_2017-08-28T11:01:07.000188 | 1,503,918,067.000188 | 91,156 |
pythondev | help | Has anyone knowledge with Rpi, and if it possible to activate gpios with client pc keyboard( headless) ? Like for instance control a rc car with (w,a,s,d) | 2017-08-28T17:02:30.000010 | Shirl | pythondev_help_Shirl_2017-08-28T17:02:30.000010 | 1,503,939,750.00001 | 91,157 |
pythondev | help | I don't see why not <@Shirl> - as long as they have you program focused it can handle keys however you want | 2017-08-28T17:03:17.000349 | Beula | pythondev_help_Beula_2017-08-28T17:03:17.000349 | 1,503,939,797.000349 | 91,158 |
pythondev | help | Is there like own library for keyboard keys? | 2017-08-28T17:05:52.000202 | Shirl | pythondev_help_Shirl_2017-08-28T17:05:52.000202 | 1,503,939,952.000202 | 91,159 |
pythondev | help | IIRC there are a lot of options, you can use PyGame or just read from `sys.stdin` and check the value | 2017-08-28T17:10:27.000118 | Beula | pythondev_help_Beula_2017-08-28T17:10:27.000118 | 1,503,940,227.000118 | 91,160 |
pythondev | help | If you're doing an RC car, make sure to capture both presses and releases otherwise each direction will stay stuck on :) | 2017-08-28T17:12:46.000347 | Patty | pythondev_help_Patty_2017-08-28T17:12:46.000347 | 1,503,940,366.000347 | 91,161 |
pythondev | help | <https://stackoverflow.com/questions/24352768/python-key-press-and-key-release-listener> | 2017-08-28T17:13:36.000021 | Beula | pythondev_help_Beula_2017-08-28T17:13:36.000021 | 1,503,940,416.000021 | 91,162 |
pythondev | help | Thanks <@Beula> and <@Patty> :) | 2017-08-29T00:03:36.000048 | Shirl | pythondev_help_Shirl_2017-08-29T00:03:36.000048 | 1,503,965,016.000048 | 91,163 |
pythondev | help | Hi, I am have been working with MSBI and SQL.. I want to learn python , Can anyone recommend me sites/books | 2017-08-29T03:30:48.000198 | Treva | pythondev_help_Treva_2017-08-29T03:30:48.000198 | 1,503,977,448.000198 | 91,164 |
pythondev | help | If you have a pluralsight subscription, the Python series by Robert Smallshire and Austin Bingham is one of the best I’ve seen. Worth a month’s fee actually just to consume those three | 2017-08-29T03:40:19.000184 | Britteny | pythondev_help_Britteny_2017-08-29T03:40:19.000184 | 1,503,978,019.000184 | 91,165 |
pythondev | help | Other than that, the Exercism python track is good for reinforcing what you’ve learned <http://www.exercism.io/languages/python/about> | 2017-08-29T03:41:12.000126 | Britteny | pythondev_help_Britteny_2017-08-29T03:41:12.000126 | 1,503,978,072.000126 | 91,166 |
pythondev | help | Pymongo issue, `X.X.X.X:27017: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted` I keep getting this error, any idea? | 2017-08-29T07:38:40.000317 | Shelly | pythondev_help_Shelly_2017-08-29T07:38:40.000317 | 1,503,992,320.000317 | 91,167 |
pythondev | help | looks liky pymongo doesn’t care about the `SO_REUSEADDR` option | 2017-08-29T07:40:59.000308 | Patty | pythondev_help_Patty_2017-08-29T07:40:59.000308 | 1,503,992,459.000308 | 91,168 |
pythondev | help | have you tried changing ports? | 2017-08-29T07:41:20.000416 | Patty | pythondev_help_Patty_2017-08-29T07:41:20.000416 | 1,503,992,480.000416 | 91,169 |
pythondev | help | Oh, what's that? | 2017-08-29T07:41:21.000165 | Shelly | pythondev_help_Shelly_2017-08-29T07:41:21.000165 | 1,503,992,481.000165 | 91,170 |
pythondev | help | I have not tried changing ports, but will it solve the issue? | 2017-08-29T07:41:45.000084 | Shelly | pythondev_help_Shelly_2017-08-29T07:41:45.000084 | 1,503,992,505.000084 | 91,171 |
pythondev | help | It allows reuse of an address/port before waiting for the socket `TIME_WAIT` | 2017-08-29T07:42:39.000007 | Patty | pythondev_help_Patty_2017-08-29T07:42:39.000007 | 1,503,992,559.000007 | 91,172 |
pythondev | help | Yeah, I saw loads of ports going to `TIME_WAIT` | 2017-08-29T07:43:20.000060 | Shelly | pythondev_help_Shelly_2017-08-29T07:43:20.000060 | 1,503,992,600.00006 | 91,173 |
pythondev | help | it means you open multiple time the same socket | 2017-08-29T07:44:08.000285 | Ciera | pythondev_help_Ciera_2017-08-29T07:44:08.000285 | 1,503,992,648.000285 | 91,174 |
pythondev | help | It should, alternatively you can kill and restart whatever is using that port | 2017-08-29T07:44:21.000037 | Patty | pythondev_help_Patty_2017-08-29T07:44:21.000037 | 1,503,992,661.000037 | 91,175 |
pythondev | help | I have multiple python projects using the same db | 2017-08-29T07:45:10.000029 | Shelly | pythondev_help_Shelly_2017-08-29T07:45:10.000029 | 1,503,992,710.000029 | 91,176 |
pythondev | help | Are you closing the mongo client on shutdown of your app, <@Shelly> ? | 2017-08-29T07:45:52.000113 | Patty | pythondev_help_Patty_2017-08-29T07:45:52.000113 | 1,503,992,752.000113 | 91,177 |
pythondev | help | I close client everytime a request is processed, but anyways, Pymongo doc says we don't have to close the connection | 2017-08-29T07:46:51.000338 | Shelly | pythondev_help_Shelly_2017-08-29T07:46:51.000338 | 1,503,992,811.000338 | 91,178 |
pythondev | help | well it appears to be keeping a connection open on that socket | 2017-08-29T07:47:08.000283 | Patty | pythondev_help_Patty_2017-08-29T07:47:08.000283 | 1,503,992,828.000283 | 91,179 |
pythondev | help | Yeah, looks like it, any suggestions on workarounds? | 2017-08-29T07:48:09.000077 | Shelly | pythondev_help_Shelly_2017-08-29T07:48:09.000077 | 1,503,992,889.000077 | 91,180 |
pythondev | help | dont use mongo | 2017-08-29T07:48:19.000261 | Patty | pythondev_help_Patty_2017-08-29T07:48:19.000261 | 1,503,992,899.000261 | 91,181 |
pythondev | help | but in all seriousness | 2017-08-29T07:48:24.000059 | Patty | pythondev_help_Patty_2017-08-29T07:48:24.000059 | 1,503,992,904.000059 | 91,182 |
pythondev | help | haha | 2017-08-29T07:48:26.000128 | Shelly | pythondev_help_Shelly_2017-08-29T07:48:26.000128 | 1,503,992,906.000128 | 91,183 |
pythondev | help | (couldnt resist, i abhor mongo) | 2017-08-29T07:48:41.000087 | Patty | pythondev_help_Patty_2017-08-29T07:48:41.000087 | 1,503,992,921.000087 | 91,184 |
pythondev | help | i’d look into reducing the `TIME_WAIT` on sockets in windows (not sure where that would be) | 2017-08-29T07:49:01.000056 | Patty | pythondev_help_Patty_2017-08-29T07:49:01.000056 | 1,503,992,941.000056 | 91,185 |
pythondev | help | I’d also take a look at what processes have that port open when the error occurs | 2017-08-29T07:49:10.000144 | Patty | pythondev_help_Patty_2017-08-29T07:49:10.000144 | 1,503,992,950.000144 | 91,186 |
pythondev | help | the latter will show you if something is holding that connection open | 2017-08-29T07:49:22.000105 | Patty | pythondev_help_Patty_2017-08-29T07:49:22.000105 | 1,503,992,962.000105 | 91,187 |
pythondev | help | Which process shows this error? I usually only see it when opening a listening socket, and I'd think you don't need to do that often | 2017-08-29T07:51:05.000027 | Gabriele | pythondev_help_Gabriele_2017-08-29T07:51:05.000027 | 1,503,993,065.000027 | 91,188 |
pythondev | help | It could also be TCP/IP port exhaustion on Windows: <https://msdn.microsoft.com/en-us/library/aa560610(v=bts.20).aspx> | 2017-08-29T07:51:38.000327 | Patty | pythondev_help_Patty_2017-08-29T07:51:38.000327 | 1,503,993,098.000327 | 91,189 |
pythondev | help | since it’s Windows and Mongo though I’ve about hit the limit of my knowledge | 2017-08-29T07:52:34.000270 | Patty | pythondev_help_Patty_2017-08-29T07:52:34.000270 | 1,503,993,154.00027 | 91,190 |
pythondev | help | Possibly. Easy to check via netstat - if there are 3000 TIME_WAIT entries, it would be a contender :wink: | 2017-08-29T07:52:40.000459 | Gabriele | pythondev_help_Gabriele_2017-08-29T07:52:40.000459 | 1,503,993,160.000459 | 91,191 |
pythondev | help | I need to check this out, thanks | 2017-08-29T07:54:23.000255 | Shelly | pythondev_help_Shelly_2017-08-29T07:54:23.000255 | 1,503,993,263.000255 | 91,192 |
pythondev | help | No problem, and like <@Gabriele> said, the `netstat` command is your friend here | 2017-08-29T07:55:03.000066 | Patty | pythondev_help_Patty_2017-08-29T07:55:03.000066 | 1,503,993,303.000066 | 91,193 |
pythondev | help | Anyways, I will check the issue. Thanks a lot for your time. <@Patty> <@Ciera> <@Gabriele> :taco: :taco: | 2017-08-29T07:55:25.000004 | Shelly | pythondev_help_Shelly_2017-08-29T07:55:25.000004 | 1,503,993,325.000004 | 91,194 |
pythondev | help | Yeah, I tried checking that out, couldn't understand the things. Need to improve my knowledge on the same :neutral_face: | 2017-08-29T07:56:36.000194 | Shelly | pythondev_help_Shelly_2017-08-29T07:56:36.000194 | 1,503,993,396.000194 | 91,195 |
pythondev | help | It’s a good thing to poke around with and get familiar with, so getting around this issue will be a good learning experience :slightly_smiling_face: | 2017-08-29T07:57:51.000095 | Patty | pythondev_help_Patty_2017-08-29T07:57:51.000095 | 1,503,993,471.000095 | 91,196 |
pythondev | help | <@Treva> we like these learning resources: <https://github.com/pyslackers/learning-resources/blob/master/topics/essentials.md> | 2017-08-29T09:31:42.000380 | Johana | pythondev_help_Johana_2017-08-29T09:31:42.000380 | 1,503,999,102.00038 | 91,197 |
pythondev | help | i’ve heard great things about automate the boring things. | 2017-08-29T09:31:52.000013 | Johana | pythondev_help_Johana_2017-08-29T09:31:52.000013 | 1,503,999,112.000013 | 91,198 |
pythondev | help | <@Johana> this is of great help. :slightly_smiling_face: Thanks a lot. | 2017-08-29T10:29:03.000320 | Treva | pythondev_help_Treva_2017-08-29T10:29:03.000320 | 1,504,002,543.00032 | 91,199 |
pythondev | help | np! | 2017-08-29T10:29:14.000736 | Johana | pythondev_help_Johana_2017-08-29T10:29:14.000736 | 1,504,002,554.000736 | 91,200 |
pythondev | help | hey, I wrote my first multi-processing worker today after reading up this great tutorial : <http://chriskiehl.com/article/parallelism-in-one-line/|chriskiehl.com/article/parallelism-in-one-line/>. However, it runs infinitely for some reason. | 2017-08-29T14:28:28.000131 | Tameika | pythondev_help_Tameika_2017-08-29T14:28:28.000131 | 1,504,016,908.000131 | 91,201 |
pythondev | help | ``` File "test_parallel.py", line 123, in <module>
pool.map(worker, list_of_images)
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 638, in get
self.wait(timeout)
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 635, in wait
self._event.wait(timeout)
File "/usr/local/lib/python3.6/threading.py", line 551, in wait
signaled = self._cond.wait(timeout)
File "/usr/local/lib/python3.6/threading.py", line 295, in wait
waiter.acquire()
KeyboardInterrupt``` | 2017-08-29T14:29:04.000327 | Tameika | pythondev_help_Tameika_2017-08-29T14:29:04.000327 | 1,504,016,944.000327 | 91,202 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.