I am writing a blog post about why it is bad to use AI.
-
I am writing a blog post about why it is bad to use AI. It is extremely heavily sourced. I have a tedious automation problem formatting my citations. No problem, I think. I will write a computer program. The computer program does not work, because websites are blocking simple computer programs in an effort to block AI. Solution? Simple. Browser comes with AI embedded, browses like a human, has all my cookies. Just ask the AI. It sails through the primitive anti-AI measures easily.
-
I am writing a blog post about why it is bad to use AI. It is extremely heavily sourced. I have a tedious automation problem formatting my citations. No problem, I think. I will write a computer program. The computer program does not work, because websites are blocking simple computer programs in an effort to block AI. Solution? Simple. Browser comes with AI embedded, browses like a human, has all my cookies. Just ask the AI. It sails through the primitive anti-AI measures easily.
(I did not actually do this. But it is an advertised feature of chrome, and I am pretty sure it would "work", as much as any AI-based solution "works".)
-
(I did not actually do this. But it is an advertised feature of chrome, and I am pretty sure it would "work", as much as any AI-based solution "works".)
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
-
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
@glyph ytdlp has some underlying features like this, might be a thing you could import but probably not a public api

-
@glyph ytdlp has some underlying features like this, might be a thing you could import but probably not a public api

@coderanger @glyph yeah! There's a feature where you point it at your browser's state directory (which for Firefox you can find in about:profiles) and it can borrow all of your cookies. I've definitely wanted to figure out how to quickly implement this in scripts in the past... But then my attention span jumps out a window...
-
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
we live in hell but at least PyPI works in hell
-
(I did not actually do this. But it is an advertised feature of chrome, and I am pretty sure it would "work", as much as any AI-based solution "works".)
@glyph@mastodon.social I can confirm this works, I use this at work occasionally to ensure our documentation is complete.
-
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
@glyph we needed to do this for ironic, originally implemented it as selenium but switched to a Firefox extension
-
@glyph we needed to do this for ironic, originally implemented it as selenium but switched to a Firefox extension
-
@jay I need safari specifically and it looks like selenium works well enough
-
we live in hell but at least PyPI works in hell
@glyph heh, my side project this week was the reverse of that - selenium to "run" a page (lots of javascript based partial execution) and click a button (which rewrote part of the page without reloading)... and then extract a URL from that and use requests to cleanly get a Location: header out (basically forcing the service to canonicalize itself for me.)
-
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
@glyph Yeah, halfway through this thread I was going to suggest Selenium so looks like you got it.
-
serious question though, is there a requests (or httpx or treq or whatever) compatible selenium driver so that I can write a simple Python CLI that just says "give me URL please" and Safari does all the HTTP traffic so it can get the request body with all my ridiculous CAPTCHAs and news website logins in it
@glyph instead of Selenium, you may want to check out Playwright. https://pypi.org/project/playwright/
It allows browser automation in a very pythonic way - also headless. It installs its own Chrome/Firefox/Safari and avoids any configuration you done to your browser installs.
-
@glyph instead of Selenium, you may want to check out Playwright. https://pypi.org/project/playwright/
It allows browser automation in a very pythonic way - also headless. It installs its own Chrome/Firefox/Safari and avoids any configuration you done to your browser installs.
-
I am writing a blog post about why it is bad to use AI. It is extremely heavily sourced. I have a tedious automation problem formatting my citations. No problem, I think. I will write a computer program. The computer program does not work, because websites are blocking simple computer programs in an effort to block AI. Solution? Simple. Browser comes with AI embedded, browses like a human, has all my cookies. Just ask the AI. It sails through the primitive anti-AI measures easily.
@glyph When I think about "AI" I often think about how we had cities built to be navigated by people, and then we rebuilt the cities to be more easily navigated by cars, and now people without cars can't navigate the cities because we specifically designed them to require cars
-
I am writing a blog post about why it is bad to use AI. It is extremely heavily sourced. I have a tedious automation problem formatting my citations. No problem, I think. I will write a computer program. The computer program does not work, because websites are blocking simple computer programs in an effort to block AI. Solution? Simple. Browser comes with AI embedded, browses like a human, has all my cookies. Just ask the AI. It sails through the primitive anti-AI measures easily.
@glyph@mastodon.social Rather than writing the browser to accept the AI, write the browser to be controlled from BASH + ZSH. Then we all can use it to our advantage. Not just the UI.
Web browsers are really lame... very old tech with piles of the worst engineering on top the world has ever seen. Worse than Windows 95/98. Worse than MacOS8. Worse than CICS+RACF. Worst product ever constructed.
But if you build the control mechanism for the web you can still redesign the web clients to be something decent. So that's the way I think it should be done... rather than an "AI interface for the web." -
@glyph When I think about "AI" I often think about how we had cities built to be navigated by people, and then we rebuilt the cities to be more easily navigated by cars, and now people without cars can't navigate the cities because we specifically designed them to require cars
-
@glyph When I think about "AI" I often think about how we had cities built to be navigated by people, and then we rebuilt the cities to be more easily navigated by cars, and now people without cars can't navigate the cities because we specifically designed them to require cars
-
@mcc @glyph @mhoye I had that argument with a previous employer over mob programming.
They were trying to make everyone do it, it was burning some of us out.
Their response was “you can just not do it and the rest of the team will do it without you”.
Well, oh Einstein of managers, what do you think is going to happen when all the tools and communication structures the team uses assume mob programming, just like is required to do it properly? It’s not a real option to just not engage. You’ve just forced several of your staff out of a job because it was that or burning them out within weeks, and you’ve managed to paint it as their fault.
Ever since then I’ve been incredibly cynical about any “cultural shifts”. If it’s optional then it’s totally not optional they just don’t want to take the responsibility.
-
@glyph When I think about "AI" I often think about how we had cities built to be navigated by people, and then we rebuilt the cities to be more easily navigated by cars, and now people without cars can't navigate the cities because we specifically designed them to require cars
@mcc @glyph @mhoye I had that argument with a previous employer over mob programming.
They were trying to make everyone do it, it was burning some of us out.
Their response was “you can just not do it and the rest of the team will do it without you”.
Well, oh Einstein of managers, what do you think is going to happen when all the tools and communication structures the team uses assume mob programming, just like is required to do it properly? It’s not a real option to just not engage. You’ve just forced several of your staff out of a job because it was that or burning them out within weeks, and you’ve managed to paint it as their fault.
Ever since then I’ve been incredibly cynical about any “cultural shifts”. If it’s optional then it’s totally not optional they just don’t want to take the responsibility.