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 sure what I'm looking at
2019-02-25T18:19:00.688200
Nikki
pythondev_help_Nikki_2019-02-25T18:19:00.688200
1,551,118,740.6882
10,621
pythondev
help
`-p` shows the changes; you can scroll down and look for the ones that you think are missing
2019-02-25T18:20:22.688800
Lillia
pythondev_help_Lillia_2019-02-25T18:20:22.688800
1,551,118,822.6888
10,622
pythondev
help
sadly nothing helpful
2019-02-25T18:23:07.689000
Nikki
pythondev_help_Nikki_2019-02-25T18:23:07.689000
1,551,118,987.689
10,623
pythondev
help
Darn
2019-02-25T18:23:34.689700
Lillia
pythondev_help_Lillia_2019-02-25T18:23:34.689700
1,551,119,014.6897
10,624
pythondev
help
is there a way to just force add all files that haven't been modified
2019-02-25T18:23:44.689900
Nikki
pythondev_help_Nikki_2019-02-25T18:23:44.689900
1,551,119,024.6899
10,625
pythondev
help
my server seems fine just no changes in my repository on github
2019-02-25T18:24:04.690400
Nikki
pythondev_help_Nikki_2019-02-25T18:24:04.690400
1,551,119,044.6904
10,626
pythondev
help
I guess I'm confused as to the setup; I thought this was local.
2019-02-25T18:24:38.690700
Lillia
pythondev_help_Lillia_2019-02-25T18:24:38.690700
1,551,119,078.6907
10,627
pythondev
help
sorry mate
2019-02-25T18:27:39.690900
Nikki
pythondev_help_Nikki_2019-02-25T18:27:39.690900
1,551,119,259.6909
10,628
pythondev
help
one last message
2019-02-25T18:27:46.691200
Nikki
pythondev_help_Nikki_2019-02-25T18:27:46.691200
1,551,119,266.6912
10,629
pythondev
help
Your branch is ahead of 'origin/master' by 2 commits.
2019-02-25T18:27:59.691500
Nikki
pythondev_help_Nikki_2019-02-25T18:27:59.691500
1,551,119,279.6915
10,630
pythondev
help
Oh you never pushed
2019-02-25T18:28:40.692300
Lillia
pythondev_help_Lillia_2019-02-25T18:28:40.692300
1,551,119,320.6923
10,631
pythondev
help
Unless you don't want to
2019-02-25T18:28:53.692700
Lillia
pythondev_help_Lillia_2019-02-25T18:28:53.692700
1,551,119,333.6927
10,632
pythondev
help
In which case you can soft reset
2019-02-25T18:28:58.693000
Lillia
pythondev_help_Lillia_2019-02-25T18:28:58.693000
1,551,119,338.693
10,633
pythondev
help
this is basically my issue - when I've tried to push the change the 'big' file has caused an issue when I pushed it - so I deleted it and then tried again
2019-02-25T18:29:00.693100
Nikki
pythondev_help_Nikki_2019-02-25T18:29:00.693100
1,551,119,340.6931
10,634
pythondev
help
Ah so deleting doesn't remove it from history, so it's still there. You'll get the warning even though it's "deleted". Do `git reset --soft HEAD~2` and then re-commit what you want.
2019-02-25T18:30:23.694400
Lillia
pythondev_help_Lillia_2019-02-25T18:30:23.694400
1,551,119,423.6944
10,635
pythondev
help
Don't forget the `--soft`
2019-02-25T18:30:37.694700
Lillia
pythondev_help_Lillia_2019-02-25T18:30:37.694700
1,551,119,437.6947
10,636
pythondev
help
Sorry this would have been avoided if I'd asked what you did originally
2019-02-25T18:30:52.695100
Lillia
pythondev_help_Lillia_2019-02-25T18:30:52.695100
1,551,119,452.6951
10,637
pythondev
help
so this will alter my git file only?
2019-02-25T18:32:24.695400
Nikki
pythondev_help_Nikki_2019-02-25T18:32:24.695400
1,551,119,544.6954
10,638
pythondev
help
I'm scared haha
2019-02-25T18:32:34.695600
Nikki
pythondev_help_Nikki_2019-02-25T18:32:34.695600
1,551,119,554.6956
10,639
pythondev
help
Yes, `--soft` preserves the changes.
2019-02-25T18:32:45.695800
Lillia
pythondev_help_Lillia_2019-02-25T18:32:45.695800
1,551,119,565.6958
10,640
pythondev
help
`--hard` discards them
2019-02-25T18:33:09.696300
Lillia
pythondev_help_Lillia_2019-02-25T18:33:09.696300
1,551,119,589.6963
10,641
pythondev
help
if you did git add but didn't commit, your changes MIGHT be in the reflog
2019-02-25T18:34:05.697000
My
pythondev_help_My_2019-02-25T18:34:05.697000
1,551,119,645.697
10,642
pythondev
help
be aware that digging in the reflog is for last-hope cases since it's kind of tricky
2019-02-25T18:34:30.697600
My
pythondev_help_My_2019-02-25T18:34:30.697600
1,551,119,670.6976
10,643
pythondev
help
<http://sethrobertson.github.io/GitBestPractices/#panic>
2019-02-25T18:34:32.697800
My
pythondev_help_My_2019-02-25T18:34:32.697800
1,551,119,672.6978
10,644
pythondev
help
It's worked
2019-02-25T18:34:51.698000
Nikki
pythondev_help_Nikki_2019-02-25T18:34:51.698000
1,551,119,691.698
10,645
pythondev
help
you are amazing
2019-02-25T18:34:59.698300
Nikki
pythondev_help_Nikki_2019-02-25T18:34:59.698300
1,551,119,699.6983
10,646
pythondev
help
thanks so much I was shitting myself lol
2019-02-25T18:35:12.698700
Nikki
pythondev_help_Nikki_2019-02-25T18:35:12.698700
1,551,119,712.6987
10,647
pythondev
help
I am more persistent than I am smart
2019-02-25T18:35:59.699100
Lillia
pythondev_help_Lillia_2019-02-25T18:35:59.699100
1,551,119,759.6991
10,648
pythondev
help
Glad nothing was lost :smile:
2019-02-25T18:36:19.699500
Lillia
pythondev_help_Lillia_2019-02-25T18:36:19.699500
1,551,119,779.6995
10,649
pythondev
help
me too. phew
2019-02-25T18:36:29.699700
Nikki
pythondev_help_Nikki_2019-02-25T18:36:29.699700
1,551,119,789.6997
10,650
pythondev
help
So i don't even know how to conceptualize this solution. And it's supposed to be one of the easier ones
2019-02-25T19:12:22.700400
Demetrice
pythondev_help_Demetrice_2019-02-25T19:12:22.700400
1,551,121,942.7004
10,651
pythondev
help
have any of you guys ever worked through the python track on <http://exercism.io|exercism.io>?
2019-02-25T19:12:45.700900
Demetrice
pythondev_help_Demetrice_2019-02-25T19:12:45.700900
1,551,121,965.7009
10,652
pythondev
help
What's the recommended library for parsing xml these days? bs4?
2019-02-25T19:17:10.702000
Maricruz
pythondev_help_Maricruz_2019-02-25T19:17:10.702000
1,551,122,230.702
10,653
pythondev
help
<@Demetrice> not that site in particular, but I've had fun with Advent of Code and Project Euler recently. If you're looking for a hint, the channel can probably provide one if you post the problem.
2019-02-25T19:18:11.702800
Sasha
pythondev_help_Sasha_2019-02-25T19:18:11.702800
1,551,122,291.7028
10,654
pythondev
help
I just don't really know where to start with this one. i understand that i'm probably creating a class. But i don't know how to meet the requirements
2019-02-25T19:23:03.703300
Demetrice
pythondev_help_Demetrice_2019-02-25T19:23:03.703300
1,551,122,583.7033
10,655
pythondev
help
None
2019-02-25T19:23:42.703500
Demetrice
pythondev_help_Demetrice_2019-02-25T19:23:42.703500
1,551,122,622.7035
10,656
pythondev
help
If you haven't already, have a look at the `random` library. It has some functions which will help.
2019-02-25T19:24:54.704400
Sasha
pythondev_help_Sasha_2019-02-25T19:24:54.704400
1,551,122,694.7044
10,657
pythondev
help
So i imagined that i would use randint to meet the random requirement
2019-02-25T19:25:30.704800
Demetrice
pythondev_help_Demetrice_2019-02-25T19:25:30.704800
1,551,122,730.7048
10,658
pythondev
help
But i'm not sure how to make sure they're unique. I guess i can do an if statement to where if they're equal to each other i have the program try again?
2019-02-25T19:26:03.705700
Demetrice
pythondev_help_Demetrice_2019-02-25T19:26:03.705700
1,551,122,763.7057
10,659
pythondev
help
Yeah, you'll need to keep track of all the live names to compare against.
2019-02-25T19:27:13.706200
Sasha
pythondev_help_Sasha_2019-02-25T19:27:13.706200
1,551,122,833.7062
10,660
pythondev
help
Does this line of code mean anything to you?
2019-02-25T19:38:03.706500
Demetrice
pythondev_help_Demetrice_2019-02-25T19:38:03.706500
1,551,123,483.7065
10,661
pythondev
help
The test sheet has it and i don't know what to make of it
2019-02-25T19:38:21.706900
Demetrice
pythondev_help_Demetrice_2019-02-25T19:38:21.706900
1,551,123,501.7069
10,662
pythondev
help
name_re = r'^[A-Z]{2}\d{3}$'
2019-02-25T19:38:22.707100
Demetrice
pythondev_help_Demetrice_2019-02-25T19:38:22.707100
1,551,123,502.7071
10,663
pythondev
help
Is that the format to create the first random name assigned to each robot?
2019-02-25T19:38:34.707400
Demetrice
pythondev_help_Demetrice_2019-02-25T19:38:34.707400
1,551,123,514.7074
10,664
pythondev
help
Yeah, that's a "regular expression". It says there should be two uppercase letters followed by three digits. Python's `re` library can match strings against those types of patterns, though you don't have to use it here.
2019-02-25T19:42:17.708800
Sasha
pythondev_help_Sasha_2019-02-25T19:42:17.708800
1,551,123,737.7088
10,665
pythondev
help
It sounds like it would make things easier tho, right?
2019-02-25T19:43:10.709100
Demetrice
pythondev_help_Demetrice_2019-02-25T19:43:10.709100
1,551,123,790.7091
10,666
pythondev
help
Is that the pythonic way to meet that requirement? What i don't understand is that the test document doesn't have re imported
2019-02-25T19:43:29.709800
Demetrice
pythondev_help_Demetrice_2019-02-25T19:43:29.709800
1,551,123,809.7098
10,667
pythondev
help
Not really easier for you... it's good for checking the answers, but not creating the strings in the first place.
2019-02-25T19:43:57.710300
Sasha
pythondev_help_Sasha_2019-02-25T19:43:57.710300
1,551,123,837.7103
10,668
pythondev
help
Okay that makes sense actually
2019-02-25T19:44:12.710500
Demetrice
pythondev_help_Demetrice_2019-02-25T19:44:12.710500
1,551,123,852.7105
10,669
pythondev
help
It's looking to make sure it matches that format. But it's not going to create it on it's own thats my job
2019-02-25T19:44:28.710900
Demetrice
pythondev_help_Demetrice_2019-02-25T19:44:28.710900
1,551,123,868.7109
10,670
pythondev
help
Exactly.
2019-02-25T19:44:36.711300
Sasha
pythondev_help_Sasha_2019-02-25T19:44:36.711300
1,551,123,876.7113
10,671
pythondev
help
So i guess i concatenate a string including random with all the numbers uppercased + rand int for the letters
2019-02-25T19:45:16.712000
Demetrice
pythondev_help_Demetrice_2019-02-25T19:45:16.712000
1,551,123,916.712
10,672
pythondev
help
But even after that i have to check to ensure it's unique
2019-02-25T19:45:26.712400
Demetrice
pythondev_help_Demetrice_2019-02-25T19:45:26.712400
1,551,123,926.7124
10,673
pythondev
help
And then i do all this in the section of the code where i'm creating the class, right?
2019-02-25T19:45:39.712900
Demetrice
pythondev_help_Demetrice_2019-02-25T19:45:39.712900
1,551,123,939.7129
10,674
pythondev
help
I think i'm too intimidated by it. I'm gonna give it a shot
2019-02-25T19:45:46.713200
Demetrice
pythondev_help_Demetrice_2019-02-25T19:45:46.713200
1,551,123,946.7132
10,675
pythondev
help
Baby steps. Start by writing a function to generate a random name. Then write some code to keep track of names and determine uniqueness. Then wrap it all in a class or whatever structure they want.
2019-02-25T19:46:38.714000
Sasha
pythondev_help_Sasha_2019-02-25T19:46:38.714000
1,551,123,998.714
10,676
pythondev
help
So is this a viable beginning?
2019-02-25T19:54:45.714100
Demetrice
pythondev_help_Demetrice_2019-02-25T19:54:45.714100
1,551,124,485.7141
10,677
pythondev
help
The concept is good, but multiplication of strings gets you an exact copy, like `'a' * 2` is `'aa'`, rather than an additional random choice. The `[0-9]` syntax isn't supported either.
2019-02-25T19:57:01.715400
Sasha
pythondev_help_Sasha_2019-02-25T19:57:01.715400
1,551,124,621.7154
10,678
pythondev
help
Was i supposed to use () instead of []?
2019-02-25T19:57:44.715700
Demetrice
pythondev_help_Demetrice_2019-02-25T19:57:44.715700
1,551,124,664.7157
10,679
pythondev
help
So i have to copy and paste? Is there a prettier solution to that?
2019-02-25T19:58:03.716300
Demetrice
pythondev_help_Demetrice_2019-02-25T19:58:03.716300
1,551,124,683.7163
10,680
pythondev
help
This is where i am currently
2019-02-25T19:59:04.716800
Demetrice
pythondev_help_Demetrice_2019-02-25T19:59:04.716800
1,551,124,744.7168
10,681
pythondev
help
`randint()` takes two parameters, like `randint(0, 9)`. If you do `0-9`, you're subtracting.
2019-02-25T19:59:21.717300
Sasha
pythondev_help_Sasha_2019-02-25T19:59:21.717300
1,551,124,761.7173
10,682
pythondev
help
Okay. I see that's goofy of me
2019-02-25T20:00:13.717900
Demetrice
pythondev_help_Demetrice_2019-02-25T20:00:13.717900
1,551,124,813.7179
10,683
pythondev
help
So fixing that it looks ugly. But it'll do the first part of what we need, right?
2019-02-25T20:00:31.718400
Demetrice
pythondev_help_Demetrice_2019-02-25T20:00:31.718400
1,551,124,831.7184
10,684
pythondev
help
Almost. The `random.random()` function returns a number between 0 and 1. I think you want a different function to pick from a string of possibilities.
2019-02-25T20:01:21.719200
Sasha
pythondev_help_Sasha_2019-02-25T20:01:21.719200
1,551,124,881.7192
10,685
pythondev
help
None
2019-02-25T20:05:07.719300
Demetrice
pythondev_help_Demetrice_2019-02-25T20:05:07.719300
1,551,125,107.7193
10,686
pythondev
help
Cool, that looks good. (Note you have `WKYZ` at the end of the alphabet.)
2019-02-25T20:06:16.720000
Sasha
pythondev_help_Sasha_2019-02-25T20:06:16.720000
1,551,125,176.72
10,687
pythondev
help
Wow, that's a first. I just went to look at the random module to see what other options there are for choice (I'm pretty sure there's a "choose multiple times" option), and I got a 503.
2019-02-25T20:11:05.721500
Carmen
pythondev_help_Carmen_2019-02-25T20:11:05.721500
1,551,125,465.7215
10,688
pythondev
help
`Error 503 All backends failed or unhealthy`
2019-02-25T20:11:09.721900
Carmen
pythondev_help_Carmen_2019-02-25T20:11:09.721900
1,551,125,469.7219
10,689
pythondev
help
I'm trying to continue working but when i begin an if statement statement it's indenting like 8 times as much as normal. Why would that be?
2019-02-25T20:11:35.722600
Demetrice
pythondev_help_Demetrice_2019-02-25T20:11:35.722600
1,551,125,495.7226
10,690
pythondev
help
Possibly an unclosed parenthesis in a previous line, so it's trying to continue that expression?
2019-02-25T20:12:37.723300
Sasha
pythondev_help_Sasha_2019-02-25T20:12:37.723300
1,551,125,557.7233
10,691
pythondev
help
`random.choices(population, weights=None, *, cum_weights=None, k=1)` would help with DRY and code reuse.
2019-02-25T20:13:24.723800
Carmen
pythondev_help_Carmen_2019-02-25T20:13:24.723800
1,551,125,604.7238
10,692
pythondev
help
Ignore `weights` and `cum_weights`, and you should be good.
2019-02-25T20:14:00.725000
Carmen
pythondev_help_Carmen_2019-02-25T20:14:00.725000
1,551,125,640.725
10,693
pythondev
help
Hi Guys! I have a question. I'm trying to install a new packages with pip but when I'm trying to run it. I'm getting this error ``` Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: *******\\envs\\data_analysis\\lib\\site-packages\\python_dateutil-2.7.5.dist-info\\METADATA' ``` Any reason why I'm getting that error?
2019-02-25T20:14:11.725200
Natosha
pythondev_help_Natosha_2019-02-25T20:14:11.725200
1,551,125,651.7252
10,694
pythondev
help
And how do I fix that?
2019-02-25T20:14:31.725500
Natosha
pythondev_help_Natosha_2019-02-25T20:14:31.725500
1,551,125,671.7255
10,695
pythondev
help
You might have to update your environment variables in settings
2019-02-25T20:15:21.726100
Demetrice
pythondev_help_Demetrice_2019-02-25T20:15:21.726100
1,551,125,721.7261
10,696
pythondev
help
Alternately, you might need to reinstall `python_dateutil`
2019-02-25T20:15:48.726800
Carmen
pythondev_help_Carmen_2019-02-25T20:15:48.726800
1,551,125,748.7268
10,697
pythondev
help
and to add, it says ``` No metadata found ```
2019-02-25T20:15:59.727000
Natosha
pythondev_help_Natosha_2019-02-25T20:15:59.727000
1,551,125,759.727
10,698
pythondev
help
So i'm now here. Truth be told i'm really bad at writing classes. And i know the syntax is probably all kinds of wrong, but are we heading in the right direction?
2019-02-25T20:16:16.727100
Demetrice
pythondev_help_Demetrice_2019-02-25T20:16:16.727100
1,551,125,776.7271
10,699
pythondev
help
I tried to reinstall python_dateutil earlier but still I can't
2019-02-25T20:17:38.728100
Natosha
pythondev_help_Natosha_2019-02-25T20:17:38.728100
1,551,125,858.7281
10,700
pythondev
help
<@Demetrice> which env variables that I need to update?
2019-02-25T20:18:06.728600
Natosha
pythondev_help_Natosha_2019-02-25T20:18:06.728600
1,551,125,886.7286
10,701
pythondev
help
<@Demetrice> I would refactor that name generation into a class method, for clarity and less code duplication.
2019-02-25T20:19:41.729400
Carmen
pythondev_help_Carmen_2019-02-25T20:19:41.729400
1,551,125,981.7294
10,702
pythondev
help
`pip install --upgrade python_dateutil` should update it
2019-02-25T20:20:30.730500
Candra
pythondev_help_Candra_2019-02-25T20:20:30.730500
1,551,126,030.7305
10,703
pythondev
help
Otherwise, that looks like a solid start, assuming it's generating names appropriately.
2019-02-25T20:20:38.730700
Carmen
pythondev_help_Carmen_2019-02-25T20:20:38.730700
1,551,126,038.7307
10,704
pythondev
help
Did you intend to have the names generation inside the __init__ constructor, or was it supposed to be outside the class?
2019-02-25T20:21:42.732100
Carmen
pythondev_help_Carmen_2019-02-25T20:21:42.732100
1,551,126,102.7321
10,705
pythondev
help
self.name == name is an equivalence check, not an assignment, just FYI
2019-02-25T20:22:48.732600
Candra
pythondev_help_Candra_2019-02-25T20:22:48.732600
1,551,126,168.7326
10,706
pythondev
help
Right it was only supposed one question mark. I think the meet the criteria for the test i want to have it inside the constructor
2019-02-25T20:24:22.733600
Demetrice
pythondev_help_Demetrice_2019-02-25T20:24:22.733600
1,551,126,262.7336
10,707
pythondev
help
<@Candra> still no luck
2019-02-25T20:24:35.734200
Natosha
pythondev_help_Natosha_2019-02-25T20:24:35.734200
1,551,126,275.7342
10,708
pythondev
help
The default name is supposed to be what's assigned to the robot from the assembly line. So i don't think it's supposed to be something that happens when i call a method
2019-02-25T20:24:48.734800
Demetrice
pythondev_help_Demetrice_2019-02-25T20:24:48.734800
1,551,126,288.7348
10,709
pythondev
help
I think it's supposed to be an attribute
2019-02-25T20:25:00.735300
Demetrice
pythondev_help_Demetrice_2019-02-25T20:25:00.735300
1,551,126,300.7353
10,710
pythondev
help
It affects the whole pip thing not just the ```python_dateutil```
2019-02-25T20:25:12.735500
Natosha
pythondev_help_Natosha_2019-02-25T20:25:12.735500
1,551,126,312.7355
10,711
pythondev
help
It looks like a metadata is missing
2019-02-25T20:25:54.735900
Natosha
pythondev_help_Natosha_2019-02-25T20:25:54.735900
1,551,126,354.7359
10,712
pythondev
help
so it can't proceed
2019-02-25T20:26:01.736200
Natosha
pythondev_help_Natosha_2019-02-25T20:26:01.736200
1,551,126,361.7362
10,713
pythondev
help
<@Natosha> in bash do `pip freeze | grep python_dateutil` and tell me what version it says
2019-02-25T20:26:09.736600
Candra
pythondev_help_Candra_2019-02-25T20:26:09.736600
1,551,126,369.7366
10,714
pythondev
help
<@Candra> I'm using windows
2019-02-25T20:26:42.737000
Natosha
pythondev_help_Natosha_2019-02-25T20:26:42.737000
1,551,126,402.737
10,715
pythondev
help
Do you have git bash for windows
2019-02-25T20:26:54.737400
Candra
pythondev_help_Candra_2019-02-25T20:26:54.737400
1,551,126,414.7374
10,716
pythondev
help
or just do pip freeze
2019-02-25T20:26:57.737600
Candra
pythondev_help_Candra_2019-02-25T20:26:57.737600
1,551,126,417.7376
10,717
pythondev
help
and look for the package
2019-02-25T20:27:01.737900
Candra
pythondev_help_Candra_2019-02-25T20:27:01.737900
1,551,126,421.7379
10,718
pythondev
help
yeah I do have ubuntu subsystem
2019-02-25T20:27:14.738200
Natosha
pythondev_help_Natosha_2019-02-25T20:27:14.738200
1,551,126,434.7382
10,719
pythondev
help
but the env that I created is in windows
2019-02-25T20:27:24.738700
Natosha
pythondev_help_Natosha_2019-02-25T20:27:24.738700
1,551,126,444.7387
10,720