Live data from Hacker News

A Whole New Code Search

github.com

61–70 of 113 posts

Re: A Whole New Code Search

#61

Interesting: https://github.com/search?p=4&q=gmail_password&ref=s... https://github.com/search?p=4&q=secret_token&ref=sea...

I found about that a short time ago while crawling github with Nuuton. A lot of people don't seem to be security aware. This is one of those things that search allows you to have fun with (by fun I mean be surprised, and by with I mean to only look and not use). You should see the stuff to be found on facebook.

Re: A Whole New Code Search

#62
Is anyone impressed else by how quickly and successfully* GitHub has been rolling out new features over the past few months? I think almost every one of their new features has in some way made my life a little easier.

Kudos to the whole team.

* Granted, uptime might have been a causality.

Re: A Whole New Code Search

#64
post #8

Nice one! Elasticsearch is great software for that purpose. I guess github's cluster is one of the bigger one out there now...

It is ironic since one of the Github's latest changes broke plugin distribution for ElasticSearch.

Re: A Whole New Code Search

#66
post #55

Interesting: https://github.com/search?p=4&q=gmail_password&ref=s... https://github.com/search?p=4&q=secret_token&ref=sea...

A hacker-with-a-heart-of-gold will write a script to harvest these emails and send them a warning message with a link to this thread.

The one time those spammy GitHub bots could be put to good use

Re: A Whole New Code Search

#67
post #63

Interesting: https://github.com/search?p=4&q=gmail_password&ref=s... https://github.com/search?p=4&q=secret_token&ref=sea...

Or SSH private keys. https://github.com/search?q=path%3A.ssh%2Fid_rsa&type=Co...

That is not the only disturbing part. SSH private key by itself is not much of a threat, but bundled together with known_hosts is a recipe for disaster.

Re: A Whole New Code Search

#68
post #63

Earlier quoted context omitted.

Or SSH private keys. https://github.com/search?q=path%3A.ssh%2Fid_rsa&type=Co...

That is not the only disturbing part. SSH private key by itself is not much of a threat, but bundled together with known_hosts is a recipe for disaster.

https://github.com/gomachan/dotfiles/tree/master/.ssh

Re: A Whole New Code Search

#69
post #46

Cudos to github. I am running http://searchco.de/ I know how hard this problem actually is and they have done a fantastic job of it.

Nice! impressed by speed and quality of the results + features. Definitively going to use this in the feature. Also enjoyed your blog post on how to create a search engine.

Re: A Whole New Code Search

#70

Still feel this is missing the preciseness of former google code search. It doesn't respect many of the symbols common in programming languages. Here is an example. The query "format(args" will match "func formatArgs(args", but not "func format(args". https://github.com/search?q=format%28args+repo%3Asimonz05%2F...

Its not as comprehensive as the github search (I don't have the same hooks into the data they do) but this http://searchco.de/?q=format(args%20lang%3AGo and http://searchco.de/?q=format(args%20repo%3Agodis%20lang%3AGo respects your query as you would expect.
Post reply on HN