There was a post on HN just today by an anonymous guy for his book 'Hacking Sex' [1]. I actually went ahead and checked it out, since it had a lot of positive comments from women on Amazon. I was intrigued that the author stated that luck with women has nothing to do with genetics, but my surprise/interest diminished when I skipped through the pages and found all sorts of sections on buying clothes and being in good shape. I was really turned off when he gave advice about actually making love, really starting to think this guy is full of himself. I'm a little bit disgusted by his attitude about needing to have sex with as many women as possible, but I also understand how it could be beneficial. I'm sure that his advice does indeed vibe with what women desire, and it would probably do me some good to be open to it (when I have the time/money to do so).
More on my opinion and less on this book (which as I said I have only skimmed for now so can't really judge), I believe in the LAMPS theory: girls tend to be interested in Looks, Athleticism, Money, Power, and Status. I think you can gain a lot of the last 3 just by working hard on improving your own life. That book says you can be yourself and that girls will like you even more for that, but maybe that's just signaling Power/Status, or maybe LAMPS is just not a good theory. Ultimately though, in today's society you really just need to look good/healthy, have a fulfilling well paid occupation, and give the ladies (or other people) exactly what THEY want; you can't be selfish. It's not about YOU becoming less lonely, it's about being interesting to other people.
[1] https://news.ycombinator.com/item?id=9005096