There's a clear line, and it is when it starts to involve other people. Example: reverse engineering the firmware on your thermostat so you can use it after Google shuts down - technical problem. Not releasing it because you're worried about DMCA and/or Google lawsuits - social problem.