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
its going to be entered by a barcode scanner so its easier than copy and paste
2019-04-27T21:08:19.342300
Priscilla
pythondev_help_Priscilla_2019-04-27T21:08:19.342300
1,556,399,299.3423
20,921
pythondev
help
Heh. Barcode scanners open you up to all sorts of fun.
2019-04-27T21:08:49.342700
Carmen
pythondev_help_Carmen_2019-04-27T21:08:49.342700
1,556,399,329.3427
20,922
pythondev
help
i think this works, im working on making each into its own list, or sub lists havent decided yet
2019-04-27T21:09:38.343900
Priscilla
pythondev_help_Priscilla_2019-04-27T21:09:38.343900
1,556,399,378.3439
20,923
pythondev
help
My process optimization senses are tingling.
2019-04-27T21:10:29.345100
Carmen
pythondev_help_Carmen_2019-04-27T21:10:29.345100
1,556,399,429.3451
20,924
pythondev
help
<@Carmen> good fun or fun that breaks crap?
2019-04-27T21:10:30.345200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:10:30.345200
1,556,399,430.3452
20,925
pythondev
help
Yes.
2019-04-27T21:10:36.345400
Carmen
pythondev_help_Carmen_2019-04-27T21:10:36.345400
1,556,399,436.3454
20,926
pythondev
help
oh...
2019-04-27T21:10:43.345600
Priscilla
pythondev_help_Priscilla_2019-04-27T21:10:43.345600
1,556,399,443.3456
20,927
pythondev
help
Barcode scanners are effectively keyboards.
2019-04-27T21:10:59.346200
Carmen
pythondev_help_Carmen_2019-04-27T21:10:59.346200
1,556,399,459.3462
20,928
pythondev
help
dont they just simulate a keypress?
2019-04-27T21:11:03.346500
Priscilla
pythondev_help_Priscilla_2019-04-27T21:11:03.346500
1,556,399,463.3465
20,929
pythondev
help
They just type really, really fast.
2019-04-27T21:11:08.346600
Carmen
pythondev_help_Carmen_2019-04-27T21:11:08.346600
1,556,399,468.3466
20,930
pythondev
help
oh
2019-04-27T21:11:22.347200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:11:22.347200
1,556,399,482.3472
20,931
pythondev
help
And they're operating on the OS level. So if you get a malicious barcode, it can do things like "[CMD] + R [newline] cmd.exe [newline] [arbitrary commands here]"
2019-04-27T21:12:40.349000
Carmen
pythondev_help_Carmen_2019-04-27T21:12:40.349000
1,556,399,560.349
20,932
pythondev
help
so it could potentially jumble the input?
2019-04-27T21:12:40.349100
Priscilla
pythondev_help_Priscilla_2019-04-27T21:12:40.349100
1,556,399,560.3491
20,933
pythondev
help
The computer has no idea you want to restrict the input to the active window. It'll let you switch windows with control keys and do anything you could do with a normal keyboard.
2019-04-27T21:13:15.350100
Carmen
pythondev_help_Carmen_2019-04-27T21:13:15.350100
1,556,399,595.3501
20,934
pythondev
help
well is that really a threat with barcodes that we print on there?
2019-04-27T21:13:17.350200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:13:17.350200
1,556,399,597.3502
20,935
pythondev
help
With your barcodes, no, if you trust your barcode system.
2019-04-27T21:13:49.351000
Carmen
pythondev_help_Carmen_2019-04-27T21:13:49.351000
1,556,399,629.351
20,936
pythondev
help
i mean we make the barcodes.
2019-04-27T21:13:50.351200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:13:50.351200
1,556,399,630.3512
20,937
pythondev
help
ok
2019-04-27T21:13:56.351500
Priscilla
pythondev_help_Priscilla_2019-04-27T21:13:56.351500
1,556,399,636.3515
20,938
pythondev
help
But you could have malicious actors adding barcodes to the equipment.
2019-04-27T21:14:05.351700
Carmen
pythondev_help_Carmen_2019-04-27T21:14:05.351700
1,556,399,645.3517
20,939
pythondev
help
So keep that in mind.
2019-04-27T21:14:13.351900
Carmen
pythondev_help_Carmen_2019-04-27T21:14:13.351900
1,556,399,653.3519
20,940
pythondev
help
good point
2019-04-27T21:14:24.352200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:14:24.352200
1,556,399,664.3522
20,941
pythondev
help
Though it's worth noting that just as it opens you up to risk, you can also take advantage of that to run very complicated strings of commands/actions from a single barcode scan.
2019-04-27T21:15:10.352900
Carmen
pythondev_help_Carmen_2019-04-27T21:15:10.352900
1,556,399,710.3529
20,942
pythondev
help
If needed for some reason.
2019-04-27T21:15:17.353100
Carmen
pythondev_help_Carmen_2019-04-27T21:15:17.353100
1,556,399,717.3531
20,943
pythondev
help
does anyone familiar with AWS know what the difference is between a Role ARN and an Instance Policy ARN?
2019-04-27T21:19:31.353600
Frankie
pythondev_help_Frankie_2019-04-27T21:19:31.353600
1,556,399,971.3536
20,944
pythondev
help
we do have a <#C22DMH61M|devops> channel, where that question could be better suited for
2019-04-27T21:21:15.354000
Hiroko
pythondev_help_Hiroko_2019-04-27T21:21:15.354000
1,556,400,075.354
20,945
pythondev
help
oh snap
2019-04-27T21:21:51.354200
Frankie
pythondev_help_Frankie_2019-04-27T21:21:51.354200
1,556,400,111.3542
20,946
pythondev
help
I think I added too many and didn't realize that
2019-04-27T21:21:58.354500
Frankie
pythondev_help_Frankie_2019-04-27T21:21:58.354500
1,556,400,118.3545
20,947
pythondev
help
thanks!
2019-04-27T21:22:37.354800
Frankie
pythondev_help_Frankie_2019-04-27T21:22:37.354800
1,556,400,157.3548
20,948
pythondev
help
just joined it
2019-04-27T21:22:39.355000
Frankie
pythondev_help_Frankie_2019-04-27T21:22:39.355000
1,556,400,159.355
20,949
pythondev
help
Does anyone know what these white boxes are for and how to remove them ?
2019-04-27T21:23:21.355500
Clayton
pythondev_help_Clayton_2019-04-27T21:23:21.355500
1,556,400,201.3555
20,950
pythondev
help
default linter?
2019-04-27T21:26:12.356000
Hiroko
pythondev_help_Hiroko_2019-04-27T21:26:12.356000
1,556,400,372.356
20,951
pythondev
help
break points
2019-04-27T21:28:50.356200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:28:50.356200
1,556,400,530.3562
20,952
pythondev
help
it looks like a feature of the theme you have installed to put those boxes around breakpoint codes
2019-04-27T21:29:55.357300
Priscilla
pythondev_help_Priscilla_2019-04-27T21:29:55.357300
1,556,400,595.3573
20,953
pythondev
help
would you want to use regex to find dupilicates?
2019-04-27T21:30:40.357700
Priscilla
pythondev_help_Priscilla_2019-04-27T21:30:40.357700
1,556,400,640.3577
20,954
pythondev
help
duplicates where?
2019-04-27T21:31:19.358200
Hiroko
pythondev_help_Hiroko_2019-04-27T21:31:19.358200
1,556,400,679.3582
20,955
pythondev
help
How to just remove them ?
2019-04-27T21:31:26.358400
Clayton
pythondev_help_Clayton_2019-04-27T21:31:26.358400
1,556,400,686.3584
20,956
pythondev
help
How would i see what entry a string is on a list
2019-04-27T21:31:35.358700
Rodrick
pythondev_help_Rodrick_2019-04-27T21:31:35.358700
1,556,400,695.3587
20,957
pythondev
help
like
2019-04-27T21:31:39.358900
Rodrick
pythondev_help_Rodrick_2019-04-27T21:31:39.358900
1,556,400,699.3589
20,958
pythondev
help
<@Clayton> its part of your theme, so would look at that
2019-04-27T21:32:00.359800
Hiroko
pythondev_help_Hiroko_2019-04-27T21:32:00.359800
1,556,400,720.3598
20,959
pythondev
help
`list = ["a". "b", "c"]`
2019-04-27T21:32:07.360200
Rodrick
pythondev_help_Rodrick_2019-04-27T21:32:07.360200
1,556,400,727.3602
20,960
pythondev
help
being input into a list
2019-04-27T21:32:13.360500
Priscilla
pythondev_help_Priscilla_2019-04-27T21:32:13.360500
1,556,400,733.3605
20,961
pythondev
help
<@Clayton> hit escape ... looks like a regex showing find results lol
2019-04-27T21:32:14.360600
Frankie
pythondev_help_Frankie_2019-04-27T21:32:14.360600
1,556,400,734.3606
20,962
pythondev
help
I want to see that `"b'` is entry `1`
2019-04-27T21:33:13.362000
Rodrick
pythondev_help_Rodrick_2019-04-27T21:33:13.362000
1,556,400,793.362
20,963
pythondev
help
<@Clayton> either change your theme or remove those breakpoints by clicking the white dots in your margin
2019-04-27T21:33:18.362200
Priscilla
pythondev_help_Priscilla_2019-04-27T21:33:18.362200
1,556,400,798.3622
20,964
pythondev
help
<@Rodrick> `index`
2019-04-27T21:33:56.362700
Hiroko
pythondev_help_Hiroko_2019-04-27T21:33:56.362700
1,556,400,836.3627
20,965
pythondev
help
would it be `string index list`
2019-04-27T21:34:18.363600
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:18.363600
1,556,400,858.3636
20,966
pythondev
help
<@Rodrick> ``` &gt;&gt;&gt; mylist = ['a', 'b', 'c'] &gt;&gt;&gt; mylist.index('b') 1 &gt;&gt;&gt; ```
2019-04-27T21:34:22.363800
Frankie
pythondev_help_Frankie_2019-04-27T21:34:22.363800
1,556,400,862.3638
20,967
pythondev
help
or switch them
2019-04-27T21:34:23.363900
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:23.363900
1,556,400,863.3639
20,968
pythondev
help
nvm
2019-04-27T21:34:26.364100
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:26.364100
1,556,400,866.3641
20,969
pythondev
help
Ok thanks
2019-04-27T21:34:35.364400
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:35.364400
1,556,400,875.3644
20,970
pythondev
help
btw, don't use `list` as a list name
2019-04-27T21:34:41.364600
Frankie
pythondev_help_Frankie_2019-04-27T21:34:41.364600
1,556,400,881.3646
20,971
pythondev
help
im not
2019-04-27T21:34:54.365100
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:54.365100
1,556,400,894.3651
20,972
pythondev
help
just as an example
2019-04-27T21:34:59.365300
Rodrick
pythondev_help_Rodrick_2019-04-27T21:34:59.365300
1,556,400,899.3653
20,973
pythondev
help
just making sure :slightly_smiling_face:
2019-04-27T21:35:06.365600
Frankie
pythondev_help_Frankie_2019-04-27T21:35:06.365600
1,556,400,906.3656
20,974
pythondev
help
thanks
2019-04-27T21:35:10.365800
Rodrick
pythondev_help_Rodrick_2019-04-27T21:35:10.365800
1,556,400,910.3658
20,975
pythondev
help
what does `pass` do in python
2019-04-27T21:46:49.367200
Rodrick
pythondev_help_Rodrick_2019-04-27T21:46:49.367200
1,556,401,609.3672
20,976
pythondev
help
it does nothing :slightly_smiling_face:
2019-04-27T21:48:24.367500
Frankie
pythondev_help_Frankie_2019-04-27T21:48:24.367500
1,556,401,704.3675
20,977
pythondev
help
explicitly, lol
2019-04-27T21:48:28.367700
Frankie
pythondev_help_Frankie_2019-04-27T21:48:28.367700
1,556,401,708.3677
20,978
pythondev
help
so like if im in an `if` statment
2019-04-27T21:48:44.368200
Rodrick
pythondev_help_Rodrick_2019-04-27T21:48:44.368200
1,556,401,724.3682
20,979
pythondev
help
and its like
2019-04-27T21:48:58.368800
Rodrick
pythondev_help_Rodrick_2019-04-27T21:48:58.368800
1,556,401,738.3688
20,980
pythondev
help
None
2019-04-27T21:49:11.368900
Rodrick
pythondev_help_Rodrick_2019-04-27T21:49:11.368900
1,556,401,751.3689
20,981
pythondev
help
<https://stackoverflow.com/questions/9483979/is-there-a-difference-between-continue-and-pass-in-a-for-loop-in-python>
2019-04-27T21:49:13.369400
Hiroko
pythondev_help_Hiroko_2019-04-27T21:49:13.369400
1,556,401,753.3694
20,982
pythondev
help
like that
2019-04-27T21:49:17.369600
Rodrick
pythondev_help_Rodrick_2019-04-27T21:49:17.369600
1,556,401,757.3696
20,983
pythondev
help
oh thanks jason
2019-04-27T21:49:24.369900
Rodrick
pythondev_help_Rodrick_2019-04-27T21:49:24.369900
1,556,401,764.3699
20,984
pythondev
help
that basically says "always do nothing"
2019-04-27T21:49:29.370100
Frankie
pythondev_help_Frankie_2019-04-27T21:49:29.370100
1,556,401,769.3701
20,985
pythondev
help
i see
2019-04-27T21:49:45.370600
Rodrick
pythondev_help_Rodrick_2019-04-27T21:49:45.370600
1,556,401,785.3706
20,986
pythondev
help
usually `pass` is used if you just want to create a thing but don't know what you want it to do yet.
2019-04-27T21:50:06.372000
Frankie
pythondev_help_Frankie_2019-04-27T21:50:06.372000
1,556,401,806.372
20,987
pythondev
help
The way I've heard it, `pass` is a blank line for places where a blank line isn't syntactically allowed.
2019-04-27T21:50:08.372200
Sasha
pythondev_help_Sasha_2019-04-27T21:50:08.372200
1,556,401,808.3722
20,988
pythondev
help
one thing its handy for is if you’re making a parent class with method implementations that will come from the subclasses
2019-04-27T21:50:17.372500
Hiroko
pythondev_help_Hiroko_2019-04-27T21:50:17.372500
1,556,401,817.3725
20,989
pythondev
help
e.g. ``` def some_function(): # todo: write this function later pass ```
2019-04-27T21:50:33.373200
Frankie
pythondev_help_Frankie_2019-04-27T21:50:33.373200
1,556,401,833.3732
20,990
pythondev
help
so you have a choice of using `pass` or raising `NotImplementedError`
2019-04-27T21:50:33.373300
Hiroko
pythondev_help_Hiroko_2019-04-27T21:50:33.373300
1,556,401,833.3733
20,991
pythondev
help
is there a way to like stylize a command line program? it would be nice to return a serial number like in real time down a list like:
2019-04-27T21:50:59.373500
Priscilla
pythondev_help_Priscilla_2019-04-27T21:50:59.373500
1,556,401,859.3735
20,992
pythondev
help
and every scan it pops up an new one
2019-04-27T21:51:25.374100
Priscilla
pythondev_help_Priscilla_2019-04-27T21:51:25.374100
1,556,401,885.3741
20,993
pythondev
help
you could use escape characters like `\n` and `\t`
2019-04-27T21:51:41.374700
Frankie
pythondev_help_Frankie_2019-04-27T21:51:41.374700
1,556,401,901.3747
20,994
pythondev
help
to indent/enter new lines in your output
2019-04-27T21:51:49.375100
Frankie
pythondev_help_Frankie_2019-04-27T21:51:49.375100
1,556,401,909.3751
20,995
pythondev
help
also, handling exceptions
2019-04-27T21:52:04.375500
Hiroko
pythondev_help_Hiroko_2019-04-27T21:52:04.375500
1,556,401,924.3755
20,996
pythondev
help
<https://github.com/encode/django-rest-framework/blob/0e10d32fb122619a7977909536b642d09603192a/rest_framework/parsers.py#L196-L214>
2019-04-27T21:52:06.375700
Hiroko
pythondev_help_Hiroko_2019-04-27T21:52:06.375700
1,556,401,926.3757
20,997
pythondev
help
<@Rodrick>
2019-04-27T21:52:11.376200
Hiroko
pythondev_help_Hiroko_2019-04-27T21:52:11.376200
1,556,401,931.3762
20,998
pythondev
help
If you want to go down the rabbit-hole of fancy terminal animation, the `curses` library is also available for that.
2019-04-27T21:53:34.377600
Sasha
pythondev_help_Sasha_2019-04-27T21:53:34.377600
1,556,402,014.3776
20,999
pythondev
help
i dipped my toe once, i really want to but I dont think i have time to figure that out
2019-04-27T21:54:42.378300
Priscilla
pythondev_help_Priscilla_2019-04-27T21:54:42.378300
1,556,402,082.3783
21,000
pythondev
help
i guess I could just make a simple form with tkinter
2019-04-27T21:55:30.379300
Priscilla
pythondev_help_Priscilla_2019-04-27T21:55:30.379300
1,556,402,130.3793
21,001
pythondev
help
for a class in a definition `def myDefinition(parm)`
2019-04-27T21:56:15.380600
Rodrick
pythondev_help_Rodrick_2019-04-27T21:56:15.380600
1,556,402,175.3806
21,002
pythondev
help
until now I was using just colorama for readability but i cant achieve that format with it of course
2019-04-27T21:56:22.381100
Priscilla
pythondev_help_Priscilla_2019-04-27T21:56:22.381100
1,556,402,182.3811
21,003
pythondev
help
do i need a `self` parm
2019-04-27T21:56:31.381400
Rodrick
pythondev_help_Rodrick_2019-04-27T21:56:31.381400
1,556,402,191.3814
21,004
pythondev
help
if im not using it?
2019-04-27T21:56:38.381700
Rodrick
pythondev_help_Rodrick_2019-04-27T21:56:38.381700
1,556,402,198.3817
21,005
pythondev
help
Yes. Python is going to give the `self` parameter to your function whether you want it or not.
2019-04-27T21:57:23.382400
Sasha
pythondev_help_Sasha_2019-04-27T21:57:23.382400
1,556,402,243.3824
21,006
pythondev
help
ok
2019-04-27T21:57:36.382700
Rodrick
pythondev_help_Rodrick_2019-04-27T21:57:36.382700
1,556,402,256.3827
21,007
pythondev
help
(This is only for regular method functions defined inside a class. Bare functions by themselves don't have a `self`.)
2019-04-27T21:58:29.383600
Sasha
pythondev_help_Sasha_2019-04-27T21:58:29.383600
1,556,402,309.3836
21,008
pythondev
help
Ok
2019-04-27T21:59:19.384000
Rodrick
pythondev_help_Rodrick_2019-04-27T21:59:19.384000
1,556,402,359.384
21,009
pythondev
help
Note that if a method doesn't make use of `self`, you may want to consider whether it should be part of the class at all, or perhaps some other type of function.
2019-04-27T22:00:17.384800
Sasha
pythondev_help_Sasha_2019-04-27T22:00:17.384800
1,556,402,417.3848
21,010
pythondev
help
If I already have 'argparse' imported, shouldnt the ipython interpreter see it in my imports ? I am tryting to import a file I uploaded to my Colab VM called 'ArgumetParser.py'
2019-04-27T22:04:50.386900
Clayton
pythondev_help_Clayton_2019-04-27T22:04:50.386900
1,556,402,690.3869
21,011
pythondev
help
The main Python module gets to see stuff defined by its imports, but the imported files don't see things from elsewhere in the main file... if they need something they have to also import it.
2019-04-27T22:08:05.388400
Sasha
pythondev_help_Sasha_2019-04-27T22:08:05.388400
1,556,402,885.3884
21,012
pythondev
help
Whats the syntax for that ?
2019-04-27T22:12:15.388700
Clayton
pythondev_help_Clayton_2019-04-27T22:12:15.388700
1,556,403,135.3887
21,013
pythondev
help
No special syntax, just `import argparse` if you use argparse in your library.
2019-04-27T22:14:35.389200
Sasha
pythondev_help_Sasha_2019-04-27T22:14:35.389200
1,556,403,275.3892
21,014
pythondev
help
I'm beginning to think my csv export to S3 is just not meant to be
2019-04-27T22:36:09.389500
Frankie
pythondev_help_Frankie_2019-04-27T22:36:09.389500
1,556,404,569.3895
21,015
pythondev
help
lol
2019-04-27T22:36:10.389700
Frankie
pythondev_help_Frankie_2019-04-27T22:36:10.389700
1,556,404,570.3897
21,016
pythondev
help
F$%! AWS
2019-04-27T22:36:17.389900
Frankie
pythondev_help_Frankie_2019-04-27T22:36:17.389900
1,556,404,577.3899
21,017
pythondev
help
Lol
2019-04-27T22:38:02.390100
Bethany
pythondev_help_Bethany_2019-04-27T22:38:02.390100
1,556,404,682.3901
21,018
pythondev
help
Did you know that 'S3' stands for 'Simple Storage Solution ? S3 sounds like its some kind of real complex technology
2019-04-27T22:42:08.392200
Clayton
pythondev_help_Clayton_2019-04-27T22:42:08.392200
1,556,404,928.3922
21,019
pythondev
help
hahaha
2019-04-27T22:42:56.392400
Frankie
pythondev_help_Frankie_2019-04-27T22:42:56.392400
1,556,404,976.3924
21,020