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 | ```
$ python app/thing.py
Traceback (most recent call last):
File "app/thing.py", line 1, in <module>
from .src import application
ModuleNotFoundError: No module named '__main__.src'; '__main__' is not a package
``` | 2019-05-07T11:04:12.324300 | Ashley | pythondev_help_Ashley_2019-05-07T11:04:12.324300 | 1,557,227,052.3243 | 22,421 |
pythondev | help | ok, so it looks like I was right | 2019-05-07T11:06:49.324500 | Ashley | pythondev_help_Ashley_2019-05-07T11:06:49.324500 | 1,557,227,209.3245 | 22,422 |
pythondev | help | because you are calling `python app/src/application.py`, your context is limited to the `app/src/` directory | 2019-05-07T11:07:22.325200 | Ashley | pythondev_help_Ashley_2019-05-07T11:07:22.325200 | 1,557,227,242.3252 | 22,423 |
pythondev | help | basically, python doesn't care about anything above that folder, because you didn't treat the whole thing like it was a package | 2019-05-07T11:08:26.325800 | Ashley | pythondev_help_Ashley_2019-05-07T11:08:26.325800 | 1,557,227,306.3258 | 22,424 |
pythondev | help | so now the solution | 2019-05-07T11:08:59.326200 | Ashley | pythondev_help_Ashley_2019-05-07T11:08:59.326200 | 1,557,227,339.3262 | 22,425 |
pythondev | help | `python -m app.src.application some args` | 2019-05-07T11:09:16.326500 | Ashley | pythondev_help_Ashley_2019-05-07T11:09:16.326500 | 1,557,227,356.3265 | 22,426 |
pythondev | help | that treats `app/src/application.py` as a module within a larger package | 2019-05-07T11:09:45.326900 | Ashley | pythondev_help_Ashley_2019-05-07T11:09:45.326900 | 1,557,227,385.3269 | 22,427 |
pythondev | help | I actually used zlib here to decompress the messages on the fly so I could then decode them without issue :slightly_smiling_face: | 2019-05-07T11:12:55.327100 | Holly | pythondev_help_Holly_2019-05-07T11:12:55.327100 | 1,557,227,575.3271 | 22,428 |
pythondev | help | ```
data = zlib.decompressobj(32 + zlib.MAX_WBITS)
rv = data.decompress(VAR)
``` | 2019-05-07T11:13:27.327600 | Holly | pythondev_help_Holly_2019-05-07T11:13:27.327600 | 1,557,227,607.3276 | 22,429 |
pythondev | help | Nice so your hunch that they were compressed was correct! | 2019-05-07T11:14:25.328100 | Gemma | pythondev_help_Gemma_2019-05-07T11:14:25.328100 | 1,557,227,665.3281 | 22,430 |
pythondev | help | and now does work | 2019-05-07T11:14:43.328500 | Leida | pythondev_help_Leida_2019-05-07T11:14:43.328500 | 1,557,227,683.3285 | 22,431 |
pythondev | help | only question i have is is this the right way? | 2019-05-07T11:15:06.329100 | Leida | pythondev_help_Leida_2019-05-07T11:15:06.329100 | 1,557,227,706.3291 | 22,432 |
pythondev | help | how does one evoke the bot that writes about asking questions? | 2019-05-07T11:15:30.329500 | Leida | pythondev_help_Leida_2019-05-07T11:15:30.329500 | 1,557,227,730.3295 | 22,433 |
pythondev | help | If you have a question, please just ask it. Please do not ask for topic experts; do not DM or ping random users. We cannot begin to answer a question until we actually get a question.
<http://sol.gfxile.net/dontask.html|*Asking Questions*> | 2019-05-07T11:15:42.329600 | Leana | pythondev_help_Leana_2019-05-07T11:15:42.329600 | 1,557,227,742.3296 | 22,434 |
pythondev | help | `/justask` | 2019-05-07T11:15:47.329800 | Jimmy | pythondev_help_Jimmy_2019-05-07T11:15:47.329800 | 1,557,227,747.3298 | 22,435 |
pythondev | help | you can see some of the sirbot commands when you scroll down after entering in `/` | 2019-05-07T11:20:07.330500 | Hiroko | pythondev_help_Hiroko_2019-05-07T11:20:07.330500 | 1,557,228,007.3305 | 22,436 |
pythondev | help | None | 2019-05-07T11:20:20.330600 | Hiroko | pythondev_help_Hiroko_2019-05-07T11:20:20.330600 | 1,557,228,020.3306 | 22,437 |
pythondev | help | <@Leida> it's the right way for some things. I would just make sure you have that `if __name__ == '__main__':` bit in there so you can explicitly provide behavior you want when that module is called directly. Other than that, I would make sure you have the `__main__.py` module in the root with the appropriate behavior (once the time comes for you app to actually be used like one) so you can call the "app" directly | 2019-05-07T11:23:13.333800 | Ashley | pythondev_help_Ashley_2019-05-07T11:23:13.333800 | 1,557,228,193.3338 | 22,438 |
pythondev | help | thanks, i do have `__name__ ==` bit already, trying to use it for manual testing | 2019-05-07T11:24:46.334800 | Leida | pythondev_help_Leida_2019-05-07T11:24:46.334800 | 1,557,228,286.3348 | 22,439 |
pythondev | help | it's also a good idea to consider the behavior you're testing, and try to build unit tests that validate it | 2019-05-07T11:28:19.335200 | Ashley | pythondev_help_Ashley_2019-05-07T11:28:19.335200 | 1,557,228,499.3352 | 22,440 |
pythondev | help | that way you get the tests in at the same time that you implement the behavior | 2019-05-07T11:28:39.335500 | Ashley | pythondev_help_Ashley_2019-05-07T11:28:39.335500 | 1,557,228,519.3355 | 22,441 |
pythondev | help | i know its good i just have never gotten to doing it proper... | 2019-05-07T11:31:03.335900 | Leida | pythondev_help_Leida_2019-05-07T11:31:03.335900 | 1,557,228,663.3359 | 22,442 |
pythondev | help | currently im supposed to build a microservice around a prebuilt model of a face detection network | 2019-05-07T11:31:58.336600 | Leida | pythondev_help_Leida_2019-05-07T11:31:58.336600 | 1,557,228,718.3366 | 22,443 |
pythondev | help | i started off with trying to get to grips with tensorflow enough to even run the model properly | 2019-05-07T11:32:23.337100 | Leida | pythondev_help_Leida_2019-05-07T11:32:23.337100 | 1,557,228,743.3371 | 22,444 |
pythondev | help | so now that i have something working im refactoring it into a project with web oriented layout | 2019-05-07T11:33:26.337800 | Leida | pythondev_help_Leida_2019-05-07T11:33:26.337800 | 1,557,228,806.3378 | 22,445 |
pythondev | help | so i dont know exactly when or which bits i would test | 2019-05-07T11:33:47.338600 | Leida | pythondev_help_Leida_2019-05-07T11:33:47.338600 | 1,557,228,827.3386 | 22,446 |
pythondev | help | like right now i test that the script works and i get a properly detected image out, this is human verifiable, but the api would just give the boxes coordinates | 2019-05-07T11:35:10.340700 | Leida | pythondev_help_Leida_2019-05-07T11:35:10.340700 | 1,557,228,910.3407 | 22,447 |
pythondev | help | is there any good resource how to get the workflow right that is python oriented? | 2019-05-07T11:35:53.341500 | Leida | pythondev_help_Leida_2019-05-07T11:35:53.341500 | 1,557,228,953.3415 | 22,448 |
pythondev | help | [sphinx]
Hi guys there is a simple way to format the methods signature in sphinx?
I am using RTD Theme, and building to html.
The problems I have at the moment are:
• custom types annotations created using typing module are being printed in their full form, but I would like just their name to be printed (ex. `CustomType = Union[type1, type2, type3]`should be rendered as simply `CustomType`, but gets rendered as `Union[type1, type2, type3]` instead)
• method signature is printed on a single line, I would like it to be printed as an indented custom form
• method signature should highlight syntax somehow like in an IDE | 2019-05-07T11:43:31.346300 | Alicia | pythondev_help_Alicia_2019-05-07T11:43:31.346300 | 1,557,229,411.3463 | 22,449 |
pythondev | help | <@Leida> just make sure you treat things that are basically a tool (in this case, something that can detect faces and return a bounding box) as a separate resource. That'll make compartmentalization simpler and help you avoid things getting tightly coupled. Your microservice itself should be able to treat the face detection tool as a black box that it just passes an image (or image location) to and gets back the bounding box. This makes your code less coupled, and makes writing tests much easier | 2019-05-07T11:55:36.350800 | Ashley | pythondev_help_Ashley_2019-05-07T11:55:36.350800 | 1,557,230,136.3508 | 22,450 |
pythondev | help | I would recommend trying to create an importable package that you can keep totally separate of your microservice's code. That way, you can install that package in the environment your microservice will use, and then it can just do `from facenet import detect_face` and then just call `bounding_box = detect_face(image_location)` | 2019-05-07T11:57:47.352500 | Ashley | pythondev_help_Ashley_2019-05-07T11:57:47.352500 | 1,557,230,267.3525 | 22,451 |
pythondev | help | umm so i would have the detection logic in a separate repo and pull it in as a submodule to the api repo? | 2019-05-07T11:59:55.354200 | Leida | pythondev_help_Leida_2019-05-07T11:59:55.354200 | 1,557,230,395.3542 | 22,452 |
pythondev | help | I wouldn't say separate repo necessarily | 2019-05-07T12:00:09.354800 | Ashley | pythondev_help_Ashley_2019-05-07T12:00:09.354800 | 1,557,230,409.3548 | 22,453 |
pythondev | help | you can definitely have it in the same repo | 2019-05-07T12:00:19.355100 | Ashley | pythondev_help_Ashley_2019-05-07T12:00:19.355100 | 1,557,230,419.3551 | 22,454 |
pythondev | help | sometimes having a separate package entirely is a bit much, so I like to have a `utils` subpackage in the root package where I keep the source for those types of tools. | 2019-05-07T12:00:24.355300 | Ashley | pythondev_help_Ashley_2019-05-07T12:00:24.355300 | 1,557,230,424.3553 | 22,455 |
pythondev | help | then I can do `from app.utils import detect_face` | 2019-05-07T12:00:40.355700 | Ashley | pythondev_help_Ashley_2019-05-07T12:00:40.355700 | 1,557,230,440.3557 | 22,456 |
pythondev | help | it's still almost entirely separate form the app's code, and you can have your app still treat it like a black box | 2019-05-07T12:01:53.356700 | Ashley | pythondev_help_Ashley_2019-05-07T12:01:53.356700 | 1,557,230,513.3567 | 22,457 |
pythondev | help | at that point, it's really just personal preference | 2019-05-07T12:02:13.357100 | Ashley | pythondev_help_Ashley_2019-05-07T12:02:13.357100 | 1,557,230,533.3571 | 22,458 |
pythondev | help | well what i have is app.py to deal with the api that imports application.py that has the face detection business logic | 2019-05-07T12:02:44.357700 | Leida | pythondev_help_Leida_2019-05-07T12:02:44.357700 | 1,557,230,564.3577 | 22,459 |
pythondev | help | and i have utilities folder that keeps the visualizer code that takes the image and the boxes and draws em on | 2019-05-07T12:03:14.358400 | Leida | pythondev_help_Leida_2019-05-07T12:03:14.358400 | 1,557,230,594.3584 | 22,460 |
pythondev | help | yeah the starting bytes of 0x8b and 1xf were the giveaway once I really looked, then it was just a matter of taking the decompressed decoded data, doing a `literal_eval` to turn it to a dict then parsing it all out into log files was a synch! | 2019-05-07T12:09:39.361600 | Holly | pythondev_help_Holly_2019-05-07T12:09:39.361600 | 1,557,230,979.3616 | 22,461 |
pythondev | help | I would suggest asking if you could see something being reasonably used as a standalone tool. If so, it should be in that utils subpackage | 2019-05-07T12:10:37.363200 | Ashley | pythondev_help_Ashley_2019-05-07T12:10:37.363200 | 1,557,231,037.3632 | 22,462 |
pythondev | help | Or it's own package | 2019-05-07T12:10:42.363400 | Ashley | pythondev_help_Ashley_2019-05-07T12:10:42.363400 | 1,557,231,042.3634 | 22,463 |
pythondev | help | hmm so my visualizer could be a method in the face detection class and the class as an utility? | 2019-05-07T12:13:15.364500 | Leida | pythondev_help_Leida_2019-05-07T12:13:15.364500 | 1,557,231,195.3645 | 22,464 |
pythondev | help | Remember to keep it compartmentalized and decoupled | 2019-05-07T12:14:12.365000 | Ashley | pythondev_help_Ashley_2019-05-07T12:14:12.365000 | 1,557,231,252.365 | 22,465 |
pythondev | help | Detecting a face isn't related to drawing a square on an image given some coordinates | 2019-05-07T12:14:49.366100 | Ashley | pythondev_help_Ashley_2019-05-07T12:14:49.366100 | 1,557,231,289.3661 | 22,466 |
pythondev | help | I don't know how you're visualizing it, but you don't need to detect a face to visualize some info. The info you get from the face detection process just happens to be the info you want to visualize | 2019-05-07T12:16:31.367900 | Ashley | pythondev_help_Ashley_2019-05-07T12:16:31.367900 | 1,557,231,391.3679 | 22,467 |
pythondev | help | anyone good with pathlib? | 2019-05-07T12:18:43.368100 | Holly | pythondev_help_Holly_2019-05-07T12:18:43.368100 | 1,557,231,523.3681 | 22,468 |
pythondev | help | maybe <@Elaine> can help you with that. he often answer in <#CCC8SRJHX|documentation> about sphinx question (hopefully the ping doesn't annoys you <@Elaine> :slightly_smiling_face: ) | 2019-05-07T12:18:47.368200 | Jimmy | pythondev_help_Jimmy_2019-05-07T12:18:47.368200 | 1,557,231,527.3682 | 22,469 |
pythondev | help | If you have a question, please just ask it. Please do not ask for topic experts; do not DM or ping random users. We cannot begin to answer a question until we actually get a question.
<http://sol.gfxile.net/dontask.html|*Asking Questions*> | 2019-05-07T12:18:50.368400 | Leana | pythondev_help_Leana_2019-05-07T12:18:50.368400 | 1,557,231,530.3684 | 22,470 |
pythondev | help | ^good point botalot | 2019-05-07T12:21:24.368600 | Holly | pythondev_help_Holly_2019-05-07T12:21:24.368600 | 1,557,231,684.3686 | 22,471 |
pythondev | help | I'm trying to use pathlib to check if a file exists, if it doesn't create it with the following try except block:
```
for i in range(len(logGroupNames)):
print(logGroupNames)
logfile = ('logs/'+logGroupNames[i])
print(logfile)
config = Path(logfile)
if config.is_file:
pass
else:
print(logfile)
f = open(logfile, 'w+')
f.close()
```
it runs no problem, it prints the path out no problem, there's no errors, but the file is never created | 2019-05-07T12:22:12.369600 | Holly | pythondev_help_Holly_2019-05-07T12:22:12.369600 | 1,557,231,732.3696 | 22,472 |
pythondev | help | not sure if there's just a simpler way of doing it, like trying to open the file maybe and if there's a NoFileFound exception create it? | 2019-05-07T12:23:33.370100 | Holly | pythondev_help_Holly_2019-05-07T12:23:33.370100 | 1,557,231,813.3701 | 22,473 |
pythondev | help | are you actually writing to the file? | 2019-05-07T12:24:40.370300 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:24:40.370300 | 1,557,231,880.3703 | 22,474 |
pythondev | help | or are you just trying to create an empty one? | 2019-05-07T12:24:48.370800 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:24:48.370800 | 1,557,231,888.3708 | 22,475 |
pythondev | help | not at the moment, just creating an empty one | 2019-05-07T12:24:51.371000 | Holly | pythondev_help_Holly_2019-05-07T12:24:51.371000 | 1,557,231,891.371 | 22,476 |
pythondev | help | they'll be written to later when logging functions get invoked | 2019-05-07T12:25:01.371300 | Holly | pythondev_help_Holly_2019-05-07T12:25:01.371300 | 1,557,231,901.3713 | 22,477 |
pythondev | help | new logGroups could be created at any time so I'm trying to make it as dynamic as possible | 2019-05-07T12:25:20.371700 | Holly | pythondev_help_Holly_2019-05-07T12:25:20.371700 | 1,557,231,920.3717 | 22,478 |
pythondev | help | try using the `x` option | 2019-05-07T12:25:28.372000 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:25:28.372000 | 1,557,231,928.372 | 22,479 |
pythondev | help | ```'x' open for exclusive creation, failing if the file already exists``` | 2019-05-07T12:26:01.372400 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:26:01.372400 | 1,557,231,961.3724 | 22,480 |
pythondev | help | and w+ appends the file if it exists and has data right? | 2019-05-07T12:26:43.372700 | Holly | pythondev_help_Holly_2019-05-07T12:26:43.372700 | 1,557,232,003.3727 | 22,481 |
pythondev | help | correct | 2019-05-07T12:26:59.373000 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:26:59.373000 | 1,557,232,019.373 | 22,482 |
pythondev | help | hmmm, x didn't create them either | 2019-05-07T12:27:00.373100 | Holly | pythondev_help_Holly_2019-05-07T12:27:00.373100 | 1,557,232,020.3731 | 22,483 |
pythondev | help | `Path(logfile).touch()` | 2019-05-07T12:27:10.373400 | Hiroko | pythondev_help_Hiroko_2019-05-07T12:27:10.373400 | 1,557,232,030.3734 | 22,484 |
pythondev | help | hmmm, no go | 2019-05-07T12:28:01.373700 | Holly | pythondev_help_Holly_2019-05-07T12:28:01.373700 | 1,557,232,081.3737 | 22,485 |
pythondev | help | ```
for i in range(len(logGroupNames)):
print(logGroupNames)
logfile = ('logs/'+logGroupNames[i] + '.log')
print(logfile)
config = Path(logfile)
if config.is_file:
pass
else:
Path(logfile).touch()
``` | 2019-05-07T12:28:13.374000 | Holly | pythondev_help_Holly_2019-05-07T12:28:13.374000 | 1,557,232,093.374 | 22,486 |
pythondev | help | do you have write access on the folder? | 2019-05-07T12:28:18.374100 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:28:18.374100 | 1,557,232,098.3741 | 22,487 |
pythondev | help | yeah | 2019-05-07T12:28:21.374300 | Holly | pythondev_help_Holly_2019-05-07T12:28:21.374300 | 1,557,232,101.3743 | 22,488 |
pythondev | help | its on my local and I'm an admin on it | 2019-05-07T12:28:29.374600 | Holly | pythondev_help_Holly_2019-05-07T12:28:29.374600 | 1,557,232,109.3746 | 22,489 |
pythondev | help | windows or unix derivative? | 2019-05-07T12:28:58.375200 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:28:58.375200 | 1,557,232,138.3752 | 22,490 |
pythondev | help | sudo didn't create them either just as a check | 2019-05-07T12:29:00.375300 | Holly | pythondev_help_Holly_2019-05-07T12:29:00.375300 | 1,557,232,140.3753 | 22,491 |
pythondev | help | OSX | 2019-05-07T12:29:01.375500 | Holly | pythondev_help_Holly_2019-05-07T12:29:01.375500 | 1,557,232,141.3755 | 22,492 |
pythondev | help | ultimately its going on linux | 2019-05-07T12:29:07.375700 | Holly | pythondev_help_Holly_2019-05-07T12:29:07.375700 | 1,557,232,147.3757 | 22,493 |
pythondev | help | can you `touch x` on the command line successfully? | 2019-05-07T12:29:28.376200 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:29:28.376200 | 1,557,232,168.3762 | 22,494 |
pythondev | help | yep | 2019-05-07T12:29:40.376400 | Holly | pythondev_help_Holly_2019-05-07T12:29:40.376400 | 1,557,232,180.3764 | 22,495 |
pythondev | help | k | 2019-05-07T12:29:43.376600 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:29:43.376600 | 1,557,232,183.3766 | 22,496 |
pythondev | help | and you have validated via a print sentinel or something that it is making it into the `else` block? | 2019-05-07T12:30:44.377200 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:30:44.377200 | 1,557,232,244.3772 | 22,497 |
pythondev | help | even if I write to them that's weird | 2019-05-07T12:30:48.377300 | Holly | pythondev_help_Holly_2019-05-07T12:30:48.377300 | 1,557,232,248.3773 | 22,498 |
pythondev | help | yeah I'm testing that now | 2019-05-07T12:30:53.377500 | Holly | pythondev_help_Holly_2019-05-07T12:30:53.377500 | 1,557,232,253.3775 | 22,499 |
pythondev | help | never hits the else | 2019-05-07T12:31:18.377700 | Holly | pythondev_help_Holly_2019-05-07T12:31:18.377700 | 1,557,232,278.3777 | 22,500 |
pythondev | help | ah - should be `config.is_file()` not `config.is_file` | 2019-05-07T12:31:47.378100 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:31:47.378100 | 1,557,232,307.3781 | 22,501 |
pythondev | help | you are missing the parens - referencing the existence of the method instead, which is always truthy | 2019-05-07T12:32:11.378700 | Clemmie | pythondev_help_Clemmie_2019-05-07T12:32:11.378700 | 1,557,232,331.3787 | 22,502 |
pythondev | help | <@Clemmie> +1, <@Holly> try to call `is_file()`. | 2019-05-07T12:45:34.380000 | Inger | pythondev_help_Inger_2019-05-07T12:45:34.380000 | 1,557,233,134.38 | 22,503 |
pythondev | help | did | 2019-05-07T13:02:32.380200 | Holly | pythondev_help_Holly_2019-05-07T13:02:32.380200 | 1,557,234,152.3802 | 22,504 |
pythondev | help | oh | 2019-05-07T13:02:34.380400 | Holly | pythondev_help_Holly_2019-05-07T13:02:34.380400 | 1,557,234,154.3804 | 22,505 |
pythondev | help | no brackets | 2019-05-07T13:02:36.380600 | Holly | pythondev_help_Holly_2019-05-07T13:02:36.380600 | 1,557,234,156.3806 | 22,506 |
pythondev | help | gotcha | 2019-05-07T13:02:37.380800 | Holly | pythondev_help_Holly_2019-05-07T13:02:37.380800 | 1,557,234,157.3808 | 22,507 |
pythondev | help | <@Alicia> these are great questions. <@Jimmy> no worries, I love Sphinx :taco: :upside_down_face:
> custom types annotations created using typing module are being printed in their full form
This is something I've been meaning to look into, I don't like it either (output gets confusing to read when the type hints are more complicated). I will try and remember to look tonight, if you are using autodoc what I'm going to try is this `<http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#event-autodoc-process-signature>` when `what` is `"function"`
> method signature is printed on a single line
This may or may not be possible, I'm not sure.
> method signature should highlight syntax
Hmm. This may be possible if we can figure out how to get access to emitting changes to the function signature (the same place, wherever it is, that doing single line to custom indented takes place). You can use pygments (same thing that is used to show code in the docs with `.. code-block::`).
I'll take a look later tonight and see if I can figure out more info. These are things I would want to do too :slightly_smiling_face: feel free to ping me if I forget... | 2019-05-07T13:04:59.380900 | Elaine | pythondev_help_Elaine_2019-05-07T13:04:59.380900 | 1,557,234,299.3809 | 22,508 |
pythondev | help | that was it <@Clemmie>! thanks! | 2019-05-07T13:06:06.381400 | Holly | pythondev_help_Holly_2019-05-07T13:06:06.381400 | 1,557,234,366.3814 | 22,509 |
pythondev | help | :taco: <@Clemmie> | 2019-05-07T13:06:14.381700 | Holly | pythondev_help_Holly_2019-05-07T13:06:14.381700 | 1,557,234,374.3817 | 22,510 |
pythondev | help | Oh great <@Elaine>, thank you so much :slightly_smiling_face:
May I write you i private? | 2019-05-07T13:07:39.381900 | Alicia | pythondev_help_Alicia_2019-05-07T13:07:39.381900 | 1,557,234,459.3819 | 22,511 |
pythondev | help | Sure. I think it would make sense to move this discussion to <#CCC8SRJHX|documentation> too. I won't be able to look at things until after work tonight though :slightly_smiling_face: | 2019-05-07T13:13:34.382300 | Elaine | pythondev_help_Elaine_2019-05-07T13:13:34.382300 | 1,557,234,814.3823 | 22,512 |
pythondev | help | ok will do so :smile: | 2019-05-07T13:14:10.382500 | Alicia | pythondev_help_Alicia_2019-05-07T13:14:10.382500 | 1,557,234,850.3825 | 22,513 |
pythondev | help | throwing this up on github when its completed seems like a useful tool for quite a few people that don't want to use the default kinesis consumers | 2019-05-07T13:37:40.383300 | Holly | pythondev_help_Holly_2019-05-07T13:37:40.383300 | 1,557,236,260.3833 | 22,514 |
pythondev | help | last conundrum is that I'm using threading so I can get two while loops to run at the same time, but it seems the secondary one isn't getting hit | 2019-05-07T13:44:04.383900 | Holly | pythondev_help_Holly_2019-05-07T13:44:04.383900 | 1,557,236,644.3839 | 22,515 |
pythondev | help | ```
createLogs = Thread(target=createLogFiles())
getLogLines = Thread(target=getLogs())
createLogs.start()
getLogLines.start()
``` | 2019-05-07T13:44:15.384100 | Holly | pythondev_help_Holly_2019-05-07T13:44:15.384100 | 1,557,236,655.3841 | 22,516 |
pythondev | help | simply that | 2019-05-07T13:44:16.384300 | Holly | pythondev_help_Holly_2019-05-07T13:44:16.384300 | 1,557,236,656.3843 | 22,517 |
pythondev | help | but the `getLogs()` function never starts | 2019-05-07T13:44:30.384600 | Holly | pythondev_help_Holly_2019-05-07T13:44:30.384600 | 1,557,236,670.3846 | 22,518 |
pythondev | help | You want to set `target=createLogFiles`, without the parentheses. Right now it's running the function and assigning the return value to `target`. | 2019-05-07T13:45:11.385400 | Sasha | pythondev_help_Sasha_2019-05-07T13:45:11.385400 | 1,557,236,711.3854 | 22,519 |
pythondev | help | well that would make sense | 2019-05-07T13:45:25.385600 | Holly | pythondev_help_Holly_2019-05-07T13:45:25.385600 | 1,557,236,725.3856 | 22,520 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.