Thank you for your kind comment and help, i appreciate it, most of the comments here and the e-mails i got made me consider somewhere else, when i posted this post i only saw California in my head even though i don't mind going elsewhere at all.
I didn't expect this to be #1 post this is kind of you people, I would love to thank everyone who posted and is posting midway replying to comments with "Thank you" i found out i'd be spamming the comments in here, so this is a huge THANK YOU to everyone who wrote and will write.
So it would be legitimate if the work you are doing is to research business opportunities. Also book every relevant conference and convention in the area that you can go to and attend each, get business cards, develop contact.
As far as you know, you are here researching future opportunities to set up a great business and create jobs in the U.S..
Here's a potential sort of loop hole. Set up a software development business back in your home country (or another country, non US). It doesn't have to be much - maybe a bank account and a couple of your developer friends as would be contractors for it.
Then in the US you can legitimately use your "Business Visitor Visas (B-1) - ... to consult with
business associates, ... or negotiate a
contract"
So you can chat to startups and offer to get stuff written for them by your company abroad. They can legally pay your company and your company can pay you a salary while traveling.
I think all the above is legal. Not really legal but very hard to catch is you could actually write some of the code yourself in your room or a cafe in California if the friends back home don't do it. If immigration get on to you it would be hard to prove you are working rather than just mucking about on the laptop. On the other hand if you are in a work situation in an office then they will assume you are working illegally.
The above has an advantage that if you do well it may actually turn into a real business.
I've tried e-mailing you but it's not working would you please send me an e-mail to life.will.get.better.2016@gmail.com and i will reply? thank you a lot.