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
not with the env var
2017-07-17T18:14:20.880881
Johana
pythondev_help_Johana_2017-07-17T18:14:20.880881
1,500,315,260.880881
86,003
pythondev
help
oh sorry I miss env var
2017-07-17T18:15:23.902114
Ciera
pythondev_help_Ciera_2017-07-17T18:15:23.902114
1,500,315,323.902114
86,004
pythondev
help
yeah it could work
2017-07-17T18:15:28.903776
Ciera
pythondev_help_Ciera_2017-07-17T18:15:28.903776
1,500,315,328.903776
86,005
pythondev
help
yea, i’ll have to create a new user and give them read access but it sounds feasible. something for the morning!
2017-07-17T18:15:57.913907
Johana
pythondev_help_Johana_2017-07-17T18:15:57.913907
1,500,315,357.913907
86,006
pythondev
help
ok, i found a good resource. i think this will do the trick. <https://github.com/blog/1270-easier-builds-and-deployments-using-git-over-https-and-oauth>
2017-07-17T18:19:20.980310
Johana
pythondev_help_Johana_2017-07-17T18:19:20.980310
1,500,315,560.98031
86,007
pythondev
help
I'd guess you can just use an ssh key with access to the repo
2017-07-17T18:31:37.217757
Beula
pythondev_help_Beula_2017-07-17T18:31:37.217757
1,500,316,297.217757
86,008
pythondev
help
<@Beula> travis isn’t letting me put in an ssh key.
2017-07-17T18:38:42.347387
Johana
pythondev_help_Johana_2017-07-17T18:38:42.347387
1,500,316,722.347387
86,009
pythondev
help
it shows me where i can in the docs but it looks like that’s the spot for a travis pro account.
2017-07-17T18:39:10.355781
Johana
pythondev_help_Johana_2017-07-17T18:39:10.355781
1,500,316,750.355781
86,010
pythondev
help
Oh yeah I'm thinking of your hack, make it an envvar, echo it to a file and then clone
2017-07-17T18:39:47.366650
Beula
pythondev_help_Beula_2017-07-17T18:39:47.366650
1,500,316,787.36665
86,011
pythondev
help
Travis is pricey
2017-07-17T18:40:02.371346
Beula
pythondev_help_Beula_2017-07-17T18:40:02.371346
1,500,316,802.371346
86,012
pythondev
help
oh ok.
2017-07-17T18:40:02.371400
Johana
pythondev_help_Johana_2017-07-17T18:40:02.371400
1,500,316,802.3714
86,013
pythondev
help
Maybe make a basic auth user and use https
2017-07-17T18:40:34.381222
Beula
pythondev_help_Beula_2017-07-17T18:40:34.381222
1,500,316,834.381222
86,014
pythondev
help
Then in the before process stripe in the creds
2017-07-17T18:40:57.388025
Beula
pythondev_help_Beula_2017-07-17T18:40:57.388025
1,500,316,857.388025
86,015
pythondev
help
yea i found this too. i think you commented @nerdwaller. <https://stackoverflow.com/questions/4830856/is-it-possible-to-use-pip-to-install-a-package-from-a-private-github-repository#comment55105837_27901245>
2017-07-17T18:41:43.401948
Johana
pythondev_help_Johana_2017-07-17T18:41:43.401948
1,500,316,903.401948
86,016
pythondev
help
And it's too late to edit to fix the error
2017-07-17T18:52:18.590954
Beula
pythondev_help_Beula_2017-07-17T18:52:18.590954
1,500,317,538.590954
86,017
pythondev
help
<@Tyrell> please don't cross post
2017-07-17T18:52:55.601805
Beula
pythondev_help_Beula_2017-07-17T18:52:55.601805
1,500,317,575.601805
86,018
pythondev
help
Give the question in <#C0LMFRMB5|django> some time before broadening the ask
2017-07-17T18:53:17.608045
Beula
pythondev_help_Beula_2017-07-17T18:53:17.608045
1,500,317,597.608045
86,019
pythondev
help
Okey, I will delete one. Should I delete in Django or here?
2017-07-17T18:53:46.616244
Tyrell
pythondev_help_Tyrell_2017-07-17T18:53:46.616244
1,500,317,626.616244
86,020
pythondev
help
If it's Django specific, I'd leave the question there. If you don't get any traction within a few hours, then you can share the question here (note the share tip, per the intro doc, vs copy/paste).
2017-07-17T18:54:41.632444
Beula
pythondev_help_Beula_2017-07-17T18:54:41.632444
1,500,317,681.632444
86,021
pythondev
help
In case you need the intro doc :point_up::skin-tone-4:
2017-07-17T18:55:00.637982
Beula
pythondev_help_Beula_2017-07-17T18:55:00.637982
1,500,317,700.637982
86,022
pythondev
help
Okey, so in the future I will post my question in <#C0LMFRMB5|django> at first. After some time without response I will paste it here. Is it a good habit?
2017-07-17T18:58:32.697027
Tyrell
pythondev_help_Tyrell_2017-07-17T18:58:32.697027
1,500,317,912.697027
86,023
pythondev
help
:thumbsup:
2017-07-17T18:58:46.700995
Ciera
pythondev_help_Ciera_2017-07-17T18:58:46.700995
1,500,317,926.700995
86,024
pythondev
help
Thanks for quick intro.
2017-07-17T18:59:00.705082
Tyrell
pythondev_help_Tyrell_2017-07-17T18:59:00.705082
1,500,317,940.705082
86,025
pythondev
help
minor correction, "share" it here :slightly_smiling_face: <https://get.slack.help/hc/en-us/articles/203274767-Share-messages-in-Slack>
2017-07-17T19:02:09.762137
Beula
pythondev_help_Beula_2017-07-17T19:02:09.762137
1,500,318,129.762137
86,026
pythondev
help
Hmmm... I have a list of dictionaries that I need to merge but sum one of the keys. Need some direction. My Monday brain is not working efficiently. Something like this ``` # start with [ {'first': 'Frank', 'val': 12, 'last': 'Jones', 'id': 2}, {'first': 'Jane', 'val': 12, 'last': 'Jones', 'id': 3}, {'first': 'Frank', 'val': 12, 'last': 'Jones', 'id': 2} ] # end with [ {'first': 'Frank', 'val': 24, 'last': 'Jones', 'id': 2}, {'first': 'Jane', 'val': 12, 'last': 'Jones', 'id': 3} ] ```
2017-07-17T20:36:12.130497
Kiersten
pythondev_help_Kiersten_2017-07-17T20:36:12.130497
1,500,323,772.130497
86,027
pythondev
help
<@Kiersten> - is the merge based on the `id` field (or a grouping of the values)? Also does order matter?
2017-07-17T20:50:03.298264
Beula
pythondev_help_Beula_2017-07-17T20:50:03.298264
1,500,324,603.298264
86,028
pythondev
help
order does not matter, i just need to sum the "val", every other piece of data is the same, the id will always be the same
2017-07-17T20:53:35.340314
Kiersten
pythondev_help_Kiersten_2017-07-17T20:53:35.340314
1,500,324,815.340314
86,029
pythondev
help
so yes, on the `id` field
2017-07-17T20:54:03.345874
Kiersten
pythondev_help_Kiersten_2017-07-17T20:54:03.345874
1,500,324,843.345874
86,030
pythondev
help
With my real data, I am merging on a unique string code
2017-07-17T20:55:07.359647
Kiersten
pythondev_help_Kiersten_2017-07-17T20:55:07.359647
1,500,324,907.359647
86,031
pythondev
help
I would probably use a dict if the dataset is small enough: ``` cache = {} for item in my_list: if item['id'] not in cache.keys(): cache[item['id']] = item else: cache[item['id']]['val'] += item['val'] ```
2017-07-17T20:59:57.419776
Beula
pythondev_help_Beula_2017-07-17T20:59:57.419776
1,500,325,197.419776
86,032
pythondev
help
That complicates things later on when I split the list in two by a column value of True/False, but I suppose I can work around that. Thanks for taking a look <@Beula> :taco:
2017-07-17T21:10:05.546909
Kiersten
pythondev_help_Kiersten_2017-07-17T21:10:05.546909
1,500,325,805.546909
86,033
pythondev
help
Yeah it's a little awkward, but at the end I meant to print `cache.values()`
2017-07-17T21:12:10.572079
Beula
pythondev_help_Beula_2017-07-17T21:12:10.572079
1,500,325,930.572079
86,034
pythondev
help
<@Beula> Right of course... it's been a long day for me too. That works great, when the data gets too large I'll adjust as necessary.
2017-07-17T21:18:37.651005
Kiersten
pythondev_help_Kiersten_2017-07-17T21:18:37.651005
1,500,326,317.651005
86,035
pythondev
help
Good call on not pre-optimizing too much! I am sure there is some really terse and cool trick, but I like simple :smile:
2017-07-17T21:29:22.778386
Beula
pythondev_help_Beula_2017-07-17T21:29:22.778386
1,500,326,962.778386
86,036
pythondev
help
Get the loader memory for each machine ,Is there any good way?
2017-07-18T03:16:58.636544
Jannette
pythondev_help_Jannette_2017-07-18T03:16:58.636544
1,500,347,818.636544
86,037
pythondev
help
question for anyone who uses pyenv — should the `.python-version` file be commited to vcs, or is it considered good practise to ignore this file?
2017-07-18T06:46:06.049817
Carline
pythondev_help_Carline_2017-07-18T06:46:06.049817
1,500,360,366.049817
86,038
pythondev
help
<@Carline> ignore, of course
2017-07-18T06:54:12.199075
Collette
pythondev_help_Collette_2017-07-18T06:54:12.199075
1,500,360,852.199075
86,039
pythondev
help
That's an environmental detail
2017-07-18T06:54:21.201932
Collette
pythondev_help_Collette_2017-07-18T06:54:21.201932
1,500,360,861.201932
86,040
pythondev
help
How can I send the value of a variable in endpoints api to _post_put_hook function in python ?
2017-07-18T09:24:11.564651
Helene
pythondev_help_Helene_2017-07-18T09:24:11.564651
1,500,369,851.564651
86,041
pythondev
help
can anyone help ?
2017-07-18T09:24:18.568453
Helene
pythondev_help_Helene_2017-07-18T09:24:18.568453
1,500,369,858.568453
86,042
pythondev
help
I'm sure someone can help but you'll need to post more details :slightly_smiling_face:
2017-07-18T09:25:37.611896
Ciera
pythondev_help_Ciera_2017-07-18T09:25:37.611896
1,500,369,937.611896
86,043
pythondev
help
I am using google cloud endpoints along with ndb datastore .
2017-07-18T09:29:47.751384
Helene
pythondev_help_Helene_2017-07-18T09:29:47.751384
1,500,370,187.751384
86,044
pythondev
help
I am setting values in my request class parameters
2017-07-18T09:30:07.762820
Helene
pythondev_help_Helene_2017-07-18T09:30:07.762820
1,500,370,207.76282
86,045
pythondev
help
can then I put these data in ndb
2017-07-18T09:30:17.768704
Helene
pythondev_help_Helene_2017-07-18T09:30:17.768704
1,500,370,217.768704
86,046
pythondev
help
my api know the value of the variable
2017-07-18T09:30:29.775943
Helene
pythondev_help_Helene_2017-07-18T09:30:29.775943
1,500,370,229.775943
86,047
pythondev
help
but right after I put
2017-07-18T09:30:39.781690
Helene
pythondev_help_Helene_2017-07-18T09:30:39.781690
1,500,370,239.78169
86,048
pythondev
help
_post_put_hook function is called
2017-07-18T09:30:53.789985
Helene
pythondev_help_Helene_2017-07-18T09:30:53.789985
1,500,370,253.789985
86,049
pythondev
help
but it does not know the value of that variable
2017-07-18T09:31:03.796004
Helene
pythondev_help_Helene_2017-07-18T09:31:03.796004
1,500,370,263.796004
86,050
pythondev
help
Sorry I have never used google could endpoints so I can't really help you :confused:
2017-07-18T09:33:26.879284
Ciera
pythondev_help_Ciera_2017-07-18T09:33:26.879284
1,500,370,406.879284
86,051
pythondev
help
<@Helene> can you post a snippet of your code ?
2017-07-18T10:04:42.014551
Karie
pythondev_help_Karie_2017-07-18T10:04:42.014551
1,500,372,282.014551
86,052
pythondev
help
so i started using fantastical and i really like it but want to integrate other services. they didn’t make this very easy =(. to parse text outside of fantastical it says to type this: `<x-fantastical2://parse?s=Sentence> goes here` i tried this in a browser to no avail. does anyone know where i can type this sort of thing into osx?
2017-07-18T11:07:22.516719
Johana
pythondev_help_Johana_2017-07-18T11:07:22.516719
1,500,376,042.516719
86,053
pythondev
help
i’ve tried spotlight but that didn’t work either.
2017-07-18T11:07:48.533827
Johana
pythondev_help_Johana_2017-07-18T11:07:48.533827
1,500,376,068.533827
86,054
pythondev
help
Anyone have a simple to use GUI?
2017-07-18T11:18:51.980597
Myong
pythondev_help_Myong_2017-07-18T11:18:51.980597
1,500,376,731.980597
86,055
pythondev
help
HTML?
2017-07-18T11:19:20.999974
Beula
pythondev_help_Beula_2017-07-18T11:19:20.999974
1,500,376,760.999974
86,056
pythondev
help
desktop?
2017-07-18T11:19:25.002941
Meg
pythondev_help_Meg_2017-07-18T11:19:25.002941
1,500,376,765.002941
86,057
pythondev
help
tkinter, I'd say
2017-07-18T11:19:30.006310
Meg
pythondev_help_Meg_2017-07-18T11:19:30.006310
1,500,376,770.00631
86,058
pythondev
help
Yeah desktop, and I saw tkinter, might have to go with that
2017-07-18T11:28:36.370737
Myong
pythondev_help_Myong_2017-07-18T11:28:36.370737
1,500,377,316.370737
86,059
pythondev
help
has anyone worked with crucible/fish eye before?
2017-07-18T11:28:46.377581
Myong
pythondev_help_Myong_2017-07-18T11:28:46.377581
1,500,377,326.377581
86,060
pythondev
help
I've used crucible before
2017-07-18T11:31:38.495358
Meg
pythondev_help_Meg_2017-07-18T11:31:38.495358
1,500,377,498.495358
86,061
pythondev
help
was ok
2017-07-18T11:31:40.496414
Meg
pythondev_help_Meg_2017-07-18T11:31:40.496414
1,500,377,500.496414
86,062
pythondev
help
why?
2017-07-18T11:31:47.501555
Meg
pythondev_help_Meg_2017-07-18T11:31:47.501555
1,500,377,507.501555
86,063
pythondev
help
Basically grabbing analytics from it for peer reviews and then essentially updating a CSV with new data of progress of peer reviews
2017-07-18T11:33:38.576013
Myong
pythondev_help_Myong_2017-07-18T11:33:38.576013
1,500,377,618.576013
86,064
pythondev
help
So I gotta use their API, hoping I can get the data I need
2017-07-18T11:33:54.586223
Myong
pythondev_help_Myong_2017-07-18T11:33:54.586223
1,500,377,634.586223
86,065
pythondev
help
not sure this will work but if you used a jupyter notebook they would have something essentially like a gui. they could run your code and get ouput and it be relatively easy.
2017-07-18T11:34:27.608399
Johana
pythondev_help_Johana_2017-07-18T11:34:27.608399
1,500,377,667.608399
86,066
pythondev
help
Uh oh, management wants insights... huh?
2017-07-18T11:34:32.611664
Beula
pythondev_help_Beula_2017-07-18T11:34:32.611664
1,500,377,672.611664
86,067
pythondev
help
Haha, well they already get insights. It just gets tedious for the guys to hand type in all the updated info for each week for the last 12 weeks
2017-07-18T11:35:18.642422
Myong
pythondev_help_Myong_2017-07-18T11:35:18.642422
1,500,377,718.642422
86,068
pythondev
help
and it has to be redone each time cause each week the analytics change of course for the weeks before also so they can spend an hour updating the thing
2017-07-18T11:36:02.670604
Myong
pythondev_help_Myong_2017-07-18T11:36:02.670604
1,500,377,762.670604
86,069
pythondev
help
When python can do it in a few seconds :slightly_smiling_face:
2017-07-18T11:36:08.675011
Myong
pythondev_help_Myong_2017-07-18T11:36:08.675011
1,500,377,768.675011
86,070
pythondev
help
checkout a temp jupyter notebook here: <https://tmpnb.org/>
2017-07-18T11:36:36.693213
Johana
pythondev_help_Johana_2017-07-18T11:36:36.693213
1,500,377,796.693213
86,071
pythondev
help
What is it exactly? <@Johana> temporary server for running python?
2017-07-18T11:37:44.737473
Myong
pythondev_help_Myong_2017-07-18T11:37:44.737473
1,500,377,864.737473
86,072
pythondev
help
jupyter is cool
2017-07-18T11:38:00.748095
In
pythondev_help_In_2017-07-18T11:38:00.748095
1,500,377,880.748095
86,073
pythondev
help
&gt; The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.
2017-07-18T11:38:33.769483
Johana
pythondev_help_Johana_2017-07-18T11:38:33.769483
1,500,377,913.769483
86,074
pythondev
help
Hmmm okay that might be really convenient
2017-07-18T11:39:03.789283
Myong
pythondev_help_Myong_2017-07-18T11:39:03.789283
1,500,377,943.789283
86,075
pythondev
help
plus it can be put on github and look cool
2017-07-18T11:39:20.800799
In
pythondev_help_In_2017-07-18T11:39:20.800799
1,500,377,960.800799
86,076
pythondev
help
Sort of like a prelim thing I can show them when I'm done and they can decide if they want a GUI or not
2017-07-18T11:39:37.811763
Myong
pythondev_help_Myong_2017-07-18T11:39:37.811763
1,500,377,977.811763
86,077
pythondev
help
you might have to setup your own jupyterhub server but it is relatively easy to do. the jupyterhub server can be setup to require username and password.
2017-07-18T11:40:09.832985
Johana
pythondev_help_Johana_2017-07-18T11:40:09.832985
1,500,378,009.832985
86,078
pythondev
help
then no one needs to install anything.
2017-07-18T11:40:41.853469
Johana
pythondev_help_Johana_2017-07-18T11:40:41.853469
1,500,378,041.853469
86,079
pythondev
help
they simply go to your page: <http://jupyter.kbman.com|jupyter.kbman.com> and login
2017-07-18T11:40:59.865074
Johana
pythondev_help_Johana_2017-07-18T11:40:59.865074
1,500,378,059.865074
86,080
pythondev
help
i have an ansible playbook if needed :wink:
2017-07-18T11:41:12.873637
Johana
pythondev_help_Johana_2017-07-18T11:41:12.873637
1,500,378,072.873637
86,081
pythondev
help
more info here: <https://jupyter.org/>
2017-07-18T11:42:11.912375
Johana
pythondev_help_Johana_2017-07-18T11:42:11.912375
1,500,378,131.912375
86,082
pythondev
help
Once I get this setup I'll definitely get that setup
2017-07-18T11:43:12.953028
Myong
pythondev_help_Myong_2017-07-18T11:43:12.953028
1,500,378,192.953028
86,083
pythondev
help
if you are just looking to use basic jupyter, and you use pycharm you can start a new project, pip install jupyter then instead of making a .py file you can make a .ipynb file
2017-07-18T11:43:28.963634
In
pythondev_help_In_2017-07-18T11:43:28.963634
1,500,378,208.963634
86,084
pythondev
help
since it is python the sky is the limit. if you want you can setup a way for the csv to be emailed to them or whatever.
2017-07-18T11:46:11.071652
Johana
pythondev_help_Johana_2017-07-18T11:46:11.071652
1,500,378,371.071652
86,085
pythondev
help
the notebooks can also utilize `input` if you need the user to type in information.
2017-07-18T11:47:04.106636
Johana
pythondev_help_Johana_2017-07-18T11:47:04.106636
1,500,378,424.106636
86,086
pythondev
help
so if you wanted to run a cli script inside the notebook and prompt them for their name, etc, you can do that.
2017-07-18T11:47:24.120206
Johana
pythondev_help_Johana_2017-07-18T11:47:24.120206
1,500,378,444.120206
86,087
pythondev
help
That might actually be super convenient
2017-07-18T12:02:06.703134
Myong
pythondev_help_Myong_2017-07-18T12:02:06.703134
1,500,379,326.703134
86,088
pythondev
help
Oh man this should be fun. The documentation for this API is leading me to 404 errors.
2017-07-18T12:23:20.482464
Myong
pythondev_help_Myong_2017-07-18T12:23:20.482464
1,500,380,600.482464
86,089
pythondev
help
TIL ipython does input
2017-07-18T12:57:53.705173
Beula
pythondev_help_Beula_2017-07-18T12:57:53.705173
1,500,382,673.705173
86,090
pythondev
help
<@Johana> can you show live terminal output in there?
2017-07-18T12:58:09.714563
Beula
pythondev_help_Beula_2017-07-18T12:58:09.714563
1,500,382,689.714563
86,091
pythondev
help
what do you mean live?
2017-07-18T12:58:21.721680
Johana
pythondev_help_Johana_2017-07-18T12:58:21.721680
1,500,382,701.72168
86,092
pythondev
help
Say I run a long-running subprocess
2017-07-18T12:58:31.727827
Beula
pythondev_help_Beula_2017-07-18T12:58:31.727827
1,500,382,711.727827
86,093
pythondev
help
hmmm… idk. i would have to try it. you can run pip commands and they scroll out. that’s what is happening at the top.
2017-07-18T12:58:52.740515
Johana
pythondev_help_Johana_2017-07-18T12:58:52.740515
1,500,382,732.740515
86,094
pythondev
help
Or can you only spawn one and print the data
2017-07-18T12:58:55.742371
Beula
pythondev_help_Beula_2017-07-18T12:58:55.742371
1,500,382,735.742371
86,095
pythondev
help
Oh, I guess I didn't think about how they have the syntax to run straight shell commands
2017-07-18T12:59:16.754850
Beula
pythondev_help_Beula_2017-07-18T12:59:16.754850
1,500,382,756.75485
86,096
pythondev
help
<@Johana> :taco:
2017-07-18T12:59:43.771271
Beula
pythondev_help_Beula_2017-07-18T12:59:43.771271
1,500,382,783.771271
86,097
pythondev
help
I totally spaced the `!shell command`
2017-07-18T12:59:53.777087
Beula
pythondev_help_Beula_2017-07-18T12:59:53.777087
1,500,382,793.777087
86,098
pythondev
help
yea it’s cool
2017-07-18T13:00:05.784406
Johana
pythondev_help_Johana_2017-07-18T13:00:05.784406
1,500,382,805.784406
86,099
pythondev
help
i use jupyter notebook for one off things like this all the time.
2017-07-18T13:00:17.792582
Johana
pythondev_help_Johana_2017-07-18T13:00:17.792582
1,500,382,817.792582
86,100
pythondev
help
very convenient
2017-07-18T13:00:23.796338
Johana
pythondev_help_Johana_2017-07-18T13:00:23.796338
1,500,382,823.796338
86,101
pythondev
help
Yeah, I was thinking about adding a subdomain to my site so I can just have one centralized
2017-07-18T13:01:08.825288
Beula
pythondev_help_Beula_2017-07-18T13:01:08.825288
1,500,382,868.825288
86,102