site banner

Tinker Tuesday for November 19, 2024

This thread is for anyone working on personal projects to share their progress, and hold themselves somewhat accountable to a group of peers.

Post your project, your progress from last week, and what you hope to accomplish this week.

If you want to be pinged with a reminder asking about your project, let me know, and I'll harass you each week until you cancel the service

1
Jump in the discussion.

No email address required.

I'm automating Hinge. Android emulator, pyautogui, PIL, GPT-4o. It's almost too easy.

The flow is:

  1. pyautogui: take a screen shot. With a 1:8 aspect ratio on the emulator this gets the whole screen. Earlier versions scrolled and stitched together, which mostly worked, but boy do I feel stupid not thinking of it sooner.
  2. AI: prompt to extract information from the info section (height, job, age, education, etc), an assessment of personality (nerdy, travel loving, high fashion, etc), and a physical description (weight, race, hair color), and an overall assessment of if she's my personality/physical type. (Note: the goal is nerdy but hates travel and isn't high fashion!)
  3. python: ignore literally all of #2 except the job and education. If either matches a whitelist of terms that signal smarts, proceed.
  4. PIL: split the screenshot into sections, using the like buttons.
  5. AI: transcribe (for prompts) or describe (for images) each section (separately) and provide a response. (My favorite part: I have it refer to her as The Candidate, which is how we have to write interview feedback at work.)
  6. AI: given all the transcriptions/responses, pick the best one.
  7. pyautogui: click heart button, type response, send.

Costs me about $0.04 to reject, $0.10 to message. I think I can get that down some. I only ran it for one batch, and it got a match faster than I normally do. Small sample size, but I am optimistic.

As to why #3 is so simple - I initially had a hand written weighted average of all the things, but looking at the actual behavior realized that:

  1. Really all I care is that she's smart and not terribly fat
  2. GPT-4o is not good at telling me if she's fat, so far.

Favorite kerfuffle: it messaged a woman, shown in a photo by a giant 10ft novelty planted pot: "is that enormous, or are you tiny"? It...was certainly not the latter.

This raises some questions for me:

  1. Do I let it do more than the first message? Probably not - it's just the endless swiping/messaging into the void I dislike. Conversion rate match -> date is tolerable.
  2. Could I let it literally do everything up to and including putting a calendar event on my calendar? Probably so - I'd say it'd cut my conversion rate in half.
  3. Do I admit I'm doing this? n=1, but I did, immediately, and it went well for me.

How does it do for opening messages? I remember when I was dating and my lack of creativity really held me back there.

It's plenty good. The prompt basically just says not to be too enthusiastic, and to keep it short. I've been writing down my manual messages to prompt it with as examples, but am not even using that yet.

E.g. the match was responding to a picture of a woman standing in front of a field of sunflowers, captioned "My happy place": "Sunflowers might just be the happiest flower there is. What's your favorite outdoor place to relax?" A little extra, but it shows "I" looked at the picture, makes it about her, is easy to answer/start a conversation with - not bad imo.

If messaging is your bottleneck, you can use basic chat interfaces for response ideas. I would not overestimate how much the specific message matters - I'm pretty sure it's more of a rule-out than a rule-in kind of thing. Just don't be a creep basically.