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
From that one test script it looked like it was alternating between on and off though. Or were you toggling something physical <@Jacquelyn> ?
2018-02-06T21:03:40.000017
Brande
pythondev_help_Brande_2018-02-06T21:03:40.000017
1,517,951,020.000017
33,224
pythondev
help
...helps if i configure it right.
2018-02-06T21:04:26.000161
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:04:26.000161
1,517,951,066.000161
33,225
pythondev
help
one moment
2018-02-06T21:04:33.000192
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:04:33.000192
1,517,951,073.000192
33,226
pythondev
help
ive got pi's every right now
2018-02-06T21:04:44.000039
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:04:44.000039
1,517,951,084.000039
33,227
pythondev
help
and confusing myself
2018-02-06T21:04:46.000182
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:04:46.000182
1,517,951,086.000182
33,228
pythondev
help
Yeah strip it down to one. Back to basics :)
2018-02-06T21:05:09.000076
Brande
pythondev_help_Brande_2018-02-06T21:05:09.000076
1,517,951,109.000076
33,229
pythondev
help
Oh and for code sharing the + next to text input allows snippets which are easier to reference and don’t put in giant blocks of text :)
2018-02-06T21:05:50.000289
Brande
pythondev_help_Brande_2018-02-06T21:05:50.000289
1,517,951,150.000289
33,230
pythondev
help
ok
2018-02-06T21:05:51.000009
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:05:51.000009
1,517,951,151.000009
33,231
pythondev
help
its working somewhat
2018-02-06T21:05:53.000132
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:05:53.000132
1,517,951,153.000132
33,232
pythondev
help
after stripping it down
2018-02-06T21:05:57.000039
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:05:57.000039
1,517,951,157.000039
33,233
pythondev
help
(i had wrong pins set after striping down)
2018-02-06T21:06:05.000034
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:06:05.000034
1,517,951,165.000034
33,234
pythondev
help
but now, getting two events per actual event
2018-02-06T21:06:24.000213
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:06:24.000213
1,517,951,184.000213
33,235
pythondev
help
``` GPIO CALLBACK: False Door is CLOSED. GPIO CALLBACK: False Door is OPEN. GPIO CALLBACK: True Door is OPEN. GPIO CALLBACK: True Door is CLOSED. GPIO CALLBACK: False Door is CLOSED. GPIO CALLBACK: False Door is OPEN. GPIO CALLBACK: True Door is OPEN. GPIO CALLBACK: True ```
2018-02-06T21:06:40.000044
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:06:40.000044
1,517,951,200.000044
33,236
pythondev
help
That looks like a floating pin. Have you taken a look at polling the voltage or try switching to a pull down resistor?
2018-02-06T21:07:18.000256
Brande
pythondev_help_Brande_2018-02-06T21:07:18.000256
1,517,951,238.000256
33,237
pythondev
help
its using a software defined resistor
2018-02-06T21:07:51.000174
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:07:51.000174
1,517,951,271.000174
33,238
pythondev
help
and when i dont set that up
2018-02-06T21:07:55.000136
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:07:55.000136
1,517,951,275.000136
33,239
pythondev
help
man does it go crazy
2018-02-06T21:07:58.000316
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:07:58.000316
1,517,951,278.000316
33,240
pythondev
help
lol
2018-02-06T21:07:59.000141
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:07:59.000141
1,517,951,279.000141
33,241
pythondev
help
its just in this project cherrypy script that its doing it
2018-02-06T21:08:10.000337
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:08:10.000337
1,517,951,290.000337
33,242
pythondev
help
my cherrypy test script, isnt
2018-02-06T21:08:15.000318
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:08:15.000318
1,517,951,295.000318
33,243
pythondev
help
Yes but you’re defining it as a pull up resistor, they can be toggled either way in software.
2018-02-06T21:09:02.000160
Brande
pythondev_help_Brande_2018-02-06T21:09:02.000160
1,517,951,342.00016
33,244
pythondev
help
what im saying is, it get correct event detection in one script and not the other
2018-02-06T21:09:32.000166
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:09:32.000166
1,517,951,372.000166
33,245
pythondev
help
and they are both using the same pull up resistor via software defined
2018-02-06T21:09:46.000016
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:09:46.000016
1,517,951,386.000016
33,246
pythondev
help
Did you also take the bounce time and sleeps out of the test script?
2018-02-06T21:10:21.000194
Brande
pythondev_help_Brande_2018-02-06T21:10:21.000194
1,517,951,421.000194
33,247
pythondev
help
they are matching between the two at this point
2018-02-06T21:10:45.000315
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:10:45.000315
1,517,951,445.000315
33,248
pythondev
help
still weird results
2018-02-06T21:10:49.000043
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:10:49.000043
1,517,951,449.000043
33,249
pythondev
help
let me mess with it for a second
2018-02-06T21:10:57.000229
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:10:57.000229
1,517,951,457.000229
33,250
pythondev
help
yeah, just looks like debounce
2018-02-06T21:12:10.000064
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:12:10.000064
1,517,951,530.000064
33,251
pythondev
help
set bouncetime to 1.5s and it quits
2018-02-06T21:12:32.000309
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:12:32.000309
1,517,951,552.000309
33,252
pythondev
help
but i know its not that long of a bounce
2018-02-06T21:12:38.000302
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:12:38.000302
1,517,951,558.000302
33,253
pythondev
help
so
2018-02-06T21:14:11.000152
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:14:11.000152
1,517,951,651.000152
33,254
pythondev
help
it looks like the issue is when i run it as a daemon
2018-02-06T21:14:26.000040
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:14:26.000040
1,517,951,666.00004
33,255
pythondev
help
<@Brande>
2018-02-06T21:14:29.000099
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:14:29.000099
1,517,951,669.000099
33,256
pythondev
help
last few lines of that code on gitlab
2018-02-06T21:14:43.000163
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:14:43.000163
1,517,951,683.000163
33,257
pythondev
help
Ah yeah. Have you tried the daemon runner instead?
2018-02-06T21:18:15.000038
Brande
pythondev_help_Brande_2018-02-06T21:18:15.000038
1,517,951,895.000038
33,258
pythondev
help
Or alternatively daemonize it outside of the code itself
2018-02-06T21:18:32.000241
Brande
pythondev_help_Brande_2018-02-06T21:18:32.000241
1,517,951,912.000241
33,259
pythondev
help
Also IIRC when daemonizing with cherrypy event listeners need to be when it’s running, not initialized
2018-02-06T21:22:20.000125
Brande
pythondev_help_Brande_2018-02-06T21:22:20.000125
1,517,952,140.000125
33,260
pythondev
help
muahahaha
2018-02-06T21:23:57.000326
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:23:57.000326
1,517,952,237.000326
33,261
pythondev
help
<@Brande> got it
2018-02-06T21:24:01.000022
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:24:01.000022
1,517,952,241.000022
33,262
pythondev
help
just needed to not use the daemonizer from cherrypy
2018-02-06T21:24:29.000028
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:24:29.000028
1,517,952,269.000028
33,263
pythondev
help
and used simple type on systemd
2018-02-06T21:24:34.000260
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:24:34.000260
1,517,952,274.00026
33,264
pythondev
help
callbacks work now
2018-02-06T21:24:37.000234
Jacquelyn
pythondev_help_Jacquelyn_2018-02-06T21:24:37.000234
1,517,952,277.000234
33,265
pythondev
help
Pretty new to Python, but I have inherited a tool that I don't think works too well. Wondering if I am missing anything, or if there may be a better way to do things. Essentially this tool is linked to multiple Chrome extensions, it then collects data from users who use this extension. We use it at my job to search for...
2018-02-06T21:28:41.000284
Rosaura
pythondev_help_Rosaura_2018-02-06T21:28:41.000284
1,517,952,521.000284
33,266
pythondev
help
Bitbucket/SSH related question. I keep getting an error in Sourcetree related to permissions but not via Terminal
2018-02-06T22:15:10.000096
Nohemi
pythondev_help_Nohemi_2018-02-06T22:15:10.000096
1,517,955,310.000096
33,267
pythondev
help
Any ideas what could cause this?
2018-02-06T22:15:24.000084
Nohemi
pythondev_help_Nohemi_2018-02-06T22:15:24.000084
1,517,955,324.000084
33,268
pythondev
help
<@Nohemi> what’s the error?
2018-02-06T22:21:16.000203
Brande
pythondev_help_Brande_2018-02-06T22:21:16.000203
1,517,955,676.000203
33,269
pythondev
help
Solved it! <@Brande> Thanks
2018-02-06T22:24:30.000267
Nohemi
pythondev_help_Nohemi_2018-02-06T22:24:30.000267
1,517,955,870.000267
33,270
pythondev
help
Had to add an identity to the ssh key I think.
2018-02-06T22:25:13.000234
Nohemi
pythondev_help_Nohemi_2018-02-06T22:25:13.000234
1,517,955,913.000234
33,271
pythondev
help
i have my unit tests and my application in two seperate folders like so: ``` /project/tests/test.py /project/application/app.py ``` how do import my `app.py` module into my `tests.py` module?
2018-02-06T23:59:37.000147
Jaimie
pythondev_help_Jaimie_2018-02-06T23:59:37.000147
1,517,961,577.000147
33,272
pythondev
help
set your PYTHONPATH to /project/application/
2018-02-07T00:02:31.000119
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:02:31.000119
1,517,961,751.000119
33,273
pythondev
help
`cd /project/application`
2018-02-07T00:02:43.000040
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:02:43.000040
1,517,961,763.00004
33,274
pythondev
help
`export PYTHONPATH=.:$PYTHONPATH`
2018-02-07T00:02:58.000047
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:02:58.000047
1,517,961,778.000047
33,275
pythondev
help
then cd back to your test dir
2018-02-07T00:03:20.000219
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:03:20.000219
1,517,961,800.000219
33,276
pythondev
help
i'll have to do that every time i start a new terminal session?
2018-02-07T00:03:41.000092
Jaimie
pythondev_help_Jaimie_2018-02-07T00:03:41.000092
1,517,961,821.000092
33,277
pythondev
help
also assuming there is an __init__.py in /project/application
2018-02-07T00:04:02.000131
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:04:02.000131
1,517,961,842.000131
33,278
pythondev
help
there is
2018-02-07T00:04:12.000058
Jaimie
pythondev_help_Jaimie_2018-02-07T00:04:12.000058
1,517,961,852.000058
33,279
pythondev
help
if you are working in an virtualenv
2018-02-07T00:04:32.000131
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:04:32.000131
1,517,961,872.000131
33,280
pythondev
help
i am
2018-02-07T00:04:42.000096
Jaimie
pythondev_help_Jaimie_2018-02-07T00:04:42.000096
1,517,961,882.000096
33,281
pythondev
help
you can modify your activate script
2018-02-07T00:04:44.000066
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:04:44.000066
1,517,961,884.000066
33,282
pythondev
help
venv/bin/activate
2018-02-07T00:04:51.000267
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:04:51.000267
1,517,961,891.000267
33,283
pythondev
help
generally
2018-02-07T00:04:54.000260
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:04:54.000260
1,517,961,894.00026
33,284
pythondev
help
<https://stackoverflow.com/questions/4757178/how-do-you-set-your-pythonpath-in-an-already-created-virtualenv>
2018-02-07T00:05:30.000038
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:05:30.000038
1,517,961,930.000038
33,285
pythondev
help
ahh
2018-02-07T00:05:30.000203
Jaimie
pythondev_help_Jaimie_2018-02-07T00:05:30.000203
1,517,961,930.000203
33,286
pythondev
help
cool
2018-02-07T00:05:36.000033
Jaimie
pythondev_help_Jaimie_2018-02-07T00:05:36.000033
1,517,961,936.000033
33,287
pythondev
help
i wish i could just do this in the unittests python file
2018-02-07T00:05:51.000113
Jaimie
pythondev_help_Jaimie_2018-02-07T00:05:51.000113
1,517,961,951.000113
33,288
pythondev
help
make a venv in tests
2018-02-07T00:06:19.000128
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:06:19.000128
1,517,961,979.000128
33,289
pythondev
help
set pythonpath to /project/application on that venv
2018-02-07T00:06:38.000117
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:06:38.000117
1,517,961,998.000117
33,290
pythondev
help
should be working in a venv in unittesting too
2018-02-07T00:07:31.000013
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:07:31.000013
1,517,962,051.000013
33,291
pythondev
help
generally
2018-02-07T00:07:32.000151
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:07:32.000151
1,517,962,052.000151
33,292
pythondev
help
i have the venv down a layer in the folder tree
2018-02-07T00:07:51.000106
Jaimie
pythondev_help_Jaimie_2018-02-07T00:07:51.000106
1,517,962,071.000106
33,293
pythondev
help
so its all in one venv
2018-02-07T00:08:09.000143
Jaimie
pythondev_help_Jaimie_2018-02-07T00:08:09.000143
1,517,962,089.000143
33,294
pythondev
help
i generally would have a venv in /project/tests and /project/application
2018-02-07T00:08:11.000070
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:08:11.000070
1,517,962,091.00007
33,295
pythondev
help
seperate ones?
2018-02-07T00:08:17.000058
Jaimie
pythondev_help_Jaimie_2018-02-07T00:08:17.000058
1,517,962,097.000058
33,296
pythondev
help
yes
2018-02-07T00:08:19.000061
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:08:19.000061
1,517,962,099.000061
33,297
pythondev
help
why is that?
2018-02-07T00:08:40.000125
Jaimie
pythondev_help_Jaimie_2018-02-07T00:08:40.000125
1,517,962,120.000125
33,298
pythondev
help
testing uses different packages the application doesnt need, helps keep things sep for packages
2018-02-07T00:08:49.000027
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:08:49.000027
1,517,962,129.000027
33,299
pythondev
help
also means i can test updated modules/packages from pypi in the tests venv without messing with my dev venv in application folder
2018-02-07T00:09:32.000071
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:09:32.000071
1,517,962,172.000071
33,300
pythondev
help
but, im not a professional developer, i just do it for kicks
2018-02-07T00:10:36.000044
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:10:36.000044
1,517,962,236.000044
33,301
pythondev
help
so take it as you want :slightly_smiling_face:
2018-02-07T00:10:47.000010
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:10:47.000010
1,517,962,247.00001
33,302
pythondev
help
just a self taught dude, so i make up my own methods that arent the best sometimes
2018-02-07T00:11:23.000078
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:11:23.000078
1,517,962,283.000078
33,303
pythondev
help
:slightly_smiling_face:
2018-02-07T00:11:24.000085
Jacquelyn
pythondev_help_Jacquelyn_2018-02-07T00:11:24.000085
1,517,962,284.000085
33,304
pythondev
help
that makes sense
2018-02-07T00:11:42.000141
Jaimie
pythondev_help_Jaimie_2018-02-07T00:11:42.000141
1,517,962,302.000141
33,305
pythondev
help
thanks for the advice
2018-02-07T00:11:45.000250
Jaimie
pythondev_help_Jaimie_2018-02-07T00:11:45.000250
1,517,962,305.00025
33,306
pythondev
help
:slightly_smiling_face:
2018-02-07T00:11:47.000176
Jaimie
pythondev_help_Jaimie_2018-02-07T00:11:47.000176
1,517,962,307.000176
33,307
pythondev
help
can anyone answer a little question about nginx?
2018-02-07T00:45:35.000008
Lizette
pythondev_help_Lizette_2018-02-07T00:45:35.000008
1,517,964,335.000008
33,308
pythondev
help
Hi there :smile:
2018-02-07T03:43:45.000422
Gwyn
pythondev_help_Gwyn_2018-02-07T03:43:45.000422
1,517,975,025.000422
33,309
pythondev
help
Any good package you'd recommend using to make a GUI ?
2018-02-07T03:44:02.000137
Gwyn
pythondev_help_Gwyn_2018-02-07T03:44:02.000137
1,517,975,042.000137
33,310
pythondev
help
tkinter is ok for a basic GUI
2018-02-07T03:50:15.000209
Micki
pythondev_help_Micki_2018-02-07T03:50:15.000209
1,517,975,415.000209
33,311
pythondev
help
it's in the standard lib
2018-02-07T03:50:21.000305
Micki
pythondev_help_Micki_2018-02-07T03:50:21.000305
1,517,975,421.000305
33,312
pythondev
help
yeah that's what I was about to try
2018-02-07T03:50:31.000250
Gwyn
pythondev_help_Gwyn_2018-02-07T03:50:31.000250
1,517,975,431.00025
33,313
pythondev
help
How to insert the code into StackOverflow? Does each line need 4 spaces? How to accelerate if your code has 10 lines? Because forty times to hit the spacebar I do not want.
2018-02-07T04:59:35.000439
Shirleen
pythondev_help_Shirleen_2018-02-07T04:59:35.000439
1,517,979,575.000439
33,314
pythondev
help
Hey <@Shirleen>
2018-02-07T04:59:53.000594
Gwyn
pythondev_help_Gwyn_2018-02-07T04:59:53.000594
1,517,979,593.000594
33,315
pythondev
help
hi
2018-02-07T05:00:06.000528
Shirleen
pythondev_help_Shirleen_2018-02-07T05:00:06.000528
1,517,979,606.000528
33,316
pythondev
help
Yeah I have no Idea, I had to make that for a full 200 line makefile sadly
2018-02-07T05:00:14.000108
Gwyn
pythondev_help_Gwyn_2018-02-07T05:00:14.000108
1,517,979,614.000108
33,317
pythondev
help
I have no idea if there's a way to do it faster
2018-02-07T05:00:23.000208
Gwyn
pythondev_help_Gwyn_2018-02-07T05:00:23.000208
1,517,979,623.000208
33,318
pythondev
help
on the jetbrains IDE softwares you can middle click and drag to edit multiple lines at the same time and then insert the spaces at once
2018-02-07T05:00:54.000536
Gwyn
pythondev_help_Gwyn_2018-02-07T05:00:54.000536
1,517,979,654.000536
33,319
pythondev
help
that's what I would do
2018-02-07T05:00:56.000496
Gwyn
pythondev_help_Gwyn_2018-02-07T05:00:56.000496
1,517,979,656.000496
33,320
pythondev
help
<@Barney> HI Leonid. Do you know answer for this question?
2018-02-07T05:01:06.000041
Shirleen
pythondev_help_Shirleen_2018-02-07T05:01:06.000041
1,517,979,666.000041
33,321
pythondev
help
otherwise I havge no idea
2018-02-07T05:01:07.000357
Gwyn
pythondev_help_Gwyn_2018-02-07T05:01:07.000357
1,517,979,667.000357
33,322
pythondev
help
<@Shirleen> 4 spaces on each line, yes
2018-02-07T05:01:16.000107
Barney
pythondev_help_Barney_2018-02-07T05:01:16.000107
1,517,979,676.000107
33,323