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
Anyways, will see options
2019-04-19T08:02:21.371300
Nieves
pythondev_help_Nieves_2019-04-19T08:02:21.371300
1,555,660,941.3713
19,421
pythondev
help
requests should do the job
2019-04-19T08:02:26.371600
Nieves
pythondev_help_Nieves_2019-04-19T08:02:26.371600
1,555,660,946.3716
19,422
pythondev
help
<@Alvina> So... <https://www.tutorialspoint.com/python/python_dictionary.htm> &lt;- probs could be modified to fit your needs
2019-04-19T08:02:48.372600
Nieves
pythondev_help_Nieves_2019-04-19T08:02:48.372600
1,555,660,968.3726
19,423
pythondev
help
Nope, PhantomJS development is suspended indefinitely <https://github.com/ariya/phantomjs/issues/15344>
2019-04-19T08:02:52.373100
Ashley
pythondev_help_Ashley_2019-04-19T08:02:52.373100
1,555,660,972.3731
19,424
pythondev
help
Doesn't mean hobbyists with no life can improve it
2019-04-19T08:03:04.373800
Nieves
pythondev_help_Nieves_2019-04-19T08:03:04.373800
1,555,660,984.3738
19,425
pythondev
help
xD
2019-04-19T08:03:08.374100
Nieves
pythondev_help_Nieves_2019-04-19T08:03:08.374100
1,555,660,988.3741
19,426
pythondev
help
you can still push buttons and all of that stuff? I know i am navigating through pages and people have some weird date selection popups which threw me off when I tried bs4 or whatever (this is years ago)
2019-04-19T08:03:14.374300
Alvina
pythondev_help_Alvina_2019-04-19T08:03:14.374300
1,555,660,994.3743
19,427
pythondev
help
Very true
2019-04-19T08:03:17.374500
Ashley
pythondev_help_Ashley_2019-04-19T08:03:17.374500
1,555,660,997.3745
19,428
pythondev
help
However, it may not be worth it, since chromium is open source and now has a headless mode
2019-04-19T08:03:37.375500
Ashley
pythondev_help_Ashley_2019-04-19T08:03:37.375500
1,555,661,017.3755
19,429
pythondev
help
I have been going through some very bad Perl code for a tool and well... been thinking of modifying it and make it more modern.
2019-04-19T08:03:44.375800
Nieves
pythondev_help_Nieves_2019-04-19T08:03:44.375800
1,555,661,024.3758
19,430
pythondev
help
but whatever... time to get going
2019-04-19T08:03:58.376400
Nieves
pythondev_help_Nieves_2019-04-19T08:03:58.376400
1,555,661,038.3764
19,431
pythondev
help
Let's see how many swear words I say over python
2019-04-19T08:04:07.376700
Nieves
pythondev_help_Nieves_2019-04-19T08:04:07.376700
1,555,661,047.3767
19,432
pythondev
help
<@Alvina> with bs4, you can't really click buttons. It's just an XML parser that was designed with HTML in mind and there's no JS engine involved, but IIRC it knows how to emulate certain behavior should you want to click certain buttons. It's pretty simple to do though if you know how HTML forms work (it boils down to a web request to the server at the designated endpoint with the values from the form in a certain format)
2019-04-19T08:07:10.380800
Ashley
pythondev_help_Ashley_2019-04-19T08:07:10.380800
1,555,661,230.3808
19,433
pythondev
help
buttons are in html
2019-04-19T08:07:28.381200
Nieves
pythondev_help_Nieves_2019-04-19T08:07:28.381200
1,555,661,248.3812
19,434
pythondev
help
Or forms... which is still html
2019-04-19T08:07:41.381700
Nieves
pythondev_help_Nieves_2019-04-19T08:07:41.381700
1,555,661,261.3817
19,435
pythondev
help
Yeah, but bs4 can't "click" them
2019-04-19T08:07:46.381900
Ashley
pythondev_help_Ashley_2019-04-19T08:07:46.381900
1,555,661,266.3819
19,436
pythondev
help
As in there's no click event
2019-04-19T08:07:52.382200
Ashley
pythondev_help_Ashley_2019-04-19T08:07:52.382200
1,555,661,272.3822
19,437
pythondev
help
not really click them
2019-04-19T08:07:57.382500
Nieves
pythondev_help_Nieves_2019-04-19T08:07:57.382500
1,555,661,277.3825
19,438
pythondev
help
xD
2019-04-19T08:08:00.382900
Nieves
pythondev_help_Nieves_2019-04-19T08:08:00.382900
1,555,661,280.3829
19,439
pythondev
help
selenium was a bit easier to wrap my head around because it was literally the steps I would do manually
2019-04-19T08:08:33.384800
Alvina
pythondev_help_Alvina_2019-04-19T08:08:33.384800
1,555,661,313.3848
19,440
pythondev
help
I can't remember exactly how buttons work, but don't they have a link coded into them?
2019-04-19T08:08:34.385000
Nieves
pythondev_help_Nieves_2019-04-19T08:08:34.385000
1,555,661,314.385
19,441
pythondev
help
But it can try to look at what sort of requests that would send to the server if it's a standard form and no JS trickery is going on, and it might be able to send a request like it
2019-04-19T08:08:41.385500
Ashley
pythondev_help_Ashley_2019-04-19T08:08:41.385500
1,555,661,321.3855
19,442
pythondev
help
Not exactly
2019-04-19T08:08:50.385900
Ashley
pythondev_help_Ashley_2019-04-19T08:08:50.385900
1,555,661,330.3859
19,443
pythondev
help
even headless was easy to set up with some intermediate screenshots and trial and error
2019-04-19T08:08:52.386100
Alvina
pythondev_help_Alvina_2019-04-19T08:08:52.386100
1,555,661,332.3861
19,444
pythondev
help
JS can be blocked?
2019-04-19T08:08:52.386200
Nieves
pythondev_help_Nieves_2019-04-19T08:08:52.386200
1,555,661,332.3862
19,445
pythondev
help
I know on FF... you can disable JS
2019-04-19T08:09:10.387200
Nieves
pythondev_help_Nieves_2019-04-19T08:09:10.387200
1,555,661,350.3872
19,446
pythondev
help
and others
2019-04-19T08:09:13.387700
Nieves
pythondev_help_Nieves_2019-04-19T08:09:13.387700
1,555,661,353.3877
19,447
pythondev
help
yeah, some of our sites are custom company made ones with a ton of javascript and mess
2019-04-19T08:09:18.388300
Alvina
pythondev_help_Alvina_2019-04-19T08:09:18.388300
1,555,661,358.3883
19,448
pythondev
help
Not a web-dev
2019-04-19T08:09:22.388600
Nieves
pythondev_help_Nieves_2019-04-19T08:09:22.388600
1,555,661,362.3886
19,449
pythondev
help
lol
2019-04-19T08:09:23.388900
Nieves
pythondev_help_Nieves_2019-04-19T08:09:23.388900
1,555,661,363.3889
19,450
pythondev
help
so I am not pulling data from standard nice websites, most of the time
2019-04-19T08:09:33.389500
Alvina
pythondev_help_Alvina_2019-04-19T08:09:33.389500
1,555,661,373.3895
19,451
pythondev
help
<@Alvina> tell them to fix their code
2019-04-19T08:09:33.389600
Nieves
pythondev_help_Nieves_2019-04-19T08:09:33.389600
1,555,661,373.3896
19,452
pythondev
help
or markup language
2019-04-19T08:09:38.389900
Nieves
pythondev_help_Nieves_2019-04-19T08:09:38.389900
1,555,661,378.3899
19,453
pythondev
help
If they're not part of a form, then bs4 can't do anything with them because that would require the ability to run JS to trigger the resulting behavior
2019-04-19T08:09:47.390600
Ashley
pythondev_help_Ashley_2019-04-19T08:09:47.390600
1,555,661,387.3906
19,454
pythondev
help
Ight...
2019-04-19T08:09:52.391200
Nieves
pythondev_help_Nieves_2019-04-19T08:09:52.391200
1,555,661,392.3912
19,455
pythondev
help
haha - if these people are still with the company and if anyone actually has any idea what is going on, I would be amazed
2019-04-19T08:09:55.391600
Alvina
pythondev_help_Alvina_2019-04-19T08:09:55.391600
1,555,661,395.3916
19,456
pythondev
help
Most in CS (no offense) are just bad at it
2019-04-19T08:10:10.392600
Nieves
pythondev_help_Nieves_2019-04-19T08:10:10.392600
1,555,661,410.3926
19,457
pythondev
help
we have 7 different versions of our attendance website across the globe, each geo is different
2019-04-19T08:10:11.392800
Alvina
pythondev_help_Alvina_2019-04-19T08:10:11.392800
1,555,661,411.3928
19,458
pythondev
help
CS requires a certain wired brain
2019-04-19T08:10:16.393000
Nieves
pythondev_help_Nieves_2019-04-19T08:10:16.393000
1,555,661,416.393
19,459
pythondev
help
If they're part of a form, they'd usually have a type like `submit`, which would then have the form submit to the server
2019-04-19T08:10:23.393300
Ashley
pythondev_help_Ashley_2019-04-19T08:10:23.393300
1,555,661,423.3933
19,460
pythondev
help
Yeah... that is what I was trying to say
2019-04-19T08:10:30.393700
Nieves
pythondev_help_Nieves_2019-04-19T08:10:30.393700
1,555,661,430.3937
19,461
pythondev
help
The form is what has the link and request method knowledge
2019-04-19T08:10:35.394100
Ashley
pythondev_help_Ashley_2019-04-19T08:10:35.394100
1,555,661,435.3941
19,462
pythondev
help
pretty much, you can fill the form out... send a post request and than see what response is returned...
2019-04-19T08:10:48.394500
Nieves
pythondev_help_Nieves_2019-04-19T08:10:48.394500
1,555,661,448.3945
19,463
pythondev
help
Success is 200
2019-04-19T08:10:53.394900
Nieves
pythondev_help_Nieves_2019-04-19T08:10:53.394900
1,555,661,453.3949
19,464
pythondev
help
Yep
2019-04-19T08:10:59.395100
Ashley
pythondev_help_Ashley_2019-04-19T08:10:59.395100
1,555,661,459.3951
19,465
pythondev
help
Yeah... remember messing around with Burp and cURL
2019-04-19T08:11:09.395400
Nieves
pythondev_help_Nieves_2019-04-19T08:11:09.395400
1,555,661,469.3954
19,466
pythondev
help
Also, <@Alvina> that's exactly what selenium/WebDriver is meant for; emulating user interactions
2019-04-19T08:12:33.396200
Ashley
pythondev_help_Ashley_2019-04-19T08:12:33.396200
1,555,661,553.3962
19,467
pythondev
help
Sigh... already issues in Pycharm
2019-04-19T08:12:39.396400
Nieves
pythondev_help_Nieves_2019-04-19T08:12:39.396400
1,555,661,559.3964
19,468
pythondev
help
Vs code has a good python plugin. Very customizable
2019-04-19T08:13:11.397300
Ashley
pythondev_help_Ashley_2019-04-19T08:13:11.397300
1,555,661,591.3973
19,469
pythondev
help
Don't mention VS to me... just saying...
2019-04-19T08:13:38.397600
Nieves
pythondev_help_Nieves_2019-04-19T08:13:38.397600
1,555,661,618.3976
19,470
pythondev
help
I run Linux
2019-04-19T08:13:43.397800
Nieves
pythondev_help_Nieves_2019-04-19T08:13:43.397800
1,555,661,623.3978
19,471
pythondev
help
So yeah...
2019-04-19T08:13:45.398000
Nieves
pythondev_help_Nieves_2019-04-19T08:13:45.398000
1,555,661,625.398
19,472
pythondev
help
VSC++ isn't bad though
2019-04-19T08:13:52.398300
Nieves
pythondev_help_Nieves_2019-04-19T08:13:52.398300
1,555,661,632.3983
19,473
pythondev
help
Once you figure out WinAPI and WinINet
2019-04-19T08:14:01.398700
Nieves
pythondev_help_Nieves_2019-04-19T08:14:01.398700
1,555,661,641.3987
19,474
pythondev
help
Vscode runs great on Linux. MS actually just created an official snap package for it
2019-04-19T08:14:35.399600
Ashley
pythondev_help_Ashley_2019-04-19T08:14:35.399600
1,555,661,675.3996
19,475
pythondev
help
I know
2019-04-19T08:14:41.399800
Nieves
pythondev_help_Nieves_2019-04-19T08:14:41.399800
1,555,661,681.3998
19,476
pythondev
help
I just don't like MS that much
2019-04-19T08:14:45.400000
Nieves
pythondev_help_Nieves_2019-04-19T08:14:45.400000
1,555,661,685.4
19,477
pythondev
help
They are doing better
2019-04-19T08:14:48.400200
Nieves
pythondev_help_Nieves_2019-04-19T08:14:48.400200
1,555,661,688.4002
19,478
pythondev
help
Probs should move this conversation to random so the admins don't complain
2019-04-19T08:15:05.401000
Nieves
pythondev_help_Nieves_2019-04-19T08:15:05.401000
1,555,661,705.401
19,479
pythondev
help
They're really kissing ass to the Linux/Dev commuting lately
2019-04-19T08:15:06.401100
Ashley
pythondev_help_Ashley_2019-04-19T08:15:06.401100
1,555,661,706.4011
19,480
pythondev
help
Oh they are cuz Linux is the future
2019-04-19T08:15:15.401400
Nieves
pythondev_help_Nieves_2019-04-19T08:15:15.401400
1,555,661,715.4014
19,481
pythondev
help
They will need to adapt or go bankrupt
2019-04-19T08:15:27.401700
Nieves
pythondev_help_Nieves_2019-04-19T08:15:27.401700
1,555,661,727.4017
19,482
pythondev
help
Yeah, let's take it to random
2019-04-19T08:15:37.402000
Ashley
pythondev_help_Ashley_2019-04-19T08:15:37.402000
1,555,661,737.402
19,483
pythondev
help
`__kwdefaults__` is `A dict containing defaults for keyword-only parameters.` <https://www.python.org/dev/peps/pep-3102/>
2019-04-19T09:02:33.403000
Susan
pythondev_help_Susan_2019-04-19T09:02:33.403000
1,555,664,553.403
19,484
pythondev
help
Just took a peek at dogpile and the data it returns via burp... strange... it uses multiple different apis from like bing and such.
2019-04-19T09:05:03.404100
Nieves
pythondev_help_Nieves_2019-04-19T09:05:03.404100
1,555,664,703.4041
19,485
pythondev
help
I've gotta do some vetting for API testing frameworks. My initial thought is to just go with selenium and mock data, anyone have any other suggestions?
2019-04-19T09:11:08.405900
Claudine
pythondev_help_Claudine_2019-04-19T09:11:08.405900
1,555,665,068.4059
19,486
pythondev
help
<@Claudine> what do you mean by api testing?
2019-04-19T09:16:08.406400
Hiroko
pythondev_help_Hiroko_2019-04-19T09:16:08.406400
1,555,665,368.4064
19,487
pythondev
help
Load testing?
2019-04-19T09:16:21.406800
Hiroko
pythondev_help_Hiroko_2019-04-19T09:16:21.406800
1,555,665,381.4068
19,488
pythondev
help
REST JSON?
2019-04-19T09:16:35.407500
Nieves
pythondev_help_Nieves_2019-04-19T09:16:35.407500
1,555,665,395.4075
19,489
pythondev
help
oh no like automatic unit testing and stuff
2019-04-19T09:16:37.407700
Claudine
pythondev_help_Claudine_2019-04-19T09:16:37.407700
1,555,665,397.4077
19,490
pythondev
help
E2e external tests?
2019-04-19T09:16:38.408000
Hiroko
pythondev_help_Hiroko_2019-04-19T09:16:38.408000
1,555,665,398.408
19,491
pythondev
help
to make sure it's working
2019-04-19T09:16:43.408200
Claudine
pythondev_help_Claudine_2019-04-19T09:16:43.408200
1,555,665,403.4082
19,492
pythondev
help
Why selenium?
2019-04-19T09:16:43.408300
Nieves
pythondev_help_Nieves_2019-04-19T09:16:43.408300
1,555,665,403.4083
19,493
pythondev
help
im familiar with it, it can hit endpoints
2019-04-19T09:17:01.408800
Claudine
pythondev_help_Claudine_2019-04-19T09:17:01.408800
1,555,665,421.4088
19,494
pythondev
help
coupled with a DB connection we can validate the data it creates on POST/PUTs
2019-04-19T09:17:23.409500
Claudine
pythondev_help_Claudine_2019-04-19T09:17:23.409500
1,555,665,443.4095
19,495
pythondev
help
So integration tests
2019-04-19T09:18:20.410700
Hiroko
pythondev_help_Hiroko_2019-04-19T09:18:20.410700
1,555,665,500.4107
19,496
pythondev
help
yea
2019-04-19T09:18:24.411000
Claudine
pythondev_help_Claudine_2019-04-19T09:18:24.411000
1,555,665,504.411
19,497
pythondev
help
Is selenium the only lib/module that you understand?
2019-04-19T09:18:26.411100
Nieves
pythondev_help_Nieves_2019-04-19T09:18:26.411100
1,555,665,506.4111
19,498
pythondev
help
There are prolly other libs that can be imported that do a more efficient job
2019-04-19T09:18:39.411700
Nieves
pythondev_help_Nieves_2019-04-19T09:18:39.411700
1,555,665,519.4117
19,499
pythondev
help
i can pick up anything fairly easy, i believe
2019-04-19T09:18:44.412100
Claudine
pythondev_help_Claudine_2019-04-19T09:18:44.412100
1,555,665,524.4121
19,500
pythondev
help
If this is an api, it's returning json or xml, right?
2019-04-19T09:18:53.412600
Hiroko
pythondev_help_Hiroko_2019-04-19T09:18:53.412600
1,555,665,533.4126
19,501
pythondev
help
Probs a REST JSON API
2019-04-19T09:19:05.413300
Nieves
pythondev_help_Nieves_2019-04-19T09:19:05.413300
1,555,665,545.4133
19,502
pythondev
help
yes, 99% json with 1 endpoint that returns XML
2019-04-19T09:19:08.413500
Claudine
pythondev_help_Claudine_2019-04-19T09:19:08.413500
1,555,665,548.4135
19,503
pythondev
help
Why not just use requests and hit the endpoints and compare with what you expect?
2019-04-19T09:19:23.414000
Hiroko
pythondev_help_Hiroko_2019-04-19T09:19:23.414000
1,555,665,563.414
19,504
pythondev
help
Was thinking that as well <@Hiroko>
2019-04-19T09:19:44.414800
Nieves
pythondev_help_Nieves_2019-04-19T09:19:44.414800
1,555,665,584.4148
19,505
pythondev
help
Like, selenium is fine for certain things
2019-04-19T09:19:54.415100
Nieves
pythondev_help_Nieves_2019-04-19T09:19:54.415100
1,555,665,594.4151
19,506
pythondev
help
But is bloated a bit
2019-04-19T09:19:58.415300
Nieves
pythondev_help_Nieves_2019-04-19T09:19:58.415300
1,555,665,598.4153
19,507
pythondev
help
Most likely all you have to do is check the results that is returned so selenium is a bit much?
2019-04-19T09:20:14.416100
Nieves
pythondev_help_Nieves_2019-04-19T09:20:14.416100
1,555,665,614.4161
19,508
pythondev
help
¯\_(ツ)_/¯
2019-04-19T09:20:19.416200
Nieves
pythondev_help_Nieves_2019-04-19T09:20:19.416200
1,555,665,619.4162
19,509
pythondev
help
agreed selenium is not as fast as requests for this situation. there is a possibility that this API will be extended far past the current use case in future
2019-04-19T09:20:32.417000
Claudine
pythondev_help_Claudine_2019-04-19T09:20:32.417000
1,555,665,632.417
19,510
pythondev
help
Selenium is good when you need to interact with a browser without needing a display
2019-04-19T09:20:42.417600
Hiroko
pythondev_help_Hiroko_2019-04-19T09:20:42.417600
1,555,665,642.4176
19,511
pythondev
help
so i as thinking a selenium based test suite would be extensible in that case
2019-04-19T09:20:45.417800
Claudine
pythondev_help_Claudine_2019-04-19T09:20:45.417800
1,555,665,645.4178
19,512
pythondev
help
And sloooow
2019-04-19T09:20:51.418200
Hiroko
pythondev_help_Hiroko_2019-04-19T09:20:51.418200
1,555,665,651.4182
19,513
pythondev
help
very slow
2019-04-19T09:20:55.418400
Claudine
pythondev_help_Claudine_2019-04-19T09:20:55.418400
1,555,665,655.4184
19,514
pythondev
help
Yeah... so selenium is a bad idea for the future if it might get bigger (?)
2019-04-19T09:20:55.418500
Nieves
pythondev_help_Nieves_2019-04-19T09:20:55.418500
1,555,665,655.4185
19,515
pythondev
help
:/
2019-04-19T09:21:05.419000
Nieves
pythondev_help_Nieves_2019-04-19T09:21:05.419000
1,555,665,665.419
19,516
pythondev
help
In a business and such... faster is better
2019-04-19T09:21:16.419800
Nieves
pythondev_help_Nieves_2019-04-19T09:21:16.419800
1,555,665,676.4198
19,517
pythondev
help
Why not stick to current api responses?
2019-04-19T09:21:21.420200
Hiroko
pythondev_help_Hiroko_2019-04-19T09:21:21.420200
1,555,665,681.4202
19,518
pythondev
help
well i might need to do some DOM/browser stuff in the future, suppose i could always use beautifulSoup for that
2019-04-19T09:21:29.420700
Claudine
pythondev_help_Claudine_2019-04-19T09:21:29.420700
1,555,665,689.4207
19,519
pythondev
help
What's 'future' mean here in your timeline?
2019-04-19T09:22:04.421700
Hiroko
pythondev_help_Hiroko_2019-04-19T09:22:04.421700
1,555,665,724.4217
19,520