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
ooo we can add it to the learning resources.
2017-06-30T16:37:30.016778
Johana
pythondev_help_Johana_2017-06-30T16:37:30.016778
1,498,840,650.016778
83,703
pythondev
help
ahh i figured it out, i used pip3.5, which i’ve never used before
2017-06-30T16:39:16.044543
Sherry
pythondev_help_Sherry_2017-06-30T16:39:16.044543
1,498,840,756.044543
83,704
pythondev
help
I’m getting a new computer in a few days, how can I prevent myself from having 7 different python versions?
2017-06-30T16:39:35.049875
Sherry
pythondev_help_Sherry_2017-06-30T16:39:35.049875
1,498,840,775.049875
83,705
pythondev
help
and yes, I was setting up the virtualenv wrapper but ran into an error doing so
2017-06-30T16:39:55.055262
Sherry
pythondev_help_Sherry_2017-06-30T16:39:55.055262
1,498,840,795.055262
83,706
pythondev
help
what model mac, windows, etc.?
2017-06-30T16:39:58.056056
Johana
pythondev_help_Johana_2017-06-30T16:39:58.056056
1,498,840,798.056056
83,707
pythondev
help
mac!
2017-06-30T16:40:31.065160
Sherry
pythondev_help_Sherry_2017-06-30T16:40:31.065160
1,498,840,831.06516
83,708
pythondev
help
on a mac i install brew and then install python2 and python3. you definitely don’t want to use system python for anything.
2017-06-30T16:40:40.067500
Johana
pythondev_help_Johana_2017-06-30T16:40:40.067500
1,498,840,840.0675
83,709
pythondev
help
then i use penv to manage python versions and virtualenvs.
2017-06-30T16:40:55.071868
Johana
pythondev_help_Johana_2017-06-30T16:40:55.071868
1,498,840,855.071868
83,710
pythondev
help
ahh ok
2017-06-30T16:41:01.073457
Sherry
pythondev_help_Sherry_2017-06-30T16:41:01.073457
1,498,840,861.073457
83,711
pythondev
help
Yeah, mac is popular enough I can focus on it. Then I can learn windows :stuck_out_tongue:
2017-06-30T16:41:08.075309
Beula
pythondev_help_Beula_2017-06-30T16:41:08.075309
1,498,840,868.075309
83,712
pythondev
help
I'll try to do it over the weekend and it'll be free
2017-06-30T16:41:21.078823
Beula
pythondev_help_Beula_2017-06-30T16:41:21.078823
1,498,840,881.078823
83,713
pythondev
help
Thanks!!
2017-06-30T16:41:25.079979
Sherry
pythondev_help_Sherry_2017-06-30T16:41:25.079979
1,498,840,885.079979
83,714
pythondev
help
windows you just install python from the msi.
2017-06-30T16:41:26.080242
Johana
pythondev_help_Johana_2017-06-30T16:41:26.080242
1,498,840,886.080242
83,715
pythondev
help
and make sure you check the box to add python to the path.
2017-06-30T16:41:34.082365
Johana
pythondev_help_Johana_2017-06-30T16:41:34.082365
1,498,840,894.082365
83,716
pythondev
help
Yah i’m trying to install virtualenvwrapper
2017-06-30T16:41:38.083655
Sherry
pythondev_help_Sherry_2017-06-30T16:41:38.083655
1,498,840,898.083655
83,717
pythondev
help
but am getting that
2017-06-30T16:41:41.084446
Sherry
pythondev_help_Sherry_2017-06-30T16:41:41.084446
1,498,840,901.084446
83,718
pythondev
help
my virtualenvwrapper seems to be here `/Library/Frameworks/Python.framework/Versions/3.5/bin/virtualenvwrapper.sh`
2017-06-30T16:42:18.094145
Sherry
pythondev_help_Sherry_2017-06-30T16:42:18.094145
1,498,840,938.094145
83,719
pythondev
help
your going to want to add some lines to your `.bash_profile` or `.bashrc` file.
2017-06-30T16:42:54.103468
Johana
pythondev_help_Johana_2017-06-30T16:42:54.103468
1,498,840,974.103468
83,720
pythondev
help
it’s different if i’m using zsh, correct?
2017-06-30T16:43:24.111211
Sherry
pythondev_help_Sherry_2017-06-30T16:43:24.111211
1,498,841,004.111211
83,721
pythondev
help
``` export WORKON_HOME=$HOME/.environments source /usr/local/bin/virtualenvwrapper.sh ```
2017-06-30T16:43:47.117156
Johana
pythondev_help_Johana_2017-06-30T16:43:47.117156
1,498,841,027.117156
83,722
pythondev
help
something like that
2017-06-30T16:43:50.117874
Johana
pythondev_help_Johana_2017-06-30T16:43:50.117874
1,498,841,030.117874
83,723
pythondev
help
yea you put it in your zshconfig however you have that setup.
2017-06-30T16:44:00.120472
Johana
pythondev_help_Johana_2017-06-30T16:44:00.120472
1,498,841,040.120472
83,724
pythondev
help
i load my zsh config via my own script that i call at the end of the config zsh uses.
2017-06-30T16:44:26.127735
Johana
pythondev_help_Johana_2017-06-30T16:44:26.127735
1,498,841,066.127735
83,725
pythondev
help
`WORKON_HOME` is the dir where all your virtualenvs are installed when you write the `mkvirutualenv` command
2017-06-30T16:45:12.139714
Johana
pythondev_help_Johana_2017-06-30T16:45:12.139714
1,498,841,112.139714
83,726
pythondev
help
Just the last line should be sufficient
2017-06-30T16:45:56.151833
Patty
pythondev_help_Patty_2017-06-30T16:45:56.151833
1,498,841,156.151833
83,727
pythondev
help
i trimmed it down to those two.
2017-06-30T16:46:24.159535
Johana
pythondev_help_Johana_2017-06-30T16:46:24.159535
1,498,841,184.159535
83,728
pythondev
help
Sorry spotty internet the rest of it popped through haha
2017-06-30T16:46:39.163499
Patty
pythondev_help_Patty_2017-06-30T16:46:39.163499
1,498,841,199.163499
83,729
pythondev
help
yeah, `~/.zshrc`
2017-06-30T16:47:21.174711
Beula
pythondev_help_Beula_2017-06-30T16:47:21.174711
1,498,841,241.174711
83,730
pythondev
help
Done!
2017-06-30T16:47:22.174788
Sherry
pythondev_help_Sherry_2017-06-30T16:47:22.174788
1,498,841,242.174788
83,731
pythondev
help
got it
2017-06-30T16:47:24.175451
Sherry
pythondev_help_Sherry_2017-06-30T16:47:24.175451
1,498,841,244.175451
83,732
pythondev
help
:thumbsup::skin-tone-4:
2017-06-30T16:47:28.176547
Beula
pythondev_help_Beula_2017-06-30T16:47:28.176547
1,498,841,248.176547
83,733
pythondev
help
so now no need to run this?
2017-06-30T16:47:38.179227
Sherry
pythondev_help_Sherry_2017-06-30T16:47:38.179227
1,498,841,258.179227
83,734
pythondev
help
I wish more shells had bash compatibility layers like `fish` does
2017-06-30T16:47:42.180114
Patty
pythondev_help_Patty_2017-06-30T16:47:42.180114
1,498,841,262.180114
83,735
pythondev
help
the last two lines you paste into your shell config
2017-06-30T16:48:28.192269
Johana
pythondev_help_Johana_2017-06-30T16:48:28.192269
1,498,841,308.192269
83,736
pythondev
help
yup
2017-06-30T16:48:42.195978
Sherry
pythondev_help_Sherry_2017-06-30T16:48:42.195978
1,498,841,322.195978
83,737
pythondev
help
you could run them yourself from the command line but that isn’t too efficient to do every time you open a terminal.
2017-06-30T16:48:49.197948
Johana
pythondev_help_Johana_2017-06-30T16:48:49.197948
1,498,841,329.197948
83,738
pythondev
help
ahh ok
2017-06-30T16:48:57.200026
Sherry
pythondev_help_Sherry_2017-06-30T16:48:57.200026
1,498,841,337.200026
83,739
pythondev
help
thanks!
2017-06-30T16:48:59.200398
Sherry
pythondev_help_Sherry_2017-06-30T16:48:59.200398
1,498,841,339.200398
83,740
pythondev
help
if you ever use pyenv you will need to do something similar.
2017-06-30T16:49:19.205569
Johana
pythondev_help_Johana_2017-06-30T16:49:19.205569
1,498,841,359.205569
83,741
pythondev
help
It’s bad practice to use folders with spaces when making the virtual environment, right?
2017-06-30T16:49:22.206224
Sherry
pythondev_help_Sherry_2017-06-30T16:49:22.206224
1,498,841,362.206224
83,742
pythondev
help
on a mac you can install that with brew. it makes everything super easy.
2017-06-30T16:49:26.207323
Johana
pythondev_help_Johana_2017-06-30T16:49:26.207323
1,498,841,366.207323
83,743
pythondev
help
dang, want to see how things get dated over time? this is a super simple ansible playbook for installing virtualenvwrapper from a yr ago. <https://gist.github.com/mikefromit/4281f29013fe3b4306a87cb64a2ad1fd>
2017-06-30T16:51:50.245774
Johana
pythondev_help_Johana_2017-06-30T16:51:50.245774
1,498,841,510.245774
83,744
pythondev
help
virtual environments are extremely cool, but they definitely have a learning curve to them
2017-06-30T16:52:40.259582
Sherry
pythondev_help_Sherry_2017-06-30T16:52:40.259582
1,498,841,560.259582
83,745
pythondev
help
lots of things have changed in ansible now.
2017-06-30T16:52:43.260359
Johana
pythondev_help_Johana_2017-06-30T16:52:43.260359
1,498,841,563.260359
83,746
pythondev
help
yea, i was a bit confused by them when i first started.
2017-06-30T16:52:53.262872
Johana
pythondev_help_Johana_2017-06-30T16:52:53.262872
1,498,841,573.262872
83,747
pythondev
help
i was thankful for those few tutorials i found that really went through creating those.
2017-06-30T16:53:26.271953
Johana
pythondev_help_Johana_2017-06-30T16:53:26.271953
1,498,841,606.271953
83,748
pythondev
help
why would i want the virtual environment in the standard environment folder and not in my project folder?
2017-06-30T16:53:33.273764
Sherry
pythondev_help_Sherry_2017-06-30T16:53:33.273764
1,498,841,613.273764
83,749
pythondev
help
i remember on my first projects i pushed to github i had committed my virtualenv.
2017-06-30T16:53:45.277048
Johana
pythondev_help_Johana_2017-06-30T16:53:45.277048
1,498,841,625.277048
83,750
pythondev
help
lol
2017-06-30T16:53:47.277600
Johana
pythondev_help_Johana_2017-06-30T16:53:47.277600
1,498,841,627.2776
83,751
pythondev
help
when you need to manage python versions.
2017-06-30T16:54:01.281320
Johana
pythondev_help_Johana_2017-06-30T16:54:01.281320
1,498,841,641.28132
83,752
pythondev
help
haha ouch
2017-06-30T16:54:01.281327
Sherry
pythondev_help_Sherry_2017-06-30T16:54:01.281327
1,498,841,641.281327
83,753
pythondev
help
my first push had my twitter app tokens!
2017-06-30T16:54:12.283833
Sherry
pythondev_help_Sherry_2017-06-30T16:54:12.283833
1,498,841,652.283833
83,754
pythondev
help
yea that was bad. i’ve never done that but i’ve done some google hacks to look at when ppl did that.
2017-06-30T16:54:47.293375
Johana
pythondev_help_Johana_2017-06-30T16:54:47.293375
1,498,841,687.293375
83,755
pythondev
help
Haha yah, luckily it was just a monitor i was setting up.
2017-06-30T16:55:17.301345
Sherry
pythondev_help_Sherry_2017-06-30T16:55:17.301345
1,498,841,717.301345
83,756
pythondev
help
i ran a python script to use a custom google search with a googlehack string and then i had splunk index all the results. since the api only allowed a certain amount of calls for free I ran a cron daily.
2017-06-30T16:55:57.311830
Johana
pythondev_help_Johana_2017-06-30T16:55:57.311830
1,498,841,757.31183
83,757
pythondev
help
i did my due diligence and contacted ppl.
2017-06-30T16:56:44.324534
Johana
pythondev_help_Johana_2017-06-30T16:56:44.324534
1,498,841,804.324534
83,758
pythondev
help
Yeah the main problem with vanilla virtualenv is you end up with folders all over the place and management is a mess
2017-06-30T16:57:01.329042
Patty
pythondev_help_Patty_2017-06-30T16:57:01.329042
1,498,841,821.329042
83,759
pythondev
help
Is pyenv still used a lot?
2017-06-30T16:58:10.347727
Patty
pythondev_help_Patty_2017-06-30T16:58:10.347727
1,498,841,890.347727
83,760
pythondev
help
If I don't use virtualenvwrapper I use pipenv or just docker (but local dev with docker on python isn't the best since you still need a local install for code completion
2017-06-30T16:58:41.356086
Beula
pythondev_help_Beula_2017-06-30T16:58:41.356086
1,498,841,921.356086
83,761
pythondev
help
Hmm I get code completion in webstorm doing local docker dev. I mount the volume where the code is
2017-06-30T16:59:26.368038
Patty
pythondev_help_Patty_2017-06-30T16:59:26.368038
1,498,841,966.368038
83,762
pythondev
help
Node uses `node_modules` which is a sibling of the project, python uses `site-packages` which isn't - so my guess is that may be why
2017-06-30T17:01:15.398936
Beula
pythondev_help_Beula_2017-06-30T17:01:15.398936
1,498,842,075.398936
83,763
pythondev
help
Yeah was just realizing that
2017-06-30T17:02:01.411199
Patty
pythondev_help_Patty_2017-06-30T17:02:01.411199
1,498,842,121.411199
83,764
pythondev
help
Unless you do a virtualenv in the root of the project?
2017-06-30T17:02:17.415681
Patty
pythondev_help_Patty_2017-06-30T17:02:17.415681
1,498,842,137.415681
83,765
pythondev
help
Node is fun but callbacks are a headache haha
2017-06-30T17:02:20.416463
Sherry
pythondev_help_Sherry_2017-06-30T17:02:20.416463
1,498,842,140.416463
83,766
pythondev
help
Yeah, maybe that works - but then why bother with developing in docker?
2017-06-30T17:02:32.419409
Beula
pythondev_help_Beula_2017-06-30T17:02:32.419409
1,498,842,152.419409
83,767
pythondev
help
callbacks are getting less and less common <@Sherry> , at least! :slightly_smiling_face:
2017-06-30T17:02:47.423639
Beula
pythondev_help_Beula_2017-06-30T17:02:47.423639
1,498,842,167.423639
83,768
pythondev
help
Current LTS of node has promises by default
2017-06-30T17:03:22.432577
Patty
pythondev_help_Patty_2017-06-30T17:03:22.432577
1,498,842,202.432577
83,769
pythondev
help
I'd call callbacks dead :)
2017-06-30T17:03:31.434906
Patty
pythondev_help_Patty_2017-06-30T17:03:31.434906
1,498,842,211.434906
83,770
pythondev
help
I’ve heard! they’re very confusing at first
2017-06-30T17:03:44.438201
Sherry
pythondev_help_Sherry_2017-06-30T17:03:44.438201
1,498,842,224.438201
83,771
pythondev
help
Next LTS has `async/await`
2017-06-30T17:03:52.440500
Patty
pythondev_help_Patty_2017-06-30T17:03:52.440500
1,498,842,232.4405
83,772
pythondev
help
I m new to python community and has not worked much
2017-07-01T05:13:29.957812
Huong
pythondev_help_Huong_2017-07-01T05:13:29.957812
1,498,886,009.957812
83,773
pythondev
help
Can someone suggest me some tutorials to help me start with data mining ?
2017-07-01T05:13:53.959160
Huong
pythondev_help_Huong_2017-07-01T05:13:53.959160
1,498,886,033.95916
83,774
pythondev
help
And also clustering
2017-07-01T05:13:58.959534
Huong
pythondev_help_Huong_2017-07-01T05:13:58.959534
1,498,886,038.959534
83,775
pythondev
help
anybody know how to intercept a form submission event? I can't seem to figure out how to target the submit event or bind a click event to the form submission button
2017-07-01T06:37:49.257209
Magdalena
pythondev_help_Magdalena_2017-07-01T06:37:49.257209
1,498,891,069.257209
83,776
pythondev
help
<@Magdalena> something like <https://stackoverflow.com/questions/5384712/capture-a-form-submit-in-javascript> ?
2017-07-01T07:41:24.486100
Ruben
pythondev_help_Ruben_2017-07-01T07:41:24.486100
1,498,894,884.4861
83,777
pythondev
help
Hey guys what are the best books to read regarding Python for fundamentals. I know for Django its two scoops
2017-07-01T11:34:58.536911
Alba
pythondev_help_Alba_2017-07-01T11:34:58.536911
1,498,908,898.536911
83,778
pythondev
help
<@Alba> Do you already know how to program?
2017-07-01T11:36:33.545227
Ruben
pythondev_help_Ruben_2017-07-01T11:36:33.545227
1,498,908,993.545227
83,779
pythondev
help
Yeah. Looking for something more design focused and best practices
2017-07-01T11:37:32.550317
Alba
pythondev_help_Alba_2017-07-01T11:37:32.550317
1,498,909,052.550317
83,780
pythondev
help
Currently reading idiomatic python
2017-07-01T11:37:40.551068
Alba
pythondev_help_Alba_2017-07-01T11:37:40.551068
1,498,909,060.551068
83,781
pythondev
help
But that's more of like a skim
2017-07-01T11:37:47.551718
Alba
pythondev_help_Alba_2017-07-01T11:37:47.551718
1,498,909,067.551718
83,782
pythondev
help
Ah ok. I came from C++ a long time ago, and I found the standard Python tutorial quite a good read. And I found some 'Python for C++ programmers' online texts.
2017-07-01T11:38:18.554590
Ruben
pythondev_help_Ruben_2017-07-01T11:38:18.554590
1,498,909,098.55459
83,783
pythondev
help
Not a big cpp fan haha
2017-07-01T11:40:24.565305
Alba
pythondev_help_Alba_2017-07-01T11:40:24.565305
1,498,909,224.565305
83,784
pythondev
help
I had no choice.
2017-07-01T11:41:31.570875
Ruben
pythondev_help_Ruben_2017-07-01T11:41:31.570875
1,498,909,291.570875
83,785
pythondev
help
Effective Python is good
2017-07-01T11:42:22.575029
Beula
pythondev_help_Beula_2017-07-01T11:42:22.575029
1,498,909,342.575029
83,786
pythondev
help
<@Alba> <http://www.allitebooks.com/fluent-python/>
2017-07-01T11:51:06.619964
Rickey
pythondev_help_Rickey_2017-07-01T11:51:06.619964
1,498,909,866.619964
83,787
pythondev
help
Will take a look at both of those books :)) hopefully I can find a free download. The fluent python one is an early release
2017-07-01T11:59:31.663580
Alba
pythondev_help_Alba_2017-07-01T11:59:31.663580
1,498,910,371.66358
83,788
pythondev
help
Meh I think the early release will be fine
2017-07-01T12:08:42.716962
Alba
pythondev_help_Alba_2017-07-01T12:08:42.716962
1,498,910,922.716962
83,789
pythondev
help
Thank you very much <@Rickey> !
2017-07-01T12:10:51.728748
Alba
pythondev_help_Alba_2017-07-01T12:10:51.728748
1,498,911,051.728748
83,790
pythondev
help
<@Ruben> thanks for the link! do you know if it's significantly different than if I use jquery to do this? I had trouble with targeting the correct element
2017-07-01T12:50:39.933823
Magdalena
pythondev_help_Magdalena_2017-07-01T12:50:39.933823
1,498,913,439.933823
83,791
pythondev
help
hola oclay que bola
2017-07-01T13:36:28.175811
Rona
pythondev_help_Rona_2017-07-01T13:36:28.175811
1,498,916,188.175811
83,792
pythondev
help
que pasa
2017-07-01T13:37:27.180721
Rona
pythondev_help_Rona_2017-07-01T13:37:27.180721
1,498,916,247.180721
83,793
pythondev
help
tambien eres programando del python
2017-07-01T13:37:48.182604
Rona
pythondev_help_Rona_2017-07-01T13:37:48.182604
1,498,916,268.182604
83,794
pythondev
help
Hi, I need a suggestion. I am planning to start a new project for logging user analytics using MongoDB. Which framework will be better to use with Mongo - Flask or Django?
2017-07-01T13:59:44.292044
Odell
pythondev_help_Odell_2017-07-01T13:59:44.292044
1,498,917,584.292044
83,795
pythondev
help
flask
2017-07-01T14:03:35.312832
Johana
pythondev_help_Johana_2017-07-01T14:03:35.312832
1,498,917,815.312832
83,796
pythondev
help
at one point in time around django 1.4 mongo was great with django but then ppl stopped maintaining some core libraries.
2017-07-01T14:04:06.315526
Johana
pythondev_help_Johana_2017-07-01T14:04:06.315526
1,498,917,846.315526
83,797
pythondev
help
+1 for that use case
2017-07-01T14:04:12.315989
Beula
pythondev_help_Beula_2017-07-01T14:04:12.315989
1,498,917,852.315989
83,798
pythondev
help
Though if you are doing user analytics, you may need something lower latency since that may be a ton of events
2017-07-01T14:04:33.317857
Beula
pythondev_help_Beula_2017-07-01T14:04:33.317857
1,498,917,873.317857
83,799
pythondev
help
i built my recent highlighter with elastic search. it worked really well. I would imagine throwing kibana on there could make for a neat analytics platform.
2017-07-01T14:06:37.328711
Johana
pythondev_help_Johana_2017-07-01T14:06:37.328711
1,498,917,997.328711
83,800
pythondev
help
<https://www.elastic.co/products/kibana>
2017-07-01T14:08:28.338060
Johana
pythondev_help_Johana_2017-07-01T14:08:28.338060
1,498,918,108.33806
83,801
pythondev
help
<@Johana> Can you tell me more about it?
2017-07-01T14:08:32.338352
Odell
pythondev_help_Odell_2017-07-01T14:08:32.338352
1,498,918,112.338352
83,802