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 12 of 39

ta12431 reply#
Your MP

    Name: Mike Wood
    Party: Conservative
    Constituency: Stafford
Err, Stafford has been Labour since the last election, and before that it was a Conservative, but it was Theodora Clarke. Mike Wood is MP for Kingswinford and South Staffordshire.

Surely the way you build something like this is a postcode -> constituency table (I assume available free), a constituency -> mp table, and mp -> image generation (with caching or generate multiple versions)
Even if the lookup data mis-selected the constituency (I think some postcodes can straddle constituencies), surely the Constituency/Name/Party would be consistent.
I'm guessing you're using chat-gpt for the entire program?