Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Microsoft Education

Microsoft and HackerRank Add a Live Code Editor Into Bing 34

An anonymous reader writes: Microsoft's Bing search engine now includes a live code editor, allowing programmers to edit and execute snippets of example code and see the results in real-time. HackerRank announced the new educational tool on their blog, calling it "a streamlined alternative" to Stack Overflow's sites and programming sites, and sharing a video of the new feature providing results for the search "quick sort Java". "In addition to learning how a certain algorithm/code is written in a given language, users will also be able to check how the same solution is constructed in a range of other programming languages too," says Bing's Group Engineering Manager for UX Features, "providing a Rosetta-stone model for programming languages."
This discussion has been archived. No new comments can be posted.

Microsoft and HackerRank Add a Live Code Editor Into Bing

Comments Filter:
  • Corporate data grab (Score:5, Interesting)

    by NotInHere ( 3654617 ) on Sunday April 10, 2016 @04:15PM (#51880457)

    Rosetta code does http://rosettacode.org/wiki/Ro... [rosettacode.org] exactly this. It is freely licensed under the GNU FDL.

    Microsoft just wants you to hand over your code, train their AI, and then live from the results of the AI. Similar to how google's "map creator", where your "creation" (the google map) is owned by google, all rights reserved.

    I'm okay with the statistics based stuff google is doing for its search results, but if these companies want people to work for them, they should hire them, or they should release the results for free as well.

    Otherwise its the same kind of arrogance where nestle goes into some indian community that lives perfectly fine, builds a well that's deeper than any other wells, and which dries up all already existing wells, and now starts selling the inhabitants their own water.

    • by 110010001000 ( 697113 ) on Sunday April 10, 2016 @04:18PM (#51880481) Homepage Journal
      Yeah. It's exactly the same as Nestle selling American Indians bottled water. EXACTLY! That was my first thought too. Hey, what about Nestle drilling wells on Indian land? That is JUST LIKE what Microsoft is doing! How does Microsofts lawyers not see this injustice?
    • Re: (Score:1, Flamebait)

      by bfpierce ( 4312717 )

      Holy shit drop the tin foil man.

      If they wanted to do this they could just scrub the actual internet for code.

      • Not tin foily at all. If they scrub the Internet, they could be in violation of a bunch of ToSs on the sites they scrub. You can be sure that if anybody with lawyers found out MS was violating a ToS they'd be all in to those deep pockets. I think the well analogy is apt.

        • Not tin foily at all. If they scrub the Internet, they could be in violation of a bunch of ToSs on the sites they scrub. You can be sure that if anybody with lawyers found out MS was violating a ToS they'd be all in to those deep pockets. I think the well analogy is apt.

          Interesting point. I hope everyone will be anonymously (via tor; from an isolated virtual machine; in your secret bunker; under your monther's basement) submitting random bits of AGPLv3 protected code for evaluation by this service. This could be fun.

          • It's snippets. I don't think that's much of an issue. The owners of the GPL'd code might argue, rightly or wrongly that the snippets aren't fair use; but if they get complaints about a piece of code they'll probably just yank it. If you're going to disrupt their service, you might as well just DDoS it; not that I support that kind of thing.

        • by Anonymous Coward

          Not tin foily at all. If they scrub the Internet, they could be in violation of a bunch of ToSs on the sites they scrub. You can be sure that if anybody with lawyers found out MS was violating a ToS they'd be all in to those deep pockets. I think the well analogy is apt.

          I find this hilarious. When it's hundreds of millions of Linux users including some of the most wealthy corporations in the world apparently they simply can't afford a legal dispute over patents with Microsoft and just pay out over these supposedly invalid patents, yet at the same time you postulate that this whole development is a big elaborate scam to get source code because they are worried that if they scraped the net for it then some random website is going to sue Microsoft over a violation of their te

          • Sorry I'm still not seeing the tin foil. Microsoft wants to data mine. If I'm in the development side of MS, and I go to the legal team and say, "what if we scrape a bunch of sites for code?", they'll push back and say, "No. We'd have to square that with all the individual sites you want to scrape.". That's all I'm thinking. Nothing more. Show me the tin foil, and I'll wear it proudly; but there's none to wear.

      • And they should. Their internally created code is crap.

      • by tomp ( 4013 ) on Sunday April 10, 2016 @07:36PM (#51881401) Homepage

        Have you looked at the service agrement? It says exacly this:

        To the extent necessary to provide the Services to you and others, to protect you and the Services, and to improve Microsoft products and services, you grant to Microsoft a worldwide and royalty-free intellectual property license to use Your Content,

    • The thought comes to mind that people could "seed" the their AI with really bad (or even non-sequitor code) - kind of like what people did with Tay.

    • Microsoft just wants you to hand over your code, train their AI, and then live from the results of the AI.

      Yes, what a terrible thing information aggregation and sharing is. Just look at Slashdot, taking your comments, populating their website and living from the results!

  • I tried the example search: string concat c#. worked as expected.

    So then I tried a very common operation in any programming language these days: json encode c#

    To my complete lack of surprise, no example was given. only blue links, as always.

    In other words, the examples seem limited to trivial things only. The remote code execution is cool... i guess.

  • Pulled down? (Score:4, Informative)

    by paskie ( 539112 ) <pasky.ucw@cz> on Sunday April 10, 2016 @06:33PM (#51881109) Homepage

    I don't see it. Nothing comes up for "quick sort java", "string concat c#" or a plenty of other stuff - just blue links. With Chromium or Iceweasel; do I need Edge or something to see it? Or did they pull it down already?

  • They have this great program accessible at http://codesnippet.research.microsoft.com/ [microsoft.com] that allows you to do context-sensitive code completion directly from the q/a coding sites. Pretty neat stuff.

    There are researchers are UVa doing similar things: Report [github.com].

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...