Live data from Hacker News

Executable code snippets in Bing

techcrunch.com

11–20 of 51 posts

Re: Executable code snippets in Bing

#11
Pretty cool when it appears. You can edit it, and the examples are written in a way that the output helps explain the flow (like showing the pivot and array state in each pass of a quicksort). I'm surprised it doesn't support Javascript though, since it's now so popular.

It also doesn't seem to support anything advanced or synonyms for terms. I can search for "Reverse array python" but not "Reverse list python" (technically a list is the proper name, and array is a different construct in Python), and anything more advanced than sorting algorithms or simple features don't appear. I tried a few pathfinding algorithms, fibonacci sequence, prime numbers.... And I tried several variations of search terms. "Pathfinding in Pyhton" / "Graph Search in Python" / "Djikstra's algorithm in Python", nothing. I don't think it will be very useful because of this.

Re: Executable code snippets in Bing

#12
post #7

Not to be flippant, but.. I assumed most coders use Google / DuckDuckGo. I seem to remember reading that even coming from Microsoft offices, engineers prefer Google to Bing. Does that make this simply a PR move?

I'm sure that most coders use Bing for certain things.

Bing Video to be exact.

(we all know it's true to an extent)

Re: Executable code snippets in Bing

#15
post #12
post #7

Not to be flippant, but.. I assumed most coders use Google / DuckDuckGo. I seem to remember reading that even coming from Microsoft offices, engineers prefer Google to Bing. Does that make this simply a PR move?

I'm sure that most coders use Bing for certain things. Bing Video to be exact. (we all know it's true to an extent)

What about Bing video? I've never heard of what you're mentioning.

Re: Executable code snippets in Bing

#17
post #12

Earlier quoted context omitted.

I'm sure that most coders use Bing for certain things. Bing Video to be exact. (we all know it's true to an extent)

What about Bing video? I've never heard of what you're mentioning.

Judging by the self-consciously elliptic writing I assume the poster means you can use it to search for PORNOGRAPHY.

By which I mean, videos of people fucking.

EDIT: look like I was correct!

https://www.reddit.com/r/OutOfTheLoop/comments/36hsic/why_is...

http://www.dailydot.com/technology/bing-porn-search-engine/

Re: Executable code snippets in Bing

#18
post #14

Doesn't work here. None of the given examples triggered the feature.

So, yes. It is only enabled for the US market at the moment.

However, it's quite easy to see the result if you add `&market=en-US` to the end of the query.

Example: https://www.bing.com/search?q=quicksort+java&market=en-US

[Disclaimer: Dev at HackerRank. Not affiliated with this product, though]

Post reply on HN