The White House Open Sources President Obama's Facebook Messenger Bot To 'Bring the Gov't To You' (whitehouse.gov)
The White House has open sourced the code for President Obama's Facebook Messenger bot in a hope that this will help other governments and developers build similar services. These services will ideally foster similar connections with their citizens with significantly less upfront investment. From the official post: It's also an important part of furthering our mission to "meet the public where they are." Millions of people contact their friends and family using Facebook Messenger. Why shouldn't they be able to contact the White House, too? And President Obama really reads these messages. Since 2009, he's made it part of his daily routine to read 10 letters sent to him by citizens -- something he refers to as the best part of his day. [...] To be specific, we are open-sourcing a Drupal module, complete with easy steps and boiler plate code. This will enable Drupal 8 developers to quickly launch a Facebook Messenger bot. We also left a few lines in the repository describing our hopes for the future of the code and encouraging members of the developer community to get involved.
This benefits who?
On the Oregon Cost born and raised, On the beach is where I spent most of my days
say(rnd() % 1 ? "hope" : "change)
Yea sure he does.
sorted by amount of ass kissing, hence the " best part of his day" part...
10 per day. Might as well call it a lottery.
Finally, absolute proof that so-called "open source" is really just a Marxist Kenyan plot to take away our liberties!
LOCK HIM UP!
You are welcome on my lawn.
I found the pseudocode for it:
if (messageIn = praise)
then takeCreditForIt
else if (messageIn = problem)
then blameTheRepublicans
else if (messageIn = requestFromForeignGovernment)
then sendUserToClintonFoundationDonationForm
else if (messageIn = ransomDemandFromIran)
then setupUnmarkedBillExchange
else if (messageIn = threatFromSyria)
then drawMeaninglessLineInSand
else if (messageIn = threatFromRussia)
then makeEmptyThreatsThenCowerInCorner
else if (messageIn = questionAboutVotingLocations)
{
if (user = Democrat or user = illegalAlien or user = dead)
then giveMapToVotingLocationsWhereIdNotRequired
else return500ServerError
}
And how many billion did THAT cost?
u up?
We need a bot for presidential candidates instead. More meaningful statements, less disgusting behavior, better chance to be perceived as human, may actually respond to the gist of your message instead of replying with a pre-cooked ad-hominem.
What is not to like?
This is what he's trying to do:
CORE::say(int rand(2) ? "hope" : "change");
From the command line:
perl -e "CORE::say(int rand(2) ? "hope" : "change");"
You need the "CORE::" prefix on the "say" function because "say" is available only in the newer versions of perl (it'll eventually be default available).
Obama was the first bot to pass the Turing test.
Yeah, no thanks. You an keep the Gov't as far away from me as possible.
...say it best
LEIBESH: Is there a proper blessing for the Tzar?
RABBI: A blessing for the Tzar? Of course. ...far away from us
May God bless and keep the Tzar
from Fiddler On the Roof
music by Jerry Bock, lyrics by Sheldon Harnick, and book by Joseph Stein,
Is there a way to open source Donald grabbing women by the pussy?
If you've talked to anyone from the federal government recently, say like the IRS, you've thought you might have been talking to a robot. Now it's confirmed. I think they've been using the really stupid ones to send to the Congressional hearings on things like the IRS and Benghazi.
Some excremental orchestra of PHP! No wonder Russia and China are walking right into their servers.