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
okay about to start
2017-12-14T12:29:45.000481
Myong
pythondev_help_Myong_2017-12-14T12:29:45.000481
1,513,254,585.000481
103,903
pythondev
help
I can debug celery worker itself, just cannot figure out how to setup breakpoints within Python script executed with subprocess
2017-12-14T12:33:13.000379
Mirian
pythondev_help_Mirian_2017-12-14T12:33:13.000379
1,513,254,793.000379
103,904
pythondev
help
debugging the rest of the code works :slightly_smiling_face:
2017-12-14T12:33:38.000285
Mirian
pythondev_help_Mirian_2017-12-14T12:33:38.000285
1,513,254,818.000285
103,905
pythondev
help
the problem is that the subprocess runs on an entirely different process than what the debugger is attached to
2017-12-14T12:34:06.000808
Meg
pythondev_help_Meg_2017-12-14T12:34:06.000808
1,513,254,846.000808
103,906
pythondev
help
there is a settings `attach to subprocess automatically while debugging` <https://www.jetbrains.com/help/pycharm/python-debugger.html>
2017-12-14T12:35:16.000445
Mirian
pythondev_help_Mirian_2017-12-14T12:35:16.000445
1,513,254,916.000445
103,907
pythondev
help
but maybe it's an external process
2017-12-14T12:35:24.000149
Mirian
pythondev_help_Mirian_2017-12-14T12:35:24.000149
1,513,254,924.000149
103,908
pythondev
help
and I've misunderstood that
2017-12-14T12:35:44.000254
Mirian
pythondev_help_Mirian_2017-12-14T12:35:44.000254
1,513,254,944.000254
103,909
pythondev
help
I’ve never had any success with that
2017-12-14T12:36:02.000257
Meg
pythondev_help_Meg_2017-12-14T12:36:02.000257
1,513,254,962.000257
103,910
pythondev
help
¯\_(ツ)_/¯
2017-12-14T12:36:04.000223
Meg
pythondev_help_Meg_2017-12-14T12:36:04.000223
1,513,254,964.000223
103,911
pythondev
help
anyway, thanks for the tips <@Meg> :taco:
2017-12-14T12:36:36.000103
Mirian
pythondev_help_Mirian_2017-12-14T12:36:36.000103
1,513,254,996.000103
103,912
pythondev
help
Moment of truth for pypy w/multiprocessing
2017-12-14T12:51:14.000026
Myong
pythondev_help_Myong_2017-12-14T12:51:14.000026
1,513,255,874.000026
103,913
pythondev
help
<@Seema> Starting out as fast as normal python interpreter w/out MP, but im gonna let it run the full length and see what happens
2017-12-14T12:52:54.000504
Myong
pythondev_help_Myong_2017-12-14T12:52:54.000504
1,513,255,974.000504
103,914
pythondev
help
It's slowly going up. 10% through and its gone from 1.5 it/s to 2.35 it/s and keeps climbing
2017-12-14T12:53:45.000564
Myong
pythondev_help_Myong_2017-12-14T12:53:45.000564
1,513,256,025.000564
103,915
pythondev
help
cool
2017-12-14T12:53:56.000529
Seema
pythondev_help_Seema_2017-12-14T12:53:56.000529
1,513,256,036.000529
103,916
pythondev
help
what are you using to display the number of iterations per second?
2017-12-14T12:54:12.000255
Seema
pythondev_help_Seema_2017-12-14T12:54:12.000255
1,513,256,052.000255
103,917
pythondev
help
`tqdm`!
2017-12-14T12:54:40.000008
Myong
pythondev_help_Myong_2017-12-14T12:54:40.000008
1,513,256,080.000008
103,918
pythondev
help
Awesome library for progress bar
2017-12-14T12:54:52.000376
Myong
pythondev_help_Myong_2017-12-14T12:54:52.000376
1,513,256,092.000376
103,919
pythondev
help
And I just found the code to work alongside multiprocessing
2017-12-14T12:55:03.000161
Myong
pythondev_help_Myong_2017-12-14T12:55:03.000161
1,513,256,103.000161
103,920
pythondev
help
seems like a win, take the rest of the week off! lol j/k
2017-12-14T12:55:56.000280
Seema
pythondev_help_Seema_2017-12-14T12:55:56.000280
1,513,256,156.00028
103,921
pythondev
help
That's what I'm saying
2017-12-14T12:56:40.000984
Myong
pythondev_help_Myong_2017-12-14T12:56:40.000984
1,513,256,200.000984
103,922
pythondev
help
pypy often requires warming up
2017-12-14T12:58:53.000372
Suellen
pythondev_help_Suellen_2017-12-14T12:58:53.000372
1,513,256,333.000372
103,923
pythondev
help
such is life with JIT
2017-12-14T12:58:58.000054
Suellen
pythondev_help_Suellen_2017-12-14T12:58:58.000054
1,513,256,338.000054
103,924
pythondev
help
Just read up on JIT so now I understand
2017-12-14T13:01:06.000558
Myong
pythondev_help_Myong_2017-12-14T13:01:06.000558
1,513,256,466.000558
103,925
pythondev
help
<@Seema> half way through at 2.65 it/s so about 35% slower than normal python atm both w/MP
2017-12-14T13:02:57.000341
Myong
pythondev_help_Myong_2017-12-14T13:02:57.000341
1,513,256,577.000341
103,926
pythondev
help
Time for cython?
2017-12-14T13:03:31.000458
Myong
pythondev_help_Myong_2017-12-14T13:03:31.000458
1,513,256,611.000458
103,927
pythondev
help
that's a strange result
2017-12-14T13:03:50.000818
Suellen
pythondev_help_Suellen_2017-12-14T13:03:50.000818
1,513,256,630.000818
103,928
pythondev
help
could I possibly have too many workers?
2017-12-14T13:04:05.000002
Myong
pythondev_help_Myong_2017-12-14T13:04:05.000002
1,513,256,645.000002
103,929
pythondev
help
I have 8 total cores and 10 workers
2017-12-14T13:04:19.000086
Myong
pythondev_help_Myong_2017-12-14T13:04:19.000086
1,513,256,659.000086
103,930
pythondev
help
should i drop it down and see what happens
2017-12-14T13:04:28.000256
Myong
pythondev_help_Myong_2017-12-14T13:04:28.000256
1,513,256,668.000256
103,931
pythondev
help
<@Myong> how does the pool communicate with the main process?
2017-12-14T13:09:10.000349
Suellen
pythondev_help_Suellen_2017-12-14T13:09:10.000349
1,513,256,950.000349
103,932
pythondev
help
do you submit something to the pools, or just tell it where to read from, or..?
2017-12-14T13:09:31.000108
Suellen
pythondev_help_Suellen_2017-12-14T13:09:31.000108
1,513,256,971.000108
103,933
pythondev
help
I submit them with list comprehension
2017-12-14T13:10:12.000072
Myong
pythondev_help_Myong_2017-12-14T13:10:12.000072
1,513,257,012.000072
103,934
pythondev
help
`futures = [executor.submit(self.find_match, radio) for radio in self.missing_list]`
2017-12-14T13:10:18.000134
Myong
pythondev_help_Myong_2017-12-14T13:10:18.000134
1,513,257,018.000134
103,935
pythondev
help
and what's the typical size of the submitted data?
2017-12-14T13:11:09.000339
Suellen
pythondev_help_Suellen_2017-12-14T13:11:09.000339
1,513,257,069.000339
103,936
pythondev
help
It's a string usually no longer than ~20 characters
2017-12-14T13:11:24.000503
Myong
pythondev_help_Myong_2017-12-14T13:11:24.000503
1,513,257,084.000503
103,937
pythondev
help
huh
2017-12-14T13:11:31.000089
Suellen
pythondev_help_Suellen_2017-12-14T13:11:31.000089
1,513,257,091.000089
103,938
pythondev
help
I'm not 95% sure it's a communication overhead
2017-12-14T13:11:41.000743
Suellen
pythondev_help_Suellen_2017-12-14T13:11:41.000743
1,513,257,101.000743
103,939
pythondev
help
each piece of data needs to be serialized, transmitted to the process, and deserialized. And then the same when the process finishes and communicates the result back
2017-12-14T13:12:10.000464
Suellen
pythondev_help_Suellen_2017-12-14T13:12:10.000464
1,513,257,130.000464
103,940
pythondev
help
Its just weird cause the normal interpreter improved ~80% from the MP
2017-12-14T13:12:24.000386
Myong
pythondev_help_Myong_2017-12-14T13:12:24.000386
1,513,257,144.000386
103,941
pythondev
help
maybe PyPy was already fast so less room for improvement?
2017-12-14T13:12:47.000670
Suellen
pythondev_help_Suellen_2017-12-14T13:12:47.000670
1,513,257,167.00067
103,942
pythondev
help
what if you submitted a chunk of data each time? like a hundred entries or so
2017-12-14T13:13:10.000295
Suellen
pythondev_help_Suellen_2017-12-14T13:13:10.000295
1,513,257,190.000295
103,943
pythondev
help
Difference in speed is `2.55 it/s vs 3.9 it/s`
2017-12-14T13:13:12.000362
Myong
pythondev_help_Myong_2017-12-14T13:13:12.000362
1,513,257,192.000362
103,944
pythondev
help
too much fuel in the carb! lol
2017-12-14T13:13:59.000117
Seema
pythondev_help_Seema_2017-12-14T13:13:59.000117
1,513,257,239.000117
103,945
pythondev
help
ugh now `with open()` in pypy can't take the `newline=''` argument
2017-12-14T13:17:02.000331
Myong
pythondev_help_Myong_2017-12-14T13:17:02.000331
1,513,257,422.000331
103,946
pythondev
help
mine does :open_mouth:
2017-12-14T13:45:16.000625
Suellen
pythondev_help_Suellen_2017-12-14T13:45:16.000625
1,513,259,116.000625
103,947
pythondev
help
:disappointed:
2017-12-14T14:38:34.000615
Myong
pythondev_help_Myong_2017-12-14T14:38:34.000615
1,513,262,314.000615
103,948
pythondev
help
how is it going?
2017-12-14T14:41:08.000508
Suellen
pythondev_help_Suellen_2017-12-14T14:41:08.000508
1,513,262,468.000508
103,949
pythondev
help
I haven't run it in a bit, but it was still running around 2.7 it/s
2017-12-14T14:53:24.000303
Myong
pythondev_help_Myong_2017-12-14T14:53:24.000303
1,513,263,204.000303
103,950
pythondev
help
:disappointed:
2017-12-14T14:55:35.000386
Suellen
pythondev_help_Suellen_2017-12-14T14:55:35.000386
1,513,263,335.000386
103,951
pythondev
help
is it public code?
2017-12-14T14:55:56.000011
Suellen
pythondev_help_Suellen_2017-12-14T14:55:56.000011
1,513,263,356.000011
103,952
pythondev
help
<@Meg> I've figured it out! This script was an setup.py's script and I've changed it to the actual path of the file
2017-12-14T15:11:39.000466
Mirian
pythondev_help_Mirian_2017-12-14T15:11:39.000466
1,513,264,299.000466
103,953
pythondev
help
and it now magically works
2017-12-14T15:11:47.000015
Mirian
pythondev_help_Mirian_2017-12-14T15:11:47.000015
1,513,264,307.000015
103,954
pythondev
help
but I'm not sure why :stuck_out_tongue:
2017-12-14T15:11:54.000674
Mirian
pythondev_help_Mirian_2017-12-14T15:11:54.000674
1,513,264,314.000674
103,955
pythondev
help
It is not. It's just a small script that deals with data that's not very sensitive. I'm gonna profile it again on pycharm w/PyPy
2017-12-14T15:38:38.000566
Myong
pythondev_help_Myong_2017-12-14T15:38:38.000566
1,513,265,918.000566
103,956
pythondev
help
alright
2017-12-14T15:46:57.000235
Suellen
pythondev_help_Suellen_2017-12-14T15:46:57.000235
1,513,266,417.000235
103,957
pythondev
help
<@Suellen> huh, I just found something interesting
2017-12-14T15:51:20.000461
Myong
pythondev_help_Myong_2017-12-14T15:51:20.000461
1,513,266,680.000461
103,958
pythondev
help
downloaded the 3.5 version binaries, but python 2.7 installed...
2017-12-14T15:51:35.000619
Myong
pythondev_help_Myong_2017-12-14T15:51:35.000619
1,513,266,695.000619
103,959
pythondev
help
how did you install and invoke python?
2017-12-14T15:52:03.000399
Seema
pythondev_help_Seema_2017-12-14T15:52:03.000399
1,513,266,723.000399
103,960
pythondev
help
So Installed it from their nightly py3.5 branch here
2017-12-14T15:53:56.000202
Myong
pythondev_help_Myong_2017-12-14T15:53:56.000202
1,513,266,836.000202
103,961
pythondev
help
<http://buildbot.pypy.org/nightly/py3.5/>
2017-12-14T15:54:05.000257
Myong
pythondev_help_Myong_2017-12-14T15:54:05.000257
1,513,266,845.000257
103,962
pythondev
help
I downloaded the top most `pypy-c-jit-latest-win32.zip`
2017-12-14T15:54:31.000228
Myong
pythondev_help_Myong_2017-12-14T15:54:31.000228
1,513,266,871.000228
103,963
pythondev
help
and when you type python, 2.7 comes up?
2017-12-14T15:54:39.000702
Seema
pythondev_help_Seema_2017-12-14T15:54:39.000702
1,513,266,879.000702
103,964
pythondev
help
When I go into the directory
2017-12-14T15:54:46.000479
Myong
pythondev_help_Myong_2017-12-14T15:54:46.000479
1,513,266,886.000479
103,965
pythondev
help
And open up pypy.exe
2017-12-14T15:54:51.000168
Myong
pythondev_help_Myong_2017-12-14T15:54:51.000168
1,513,266,891.000168
103,966
pythondev
help
I see python 2.7.13
2017-12-14T15:55:01.000071
Myong
pythondev_help_Myong_2017-12-14T15:55:01.000071
1,513,266,901.000071
103,967
pythondev
help
`Python 2.7.13 (5ef9bb870cd2, Dec 14 2017, 07:11:07)`
2017-12-14T15:55:21.000442
Myong
pythondev_help_Myong_2017-12-14T15:55:21.000442
1,513,266,921.000442
103,968
pythondev
help
:open_mouth:
2017-12-14T15:55:26.000561
Suellen
pythondev_help_Suellen_2017-12-14T15:55:26.000561
1,513,266,926.000561
103,969
pythondev
help
How does that work lmao
2017-12-14T15:55:39.000429
Myong
pythondev_help_Myong_2017-12-14T15:55:39.000429
1,513,266,939.000429
103,970
pythondev
help
very cruel joke on their part
2017-12-14T15:55:40.000489
Suellen
pythondev_help_Suellen_2017-12-14T15:55:40.000489
1,513,266,940.000489
103,971
pythondev
help
I cant find the stable release binaries...
2017-12-14T15:56:00.000015
Myong
pythondev_help_Myong_2017-12-14T15:56:00.000015
1,513,266,960.000015
103,972
pythondev
help
what about earlier releases like <http://buildbot.pypy.org/nightly/py3.5/pypy-c-jit-93274-44b347a2f013-win32.zip>
2017-12-14T15:57:12.000284
Seema
pythondev_help_Seema_2017-12-14T15:57:12.000284
1,513,267,032.000284
103,973
pythondev
help
There is only the source that you have to build yourself and it looks quite extensive
2017-12-14T15:57:13.000305
Myong
pythondev_help_Myong_2017-12-14T15:57:13.000305
1,513,267,033.000305
103,974
pythondev
help
And 502 error on their site lol
2017-12-14T15:57:35.000070
Myong
pythondev_help_Myong_2017-12-14T15:57:35.000070
1,513,267,055.00007
103,975
pythondev
help
Downloading now
2017-12-14T15:57:55.000166
Myong
pythondev_help_Myong_2017-12-14T15:57:55.000166
1,513,267,075.000166
103,976
pythondev
help
very bad luck lol
2017-12-14T15:58:12.000249
Suellen
pythondev_help_Suellen_2017-12-14T15:58:12.000249
1,513,267,092.000249
103,977
pythondev
help
you should buy a lottery ticket
2017-12-14T15:58:24.000638
Suellen
pythondev_help_Suellen_2017-12-14T15:58:24.000638
1,513,267,104.000638
103,978
pythondev
help
LOL
2017-12-14T15:59:10.000458
Myong
pythondev_help_Myong_2017-12-14T15:59:10.000458
1,513,267,150.000458
103,979
pythondev
help
So I somehow did download 2.7
2017-12-14T15:59:20.000095
Myong
pythondev_help_Myong_2017-12-14T15:59:20.000095
1,513,267,160.000095
103,980
pythondev
help
Cause this one has `pypy3.exe` as opposed to the one I have now `pypy.exe`
2017-12-14T15:59:24.000613
Myong
pythondev_help_Myong_2017-12-14T15:59:24.000613
1,513,267,164.000613
103,981
pythondev
help
kbman, I'm not going to "should" you because I've been where you are. I am however going to suggest that the conversion to linux can be done, it may take several attempts, much like quitting smoking. There's a considerably lower barrier to entry for programming in linux imho.
2017-12-14T16:00:22.000331
Seema
pythondev_help_Seema_2017-12-14T16:00:22.000331
1,513,267,222.000331
103,982
pythondev
help
Also, windows has some much nicer VM support currently if you'd like to play around.
2017-12-14T16:01:00.000534
Seema
pythondev_help_Seema_2017-12-14T16:01:00.000534
1,513,267,260.000534
103,983
pythondev
help
I'm unfortunately unable to because I'm on a work computer.
2017-12-14T16:01:28.000420
Myong
pythondev_help_Myong_2017-12-14T16:01:28.000420
1,513,267,288.00042
103,984
pythondev
help
fair enough, may the ActiveDirectory gods show you mercy then :wink:
2017-12-14T16:01:52.000369
Seema
pythondev_help_Seema_2017-12-14T16:01:52.000369
1,513,267,312.000369
103,985
pythondev
help
I'm all about linux, I would love to have it, but I'm not sure that's an option
2017-12-14T16:01:58.000213
Myong
pythondev_help_Myong_2017-12-14T16:01:58.000213
1,513,267,318.000213
103,986
pythondev
help
Thank you brother :pray:
2017-12-14T16:02:04.000473
Myong
pythondev_help_Myong_2017-12-14T16:02:04.000473
1,513,267,324.000473
103,987
pythondev
help
love me some <http://reddit.com/r/unixporn|reddit.com/r/unixporn>
2017-12-14T16:02:29.000151
Myong
pythondev_help_Myong_2017-12-14T16:02:29.000151
1,513,267,349.000151
103,988
pythondev
help
very wholesome community we have here :blush:
2017-12-14T16:02:29.000311
Suellen
pythondev_help_Suellen_2017-12-14T16:02:29.000311
1,513,267,349.000311
103,989
pythondev
help
:heart:
2017-12-14T16:02:46.000621
Myong
pythondev_help_Myong_2017-12-14T16:02:46.000621
1,513,267,366.000621
103,990
pythondev
help
if there's one thing I hate about windows its `\` vs `/`
2017-12-14T16:04:05.000590
Myong
pythondev_help_Myong_2017-12-14T16:04:05.000590
1,513,267,445.00059
103,991
pythondev
help
like why
2017-12-14T16:04:09.000471
Myong
pythondev_help_Myong_2017-12-14T16:04:09.000471
1,513,267,449.000471
103,992
pythondev
help
iirc, there are many places that MS will accept *nix slashes now, I was floored when I saw that. Shows my geekiness.
2017-12-14T16:05:15.000118
Seema
pythondev_help_Seema_2017-12-14T16:05:15.000118
1,513,267,515.000118
103,993
pythondev
help
Hey guys, I have a list of tuples such as [(1,2), (3,4)] I want to subtract the values in each tuple pair. So it would look like 1-2, 3-4 and so on. What’s the most efficient way to do this?
2017-12-14T16:05:50.000326
Felicita
pythondev_help_Felicita_2017-12-14T16:05:50.000326
1,513,267,550.000326
103,994
pythondev
help
Hey <@Cliff>, so do you want to subtract the same value from each?
2017-12-14T16:06:31.000597
Myong
pythondev_help_Myong_2017-12-14T16:06:31.000597
1,513,267,591.000597
103,995
pythondev
help
And maintain the structure as a list of tuples
2017-12-14T16:06:43.000605
Myong
pythondev_help_Myong_2017-12-14T16:06:43.000605
1,513,267,603.000605
103,996
pythondev
help
Yea I want to subtract each pair and return a list of the results
2017-12-14T16:07:18.000126
Felicita
pythondev_help_Felicita_2017-12-14T16:07:18.000126
1,513,267,638.000126
103,997
pythondev
help
Okay so since tuples are immutable you wont be able to touch the values. You can grab them though and place them into a list
2017-12-14T16:07:44.000283
Myong
pythondev_help_Myong_2017-12-14T16:07:44.000283
1,513,267,664.000283
103,998
pythondev
help
I was looking into functools but couldn’t quite think of something without using for loops
2017-12-14T16:07:49.000695
Felicita
pythondev_help_Felicita_2017-12-14T16:07:49.000695
1,513,267,669.000695
103,999
pythondev
help
There's an easier way that's a bit cleaner one sec
2017-12-14T16:08:07.000187
Myong
pythondev_help_Myong_2017-12-14T16:08:07.000187
1,513,267,687.000187
104,000
pythondev
help
Yea I mean returns new list not change the existing one
2017-12-14T16:08:21.000540
Felicita
pythondev_help_Felicita_2017-12-14T16:08:21.000540
1,513,267,701.00054
104,001
pythondev
help
So say you wanna subtract 2 from each value
2017-12-14T16:08:31.000259
Myong
pythondev_help_Myong_2017-12-14T16:08:31.000259
1,513,267,711.000259
104,002