Live data from Hacker News

Executable code snippets in Bing

techcrunch.com

31–40 of 51 posts

Re: Executable code snippets in Bing

#32
post #30

Earlier 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?

Yes, it will be enabled as part of the next update.

Re: Executable code snippets in Bing

#33
"HackerRank co-founder Vivek Ravisankar tells me the project currently features over 80 code snippets that focus on the most commonly searched terms. Microsoft is positioning this as both a productivity and learning tool."

Good 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

#34

This 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…

Microsoft bought/aquirehired Erich Gamma and his team in Switzerland to get hold on the technology. It's also the root cause for the TypeScript development. https://en.wikipedia.org/wiki/Erich_Gamma

Re: Executable code snippets in Bing

#36
post #24

DuckDuckGo implemented something similar a few weeks ago: http://duckduckhack.com/ This is probably Microsoft's response.

Well, I doubt they could throw something this slick together in a copule of weeks! Also, that DuckDuckHack looks to be something very different. I couldn't find anywhere that allows you to sandbox code on it. Seems to need to upload to a github repo first? What actually does it intend to be?

Re: Executable code snippets in Bing

#37
Early 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 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

#38

This 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…

Could you elaborate a little? In what way(s) is Monaco superior?

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

#39
post #25

Running 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

Ibterwsting. Is there a specific reason that Erlang's given so much more time and memory than Elixir?

Re: Executable code snippets in Bing

#40
post #37

Early 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…

I've seen this mentioned in things like The Lean Startup, but never as the focus. Do you know any books/studies/similar about targeting early adopters?
Post reply on HN