Welcome!

Machine Learning Authors: Liz McMillan, Roger Strukhoff, Zakia Bouachraoui, Pat Romanski, Carmen Gonzalez

Related Topics: Agile Computing, Microsoft Cloud, Cognitive Computing , Machine Learning

Agile Computing: Blog Feed Post

Introducing AskBing The PowerShell Bing Twitter Proxy

So, after an hour or so of coding it up and creating the @askbing twitter account, I’ve got it up and running

Last week I posted a PowerShell function library for Microsoft’s newly introduced search engine at Bing.com.  The function library was appropriately named PoshBing. There was a log of interest in the script so I quickly moved it off my blog and onto a CodePlex project under PoshBing.

Working on the command line is fun and all, but since I spend a good portion of my time accessing my twitter account, I figured it would be a bit of fun to integrate it with my previously released PoshTweet PowerShell twitter library.

So, after an hour or so of coding it up and creating the @askbing twitter account, I’ve got it up and running.

Using it is as simple as posting a message mentioning the @askbing account.  The Usage is as follows:

@askbing [sourcetype [options]] question_or_search_terms

If you omit the sourcetype it will default to “web”.  The following sourcetypes and options are currently available:

  • @askbing image iPod
  • @askbing instantanswer feet in a mile
  • @askbing news FFIV
  • @askbing mobileweb games
  • @askbing phonebook “F5 Networks”
  • @askbing relatedsearch “Xbox”
  • @askbing spell Is this missspelled?"
  • @askbing web Apple
  • @askbing translation en:es Hi, how are you?
  • @askbing video The Pick of Destiny

The only source type that includes a separate option is “translation”  By default it will translate from English to Spanish.  If you want to override these languages, you can use the “from:to” option to override these defaults.  The values for the from and to languages

  • Ar = Arabic
  • zh-CHS = Simplified Chinese
  • zh-CHT = Traditional Chinese
  • Nl = Dutch
  • En = English
  • Fr = French
  • De = German
  • It = Italian
  • Ja = Japanese
  • Ko = Korean
  • Pl = Polish
  • Pt = Portuguese
  • Ru = Russian
  • Es = Spanish

After you post an @reply to @askbing, you should expect a @reply to your account within a minute or so.

Since I’ve only spent an hour or so on this, there are bound to be some issues so please let me know if you find any.  Here' are a few known issues:

  1. It queries it’s @replies every 60 seconds and only queries 100 entries so if this ever gets more popular that that, I’ll need to enhance the request logic.
  2. It only returns the first entry returned from the bing services.  I might change this to a random entry later on.
  3. It has little error handling so if you get a garbled response, then that’s likely the reason.
  4. It uses tinyurl for Url shortening which is sometimes fairly flaky.
  5. Probably more…

So, when you’ve got some time, Send a @reply to @askbing and see how it works for you.  I’d love to hear any and all feedback.

Read the original blog entry...

More Stories By Joe Pruitt

Joe Pruitt is a Principal Strategic Architect at F5 Networks working with Network and Software Architects to allow them to build network intelligence into their applications.

CloudEXPO Stories
ScaleMP is presenting at CloudEXPO 2019, held June 24-26 in Santa Clara, and we’d love to see you there. At the conference, we’ll demonstrate how ScaleMP is solving one of the most vexing challenges for cloud — memory cost and limit of scale — and how our innovative vSMP MemoryONE solution provides affordable larger server memory for the private and public cloud. Please visit us at Booth No. 519 to connect with our experts and learn more about vSMP MemoryONE and how it is already serving some of the world’s largest data centers. Click here to schedule a meeting with our experts and executives.
Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the modern business digitalization solutions. Achieve up to 50% early-stage technological process development cost cutdown with science and R&D-driven investment strategy with Codete's support.
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
Darktrace is the world's leading AI company for cyber security. Created by mathematicians from the University of Cambridge, Darktrace's Enterprise Immune System is the first non-consumer application of machine learning to work at scale, across all network types, from physical, virtualized, and cloud, through to IoT and industrial control systems. Installed as a self-configuring cyber defense platform, Darktrace continuously learns what is ‘normal' for all devices and users, updating its understanding as the environment changes.
Platform9, the leader in SaaS-managed hybrid cloud, has announced it will present five sessions at four upcoming industry conferences in June: BCS in London, DevOpsCon in Berlin, HPE Discover and Cloud Computing Expo 2019.