It's also a pretty great way to blind yourself to what 'league' you're actually in. A number of my tech friends have wasted an extraordinary amount of time chasing women absurdly out of their league because they've been convinced that "having a decent job", "being well-spoken" and "eating with their mouths closed" somehow puts them in the top 3% of desirable men. Really, no.
Second, go have a life. You know, other activities outside work? Socializing? This is important anyhow. Preferably do activities because you're interested in them and socialize with people you like, not because you're there to "pick up chicks". Nothing is more tiring than dudes relentlessly on the make in every situation.
This isn't guaranteed to work... especially with dire male/female ratios (although not living like a schlub probably evens the odds a bit). And plenty of people are just really unattractive, uncharismatic, whatever. Not sure what to do then.