Lurker News
Hi HN - I made a site that takes a UK postcode, grabs the local MP's information and generates an AI mockup of what their ID might look like.

It's a small, silly protest at the stupidity of the Online Safety Act that just came into force.
edit - My open AI credits got hugged to death, please use a known postcode (like one from Kier Starmer's constituency, WC2B6NH) in the meantime.

Comments (281) 39 threads

Show all comments

Showing thread 26 of 39

Mindwipe2 replies#
Always tells me an MP can't be found despite multiple attempts.
philipwhiuk#
Are you putting in a valid UK postcode?
timje11 reply#
Seems like open AI is rate limiting me for a minute, I didn't expect to get top of HN this quickly. Use Starmer's for now - WC2B6NH
dom961 reply#
Why didn't you just create the images for all 650 MPs ahead of time?
timje12 replies#
Because that's expensive as hell and I didn't know if anyone would visit the site..
dom962 replies#
Really? Does it really cost that much to generate a single image like this?

Continue this thread — 2 replies

epanchin1 reply#
Ideally you would save them as they were generated, and deliver the saved version the second time?
timje1#
Yup, that's what happens. If you request a postcode that leads to an MP that's not been seen before, it starts generating that MP and saves the ongoing promise, and gives that promise to everyone else to asks for that MP.

Had to make sure to implement this so that I didn't end up generating duplicates.