the behavior is already implemented in the browser already
radams_school-sl
What are the 13 reasons why?
titusfortner-sl
People
humanBird
otherwise the user would be seeing things they shouldn't like elements on the background desktop window, seeing occluded elements through z index etc
AutomatedTester
humanBird: watch that youtube video
radams_school-sl
oh, clearly needed to read more of the conversation
pa joined the channel
AutomatedTester
titusfortner-sl: I enjoyed the Expanse, my wife hated it
pa joined the channel
titusfortner-sl
Books are great
AutomatedTester
its from books?
humanBird
is there a transcript from that video?
titusfortner-sl
Yeah there are six or seven
The series of books is nominated for a Hugo award
This year
jimpurbrick joined the channel
Levitation wakes is the first one
AutomatedTester
humanBird: tl;dr; browsers have no fucking idea what they are painting to the screen
humanBird
does the operating system though.
AutomatedTester
no
lucast-sl
It's a TV show. Some think its dark but I'm enjoying it so far
theresajayne_ joined the channel
mikesalvia joined the channel
titusfortner-sl
I enjoyed 13 reasons
humanBird
guess it's almost time for selenium to absorb sikuli or opencv
theresajayne has quit
juangj
the OS knows what's rendered but doesn't know anything about the DOM
also, put "knows" in quotation marks
theresajayne_ is now known as theresajayne
AutomatedTester
it has a display list
it doesnt optimise the display list
it kinda hopes the GPU/CPU is fast enough to just do everything
Zerot joined the channel
humanBird
if browsers are doing the box model.... is it hard to find that box heh?
in some debug tools i can see the red highlights around the elements
Mixologic joined the channel
at this point it's elementary collision detection
juangj
oh! you're right this problem is extremely simple
cutecycle has quit
phendryx has quit
phendryx joined the channel
m13d_ has quit
sorry, that was a little unnecessary
(but at least it wasn't ad hominem!)
humanBird
heh. maybe whatever webgl spec can help out
this is after all, a somewhat of a graphics problem
jimpurbrick has quit
collision detection isn't hard and it already looks like the browser is capable of drawing bounding boxes... you don't even have to go after pixel perfect matrix projections of shit. it's a box. where are the other boxes.
but yes, somewhere along the way, something was overcomplicated and now we don't have this
juangj
"something was overcomplicated"
it was probably the web
humanBird
would it be hard to port over the functionality where you "right click" -> "inspect" and you see a blue highlight over the element?
juangj
yes
t55e joined the channel
jimboslice-sl
dude-x: I had to do this to get the entire cookie:
for cookie in session.cookies: self.add_cookie(cookie.__dict__)
cutecycle joined the channel
dude-x_
jimboslice-sl: that makes sense; cookies have two required fields
i think requests doesn't show one of the fields like expiry or something
jimboslice-sl
dude-x: oh, I thought the required ones were (name) and (value)
dude-x_
i think requests gives you a cookie object and not a reguar python dict