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
<@Pandora> `first_attachment = next(attachments)` then `if first_attachment:`
2018-01-05T15:47:22.000209
Garrett
pythondev_help_Garrett_2018-01-05T15:47:22.000209
1,515,167,242.000209
27,924
pythondev
help
you *might* have to catch a `StopIteration` exception
2018-01-05T15:47:41.000019
Garrett
pythondev_help_Garrett_2018-01-05T15:47:41.000019
1,515,167,261.000019
27,925
pythondev
help
I hear you. I think it would get messy for my project too. The front-end apps would require a lot of work now if I change anything, unfortunately.
2018-01-05T15:48:38.000124
Hank
pythondev_help_Hank_2018-01-05T15:48:38.000124
1,515,167,318.000124
27,926
pythondev
help
Actually, I may have built in a way to do it. Remember the `if continue_code is True:` you told me to truncate? If that returns false then it just returns a NoneType
2018-01-05T15:49:20.000001
Pandora
pythondev_help_Pandora_2018-01-05T15:49:20.000001
1,515,167,360.000001
27,927
pythondev
help
I can key off of that instead of length
2018-01-05T15:49:28.000353
Pandora
pythondev_help_Pandora_2018-01-05T15:49:28.000353
1,515,167,368.000353
27,928
pythondev
help
1
2018-01-05T15:49:57.000029
Garrett
pythondev_help_Garrett_2018-01-05T15:49:57.000029
1,515,167,397.000029
27,929
pythondev
help
That worked. And I did truncate that line too :wink:
2018-01-05T15:51:32.000338
Pandora
pythondev_help_Pandora_2018-01-05T15:51:32.000338
1,515,167,492.000338
27,930
pythondev
help
Thanks for your help <@Garrett>!
2018-01-05T15:53:26.000272
Pandora
pythondev_help_Pandora_2018-01-05T15:53:26.000272
1,515,167,606.000272
27,931
pythondev
help
I learned something today!
2018-01-05T15:53:36.000056
Pandora
pythondev_help_Pandora_2018-01-05T15:53:36.000056
1,515,167,616.000056
27,932
pythondev
help
now see if it's faster
2018-01-05T15:54:51.000210
Garrett
pythondev_help_Garrett_2018-01-05T15:54:51.000210
1,515,167,691.00021
27,933
pythondev
help
or uses less memory
2018-01-05T15:54:56.000165
Garrett
pythondev_help_Garrett_2018-01-05T15:54:56.000165
1,515,167,696.000165
27,934
pythondev
help
does anyone have experience with using autopep8? specifically excluding certain directories from it? I don’t know if I’m just doing it incorrectly or if it’s broken, and I’ve run out of online resources is the syntax not just ``` autopep8 --recursive --exclude ".git,*.pyc,some_dir,some_other_dir" . ```
2018-01-05T17:27:18.000462
Blossom
pythondev_help_Blossom_2018-01-05T17:27:18.000462
1,515,173,238.000462
27,935
pythondev
help
it’s not excluding the directories properly
2018-01-05T17:27:39.000119
Blossom
pythondev_help_Blossom_2018-01-05T17:27:39.000119
1,515,173,259.000119
27,936
pythondev
help
I think the fact that those directories have *.py files is taking precedence over the fact that they should be excluded which is bizarre
2018-01-05T17:30:10.000218
Blossom
pythondev_help_Blossom_2018-01-05T17:30:10.000218
1,515,173,410.000218
27,937
pythondev
help
is there a way to get python to check and see if a file name changed for example look in this directory and check if file test has changed if test has changed get updated filename
2018-01-05T18:31:27.000137
Sharon
pythondev_help_Sharon_2018-01-05T18:31:27.000137
1,515,177,087.000137
27,938
pythondev
help
well, it would work if you have a source of file names for comparison
2018-01-05T18:40:48.000201
Floy
pythondev_help_Floy_2018-01-05T18:40:48.000201
1,515,177,648.000201
27,939
pythondev
help
but how would you tell if File A that’s changed to File B is actually File A, especially if there’s content changes in the file as well as a rename?
2018-01-05T18:41:20.000242
Floy
pythondev_help_Floy_2018-01-05T18:41:20.000242
1,515,177,680.000242
27,940
pythondev
help
so, in short, as an experiment, you can do it in limited situations
2018-01-05T18:41:40.000156
Floy
pythondev_help_Floy_2018-01-05T18:41:40.000156
1,515,177,700.000156
27,941
pythondev
help
if you’re really serious about this, I’d suggest looking at watchdog
2018-01-05T18:43:06.000211
Floy
pythondev_help_Floy_2018-01-05T18:43:06.000211
1,515,177,786.000211
27,942
pythondev
help
<https://www.michaelcho.me/article/using-pythons-watchdog-to-monitor-changes-to-a-directory>
2018-01-05T18:43:08.000016
Floy
pythondev_help_Floy_2018-01-05T18:43:08.000016
1,515,177,788.000016
27,943
pythondev
help
so basically i need a property file with abcd and if a has changed to b in directory then python will know where to look
2018-01-05T19:01:04.000121
Sharon
pythondev_help_Sharon_2018-01-05T19:01:04.000121
1,515,178,864.000121
27,944
pythondev
help
I am planning to using coinmarketcap API to fetch crypto prices. Can I get real time rates from it? Are there any rate limits for the API?
2018-01-06T13:18:45.000047
Rosalba
pythondev_help_Rosalba_2018-01-06T13:18:45.000047
1,515,244,725.000047
27,945
pythondev
help
you would have to look at the terms of service for that api
2018-01-06T13:21:30.000029
Floy
pythondev_help_Floy_2018-01-06T13:21:30.000029
1,515,244,890.000029
27,946
pythondev
help
its something that should be easily accessible for you to find
2018-01-06T13:21:46.000044
Floy
pythondev_help_Floy_2018-01-06T13:21:46.000044
1,515,244,906.000044
27,947
pythondev
help
I will check it out.
2018-01-06T13:24:30.000017
Rosalba
pythondev_help_Rosalba_2018-01-06T13:24:30.000017
1,515,245,070.000017
27,948
pythondev
help
hola
2018-01-06T15:27:39.000007
Danyel
pythondev_help_Danyel_2018-01-06T15:27:39.000007
1,515,252,459.000007
27,949
pythondev
help
que es un bueno libro de Python en español
2018-01-06T15:28:11.000118
Danyel
pythondev_help_Danyel_2018-01-06T15:28:11.000118
1,515,252,491.000118
27,950
pythondev
help
<@Danyel> we have <#C33EUEV5M|help-es>
2018-01-06T15:29:03.000035
Brande
pythondev_help_Brande_2018-01-06T15:29:03.000035
1,515,252,543.000035
27,951
pythondev
help
thanks
2018-01-06T15:29:31.000112
Danyel
pythondev_help_Danyel_2018-01-06T15:29:31.000112
1,515,252,571.000112
27,952
pythondev
help
<@Enedina> what are you using for the regression? are you using your own cost function or on OOTB? have you tried reducing the learning rate? are you using an optimizer? any normalization?
2018-01-06T15:33:34.000066
Brande
pythondev_help_Brande_2018-01-06T15:33:34.000066
1,515,252,814.000066
27,953
pythondev
help
<https://www.amazon.es/Aprenda-programar-Python-T%C3%ADtulos-Especiales/dp/8441539413/ref=sr_1_6?s=books&amp;ie=UTF8&amp;qid=1515270978&amp;sr=1-6&amp;keywords=python>
2018-01-06T15:36:58.000015
Danyel
pythondev_help_Danyel_2018-01-06T15:36:58.000015
1,515,253,018.000015
27,954
pythondev
help
<@Brande> I’m using one I created myself and was planning on using scikit’s OOTB to compare it to mine (getting there now) ill throw up the function itself for cost and gradient descent
2018-01-06T15:46:34.000092
Enedina
pythondev_help_Enedina_2018-01-06T15:46:34.000092
1,515,253,594.000092
27,955
pythondev
help
My learning rate is super tiny right now at 0.01 but I literally just made it 0.00000001 and nothing changed, lol.
2018-01-06T15:47:09.000018
Enedina
pythondev_help_Enedina_2018-01-06T15:47:09.000018
1,515,253,629.000018
27,956
pythondev
help
Give me one second, i’m throwing everything on Github now.
2018-01-06T15:47:36.000088
Enedina
pythondev_help_Enedina_2018-01-06T15:47:36.000088
1,515,253,656.000088
27,957
pythondev
help
<@Brande> Its probably a stupid bug or my bad math: <https://github.com/kehv1n/Housing-Prices/blob/master/RealEstatePredictions.ipynb>
2018-01-06T15:51:02.000118
Enedina
pythondev_help_Enedina_2018-01-06T15:51:02.000118
1,515,253,862.000118
27,958
pythondev
help
I’m also stuck on the scikit model now too but one problem at a time, lol
2018-01-06T15:53:18.000002
Enedina
pythondev_help_Enedina_2018-01-06T15:53:18.000002
1,515,253,998.000002
27,959
pythondev
help
<@Enedina> is your dataset really that size?
2018-01-06T15:58:07.000097
Brande
pythondev_help_Brande_2018-01-06T15:58:07.000097
1,515,254,287.000097
27,960
pythondev
help
OH SHIT
2018-01-06T15:58:59.000139
Enedina
pythondev_help_Enedina_2018-01-06T15:58:59.000139
1,515,254,339.000139
27,961
pythondev
help
I totally forgot I had cut the size in half so I can expirement
2018-01-06T15:59:14.000058
Enedina
pythondev_help_Enedina_2018-01-06T15:59:14.000058
1,515,254,354.000058
27,962
pythondev
help
Hmm, it seems like the full dataset really isn’t much bigger
2018-01-06T16:01:00.000089
Enedina
pythondev_help_Enedina_2018-01-06T16:01:00.000089
1,515,254,460.000089
27,963
pythondev
help
<@Brande> so yes, it’s not that large ~50 examples.
2018-01-06T16:01:30.000017
Enedina
pythondev_help_Enedina_2018-01-06T16:01:30.000017
1,515,254,490.000017
27,964
pythondev
help
Hmm, generally the minimum is 10 samples per covariate, so you are above that
2018-01-06T16:04:25.000055
Brande
pythondev_help_Brande_2018-01-06T16:04:25.000055
1,515,254,665.000055
27,965
pythondev
help
how is it looking with one of the OOTB cost functions from scikit?
2018-01-06T16:04:44.000008
Brande
pythondev_help_Brande_2018-01-06T16:04:44.000008
1,515,254,684.000008
27,966
pythondev
help
generally you shouldn't have to go smaller than 0.001 or 0.0001 for a learning rate
2018-01-06T16:04:58.000056
Brande
pythondev_help_Brande_2018-01-06T16:04:58.000056
1,515,254,698.000056
27,967
pythondev
help
Lmao, ill let you know once I get it!
2018-01-06T16:05:03.000081
Enedina
pythondev_help_Enedina_2018-01-06T16:05:03.000081
1,515,254,703.000081
27,968
pythondev
help
Right now i’m still trying to figure out what i’m doing with the model.fit() function
2018-01-06T16:05:30.000052
Enedina
pythondev_help_Enedina_2018-01-06T16:05:30.000052
1,515,254,730.000052
27,969
pythondev
help
Oh, I thought you would say my dataset is too small..
2018-01-06T16:05:46.000036
Enedina
pythondev_help_Enedina_2018-01-06T16:05:46.000036
1,515,254,746.000036
27,970
pythondev
help
it may be too small, or too grouped
2018-01-06T16:09:06.000071
Brande
pythondev_help_Brande_2018-01-06T16:09:06.000071
1,515,254,946.000071
27,971
pythondev
help
Thanks <@Brande> I’m gonna keep messing around and will keep you in the loop
2018-01-06T16:14:09.000051
Enedina
pythondev_help_Enedina_2018-01-06T16:14:09.000051
1,515,255,249.000051
27,972
pythondev
help
have you seen that powershell python project
2018-01-06T19:53:02.000029
Danyel
pythondev_help_Danyel_2018-01-06T19:53:02.000029
1,515,268,382.000029
27,973
pythondev
help
<https://github.com/adamdriscoll/snek>
2018-01-06T19:53:21.000049
Danyel
pythondev_help_Danyel_2018-01-06T19:53:21.000049
1,515,268,401.000049
27,974
pythondev
help
he a great programmer snek - PowerShell wrapper around Python for .NET to invoke Python from PowerShell sound like a great tool
2018-01-06T19:53:39.000003
Danyel
pythondev_help_Danyel_2018-01-06T19:53:39.000003
1,515,268,419.000003
27,975
pythondev
help
That sounds super-useful <@Danyel>, as I've run into little more than frustration when trying to run python from some sort of a windows command line. My solution (maybe suboptimal) has been to install ConEmu, which has a nice Bash emulator built into it. I use that + gVim as my dev environment (I can't stomach the fea...
2018-01-06T19:58:21.000064
Hanna
pythondev_help_Hanna_2018-01-06T19:58:21.000064
1,515,268,701.000064
27,976
pythondev
help
GitBash FTW!
2018-01-06T19:58:45.000025
Porsha
pythondev_help_Porsha_2018-01-06T19:58:45.000025
1,515,268,725.000025
27,977
pythondev
help
conemu was pretty good when I was doing java-GWT development on windows
2018-01-06T19:58:58.000034
Floy
pythondev_help_Floy_2018-01-06T19:58:58.000034
1,515,268,738.000034
27,978
pythondev
help
I am not sure if it is still pretty good. But I think it is "good enough"
2018-01-06T19:59:43.000058
Hanna
pythondev_help_Hanna_2018-01-06T19:59:43.000058
1,515,268,783.000058
27,979
pythondev
help
camiloeiliano that with conemu is best
2018-01-06T20:01:41.000049
Danyel
pythondev_help_Danyel_2018-01-06T20:01:41.000049
1,515,268,901.000049
27,980
pythondev
help
It
2018-01-06T20:02:07.000040
Hanna
pythondev_help_Hanna_2018-01-06T20:02:07.000040
1,515,268,927.00004
27,981
pythondev
help
It's the one that comes closest to "the real thing", IMO
2018-01-06T20:02:17.000070
Hanna
pythondev_help_Hanna_2018-01-06T20:02:17.000070
1,515,268,937.00007
27,982
pythondev
help
what I wish you could do is write powershell cmdlets in pure python
2018-01-06T20:02:43.000061
Danyel
pythondev_help_Danyel_2018-01-06T20:02:43.000061
1,515,268,963.000061
27,983
pythondev
help
it is sort of possible with iron python
2018-01-06T20:02:50.000049
Danyel
pythondev_help_Danyel_2018-01-06T20:02:50.000049
1,515,268,970.000049
27,984
pythondev
help
this is the next best thing
2018-01-06T20:02:59.000030
Danyel
pythondev_help_Danyel_2018-01-06T20:02:59.000030
1,515,268,979.00003
27,985
pythondev
help
how do you do java gwt in conemu
2018-01-06T20:03:14.000004
Danyel
pythondev_help_Danyel_2018-01-06T20:03:14.000004
1,515,268,994.000004
27,986
pythondev
help
do you have a console tab that is a java repl?
2018-01-06T20:03:25.000077
Danyel
pythondev_help_Danyel_2018-01-06T20:03:25.000077
1,515,269,005.000077
27,987
pythondev
help
you know what I also gVim in windows
2018-01-06T20:03:48.000064
Danyel
pythondev_help_Danyel_2018-01-06T20:03:48.000064
1,515,269,028.000064
27,988
pythondev
help
besure to post some issues, if you ever use snek, he good at fixing bugs, and issue tracking
2018-01-06T20:04:17.000015
Danyel
pythondev_help_Danyel_2018-01-06T20:04:17.000015
1,515,269,057.000015
27,989
pythondev
help
also this may be helpfull if your trying to learn powershell
2018-01-06T20:04:53.000009
Danyel
pythondev_help_Danyel_2018-01-06T20:04:53.000009
1,515,269,093.000009
27,990
pythondev
help
<https://akr.am/blog/posts/a-python-developers-guide-to-powershell>
2018-01-06T20:04:53.000065
Danyel
pythondev_help_Danyel_2018-01-06T20:04:53.000065
1,515,269,093.000065
27,991
pythondev
help
I think you misunderstood
2018-01-06T20:05:36.000067
Floy
pythondev_help_Floy_2018-01-06T20:05:36.000067
1,515,269,136.000067
27,992
pythondev
help
so, I _hate_ the default windows console, and was doing java development on a google web toolkit application
2018-01-06T20:06:04.000075
Floy
pythondev_help_Floy_2018-01-06T20:06:04.000075
1,515,269,164.000075
27,993
pythondev
help
since it was required to use windows, I used conemu as a console replacement
2018-01-06T20:06:23.000033
Floy
pythondev_help_Floy_2018-01-06T20:06:23.000033
1,515,269,183.000033
27,994
pythondev
help
ahh you mean conhost
2018-01-06T20:06:42.000011
Danyel
pythondev_help_Danyel_2018-01-06T20:06:42.000011
1,515,269,202.000011
27,995
pythondev
help
I agree with you
2018-01-06T20:06:44.000034
Danyel
pythondev_help_Danyel_2018-01-06T20:06:44.000034
1,515,269,204.000034
27,996
pythondev
help
sounds like my trajectory <@Floy>
2018-01-06T20:06:50.000091
Hanna
pythondev_help_Hanna_2018-01-06T20:06:50.000091
1,515,269,210.000091
27,997
pythondev
help
conhost?
2018-01-06T20:06:52.000056
Floy
pythondev_help_Floy_2018-01-06T20:06:52.000056
1,515,269,212.000056
27,998
pythondev
help
you don't dislike the shell, but the conhost
2018-01-06T20:06:53.000025
Danyel
pythondev_help_Danyel_2018-01-06T20:06:53.000025
1,515,269,213.000025
27,999
pythondev
help
no clue what that is
2018-01-06T20:06:59.000005
Floy
pythondev_help_Floy_2018-01-06T20:06:59.000005
1,515,269,219.000005
28,000
pythondev
help
yes that what you call the windows console
2018-01-06T20:07:03.000013
Danyel
pythondev_help_Danyel_2018-01-06T20:07:03.000013
1,515,269,223.000013
28,001
pythondev
help
oh, yeah
2018-01-06T20:07:07.000025
Floy
pythondev_help_Floy_2018-01-06T20:07:07.000025
1,515,269,227.000025
28,002
pythondev
help
"Understanding the Console Window Host process requires a little bit of history. In the Windows XP days, the Command Prompt was handled by a process named the ClientServer Runtime System Service (CSRSS). As the name implies, CSRSS was a system level service. "
2018-01-06T20:07:37.000057
Danyel
pythondev_help_Danyel_2018-01-06T20:07:37.000057
1,515,269,257.000057
28,003
pythondev
help
and this was with java 7 at the time, so jshell was not available then.
2018-01-06T20:08:26.000009
Floy
pythondev_help_Floy_2018-01-06T20:08:26.000009
1,515,269,306.000009
28,004
pythondev
help
Understanding the Console Window Host process requires a little bit of history. In the Windows XP days, the Command Prompt was handled by a process named the ClientServer Runtime System Service (CSRSS). As the name implies, CSRSS was a system level service.
2018-01-06T20:08:31.000037
Danyel
pythondev_help_Danyel_2018-01-06T20:08:31.000037
1,515,269,311.000037
28,005
pythondev
help
opps sorry
2018-01-06T20:08:43.000020
Danyel
pythondev_help_Danyel_2018-01-06T20:08:43.000020
1,515,269,323.00002
28,006
pythondev
help
In the end, the Console Window Host is something like a shell that maintains the power of running a system-level service like CSRSS, while still securely and reliably granting the ability to integrate modern interface elements.
2018-01-06T20:08:47.000045
Danyel
pythondev_help_Danyel_2018-01-06T20:08:47.000045
1,515,269,327.000045
28,007
pythondev
help
well, microsoft wanted to lobotomize the console because of the targeted users
2018-01-06T20:08:55.000007
Floy
pythondev_help_Floy_2018-01-06T20:08:55.000007
1,515,269,335.000007
28,008
pythondev
help
yea they did
2018-01-06T20:09:02.000053
Danyel
pythondev_help_Danyel_2018-01-06T20:09:02.000053
1,515,269,342.000053
28,009
pythondev
help
conemu is wrapper on top of conhost
2018-01-06T20:09:09.000043
Danyel
pythondev_help_Danyel_2018-01-06T20:09:09.000043
1,515,269,349.000043
28,010
pythondev
help
too much power with that kind of access, I suppose was their thinking
2018-01-06T20:09:10.000066
Floy
pythondev_help_Floy_2018-01-06T20:09:10.000066
1,515,269,350.000066
28,011
pythondev
help
but I think they now have forked away so much from conhost
2018-01-06T20:09:28.000003
Danyel
pythondev_help_Danyel_2018-01-06T20:09:28.000003
1,515,269,368.000003
28,012
pythondev
help
but it started as a wrapper to offer tab and ansi support
2018-01-06T20:09:39.000007
Danyel
pythondev_help_Danyel_2018-01-06T20:09:39.000007
1,515,269,379.000007
28,013
pythondev
help
I seen screenshots from the powershell team, when they were doing first commit to github when powershell was open sourced
2018-01-06T20:10:11.000041
Danyel
pythondev_help_Danyel_2018-01-06T20:10:11.000041
1,515,269,411.000041
28,014
pythondev
help
and the report mainianter was using conemu LOL
2018-01-06T20:10:29.000038
Danyel
pythondev_help_Danyel_2018-01-06T20:10:29.000038
1,515,269,429.000038
28,015
pythondev
help
yeah… not suprised
2018-01-06T20:11:12.000043
Floy
pythondev_help_Floy_2018-01-06T20:11:12.000043
1,515,269,472.000043
28,016
pythondev
help
kinda reminds me of ESRI ArcGIS developers
2018-01-06T20:11:26.000026
Floy
pythondev_help_Floy_2018-01-06T20:11:26.000026
1,515,269,486.000026
28,017
pythondev
help
their products are intended for windows environments
2018-01-06T20:11:39.000029
Floy
pythondev_help_Floy_2018-01-06T20:11:39.000029
1,515,269,499.000029
28,018
pythondev
help
but most of their devs, at least the ones I know, use macs
2018-01-06T20:11:48.000051
Floy
pythondev_help_Floy_2018-01-06T20:11:48.000051
1,515,269,508.000051
28,019
pythondev
help
wow
2018-01-06T20:27:13.000025
Danyel
pythondev_help_Danyel_2018-01-06T20:27:13.000025
1,515,270,433.000025
28,020
pythondev
help
if I were allowed to use a mac or linux box at work
2018-01-06T20:27:29.000046
Danyel
pythondev_help_Danyel_2018-01-06T20:27:29.000046
1,515,270,449.000046
28,021
pythondev
help
I would use that instead of windows
2018-01-06T20:27:34.000001
Danyel
pythondev_help_Danyel_2018-01-06T20:27:34.000001
1,515,270,454.000001
28,022
pythondev
help
but visual studio projects are windows projects so I am stuck with windows when I do <http://dot.net|dot.net> c# stuff
2018-01-06T20:27:57.000009
Danyel
pythondev_help_Danyel_2018-01-06T20:27:57.000009
1,515,270,477.000009
28,023