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
But since I enter through a nginx, it does work though
2019-02-06T08:31:28.178000
Gregg
pythondev_help_Gregg_2019-02-06T08:31:28.178000
1,549,441,888.178
7,021
pythondev
help
(nginx being another service of my docker-compose)
2019-02-06T08:31:59.179200
Gregg
pythondev_help_Gregg_2019-02-06T08:31:59.179200
1,549,441,919.1792
7,022
pythondev
help
Ah I didn't realize there was a need to access the container in question via some ports as well.
2019-02-06T08:32:10.179500
Karoline
pythondev_help_Karoline_2019-02-06T08:32:10.179500
1,549,441,930.1795
7,023
pythondev
help
Well, it was not strictly necessary, but since it is a flask application and I can reproduce my problem with some particular request… I did need that
2019-02-06T08:33:28.180500
Gregg
pythondev_help_Gregg_2019-02-06T08:33:28.180500
1,549,442,008.1805
7,024
pythondev
help
Thanks for the input everyone !
2019-02-06T08:33:43.180900
Gregg
pythondev_help_Gregg_2019-02-06T08:33:43.180900
1,549,442,023.1809
7,025
pythondev
help
no pun intended
2019-02-06T08:33:51.181100
Gregg
pythondev_help_Gregg_2019-02-06T08:33:51.181100
1,549,442,031.1811
7,026
pythondev
help
Thanks a lot
2019-02-06T08:35:57.181200
Gregg
pythondev_help_Gregg_2019-02-06T08:35:57.181200
1,549,442,157.1812
7,027
pythondev
help
lol
2019-02-06T08:37:11.181500
Karoline
pythondev_help_Karoline_2019-02-06T08:37:11.181500
1,549,442,231.1815
7,028
pythondev
help
its not required if you’re running tests with pytest
2019-02-06T08:39:02.181900
Hiroko
pythondev_help_Hiroko_2019-02-06T08:39:02.181900
1,549,442,342.1819
7,029
pythondev
help
so you can do `docker-compose run --rm tests` but you also need to pass in the flags `-n 0 -s` to have it run single process
2019-02-06T08:39:27.182400
Hiroko
pythondev_help_Hiroko_2019-02-06T08:39:27.182400
1,549,442,367.1824
7,030
pythondev
help
otherwise, youll get lots of BadQuit exceptions in your tests with the inclusiion of `import ipdb; ipdb.set_trace()`
2019-02-06T08:40:01.183000
Hiroko
pythondev_help_Hiroko_2019-02-06T08:40:01.183000
1,549,442,401.183
7,031
pythondev
help
Yes I’ve had those kind of problems
2019-02-06T08:53:41.183800
Gregg
pythondev_help_Gregg_2019-02-06T08:53:41.183800
1,549,443,221.1838
7,032
pythondev
help
I've posted a question on <#CEH13CZGS|git> but if anyone here has any bash experience, could you have a look?
2019-02-06T09:24:51.184400
Malena
pythondev_help_Malena_2019-02-06T09:24:51.184400
1,549,445,091.1844
7,033
pythondev
help
I think it's a bash thing as much as a git thing.
2019-02-06T09:25:14.184800
Malena
pythondev_help_Malena_2019-02-06T09:25:14.184800
1,549,445,114.1848
7,034
pythondev
help
<@Hiroko> <@Karoline> I managed to find the source of my endless loop with celery… it was the rpc results backend that fails to connect due to a broken pipe and the fact that the results are retried without a retry policy. That is, they are retried in a infinite loop. I have no need for the result backend at the moment...
2019-02-06T10:06:51.187800
Gregg
pythondev_help_Gregg_2019-02-06T10:06:51.187800
1,549,447,611.1878
7,035
pythondev
help
nice!
2019-02-06T10:11:39.188100
Hiroko
pythondev_help_Hiroko_2019-02-06T10:11:39.188100
1,549,447,899.1881
7,036
pythondev
help
and FYI, using rabbit as a result backend is a very bad idea, would suggest using redis if you need that
2019-02-06T10:11:55.188500
Hiroko
pythondev_help_Hiroko_2019-02-06T10:11:55.188500
1,549,447,915.1885
7,037
pythondev
help
Its easy to do when you’re in local dev, but rabbit is for messages and queuing, not storing
2019-02-06T10:12:24.188900
Hiroko
pythondev_help_Hiroko_2019-02-06T10:12:24.188900
1,549,447,944.1889
7,038
pythondev
help
Just for further information, when you use Rabbit as a results backend, you only get to access that result once. Since Rabbit is a messaging system, once you've read that message it tosses it.
2019-02-06T11:37:08.190100
Carmen
pythondev_help_Carmen_2019-02-06T11:37:08.190100
1,549,453,028.1901
7,039
pythondev
help
Which can be somewhat okay in most cases, but if you use anything that needs multiple reads of a result (like chaining a group of tasks), you're going to have your tasks hanging permanently.
2019-02-06T11:38:19.191500
Carmen
pythondev_help_Carmen_2019-02-06T11:38:19.191500
1,549,453,099.1915
7,040
pythondev
help
&gt; you only get to access that result once can't you, like, not ack the message? :troll:
2019-02-06T12:33:55.192200
Jettie
pythondev_help_Jettie_2019-02-06T12:33:55.192200
1,549,456,435.1922
7,041
pythondev
help
That's a horrible hack. I love it.
2019-02-06T12:36:55.192500
Carmen
pythondev_help_Carmen_2019-02-06T12:36:55.192500
1,549,456,615.1925
7,042
pythondev
help
Need more help. For some reason I can't call time.strftime() in a format statement in a string in os.path.join. I jeep getting a `type error: 'module' object is not callable` I can call it outside of that just fine
2019-02-06T13:38:00.195800
Javier
pythondev_help_Javier_2019-02-06T13:38:00.195800
1,549,460,280.1958
7,043
pythondev
help
show the code
2019-02-06T13:39:50.196000
Clemmie
pythondev_help_Clemmie_2019-02-06T13:39:50.196000
1,549,460,390.196
7,044
pythondev
help
This is some horseshit. ``` import lots of stuff import time if __name__ == "__main__": file_time = time.strftime("%Y_%m_%d %H_%M_%S") #this one works fine print os.path.join (r"does", r"this work? {}".format (file_time)) #this throws the error log_file_path =\ os.path( r"this path", r"and this o...
2019-02-06T13:49:23.206100
Javier
pythondev_help_Javier_2019-02-06T13:49:23.206100
1,549,460,963.2061
7,045
pythondev
help
I'm stuck using python 2 for this so please no suggestions to use f strings.
2019-02-06T13:50:06.206800
Javier
pythondev_help_Javier_2019-02-06T13:50:06.206800
1,549,461,006.2068
7,046
pythondev
help
<@Javier> you can format it, you just need to use `datetime.datetime`
2019-02-06T13:51:50.207500
Ashley
pythondev_help_Ashley_2019-02-06T13:51:50.207500
1,549,461,110.2075
7,047
pythondev
help
instead of `time`
2019-02-06T13:52:11.208100
Ashley
pythondev_help_Ashley_2019-02-06T13:52:11.208100
1,549,461,131.2081
7,048
pythondev
help
Why use that here when time.strftime works everywhere else?
2019-02-06T13:52:14.208300
Javier
pythondev_help_Javier_2019-02-06T13:52:14.208300
1,549,461,134.2083
7,049
pythondev
help
because datetime works everywhere else, too?
2019-02-06T13:53:07.208600
Ashley
pythondev_help_Ashley_2019-02-06T13:53:07.208600
1,549,461,187.2086
7,050
pythondev
help
although
2019-02-06T13:53:09.208800
Ashley
pythondev_help_Ashley_2019-02-06T13:53:09.208800
1,549,461,189.2088
7,051
pythondev
help
the error you got, i think, is because you're using `time`, and not `time.time`
2019-02-06T13:53:29.209300
Ashley
pythondev_help_Ashley_2019-02-06T13:53:29.209300
1,549,461,209.2093
7,052
pythondev
help
hmmm nevermind
2019-02-06T13:53:46.209800
Ashley
pythondev_help_Ashley_2019-02-06T13:53:46.209800
1,549,461,226.2098
7,053
pythondev
help
I used time literally right above it
2019-02-06T13:53:50.210100
Javier
pythondev_help_Javier_2019-02-06T13:53:50.210100
1,549,461,230.2101
7,054
pythondev
help
I just looked up the namespace
2019-02-06T13:53:50.210200
Ashley
pythondev_help_Ashley_2019-02-06T13:53:50.210200
1,549,461,230.2102
7,055
pythondev
help
The print statement works fine and this pattern works in all my other scripts.
2019-02-06T13:54:21.211100
Javier
pythondev_help_Javier_2019-02-06T13:54:21.211100
1,549,461,261.2111
7,056
pythondev
help
hmmm
2019-02-06T13:54:31.211300
Ashley
pythondev_help_Ashley_2019-02-06T13:54:31.211300
1,549,461,271.2113
7,057
pythondev
help
one sec
2019-02-06T13:54:31.211500
Ashley
pythondev_help_Ashley_2019-02-06T13:54:31.211500
1,549,461,271.2115
7,058
pythondev
help
You appear to be calling `os.path`, not `os.path.join`.
2019-02-06T13:56:16.211800
Sasha
pythondev_help_Sasha_2019-02-06T13:56:16.211800
1,549,461,376.2118
7,059
pythondev
help
yeah, just noticed
2019-02-06T13:56:25.212000
Ashley
pythondev_help_Ashley_2019-02-06T13:56:25.212000
1,549,461,385.212
7,060
pythondev
help
Yeah
2019-02-06T13:56:28.212300
Javier
pythondev_help_Javier_2019-02-06T13:56:28.212300
1,549,461,388.2123
7,061
pythondev
help
`os.path` is a module
2019-02-06T13:56:32.212600
Ashley
pythondev_help_Ashley_2019-02-06T13:56:32.212600
1,549,461,392.2126
7,062
pythondev
help
That would explain it
2019-02-06T13:56:34.212800
Javier
pythondev_help_Javier_2019-02-06T13:56:34.212800
1,549,461,394.2128
7,063
pythondev
help
and that's what the error is referring to
2019-02-06T13:56:43.213200
Ashley
pythondev_help_Ashley_2019-02-06T13:56:43.213200
1,549,461,403.2132
7,064
pythondev
help
<@Sasha> :taco: :taco:
2019-02-06T13:56:52.213400
Javier
pythondev_help_Javier_2019-02-06T13:56:52.213400
1,549,461,412.2134
7,065
pythondev
help
<@Sasha> :taco:
2019-02-06T13:57:00.213800
Ashley
pythondev_help_Ashley_2019-02-06T13:57:00.213800
1,549,461,420.2138
7,066
pythondev
help
I gotta relearn reading error messages.
2019-02-06T13:57:12.214200
Javier
pythondev_help_Javier_2019-02-06T13:57:12.214200
1,549,461,432.2142
7,067
pythondev
help
Thanks <@Sasha>
2019-02-06T13:57:54.215000
Javier
pythondev_help_Javier_2019-02-06T13:57:54.215000
1,549,461,474.215
7,068
pythondev
help
hey
2019-02-06T15:18:23.216000
Keva
pythondev_help_Keva_2019-02-06T15:18:23.216000
1,549,466,303.216
7,069
pythondev
help
is it possible to pass a value from jinja2 template in flask to view?
2019-02-06T15:18:48.216600
Keva
pythondev_help_Keva_2019-02-06T15:18:48.216600
1,549,466,328.2166
7,070
pythondev
help
eg.
2019-02-06T15:18:50.216800
Keva
pythondev_help_Keva_2019-02-06T15:18:50.216800
1,549,466,330.2168
7,071
pythondev
help
None
2019-02-06T15:18:59.216900
Keva
pythondev_help_Keva_2019-02-06T15:18:59.216900
1,549,466,339.2169
7,072
pythondev
help
None
2019-02-06T15:19:15.217200
Keva
pythondev_help_Keva_2019-02-06T15:19:15.217200
1,549,466,355.2172
7,073
pythondev
help
but without adding that value to url?
2019-02-06T15:19:33.217800
Keva
pythondev_help_Keva_2019-02-06T15:19:33.217800
1,549,466,373.2178
7,074
pythondev
help
kind of 'behind the scenes'?
2019-02-06T15:20:43.218100
Keva
pythondev_help_Keva_2019-02-06T15:20:43.218100
1,549,466,443.2181
7,075
pythondev
help
Hi. I built a program that simulates a card drinking game called Kings Cup. I would appreciate your guys’ feedback.
2019-02-06T15:24:43.219000
Refugio
pythondev_help_Refugio_2019-02-06T15:24:43.219000
1,549,466,683.219
7,076
pythondev
help
<https://github.com/miladmikeal/kings_cup>
2019-02-06T15:24:43.219200
Refugio
pythondev_help_Refugio_2019-02-06T15:24:43.219200
1,549,466,683.2192
7,077
pythondev
help
is use ```if form.validate_on_submit():``` for froms
2019-02-06T15:38:22.219400
Necole
pythondev_help_Necole_2019-02-06T15:38:22.219400
1,549,467,502.2194
7,078
pythondev
help
o you are already using that
2019-02-06T15:39:34.219600
Necole
pythondev_help_Necole_2019-02-06T15:39:34.219600
1,549,467,574.2196
7,079
pythondev
help
does what you have not work?
2019-02-06T15:40:22.219800
Necole
pythondev_help_Necole_2019-02-06T15:40:22.219800
1,549,467,622.2198
7,080
pythondev
help
kings cup :clap:
2019-02-06T15:48:18.220300
Bethany
pythondev_help_Bethany_2019-02-06T15:48:18.220300
1,549,468,098.2203
7,081
pythondev
help
:beer:
2019-02-06T15:53:58.220600
Claudine
pythondev_help_Claudine_2019-02-06T15:53:58.220600
1,549,468,438.2206
7,082
pythondev
help
anyone ever use cerberus for data validation?
2019-02-06T17:19:33.221100
Lawrence
pythondev_help_Lawrence_2019-02-06T17:19:33.221100
1,549,473,573.2211
7,083
pythondev
help
nope
2019-02-06T17:24:47.221200
Keva
pythondev_help_Keva_2019-02-06T17:24:47.221200
1,549,473,887.2212
7,084
pythondev
help
sorry, slack didn't notice me about your reply.
2019-02-06T17:25:07.221400
Keva
pythondev_help_Keva_2019-02-06T17:25:07.221400
1,549,473,907.2214
7,085
pythondev
help
missing 1 required positional argument: 'id'
2019-02-06T17:26:17.221800
Keva
pythondev_help_Keva_2019-02-06T17:26:17.221800
1,549,473,977.2218
7,086
pythondev
help
it's like it have to be in the url
2019-02-06T17:26:49.222500
Keva
pythondev_help_Keva_2019-02-06T17:26:49.222500
1,549,474,009.2225
7,087
pythondev
help
I have not. Offhand, it looks like a native way to do the same sort of validation that JSON Schemas allow for, just for Python dicts instead.
2019-02-06T17:26:54.222800
Carmen
pythondev_help_Carmen_2019-02-06T17:26:54.222800
1,549,474,014.2228
7,088
pythondev
help
when using the multiprocessing library - how many jobs is a safe bet? I am simply using request PUT to load data
2019-02-06T17:27:49.223400
Alvina
pythondev_help_Alvina_2019-02-06T17:27:49.223400
1,549,474,069.2234
7,089
pythondev
help
Starting to upload part 65. Size: 3.35 MB, Uncompressed size: 50 MB Starting to upload part 66. Size: 3.33 MB, Uncompressed size: 50 MB Starting to upload part 67. Size: 3.31 MB, Uncompressed size: 50 MB
2019-02-06T17:27:54.223600
Alvina
pythondev_help_Alvina_2019-02-06T17:27:54.223600
1,549,474,074.2236
7,090
pythondev
help
so I am reading in chunks and then uploading them in parallel, but I don't know how many jobs I can use
2019-02-06T17:28:19.224400
Alvina
pythondev_help_Alvina_2019-02-06T17:28:19.224400
1,549,474,099.2244
7,091
pythondev
help
i have a 4 core processor on this machine, chunks are 50-100mb (still testing speeds), but get compressed to 3-10mb
2019-02-06T17:28:45.225000
Alvina
pythondev_help_Alvina_2019-02-06T17:28:45.225000
1,549,474,125.225
7,092
pythondev
help
Here is the code which shows the issue. from indications thread go_state_connecte trigger dosent get called.But do_state_init and post_init gets called.
2019-02-06T17:34:08.225100
Micki
pythondev_help_Micki_2019-02-06T17:34:08.225100
1,549,474,448.2251
7,093
pythondev
help
this still isn't a self-contained example. it's part of a class. make a single python file that you can run directly, and when run, it shows the problem.
2019-02-06T18:01:34.226300
Karoline
pythondev_help_Karoline_2019-02-06T18:01:34.226300
1,549,476,094.2263
7,094
pythondev
help
I am working on it I carved the minimum required code which I will try to make single python file
2019-02-06T18:35:05.227300
Micki
pythondev_help_Micki_2019-02-06T18:35:05.227300
1,549,478,105.2273
7,095
pythondev
help
atleast this gives the idea of what is happening
2019-02-06T18:35:23.227700
Micki
pythondev_help_Micki_2019-02-06T18:35:23.227700
1,549,478,123.2277
7,096
pythondev
help
:+1:
2019-02-06T18:36:47.227900
Karoline
pythondev_help_Karoline_2019-02-06T18:36:47.227900
1,549,478,207.2279
7,097
pythondev
help
Is it blocking on the `channel_ready_future`, perhaps?
2019-02-06T18:41:44.228300
Sasha
pythondev_help_Sasha_2019-02-06T18:41:44.228300
1,549,478,504.2283
7,098
pythondev
help
I verified that with logs I get the log I print right after that
2019-02-06T19:28:17.228800
Micki
pythondev_help_Micki_2019-02-06T19:28:17.228800
1,549,481,297.2288
7,099
pythondev
help
Thank you for looking into it
2019-02-06T19:28:48.229100
Micki
pythondev_help_Micki_2019-02-06T19:28:48.229100
1,549,481,328.2291
7,100
pythondev
help
I get this log <http://self.log.info|self.log.info>('connected to olt', device_id=self.device_id)
2019-02-06T19:29:41.229600
Micki
pythondev_help_Micki_2019-02-06T19:29:41.229600
1,549,481,381.2296
7,101
pythondev
help
but right after that go_state_connected() is not getting invoked. state machine should translate it into do_state_connected call
2019-02-06T19:30:44.230800
Micki
pythondev_help_Micki_2019-02-06T19:30:44.230800
1,549,481,444.2308
7,102
pythondev
help
what happens when you put a pdb breakpoint after the log call and step into the next line?
2019-02-06T19:31:33.231400
Hiroko
pythondev_help_Hiroko_2019-02-06T19:31:33.231400
1,549,481,493.2314
7,103
pythondev
help
I just want to point out that you have a very similar log statement right before the `channel_ready_future` too, so you may want to make sure you're not confusing the two log outputs between debug and info.
2019-02-06T19:42:17.232500
Sasha
pythondev_help_Sasha_2019-02-06T19:42:17.232500
1,549,482,137.2325
7,104
pythondev
help
I also don't really understand how the state machine works. Where is `go_state_connected()` defined?
2019-02-06T19:45:28.233200
Sasha
pythondev_help_Sasha_2019-02-06T19:45:28.233200
1,549,482,328.2332
7,105
pythondev
help
Is the `Machine()` initialization creating those additional functions in the outer class?
2019-02-06T19:46:24.233800
Sasha
pythondev_help_Sasha_2019-02-06T19:46:24.233800
1,549,482,384.2338
7,106
pythondev
help
Hi Joe, you seem to be very helpful on here and have lots of python knowledge so I was wondering if I could pick your brain. I am looking to make a career switch into web development or software development. I have been studying Python and other tools since August but I am at a bit of a crossroads. I want to make sure ...
2019-02-06T20:26:04.234200
Janella
pythondev_help_Janella_2019-02-06T20:26:04.234200
1,549,484,764.2342
7,107
pythondev
help
yes the go_state_connected is defined in state
2019-02-06T20:45:44.234800
Micki
pythondev_help_Micki_2019-02-06T20:45:44.234800
1,549,485,944.2348
7,108
pythondev
help
transitions. which is passed to machine call
2019-02-06T20:46:19.235200
Micki
pythondev_help_Micki_2019-02-06T20:46:19.235200
1,549,485,979.2352
7,109
pythondev
help
None
2019-02-06T20:46:30.235300
Micki
pythondev_help_Micki_2019-02-06T20:46:30.235300
1,549,485,990.2353
7,110
pythondev
help
I havent yet set the pdb
2019-02-06T20:46:56.235900
Micki
pythondev_help_Micki_2019-02-06T20:46:56.235900
1,549,486,016.2359
7,111
pythondev
help
I was trying to setup logging of transitions which I found steps on stack overflow but it didnt work
2019-02-06T20:47:44.236900
Micki
pythondev_help_Micki_2019-02-06T20:47:44.236900
1,549,486,064.2369
7,112
pythondev
help
I installed pygraphviz but it still gies error on import statement
2019-02-06T20:48:10.237500
Micki
pythondev_help_Micki_2019-02-06T20:48:10.237500
1,549,486,090.2375
7,113
pythondev
help
You don't need to install and setup pdb, it's built in the language
2019-02-06T20:52:05.238100
Hiroko
pythondev_help_Hiroko_2019-02-06T20:52:05.238100
1,549,486,325.2381
7,114
pythondev
help
Quite literally, type `import pdb; pdb.set_trace()`
2019-02-06T20:52:45.239000
Hiroko
pythondev_help_Hiroko_2019-02-06T20:52:45.239000
1,549,486,365.239
7,115
pythondev
help
At the line you want to have a breakpoint
2019-02-06T20:52:57.239400
Hiroko
pythondev_help_Hiroko_2019-02-06T20:52:57.239400
1,549,486,377.2394
7,116
pythondev
help
hi. looking for tips to improve the score <https://github.com/paulgureghian/Google_Colab_PyTorch_Notebooks/blob/master/Medetec_Classifier.ipynb>
2019-02-06T21:21:13.240300
Clayton
pythondev_help_Clayton_2019-02-06T21:21:13.240300
1,549,488,073.2403
7,117
pythondev
help
<@Hiroko> sure thanks so much I will try that
2019-02-06T21:22:32.241000
Micki
pythondev_help_Micki_2019-02-06T21:22:32.241000
1,549,488,152.241
7,118
pythondev
help
Hello All, Can any one suggest a Python based reporting or Data visualisation that can report in PDF or excel format from SQL or Influx DB. Thanks in advance
2019-02-06T22:47:57.243700
Candyce
pythondev_help_Candyce_2019-02-06T22:47:57.243700
1,549,493,277.2437
7,119
pythondev
help
Please share me a Python library that does this task.
2019-02-06T22:48:36.244500
Candyce
pythondev_help_Candyce_2019-02-06T22:48:36.244500
1,549,493,316.2445
7,120