Executable code snippets in Bing
31–40 of 51 posts
Re: Executable code snippets in Bing
#32Earlier quoted context omitted.
I worked on this project. We're building up the list of samples of additional programs/queries, so the number of queries you should see the editor for will expand in the coming days.
Any plans to add Javascript as a language?
Re: Executable code snippets in Bing
#33Good startup idea could be found in this audience. Solve the coding problems through searching for code. Just do it better than bing. [0]
[0] "The way to win here is to build the search engine all the hackers use. A search engine whose users consisted of the top 10,000 hackers and no one else would be in a very powerful position despite its small size, just as Google was when it was that search engine." ~ http://paulgraham.com/ambitious.html
Re: Executable code snippets in Bing
#34This uses Monaco, the code editor behind Visual Studio Code ( https://code.visualstudio.com ) and Typescript Playground ( https://www.typescriptlang.org/play ). I've spent time with ACE, CodeMirror, and Visual Studio Code, and Monaco puts everything else to shame. Hopefully soon they will provide better documentation of how to use Monaco in your own projects, there's an issue for it: https://github.com/Microsoft/vsco…
Re: Executable code snippets in Bing
#35Re: Executable code snippets in Bing
#36DuckDuckGo implemented something similar a few weeks ago: http://duckduckhack.com/ This is probably Microsoft's response.
Re: Executable code snippets in Bing
#37Why is it smart? Every major internet service is driven by it's early adopters. Every major service is built and designed by people like us, hacker news readers, techies, early adopters. But of course, not all services, especially those who want to be massive are targeted to early adopters anymore - they wrongly target the masses. To attract people to use your service, you have to have the early adopters first, they have to attract us first and then target the masses. Thus, we are seeing Bing take a page from DuckDuckGo in tailoring some parts of its service towards techies. It's a clever move.
Re: Executable code snippets in Bing
#38This uses Monaco, the code editor behind Visual Studio Code ( https://code.visualstudio.com ) and Typescript Playground ( https://www.typescriptlang.org/play ). I've spent time with ACE, CodeMirror, and Visual Studio Code, and Monaco puts everything else to shame. Hopefully soon they will provide better documentation of how to use Monaco in your own projects, there's an issue for it: https://github.com/Microsoft/vsco…
In my view, CodeMirror is pretty decent, and it seems to me that not much can be improved upon it. But I haven't had the chance to compare it to anything else.
Re: Executable code snippets in Bing
#39Running this is amusing: import os print '\n'.join(os.listdir('/')) Personally, I'm partial to running IPython under Sandstorm for this kind of thing. (Also, if I were to host it, I'd be very nervous about any technique not involving equal or greater paranoia.)
A little more about the OS environment this is running in: https://www.hackerrank.com/environment
Re: Executable code snippets in Bing
#40Early adopters are HN readers, this is very smart from Bing - maybe we will see the same soon in DuckDuckGo? Why is it smart? Every major internet service is driven by it's early adopters. Every major service is built and designed by people like us, hacker news readers, techies, early adopters. But of course, not all services, especially those who want to be massive are targeted to early adopters anymore - they wrong…