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
love it
2019-03-13T19:10:21.554500
Tasha
pythondev_help_Tasha_2019-03-13T19:10:21.554500
1,552,504,221.5545
13,321
pythondev
help
I want to know etymology of that phrase now
2019-03-13T19:10:51.554900
Raguel
pythondev_help_Raguel_2019-03-13T19:10:51.554900
1,552,504,251.5549
13,322
pythondev
help
it's a diamond of inheritance
2019-03-13T19:11:23.555800
Ashley
pythondev_help_Ashley_2019-03-13T19:11:23.555800
1,552,504,283.5558
13,323
pythondev
help
and it kills your program dead
2019-03-13T19:11:29.556200
Ashley
pythondev_help_Ashley_2019-03-13T19:11:29.556200
1,552,504,289.5562
13,324
pythondev
help
deadly death
2019-03-13T19:11:32.556500
Ashley
pythondev_help_Ashley_2019-03-13T19:11:32.556500
1,552,504,292.5565
13,325
pythondev
help
I mean, java does have generics, which can get you close to mro like behavior, in a staticly typed, verbose way
2019-03-13T19:11:44.556900
Clemmie
pythondev_help_Clemmie_2019-03-13T19:11:44.556900
1,552,504,304.5569
13,326
pythondev
help
ok
2019-03-13T19:13:21.557100
Tasha
pythondev_help_Tasha_2019-03-13T19:13:21.557100
1,552,504,401.5571
13,327
pythondev
help
rightmost depth first resolution
2019-03-13T19:14:57.559800
Tasha
pythondev_help_Tasha_2019-03-13T19:14:57.559800
1,552,504,497.5598
13,328
pythondev
help
does that mean literally 'right'? lol
2019-03-13T19:15:11.560400
Tasha
pythondev_help_Tasha_2019-03-13T19:15:11.560400
1,552,504,511.5604
13,329
pythondev
help
The best thing about the mro is the deterministic way it identifies in what order things are inherited when using multi-inheritence, based on the declaration order. (Which is the deadly diamond issue)
2019-03-13T19:15:12.560600
Clemmie
pythondev_help_Clemmie_2019-03-13T19:15:12.560600
1,552,504,512.5606
13,330
pythondev
help
thank god i never learnt Ruby
2019-03-13T19:15:20.560800
Tasha
pythondev_help_Tasha_2019-03-13T19:15:20.560800
1,552,504,520.5608
13,331
pythondev
help
haha
2019-03-13T19:15:21.561000
Tasha
pythondev_help_Tasha_2019-03-13T19:15:21.561000
1,552,504,521.561
13,332
pythondev
help
yes just read it uses the base class's tuple order
2019-03-13T19:15:58.562000
Tasha
pythondev_help_Tasha_2019-03-13T19:15:58.562000
1,552,504,558.562
13,333
pythondev
help
Exactly
2019-03-13T19:16:11.562400
Clemmie
pythondev_help_Clemmie_2019-03-13T19:16:11.562400
1,552,504,571.5624
13,334
pythondev
help
but Ruby's : rightmost depth first resolution
2019-03-13T19:16:29.562900
Tasha
pythondev_help_Tasha_2019-03-13T19:16:29.562900
1,552,504,589.5629
13,335
pythondev
help
lol
2019-03-13T19:16:30.563100
Tasha
pythondev_help_Tasha_2019-03-13T19:16:30.563100
1,552,504,590.5631
13,336
pythondev
help
is that literally : 'right'
2019-03-13T19:16:46.563800
Tasha
pythondev_help_Tasha_2019-03-13T19:16:46.563800
1,552,504,606.5638
13,337
pythondev
help
so it would always take the right side of the diamond?
2019-03-13T19:16:57.564100
Tasha
pythondev_help_Tasha_2019-03-13T19:16:57.564100
1,552,504,617.5641
13,338
pythondev
help
before the left class
2019-03-13T19:17:05.564400
Tasha
pythondev_help_Tasha_2019-03-13T19:17:05.564400
1,552,504,625.5644
13,339
pythondev
help
sorry getting off topic
2019-03-13T19:17:46.565500
Tasha
pythondev_help_Tasha_2019-03-13T19:17:46.565500
1,552,504,666.5655
13,340
pythondev
help
It will always look first to the rightmost defined class for a method/variable resolution
2019-03-13T19:17:59.565900
Clemmie
pythondev_help_Clemmie_2019-03-13T19:17:59.565900
1,552,504,679.5659
13,341
pythondev
help
ok
2019-03-13T19:18:33.566700
Tasha
pythondev_help_Tasha_2019-03-13T19:18:33.566700
1,552,504,713.5667
13,342
pythondev
help
so then it's a form or module resolution
2019-03-13T19:18:44.567300
Tasha
pythondev_help_Tasha_2019-03-13T19:18:44.567300
1,552,504,724.5673
13,343
pythondev
help
That's precisely what it is
2019-03-13T19:19:06.567800
Clemmie
pythondev_help_Clemmie_2019-03-13T19:19:06.567800
1,552,504,746.5678
13,344
pythondev
help
method, rather
2019-03-13T19:19:10.568000
Tasha
pythondev_help_Tasha_2019-03-13T19:19:10.568000
1,552,504,750.568
13,345
pythondev
help
yes
2019-03-13T19:19:12.568200
Tasha
pythondev_help_Tasha_2019-03-13T19:19:12.568200
1,552,504,752.5682
13,346
pythondev
help
man thanks so much\
2019-03-13T19:19:17.568400
Tasha
pythondev_help_Tasha_2019-03-13T19:19:17.568400
1,552,504,757.5684
13,347
pythondev
help
!
2019-03-13T19:19:18.568600
Tasha
pythondev_help_Tasha_2019-03-13T19:19:18.568600
1,552,504,758.5686
13,348
pythondev
help
learnt something new this evening, thanks guys
2019-03-13T19:19:29.568900
Tasha
pythondev_help_Tasha_2019-03-13T19:19:29.568900
1,552,504,769.5689
13,349
pythondev
help
:+1:
2019-03-13T19:20:24.569800
Ashley
pythondev_help_Ashley_2019-03-13T19:20:24.569800
1,552,504,824.5698
13,350
pythondev
help
:taco: <@Tasha> for good questions on your first day here
2019-03-13T19:20:32.570100
Clemmie
pythondev_help_Clemmie_2019-03-13T19:20:32.570100
1,552,504,832.5701
13,351
pythondev
help
haha thanks :slightly_smiling_face:
2019-03-13T19:21:16.570300
Tasha
pythondev_help_Tasha_2019-03-13T19:21:16.570300
1,552,504,876.5703
13,352
pythondev
help
No prob. Generally the community just uses a :pacman: response on the :taco:
2019-03-13T19:22:32.571900
Clemmie
pythondev_help_Clemmie_2019-03-13T19:22:32.571900
1,552,504,952.5719
13,353
pythondev
help
haha
2019-03-13T19:25:35.572300
Tasha
pythondev_help_Tasha_2019-03-13T19:25:35.572300
1,552,505,135.5723
13,354
pythondev
help
great channel btw
2019-03-13T19:27:10.573100
Tasha
pythondev_help_Tasha_2019-03-13T19:27:10.573100
1,552,505,230.5731
13,355
pythondev
help
just found it tonight
2019-03-13T19:27:15.573300
Tasha
pythondev_help_Tasha_2019-03-13T19:27:15.573300
1,552,505,235.5733
13,356
pythondev
help
are you guys working in python roles?
2019-03-13T19:35:31.574200
Tasha
pythondev_help_Tasha_2019-03-13T19:35:31.574200
1,552,505,731.5742
13,357
pythondev
help
Most of the regulars do, yes
2019-03-13T19:39:10.574600
Clemmie
pythondev_help_Clemmie_2019-03-13T19:39:10.574600
1,552,505,950.5746
13,358
pythondev
help
Not me... Python I use for personal projects.
2019-03-13T19:50:50.575500
Nieves
pythondev_help_Nieves_2019-03-13T19:50:50.575500
1,552,506,650.5755
13,359
pythondev
help
ok cool, yea ive been full time python for the last 3 months
2019-03-13T20:09:11.576100
Tasha
pythondev_help_Tasha_2019-03-13T20:09:11.576100
1,552,507,751.5761
13,360
pythondev
help
before did Node, Erlang, VB
2019-03-13T20:09:34.576700
Tasha
pythondev_help_Tasha_2019-03-13T20:09:34.576700
1,552,507,774.5767
13,361
pythondev
help
loved python for a long time though
2019-03-13T20:10:11.577100
Tasha
pythondev_help_Tasha_2019-03-13T20:10:11.577100
1,552,507,811.5771
13,362
pythondev
help
was tempted to try out Go but Python just keeps calling me back lol
2019-03-13T20:11:58.579200
Tasha
pythondev_help_Tasha_2019-03-13T20:11:58.579200
1,552,507,918.5792
13,363
pythondev
help
Go is weird
2019-03-13T20:43:14.579700
Nieves
pythondev_help_Nieves_2019-03-13T20:43:14.579700
1,552,509,794.5797
13,364
pythondev
help
I see its use though
2019-03-13T20:43:22.580000
Nieves
pythondev_help_Nieves_2019-03-13T20:43:22.580000
1,552,509,802.58
13,365
pythondev
help
Anyone familiar with Amazon API Gateway know why I am getting the error below when I try to submit a file to s3? I have double checked my resources/methods and even re-created them and checked my s3 bucket settings as well, the logs for my lambda show that my file isn't being hit at all and I am deeply confused at the moment :thinking_face: :confused: :confounded: `Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at...`
2019-03-13T21:10:26.582900
Ursula
pythondev_help_Ursula_2019-03-13T21:10:26.582900
1,552,511,426.5829
13,366
pythondev
help
lol
2019-03-13T21:11:40.583700
Nieves
pythondev_help_Nieves_2019-03-13T21:11:40.583700
1,552,511,500.5837
13,367
pythondev
help
403?
2019-03-13T21:11:42.583900
Nieves
pythondev_help_Nieves_2019-03-13T21:11:42.583900
1,552,511,502.5839
13,368
pythondev
help
Yep
2019-03-13T21:11:56.584300
Ursula
pythondev_help_Ursula_2019-03-13T21:11:56.584300
1,552,511,516.5843
13,369
pythondev
help
lolol
2019-03-13T21:12:01.584700
Nieves
pythondev_help_Nieves_2019-03-13T21:12:01.584700
1,552,511,521.5847
13,370
pythondev
help
:stuck_out_tongue: :sob:
2019-03-13T21:12:36.585300
Ursula
pythondev_help_Ursula_2019-03-13T21:12:36.585300
1,552,511,556.5853
13,371
pythondev
help
I am just a weirdo... I don't know anything.
2019-03-13T21:12:57.585700
Nieves
pythondev_help_Nieves_2019-03-13T21:12:57.585700
1,552,511,577.5857
13,372
pythondev
help
(sigh) nooooooo!
2019-03-13T21:13:12.586000
Ursula
pythondev_help_Ursula_2019-03-13T21:13:12.586000
1,552,511,592.586
13,373
pythondev
help
Question: In Python 3.6 this code block fails with `complaining that config is not a module` ```Script file: /my_prog/somescript.py Config files: /myprog/config/config.py from config.config import Config fails``` In python 3.5 this works. ``` Script file: /my_prog/somescript.py Config files: /myprog/config/config.py from config.config import Config fails ``` To make it work on python 3.6 I had to do `from config import Config` Anyone happen to know why?
2019-03-13T21:16:04.587500
Adolfo
pythondev_help_Adolfo_2019-03-13T21:16:04.587500
1,552,511,764.5875
13,374
pythondev
help
<@Joanne> have you enabled cors for that bucket?
2019-03-13T21:32:56.587900
Hiroko
pythondev_help_Hiroko_2019-03-13T21:32:56.587900
1,552,512,776.5879
13,375
pythondev
help
<https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html>
2019-03-13T21:32:57.588100
Hiroko
pythondev_help_Hiroko_2019-03-13T21:32:57.588100
1,552,512,777.5881
13,376
pythondev
help
<@Hiroko> yes, I have enabled CORS on the bucket, although it is slightly different from that one
2019-03-13T21:55:05.590300
Ursula
pythondev_help_Ursula_2019-03-13T21:55:05.590300
1,552,514,105.5903
13,377
pythondev
help
. Hello guys I know this topic is from kubernetes but just asking.... is there any cron job anyone wrote for running every 10mins and deleting the pods which are in "Terminating stage"in all the namespaces in the cluster?help would be appreciated....struggling with shell script
2019-03-13T21:55:06.590400
Hai
pythondev_help_Hai_2019-03-13T21:55:06.590400
1,552,514,106.5904
13,378
pythondev
help
<@Hiroko> I am using this since I am uploading directly to the bucket (getting permissions with a lambda beforehand though)
2019-03-13T21:56:55.590600
Ursula
pythondev_help_Ursula_2019-03-13T21:56:55.590600
1,552,514,215.5906
13,379
pythondev
help
are you sure the method you’re using is a post?
2019-03-13T22:00:26.591100
Hiroko
pythondev_help_Hiroko_2019-03-13T22:00:26.591100
1,552,514,426.5911
13,380
pythondev
help
and not a patch/put?
2019-03-13T22:00:35.591400
Hiroko
pythondev_help_Hiroko_2019-03-13T22:00:35.591400
1,552,514,435.5914
13,381
pythondev
help
Yes, I'm going through a course and this code works for the instructors and other students. Although I am getting the 403 error when I call the GET request to get an IAM user permission to upload to the bucket
2019-03-13T22:03:47.593000
Ursula
pythondev_help_Ursula_2019-03-13T22:03:47.593000
1,552,514,627.593
13,382
pythondev
help
403 is unauthorized so you prolly don't have the right perms or whatever.
2019-03-13T22:04:45.593500
Nieves
pythondev_help_Nieves_2019-03-13T22:04:45.593500
1,552,514,685.5935
13,383
pythondev
help
Also, which version of Python and the like is used in the course?
2019-03-13T22:05:04.594200
Nieves
pythondev_help_Nieves_2019-03-13T22:05:04.594200
1,552,514,704.5942
13,384
pythondev
help
&gt;&gt;&gt;Note: CloudFront caches the results of an HTTP 403 (Access Denied) error for up to 5 minutes. After you remove the deny statement from the bucket policy, you might need to run an invalidation on your distribution to remove the object from the cache.
2019-03-13T22:06:20.594600
Hiroko
pythondev_help_Hiroko_2019-03-13T22:06:20.594600
1,552,514,780.5946
13,385
pythondev
help
wait, <@Joanne> what’s giving you a 403?
2019-03-13T22:06:53.595000
Hiroko
pythondev_help_Hiroko_2019-03-13T22:06:53.595000
1,552,514,813.595
13,386
pythondev
help
When I try to request the IAM user's permissions who can upload to the bucket
2019-03-13T22:07:42.595700
Ursula
pythondev_help_Ursula_2019-03-13T22:07:42.595700
1,552,514,862.5957
13,387
pythondev
help
And I did something wrong in my API so I am getting a 502 at the moment so it shouldn't be cached :sweat_smile:
2019-03-13T22:08:28.596600
Ursula
pythondev_help_Ursula_2019-03-13T22:08:28.596600
1,552,514,908.5966
13,388
pythondev
help
Also, the code is written in Node, but it doesn't focus too much on the code
2019-03-13T22:08:59.597100
Ursula
pythondev_help_Ursula_2019-03-13T22:08:59.597100
1,552,514,939.5971
13,389
pythondev
help
Fixed the 502! Now back to the 403 :facepalm:
2019-03-13T22:21:13.597600
Ursula
pythondev_help_Ursula_2019-03-13T22:21:13.597600
1,552,515,673.5976
13,390
pythondev
help
Hi all
2019-03-14T03:40:38.598800
Riva
pythondev_help_Riva_2019-03-14T03:40:38.598800
1,552,534,838.5988
13,391
pythondev
help
I have a string "DimArr2[0],DimArr2[1],DimArr2[2]" each comma separated is array
2019-03-14T03:42:30.600200
Riva
pythondev_help_Riva_2019-03-14T03:42:30.600200
1,552,534,950.6002
13,392
pythondev
help
i want to mention that string into for column, (c1,c2,c3) in enumerate(zip_longest(DimArr2[0],DimArr2[1],DimArr2[2] )):
2019-03-14T03:43:50.601000
Riva
pythondev_help_Riva_2019-03-14T03:43:50.601000
1,552,535,030.601
13,393
pythondev
help
i want to convert that string "DimArr2[0],DimArr2[1],DimArr2[2]" into this DimArr2[0],DimArr2[1],DimArr2[2]
2019-03-14T03:45:11.601700
Riva
pythondev_help_Riva_2019-03-14T03:45:11.601700
1,552,535,111.6017
13,394
pythondev
help
if there any solution can any one suggest me
2019-03-14T03:45:44.602300
Riva
pythondev_help_Riva_2019-03-14T03:45:44.602300
1,552,535,144.6023
13,395
pythondev
help
Might be simple, but how do you return the value with enumerate() without the counter (0,1,2, etc.)?
2019-03-14T06:05:07.603400
Nieves
pythondev_help_Nieves_2019-03-14T06:05:07.603400
1,552,543,507.6034
13,396
pythondev
help
Just don't use enumerate? :smile:
2019-03-14T06:11:37.603700
Melynda
pythondev_help_Melynda_2019-03-14T06:11:37.603700
1,552,543,897.6037
13,397
pythondev
help
```&gt;&gt;&gt; [(idx, value) for idx, value in enumerate(['zero', 'one', 'two'])] [(0, 'zero'), (1, 'one'), (2, 'two')] &gt;&gt;&gt; [value for value in ['zero', 'one', 'two']] ['zero', 'one', 'two']```
2019-03-14T06:12:30.604400
Melynda
pythondev_help_Melynda_2019-03-14T06:12:30.604400
1,552,543,950.6044
13,398
pythondev
help
Prolly, but I am lazy... this is very inconvenient since it returns: [0, 'value'] and etc.
2019-03-14T06:12:31.604600
Nieves
pythondev_help_Nieves_2019-03-14T06:12:31.604600
1,552,543,951.6046
13,399
pythondev
help
Um... yeah I know
2019-03-14T06:12:38.605000
Nieves
pythondev_help_Nieves_2019-03-14T06:12:38.605000
1,552,543,958.605
13,400
pythondev
help
Or you can do `for _, value in enumerate(…)`
2019-03-14T06:12:45.605400
Melynda
pythondev_help_Melynda_2019-03-14T06:12:45.605400
1,552,543,965.6054
13,401
pythondev
help
I can do it manually, but it's more typing
2019-03-14T06:12:47.605600
Nieves
pythondev_help_Nieves_2019-03-14T06:12:47.605600
1,552,543,967.6056
13,402
pythondev
help
I just want the value... nvm
2019-03-14T06:13:06.605800
Nieves
pythondev_help_Nieves_2019-03-14T06:13:06.605800
1,552,543,986.6058
13,403
pythondev
help
```&gt;&gt;&gt; [value for _, value in enumerate(['zero', 'one', 'two'])] ['zero', 'one', 'two']```
2019-03-14T06:13:14.606200
Melynda
pythondev_help_Melynda_2019-03-14T06:13:14.606200
1,552,543,994.6062
13,404
pythondev
help
:/
2019-03-14T06:13:24.606400
Nieves
pythondev_help_Nieves_2019-03-14T06:13:24.606400
1,552,544,004.6064
13,405
pythondev
help
But you're just going to make a new list which is identical to the input to enumerate… What are you actually trying to do?
2019-03-14T06:13:52.607300
Melynda
pythondev_help_Melynda_2019-03-14T06:13:52.607300
1,552,544,032.6073
13,406
pythondev
help
Nothing really....
2019-03-14T06:14:00.607500
Nieves
pythondev_help_Nieves_2019-03-14T06:14:00.607500
1,552,544,040.6075
13,407
pythondev
help
It's an experiment
2019-03-14T06:14:02.607700
Nieves
pythondev_help_Nieves_2019-03-14T06:14:02.607700
1,552,544,042.6077
13,408
pythondev
help
I am not really a python programmer...
2019-03-14T06:14:18.608000
Nieves
pythondev_help_Nieves_2019-03-14T06:14:18.608000
1,552,544,058.608
13,409
pythondev
help
OOP is weird too
2019-03-14T06:14:21.608200
Nieves
pythondev_help_Nieves_2019-03-14T06:14:21.608200
1,552,544,061.6082
13,410
pythondev
help
None of this is OOP though :smile:
2019-03-14T06:14:54.608600
Melynda
pythondev_help_Melynda_2019-03-14T06:14:54.608600
1,552,544,094.6086
13,411
pythondev
help
I know, but was stating an opinion
2019-03-14T06:15:18.609000
Nieves
pythondev_help_Nieves_2019-03-14T06:15:18.609000
1,552,544,118.609
13,412
pythondev
help
I don’t like OOP nor Python
2019-03-14T06:15:31.609400
Nieves
pythondev_help_Nieves_2019-03-14T06:15:31.609400
1,552,544,131.6094
13,413
pythondev
help
I actually don’t like many ‘modern’ languages
2019-03-14T06:15:45.609900
Nieves
pythondev_help_Nieves_2019-03-14T06:15:45.609900
1,552,544,145.6099
13,414
pythondev
help
None of this is OOP though :smile:
2019-03-14T06:17:02.610200
Melynda
pythondev_help_Melynda_2019-03-14T06:17:02.610200
1,552,544,222.6102
13,415
pythondev
help
Again... I know
2019-03-14T06:17:34.610400
Nieves
pythondev_help_Nieves_2019-03-14T06:17:34.610400
1,552,544,254.6104
13,416
pythondev
help
I just said I don’t like either...
2019-03-14T06:17:49.610800
Nieves
pythondev_help_Nieves_2019-03-14T06:17:49.610800
1,552,544,269.6108
13,417
pythondev
help
Goodness
2019-03-14T06:17:50.611000
Nieves
pythondev_help_Nieves_2019-03-14T06:17:50.611000
1,552,544,270.611
13,418
pythondev
help
Didn't mean to repeat, my 'net connection is flaky as fuck so it sent twice
2019-03-14T06:18:05.611400
Melynda
pythondev_help_Melynda_2019-03-14T06:18:05.611400
1,552,544,285.6114
13,419
pythondev
help
Lol
2019-03-14T06:18:11.611600
Nieves
pythondev_help_Nieves_2019-03-14T06:18:11.611600
1,552,544,291.6116
13,420