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 | Why wouldn’t you know | 2018-01-16T21:45:38.000164 | Kacie | pythondev_help_Kacie_2018-01-16T21:45:38.000164 | 1,516,139,138.000164 | 29,324 |
pythondev | help | Where’s it coming from? | 2018-01-16T21:45:44.000216 | Kacie | pythondev_help_Kacie_2018-01-16T21:45:44.000216 | 1,516,139,144.000216 | 29,325 |
pythondev | help | A front end that isn't complete yet.. | 2018-01-16T21:45:55.000265 | Delphia | pythondev_help_Delphia_2018-01-16T21:45:55.000265 | 1,516,139,155.000265 | 29,326 |
pythondev | help | A stranger? | 2018-01-16T21:45:56.000164 | Kacie | pythondev_help_Kacie_2018-01-16T21:45:56.000164 | 1,516,139,156.000164 | 29,327 |
pythondev | help | So you’re building it? | 2018-01-16T21:46:23.000150 | Kacie | pythondev_help_Kacie_2018-01-16T21:46:23.000150 | 1,516,139,183.00015 | 29,328 |
pythondev | help | it's a small project that I'm working on the backend for | 2018-01-16T21:46:52.000124 | Delphia | pythondev_help_Delphia_2018-01-16T21:46:52.000124 | 1,516,139,212.000124 | 29,329 |
pythondev | help | It would probably be a string right ? | 2018-01-16T21:47:17.000309 | Kacie | pythondev_help_Kacie_2018-01-16T21:47:17.000309 | 1,516,139,237.000309 | 29,330 |
pythondev | help | Everything transmitted via wire is a string | 2018-01-16T21:47:41.000043 | Kacie | pythondev_help_Kacie_2018-01-16T21:47:41.000043 | 1,516,139,261.000043 | 29,331 |
pythondev | help | sometimes ^ | 2018-01-16T21:47:50.000149 | Noel | pythondev_help_Noel_2018-01-16T21:47:50.000149 | 1,516,139,270.000149 | 29,332 |
pythondev | help | that really depends on deserialisation in the end | 2018-01-16T21:48:01.000313 | Noel | pythondev_help_Noel_2018-01-16T21:48:01.000313 | 1,516,139,281.000313 | 29,333 |
pythondev | help | What are the cases? | 2018-01-16T21:48:03.000116 | Kacie | pythondev_help_Kacie_2018-01-16T21:48:03.000116 | 1,516,139,283.000116 | 29,334 |
pythondev | help | When it’s not | 2018-01-16T21:48:11.000168 | Kacie | pythondev_help_Kacie_2018-01-16T21:48:11.000168 | 1,516,139,291.000168 | 29,335 |
pythondev | help | its a problem ive run into a lot when dealing with incoming JSON and YAML | 2018-01-16T21:48:52.000137 | Noel | pythondev_help_Noel_2018-01-16T21:48:52.000137 | 1,516,139,332.000137 | 29,336 |
pythondev | help | sometimes i'm dealing with False/True, 0, 1, "0","1", "False"/"True", etc. | 2018-01-16T21:49:31.000128 | Noel | pythondev_help_Noel_2018-01-16T21:49:31.000128 | 1,516,139,371.000128 | 29,337 |
pythondev | help | So I guess to run it all through the gamut | 2018-01-16T21:49:56.000285 | Kacie | pythondev_help_Kacie_2018-01-16T21:49:56.000285 | 1,516,139,396.000285 | 29,338 |
pythondev | help | You could just convert those stringy integers to actual integers and deal with it that way ? | 2018-01-16T21:50:35.000029 | Kacie | pythondev_help_Kacie_2018-01-16T21:50:35.000029 | 1,516,139,435.000029 | 29,339 |
pythondev | help | Either way <@Delphia> best way to make sure you can work with any string or integer correctly is write some tests for both cases | 2018-01-16T21:53:23.000208 | Kacie | pythondev_help_Kacie_2018-01-16T21:53:23.000208 | 1,516,139,603.000208 | 29,340 |
pythondev | help | the last time i did an extremely loose falsey comparison i did `if result.lower() in ('0', 'false', 'no', 'off')` | 2018-01-16T21:53:57.000327 | Noel | pythondev_help_Noel_2018-01-16T21:53:57.000327 | 1,516,139,637.000327 | 29,341 |
pythondev | help | <@Kacie> I agree on the tests :thumbsup: | 2018-01-16T21:55:27.000199 | Delphia | pythondev_help_Delphia_2018-01-16T21:55:27.000199 | 1,516,139,727.000199 | 29,342 |
pythondev | help | Thank you both for the help / input! <@Kacie> <@Noel> | 2018-01-16T21:57:30.000259 | Delphia | pythondev_help_Delphia_2018-01-16T21:57:30.000259 | 1,516,139,850.000259 | 29,343 |
pythondev | help | :toot: | 2018-01-16T21:57:59.000096 | Noel | pythondev_help_Noel_2018-01-16T21:57:59.000096 | 1,516,139,879.000096 | 29,344 |
pythondev | help | hi all…how do i convert from a numpy array to a base64 encoded utf8 (json serializable) string? | 2018-01-16T22:16:09.000206 | Shila | pythondev_help_Shila_2018-01-16T22:16:09.000206 | 1,516,140,969.000206 | 29,345 |
pythondev | help | need to go from an opencv operation (returning an image as a numpy array i assume) to something i can upload to google cloud vision api | 2018-01-16T22:16:28.000076 | Shila | pythondev_help_Shila_2018-01-16T22:16:28.000076 | 1,516,140,988.000076 | 29,346 |
pythondev | help | please please, anyone around to help? | 2018-01-16T23:12:08.000004 | Shila | pythondev_help_Shila_2018-01-16T23:12:08.000004 | 1,516,144,328.000004 | 29,347 |
pythondev | help | Hi, I have a test that pass with unittest and fail with coverage, any idea ?
```
coverage run "src/datalake/batches/export/batch_loop_arguments_test.py" --> FAIL
python -m unittest datalake.batches.export.batch_loop_arguments_test --> PASS
``` | 2018-01-17T04:59:24.000539 | Giselle | pythondev_help_Giselle_2018-01-17T04:59:24.000539 | 1,516,165,164.000539 | 29,348 |
pythondev | help | some default option that aren't taken into effect with coverage ? | 2018-01-17T05:00:32.000084 | Micki | pythondev_help_Micki_2018-01-17T05:00:32.000084 | 1,516,165,232.000084 | 29,349 |
pythondev | help | this actually fails on travis with a clean install | 2018-01-17T05:01:25.000343 | Giselle | pythondev_help_Giselle_2018-01-17T05:01:25.000343 | 1,516,165,285.000343 | 29,350 |
pythondev | help | I'll do further investigations and tells you what happen | 2018-01-17T05:02:47.000634 | Giselle | pythondev_help_Giselle_2018-01-17T05:02:47.000634 | 1,516,165,367.000634 | 29,351 |
pythondev | help | already lost 2h on this | 2018-01-17T05:02:55.000200 | Giselle | pythondev_help_Giselle_2018-01-17T05:02:55.000200 | 1,516,165,375.0002 | 29,352 |
pythondev | help | I usually use tox to be sure the tests are run on a clean env | 2018-01-17T05:03:39.000002 | Micki | pythondev_help_Micki_2018-01-17T05:03:39.000002 | 1,516,165,419.000002 | 29,353 |
pythondev | help | yep but its working well with unittest | 2018-01-17T05:04:13.000104 | Giselle | pythondev_help_Giselle_2018-01-17T05:04:13.000104 | 1,516,165,453.000104 | 29,354 |
pythondev | help | how do you combine tox & coverage | 2018-01-17T05:04:21.000288 | Giselle | pythondev_help_Giselle_2018-01-17T05:04:21.000288 | 1,516,165,461.000288 | 29,355 |
pythondev | help | when running coverage do you get a stacktrace or something ? maybe with `-v` ? | 2018-01-17T05:04:44.000377 | Micki | pythondev_help_Micki_2018-01-17T05:04:44.000377 | 1,516,165,484.000377 | 29,356 |
pythondev | help | just argument list differ | 2018-01-17T05:04:58.000368 | Giselle | pythondev_help_Giselle_2018-01-17T05:04:58.000368 | 1,516,165,498.000368 | 29,357 |
pythondev | help | I usually use `pytest` and everything is well integrated | 2018-01-17T05:05:02.000443 | Micki | pythondev_help_Micki_2018-01-17T05:05:02.000443 | 1,516,165,502.000443 | 29,358 |
pythondev | help | no exception raised | 2018-01-17T05:05:04.000228 | Giselle | pythondev_help_Giselle_2018-01-17T05:05:04.000228 | 1,516,165,504.000228 | 29,359 |
pythondev | help | can you share it or it's private ? | 2018-01-17T05:05:35.000189 | Micki | pythondev_help_Micki_2018-01-17T05:05:35.000189 | 1,516,165,535.000189 | 29,360 |
pythondev | help | its kind of private but the thing is that my <@Yuette> does not works on coverage | 2018-01-17T05:06:16.000319 | Giselle | pythondev_help_Giselle_2018-01-17T05:06:16.000319 | 1,516,165,576.000319 | 29,361 |
pythondev | help | ```
@patch('datalake.batches.export.batch_loop_arguments.StringIO', return_value=StringIO("one\ntwo\nthree"))
``` | 2018-01-17T05:06:26.000036 | Giselle | pythondev_help_Giselle_2018-01-17T05:06:26.000036 | 1,516,165,586.000036 | 29,362 |
pythondev | help | just not working :confused: | 2018-01-17T05:06:31.000411 | Giselle | pythondev_help_Giselle_2018-01-17T05:06:31.000411 | 1,516,165,591.000411 | 29,363 |
pythondev | help | no idea sorry :confused: | 2018-01-17T05:07:05.000049 | Micki | pythondev_help_Micki_2018-01-17T05:07:05.000049 | 1,516,165,625.000049 | 29,364 |
pythondev | help | thanks for your time | 2018-01-17T05:07:15.000404 | Giselle | pythondev_help_Giselle_2018-01-17T05:07:15.000404 | 1,516,165,635.000404 | 29,365 |
pythondev | help | <@Giselle> it's really difficult to help you without seeing what exactly fails. Can you paste your code and tests (with all sensitive info removed, of course)? Or maybe you can write a small reproducible example of this? | 2018-01-17T05:09:43.000194 | Aleida | pythondev_help_Aleida_2018-01-17T05:09:43.000194 | 1,516,165,783.000194 | 29,366 |
pythondev | help | turns out its working now but I had to tirck it | 2018-01-17T05:40:27.000039 | Giselle | pythondev_help_Giselle_2018-01-17T05:40:27.000039 | 1,516,167,627.000039 | 29,367 |
pythondev | help | Like this
```
fetcher.get_buffer = MagicMock(return_value=StringIO("one\ntwo\nthree"))
``` | 2018-01-17T05:40:58.000191 | Giselle | pythondev_help_Giselle_2018-01-17T05:40:58.000191 | 1,516,167,658.000191 | 29,368 |
pythondev | help | Hello everyone, I'm new here from Brazil. Thanks for accepting me. | 2018-01-17T06:46:43.000294 | Sydney | pythondev_help_Sydney_2018-01-17T06:46:43.000294 | 1,516,171,603.000294 | 29,369 |
pythondev | help | someone has already experienced this problem. Documentation of rest_framework, I'm using ViewSet, however I wanted to use get method and not list to log in for example. | 2018-01-17T06:48:59.000036 | Sydney | pythondev_help_Sydney_2018-01-17T06:48:59.000036 | 1,516,171,739.000036 | 29,370 |
pythondev | help | meddling with `sys.path` is usually a bad idea. It depends why you need to do this | 2018-01-17T08:20:00.000018 | Micki | pythondev_help_Micki_2018-01-17T08:20:00.000018 | 1,516,177,200.000018 | 29,371 |
pythondev | help | `setuptools` provide entry point for plugins | 2018-01-17T08:20:50.000319 | Micki | pythondev_help_Micki_2018-01-17T08:20:50.000319 | 1,516,177,250.000319 | 29,372 |
pythondev | help | I have a lot of dependencies im my project (<http://EzoRed.com|EzoRed.com>), all dependencies is downloaded from github in a folder, and a build.py is loaded using the code that i show and a function do_build inside that build.py file is called. | 2018-01-17T08:21:42.000426 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:21:42.000426 | 1,516,177,302.000426 | 29,373 |
pythondev | help | It is not a plugin, can be any folder from computer to load | 2018-01-17T08:22:06.000140 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:22:06.000140 | 1,516,177,326.00014 | 29,374 |
pythondev | help | you can `pip install` stuff from github | 2018-01-17T08:22:28.000133 | Micki | pythondev_help_Micki_2018-01-17T08:22:28.000133 | 1,516,177,348.000133 | 29,375 |
pythondev | help | no man | 2018-01-17T08:22:35.000107 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:22:35.000107 | 1,516,177,355.000107 | 29,376 |
pythondev | help | you dont understand | 2018-01-17T08:22:38.000382 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:22:38.000382 | 1,516,177,358.000382 | 29,377 |
pythondev | help | imagine a build system that have dependencies | 2018-01-17T08:22:53.000179 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:22:53.000179 | 1,516,177,373.000179 | 29,378 |
pythondev | help | like gradle or something like this | 2018-01-17T08:22:58.000374 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:22:58.000374 | 1,516,177,378.000374 | 29,379 |
pythondev | help | my tool is a build system | 2018-01-17T08:23:03.000385 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:23:03.000385 | 1,516,177,383.000385 | 29,380 |
pythondev | help | oh ok | 2018-01-17T08:23:30.000080 | Micki | pythondev_help_Micki_2018-01-17T08:23:30.000080 | 1,516,177,410.00008 | 29,381 |
pythondev | help | anyone can generate dependencies (something that need be built with cmake, g++, etc). But the rules to build it is inside a build.py file, that the user created. | 2018-01-17T08:23:47.000195 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:23:47.000195 | 1,516,177,427.000195 | 29,382 |
pythondev | help | What i do is load a function (do_build) inside their file and call the function | 2018-01-17T08:24:06.000587 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:24:06.000587 | 1,516,177,446.000587 | 29,383 |
pythondev | help | No problem with it | 2018-01-17T08:26:33.000246 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:26:33.000246 | 1,516,177,593.000246 | 29,384 |
pythondev | help | but i want understand if anyone see a problem in this practice | 2018-01-17T08:26:46.000290 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:26:46.000290 | 1,516,177,606.00029 | 29,385 |
pythondev | help | it's usually discouraged as most of the time it's not needed | 2018-01-17T08:28:53.000042 | Micki | pythondev_help_Micki_2018-01-17T08:28:53.000042 | 1,516,177,733.000042 | 29,386 |
pythondev | help | but in your case it seems justified | 2018-01-17T08:29:00.000195 | Micki | pythondev_help_Micki_2018-01-17T08:29:00.000195 | 1,516,177,740.000195 | 29,387 |
pythondev | help | so it builds non-python? | 2018-01-17T08:29:47.000127 | Zack | pythondev_help_Zack_2018-01-17T08:29:47.000127 | 1,516,177,787.000127 | 29,388 |
pythondev | help | is call a python file to build c/c++ things | 2018-01-17T08:30:19.000428 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:30:19.000428 | 1,516,177,819.000428 | 29,389 |
pythondev | help | generally ios/android shared library | 2018-01-17T08:30:32.000574 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:30:32.000574 | 1,516,177,832.000574 | 29,390 |
pythondev | help | it is a way to make something like scripting with python | 2018-01-17T08:31:23.000307 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:31:23.000307 | 1,516,177,883.000307 | 29,391 |
pythondev | help | this resource of python only cannot be removed rsrsrs | 2018-01-17T08:31:41.000268 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:31:41.000268 | 1,516,177,901.000268 | 29,392 |
pythondev | help | someone has already experienced this problem. Documentation of rest_framework, I'm using ViewSet, however I wanted to use get method and not list to log in for example. | 2018-01-17T08:32:48.000214 | Sydney | pythondev_help_Sydney_2018-01-17T08:32:48.000214 | 1,516,177,968.000214 | 29,393 |
pythondev | help | ? | 2018-01-17T08:32:55.000061 | Sydney | pythondev_help_Sydney_2018-01-17T08:32:55.000061 | 1,516,177,975.000061 | 29,394 |
pythondev | help | <@Sydney> might be better to ask in <#C0LMFRMB5|django> | 2018-01-17T08:34:07.000596 | Floy | pythondev_help_Floy_2018-01-17T08:34:07.000596 | 1,516,178,047.000596 | 29,395 |
pythondev | help | FWIW, you _should not_ use any get requests to log in | 2018-01-17T08:34:43.000309 | Floy | pythondev_help_Floy_2018-01-17T08:34:43.000309 | 1,516,178,083.000309 | 29,396 |
pythondev | help | logins should be post only | 2018-01-17T08:34:52.000178 | Floy | pythondev_help_Floy_2018-01-17T08:34:52.000178 | 1,516,178,092.000178 | 29,397 |
pythondev | help | Same for logouts | 2018-01-17T08:36:03.000526 | Jama | pythondev_help_Jama_2018-01-17T08:36:03.000526 | 1,516,178,163.000526 | 29,398 |
pythondev | help | you should use <https://docs.python.org/3/library/importlib.html#importlib.import_module> insted of `__import__` I believe | 2018-01-17T08:42:15.000271 | Micki | pythondev_help_Micki_2018-01-17T08:42:15.000271 | 1,516,178,535.000271 | 29,399 |
pythondev | help | and <@Tamatha> you can format your code here rather than screenshots | 2018-01-17T08:43:07.000323 | Floy | pythondev_help_Floy_2018-01-17T08:43:07.000323 | 1,516,178,587.000323 | 29,400 |
pythondev | help | <https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#code-blocks> | 2018-01-17T08:43:08.000332 | Floy | pythondev_help_Floy_2018-01-17T08:43:08.000332 | 1,516,178,588.000332 | 29,401 |
pythondev | help | But <@Micki>, your fucntion is only to python 3 | 2018-01-17T08:43:44.000087 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:43:44.000087 | 1,516,178,624.000087 | 29,402 |
pythondev | help | <@Floy>, i know, but this show better and is faster, using shortcut | 2018-01-17T08:45:21.000151 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:45:21.000151 | 1,516,178,721.000151 | 29,403 |
pythondev | help | <@Micki> that is also in 2.7 | 2018-01-17T08:45:51.000625 | Zack | pythondev_help_Zack_2018-01-17T08:45:51.000625 | 1,516,178,751.000625 | 29,404 |
pythondev | help | err, that ws for <@Tamatha> | 2018-01-17T08:46:32.000457 | Zack | pythondev_help_Zack_2018-01-17T08:46:32.000457 | 1,516,178,792.000457 | 29,405 |
pythondev | help | <https://docs.python.org/2.7/library/importlib.html#importlib.import_module> | 2018-01-17T08:46:35.000429 | Zack | pythondev_help_Zack_2018-01-17T08:46:35.000429 | 1,516,178,795.000429 | 29,406 |
pythondev | help | But EzoRed runs on python 2.6 | 2018-01-17T08:47:48.000363 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:47:48.000363 | 1,516,178,868.000363 | 29,407 |
pythondev | help | oof, really? lol | 2018-01-17T08:48:00.000180 | Zack | pythondev_help_Zack_2018-01-17T08:48:00.000180 | 1,516,178,880.00018 | 29,408 |
pythondev | help | <@Floy> please, add me to the channel django ? | 2018-01-17T08:48:12.000104 | Sydney | pythondev_help_Sydney_2018-01-17T08:48:12.000104 | 1,516,178,892.000104 | 29,409 |
pythondev | help | it’s your project right? why would you support 2.6? the question now is whether to support 2.7 or not. I don’t think supporting 2.6 is really necessary | 2018-01-17T08:48:46.000219 | Zack | pythondev_help_Zack_2018-01-17T08:48:46.000219 | 1,516,178,926.000219 | 29,410 |
pythondev | help | <@Sydney> just look at the channels on the sidebar and search for django | 2018-01-17T08:50:10.000002 | Floy | pythondev_help_Floy_2018-01-17T08:50:10.000002 | 1,516,179,010.000002 | 29,411 |
pythondev | help | <https://get.slack.help/hc/en-us/articles/205239967-Browse-and-join-channels> | 2018-01-17T08:50:25.000208 | Floy | pythondev_help_Floy_2018-01-17T08:50:25.000208 | 1,516,179,025.000208 | 29,412 |
pythondev | help | <@Zack>, i made EzoRed to runs on max of python version possible. Because it is a build tool, so removing a python version without a good reason or a very necessary reason, i think that is not the project goal | 2018-01-17T08:51:56.000656 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:51:56.000656 | 1,516,179,116.000656 | 29,413 |
pythondev | help | Well, it’s certainly your project so not my place to tell you how to run it. | 2018-01-17T08:52:46.000633 | Zack | pythondev_help_Zack_2018-01-17T08:52:46.000633 | 1,516,179,166.000633 | 29,414 |
pythondev | help | I like listen opinion man, i want it | 2018-01-17T08:53:31.000138 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:53:31.000138 | 1,516,179,211.000138 | 29,415 |
pythondev | help | In your opinion, it is a justificative to drop python 2.6? | 2018-01-17T08:53:48.000095 | Tamatha | pythondev_help_Tamatha_2018-01-17T08:53:48.000095 | 1,516,179,228.000095 | 29,416 |
pythondev | help | I would say yes | 2018-01-17T08:54:09.000022 | Sadye | pythondev_help_Sadye_2018-01-17T08:54:09.000022 | 1,516,179,249.000022 | 29,417 |
pythondev | help | Jedi contributors had brought up this question recently | 2018-01-17T08:54:22.000423 | Sadye | pythondev_help_Sadye_2018-01-17T08:54:22.000423 | 1,516,179,262.000423 | 29,418 |
pythondev | help | For python2.6 and 3.3 | 2018-01-17T08:54:26.000165 | Sadye | pythondev_help_Sadye_2018-01-17T08:54:26.000165 | 1,516,179,266.000165 | 29,419 |
pythondev | help | There were nice graphics of 2.6 usage | 2018-01-17T08:54:40.000155 | Sadye | pythondev_help_Sadye_2018-01-17T08:54:40.000155 | 1,516,179,280.000155 | 29,420 |
pythondev | help | <https://github.com/davidhalter/jedi/issues/1016> | 2018-01-17T08:55:23.000491 | Sadye | pythondev_help_Sadye_2018-01-17T08:55:23.000491 | 1,516,179,323.000491 | 29,421 |
pythondev | help | Here | 2018-01-17T08:55:26.000053 | Sadye | pythondev_help_Sadye_2018-01-17T08:55:26.000053 | 1,516,179,326.000053 | 29,422 |
pythondev | help | I would limit your availability to those versions under support by the python organization | 2018-01-17T08:55:41.000270 | Floy | pythondev_help_Floy_2018-01-17T08:55:41.000270 | 1,516,179,341.00027 | 29,423 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.