argh

the site I have to automate the API of has a nice python wrapper and the one function I need is marked "WIP sorry"

last modified in 2022

I figured I could easily fix the problem in the one function I needed

I think I've now found a bug in python's standard library

oh it might be fixed in 3.15.0a6, which hasn't been released yet
oh god there's a stackoverflow question mentioning this bug from 2015

the biggest hurdle I face with programming is that I often only have like, an hour or two worth of energy to work on it a day

and I can easily use that all up on bullshit

like today I wanted to write a script that recurses through some folders, finds files matching a regex, and upload them to a local service. easy! I can imagine the whole script in my head even before my fingers touch the keyboard

but the API wrapper is out of date so I'll have to modify that oh and it doesn't support local servers so I'll need to implement that and wait requests/urllib3/certifi/python's ssl module/python's _ssl module has a bug and can't parse my cert.

I can hack around that, who cares. oh I need to supply a client certificate? no problem, that's in my OS's certificate store, I'll just export that... okay it's marked as non-exportable. so I have to hack it out

I HAVEN'T EVEN WRITTEN MORE THAN "LOGIN TO SERVER" IN MY SCRIPT YET ;_;

although it is always amusing when my computer says "sorry I can't let you do that"

I think you're forgetting that
1. I'm a hacker
2. I OWN YOU

oh sweet laser jesus, I FINALLY have the broken client library at least TALKING to the server

this saga started 5 hours ago and I have only now managed to make a successful request to log in.

imagine how much harder it's going to be to actually do anything with this shit

oh god

remember kids, when implementing a library that talks to a webserver, make sure to hardcode that URL in the source 27 times, just to make sure no one can easily use it against a local instance

I have run out of quota

on my own site

the fuck?

(this software is expecting to be used on a public site with thousands of users, so when it's just me and my robots, it's making some terrible design choices)

@foone

they pin their certificate right?

@gloriouscow they don't even properly encode their URL parameters. if your login name has a single quote in it, it will completely break
@foone couldn't you just run a sed over the whole codebase :P
@foone maybe that's just their optimizing compiler saving a pointer.
@foone time to lie in response to its DNS requests and redirect it that way instead?
@foone what is this algebraic nonsense. i studyed english

@foone

middle-aged hacker: "I could fuck you up, computer, but you're lucky I don't have the motivation right now."

@foone 3. I CAN JUST UNPLUG IT
@foone
-Open the pod bay doors, HAL.
-I'm sorry, Alice. I'm afraid I can't do that.
@foone "illegal operation"? I'LL SHOW YOU AN ILLEGAL OPERATION

@foone

Is this cleaning up other people's messes? Because now it is in your program and feels like your mess? Or is is more like adaptation?

@foone I feel a whole lot better knowing I'm not the only one dealing with this. 😭 I'm not a programmer, but definitely have the same issue.
@foone was it opened by you?
@foone only 10 years. sure they will get around to it.
@foone howitstarted_howitsgoing.jpg

@foone

...and so it begins...

Let's find out just how deep this rabbit hole goes...