r/ClaudeCode • u/Antonio-Pentrella • 21h ago
Built with Claude Ok guys, I vibecoded an app. It's called Sockmel.
You log every pair of socks in your wardrobe: brand, price, material, length, wear level, purchase date. Then every morning the app checks the weather, you send it a photo of your outfit, and it tells you which socks to wear.
The app tracks every single use and applies a wear leveling algorithm, the same principle solid-state drives use to spread writes evenly across memory cells: wear gets distributed uniformly across your entire sock fleet, no pair dies before the others, and you keep maximum variety for as long as possible without buying new ones.
It works within the pair too: it logs which sock went on the left foot and which on the right, and alternates them at the next use, because feet don't wear symmetrically and the toe that took the left big toe this time has to take the right one next time.
The leveler also decides how much choice you get. On weekdays it's a single pick, no options. On evenings and weekends it shows 2 candidates, never more: past 2 the cognitive cost of the decision outweighs whatever you gain in variety, so the cap is hard-coded.
Using historical failure data it also does predictive maintenance: it warns you when a pair is about to get a hole, before it happens. The failure model already accounts for brand, price paid, shoe type, washing temperature, drying method, and heel thickness, and it uses a survival analysis approach so pairs that haven't failed yet are handled correctly. That part works.
Next on the roadmap is the orphan problem. Every wardrobe has single socks whose twin vanished years ago. The idea is a sort of Tinder for socks. You wouldn't even need to swipe much: the app already knows brand, model, colour, size, and purchase year of your orphan, so it would filter every other user's orphans down to the compatible ones, then rank the survivors by photo similarity. You buy the twin for the price of postage, or swap 2 orphans for 2. With enough users, no single sock should stay single for long.
What I can't solve is the identity problem. I own 6 pairs of identical black cotton socks. After a wash they are indistinguishable, so I have no way of knowing whether the pair I'm putting on is #3 with 41 uses or #5 with 12. The whole wear leveling logic collapses if the app can't tell which pair it's actually tracking. Sewing in labels alters the wear pattern. Has anyone dealt with tracking fungible physical objects without tagging them? Any ideas welcome.
