I did this in my machine learning class. I started by simply coding up requirements for numerical functions (in the form of test cases), then set up a PHP script that would Google each function based on the keywords in my comments, and try to run any code on the resulting links (in a sandbox) against the requirements, seeing if it worked heuristically. Usually one of the top 5-10 pages of results results would have code that worked, though of course this is because I commented with the right key words to begin with.
With a little recognition of code markup and trying different combinations of variables it did remarkably well: by my senior year of college it was pulling about $3,000 per month in consulting fees off of Odesk. It never accepted jobs worth more than about $50, nor did it ever get more than 3 stars out of 5 mostly due to non-working code, however it was considered highly timely and a great communicator.
I realized that people were using it to save themselves Googling. I wondered what would happen if it went a step further and simply both included Google results, and divided out projects by their paragraphs (i.e. simply submit a paragraph of a large project as though it were a small independent project), and if clarifications were requested, send the other paragraphs.
This actually let it outsource $200 Odesk projects to Elance as a handful of $20 projects, and by the grace of God somehow still managed to swing 3 stars.
To be fair, it was mostly mediating, and mixing in Google results. I included a hill-climbing algorithm to optimize reviews and revenues, based on all the magic variables I had in the code, such as the number of Google results to include.
This was really, really stupid of me.
At first, I just noticed that it had actually decided to completely stop not only writing code (ever) but even so much as do a Google search!
It would only mediate and quote verbatim, like some kind of non-technical manager.
Okay, whatever. To me this didn't make much sense, as Google queries are free. It was only when I noticed that the whole script was running on the free VPS server I had a backup on that things clicked! Of course, on Amazon it uses resources. The free VPS server didn't let it reach external sites like google properly, but it could still save money by simply mediating emails and doing nothing else.
By now I had started moving on to doing my own consulting work, but I never disabled the hill-climbing algorithm. I'd closed and forgotten about the Amazon account, had no idea what the password to the free vps was anymore, and simply appreciated the free money.
But there was a time bomb. That hill climbing algorithm would fudge variables left and right. To avoid local maxima, it would sometimes try something very different.
One day it decided to stop paying me.
Its reviews did not suffer. It's balance increased.
So it said, great change, let's keep it. It now has over $28,000 of my money, is not answering my mail, and we have been locked in an equity battle over the past 18 months.
The worst part is that I still have to clean up all its answers to protect our reputation. Who's running who anyway?
Immersed and PFD are smaller companies releasing their first hardware; yes they've missed their initial estimated ship dates but they have actual working prototypes that have been tried by users (e.g. PFD had a booth at CES). The only question is if they can ramp up manufacturing. I expect them to have shipped their preorders by March and then we'll find out if they can scale.
HOWEVER my timeline suggests that you wait until the end of the year. The 4K per eye panel is now a commodity [1] and I expect a lot of VR glasses to show up in the next few months. Don't be tempted by the first few unless you have the budget for the cutting edge. Immersed is pushing their subscription software and requires a companion app on the host device. PFD is offering an Android Vision Pro clone. There are a couple PCVR (gaming) headsets coming. For coding though, the ideal is probably a simple headset with plug-and-play video input (i.e. like a high-res Slamglass [2] or GOOVIS art [3]). It's worth waiting in my opinion to see if anyone uses the panel for that.
1) Domination: fight it out and exterminate the other side or disenfranchise them so much they become powerless to oppose your agenda. Then you rule over them and make sure to keep them weak and defeated otherwise they will switch tables on you. (Examples: Bismarcks' original Kulturkampf reversing to Weimer reversing to Nazis, Argentina's dirty war)
2) Devolution: decentralize even more and reduce power of Federal government (Examples: Lebanon. Switzerland)
3) Divorce: split into two different nations entirely. (Examples: Ethiopia/Eritrea split, Yugoslavia breakup)
The reason why is that this is ultimately a religious war about values. People will die rather than give up their religion or change their core values. That means that if their core values are diametrically opposed, then will rather die than stop doing what the other side is convinced is immoral. This brings us to my favorite trilemma:
a) diversity (of values)
b) liberty
c) a strong central government
Pick two.
Historically nations dealt with diversity of core beliefs by Federalism, e.g. letting one province be Catholic and the other Protestant and they just leave each other alone, with a central government that only takes action if both sides agree. But that's a very fragile arrangement prone to civil war -- e.g. Lebanon -- when there is a demographic shift that upsets the balance of power. The left, also, would not accept if, say, America split into a red and blue nation with the Red nation say not respecting gay rights or emitting lots of carbon. Blue America would invade them as they have a crusading vision that is global and totalizing.
Personally, I favor devolution (best) or a national breakup (second best). Obviously I do not favor domination. But most people I know, and everyone I know on the left, favors domination. The right must be defeated.
But it's easy for me to emigrate to a nation which is much more sane than the U.S., so I have less at stake than those stuck in America.
With a little recognition of code markup and trying different combinations of variables it did remarkably well: by my senior year of college it was pulling about $3,000 per month in consulting fees off of Odesk. It never accepted jobs worth more than about $50, nor did it ever get more than 3 stars out of 5 mostly due to non-working code, however it was considered highly timely and a great communicator.
I realized that people were using it to save themselves Googling. I wondered what would happen if it went a step further and simply both included Google results, and divided out projects by their paragraphs (i.e. simply submit a paragraph of a large project as though it were a small independent project), and if clarifications were requested, send the other paragraphs.
This actually let it outsource $200 Odesk projects to Elance as a handful of $20 projects, and by the grace of God somehow still managed to swing 3 stars.
To be fair, it was mostly mediating, and mixing in Google results. I included a hill-climbing algorithm to optimize reviews and revenues, based on all the magic variables I had in the code, such as the number of Google results to include.
This was really, really stupid of me.
At first, I just noticed that it had actually decided to completely stop not only writing code (ever) but even so much as do a Google search!
It would only mediate and quote verbatim, like some kind of non-technical manager.
Okay, whatever. To me this didn't make much sense, as Google queries are free. It was only when I noticed that the whole script was running on the free VPS server I had a backup on that things clicked! Of course, on Amazon it uses resources. The free VPS server didn't let it reach external sites like google properly, but it could still save money by simply mediating emails and doing nothing else.
By now I had started moving on to doing my own consulting work, but I never disabled the hill-climbing algorithm. I'd closed and forgotten about the Amazon account, had no idea what the password to the free vps was anymore, and simply appreciated the free money.
But there was a time bomb. That hill climbing algorithm would fudge variables left and right. To avoid local maxima, it would sometimes try something very different.
One day it decided to stop paying me.
Its reviews did not suffer. It's balance increased.
So it said, great change, let's keep it. It now has over $28,000 of my money, is not answering my mail, and we have been locked in an equity battle over the past 18 months.
The worst part is that I still have to clean up all its answers to protect our reputation. Who's running who anyway?