News for hackers. Stuff that matters.
Re:The Google Cemetery – A list of dead Google products and ... by jansan on Thursday November 22, 2018 @08:20AM (#18509816)
Remember Google Code Search? That was a great feature of Google search. You could search for swear words in all the code available worldwide. In one (Sun Microsystems?) code there was a comment "The user is a wanker. He cannot remember his password." The old days were much more fun.
Re:The Google Cemetery – A list of dead Google products and ... by secure on Thursday November 22, 2018 @10:49AM (#18510643)
I built https://codesearch.debian.net when Google Code Search was taken down.

Debian Code Search doesn’t crawl, but it indexes all software in Debian, which is typically helpful enough :)

Re:The Google Cemetery – A list of dead Google products and ... by _wmd on Thursday November 22, 2018 @11:36AM (#18510955)
I use this at least once a month! Thanks sooooooo much!!!
Re:The Google Cemetery – A list of dead Google products and ... by vanous on Thursday November 22, 2018 @12:58PM (#18511403)
Thank you very much for sharing, I am glad to have seen your comment here.
Re:The Google Cemetery – A list of dead Google products and ... by marbu on Thursday November 22, 2018 @09:35AM (#18510198)
Yes, google code search was a great service. One could use regular expressions and limit the search to particular language or license. Moreover it indexed code from any tarball or repository google bot run into, so the sheer size of data one was searching was hard for others to match.
Re:The Google Cemetery – A list of dead Google products and ... by 0x00000000 on Thursday November 22, 2018 @10:50AM (#18510648)
Don't remind me of how awful GitHub search is.

I guess code search is just too niche with no marketability to ever improve

Re:The Google Cemetery – A list of dead Google products and ... by telltruth on Thursday November 22, 2018 @10:10PM (#18514073)
GitHub is most aweful search that I have regularly used. It doesn’t even have basic dedup capability, forget about any thing slightly less basic like limiting search to file names. And it’s not that it is hard to derank potential dedups given that they already know the fork graphs. I have spent good chunk of my productivity manually sweeping through pages upon pages of exact same search results to find the snippets I was looking for and hating creator(s) of this functionality from the bottom of my heart. These people shouldn’t be allowed to build any search again without a mandatory year long rehabilitation training camp (unless they are doing this for enemy states during war times).
Re:The Google Cemetery – A list of dead Google products and ... by _asummers on Thursday November 22, 2018 @10:22PM (#18514119)
How about finding multiple hits per file? Tell me how many matches there are in each file, PLEASE. I should not have to click into the match to know there's more than one match in that file. I shouls also be able to have a view that shows me every match (a la grep/ag). If I need to search, I pull down the repo, index it quickly with ag and do the search. That's really unacceptable, in my eyes, when the basic search is there already.
Re:The Google Cemetery – A list of dead Google products and ... by superbaconman on Thursday November 22, 2018 @11:48AM (#18511030)
I find myself using source graph; It seems to work well enough.
Re:The Google Cemetery – A list of dead Google products and ... by wangyjx on Friday November 23, 2018 @06:33AM (#18515843)
yes, source graph looks great. Using docker, every easy to deploy on any OS
Re:The Google Cemetery – A list of dead Google products and ... by ndnxhs on Thursday November 22, 2018 @06:06PM (#18513155)
Github search also only searches content hosted on github.com which while still large is only a fraction of the code available on the internet.
Re:The Google Cemetery – A list of dead Google products and ... by aj7 on Thursday November 22, 2018 @12:42PM (#18511318)
GitHub search? Try nytimes.com search.
Re:The Google Cemetery – A list of dead Google products and ... by CM30 on Friday November 23, 2018 @03:59AM (#18515262)
Try the search feature in many CMS systems. Those tend to really suck, with WordPress' being awkward enough that a whole ecosystem of plugins cropped up to replace it.

There's also at least one version of the OpenCart admin search which was designed so poorly that it didn't actually search based on whether the term was anywhere in the page title/content, but whether the title started with the search term (I think they'd screwed up the MySQL syntax). That was interesting.

Either way, search on a system not designed as a search engine is usually okay at best, absolutely terrible at worst.

Re:The Google Cemetery – A list of dead Google products and ... by WAthrowaway on Thursday November 22, 2018 @01:37PM (#18511676)
lol i worked in the same department as the search team. what a nightmare - some of the code in there went back to the 90s
Re:The Google Cemetery – A list of dead Google products and ... by BLanen on Thursday November 22, 2018 @05:14PM (#18512918)
Is it worse than reddit?
Re:The Google Cemetery – A list of dead Google products and ... by tim333 on Thursday November 22, 2018 @09:58AM (#18510310)
This has a similar comment. Gnome Display Manager http://rc.quest.com/viewvc/gdm/vendor/gnome/daemon/slave.c?d...
Re:The Google Cemetery – A list of dead Google products and ... by nerdponx on Thursday November 22, 2018 @11:30AM (#18510923)

                /* evil! how this this happen */                                        \
239 if (slave_start_jmp_error_to_print != NULL) \ 240 gdm_error (slave_start_jmp_error_to_print); \ 241 gdm_error ("Bad (very very VERY bad!) things happening in signal"); \ 242 _exit (DISPLAY_REMANAGE); \ 243 }

I'd hate to be the poor soul who encounters this error message and finds no information about it except the source code.

Re:The Google Cemetery – A list of dead Google products and ... by arghwhat on Thursday November 22, 2018 @12:22PM (#18511217)
It will only occur if everything is so irrevocably on fire that you need to debug a lot of code anyway, at which point the error message is useless.

Specifically, the branch is only reachable if the PID is not what was expected, or the location that the macro was supposed to longjmp to is not set, which would be fatal defects.

Re:The Google Cemetery – A list of dead Google products and ... by jansan on Thursday November 22, 2018 @10:03AM (#18510339)
Yes, that may be it. Great find! And sorry to Sun Microsystems, it wasn't you this time.
Re:The Google Cemetery – A list of dead Google products and ... by londons_explore on Friday November 23, 2018 @05:22AM (#18515599)
Google still uses code search widely internally. It's one of their greatest internal-only productivity boosts. The fact it has knowledge of includes and cross-references and function prototypes and templates is amazing...

You can still use it as an outsider to search Chromium:

https://cs.chromium.org/

Re:The Google Cemetery – A list of dead Google products and ... by londons_explore on Friday November 23, 2018 @05:30AM (#18515618)
Regex support is amazing to have in a search engine too... For example, paste in an email address validating regex:

https://cs.chromium.org/search/?q=%5Cb%5BA-Z0-9._%25%2B-%5D%...

Considering that one can't 'index by regex', I wonder how the backend works - does it actually run the regex against every source code line in the repository in a few hundred milliseconds? Sounds expensive! They must have thousands of machines! Maybe thats why they don't have a public codesearch tool for the whole internet...

Re:The Google Cemetery – A list of dead Google products and ... by yegle on Thursday November 22, 2018 @12:17PM (#18511191)
If you host your code on Google Cloud Source Repository you can use the search feature https://cloud.google.com/source-repositories/docs/searching-...
Re:The Google Cemetery – A list of dead Google products and ... by niutech on Thursday November 22, 2018 @08:24PM (#18513735)
Re:The Google Cemetery – A list of dead Google products and ... by sp1982 on Thursday November 22, 2018 @08:52PM (#18513826)
Another alternative I am working on in past time is https://codegrep.com - currently indexes top few thousand repos from github.
Re:The Google Cemetery – A list of dead Google products and ... by gvurrdon on Thursday November 22, 2018 @01:02PM (#18511431)
I wonder if the writer of that comment was American or British - it appears that the term is somewhat less offensive in the US. Once, whilst watching a relatively mainstream US series I was surprised to see a character refer to their colleagues as "wankers", which seemed rather incongruous.
Re:The Google Cemetery – A list of dead Google products and ... by reaperducer on Thursday November 22, 2018 @04:10PM (#18512576)
it appears that the term is somewhat less offensive in the US.

A lot of ordinary British things are seen in the U.S. through a filter of... let's call it "quaintness."

Swear words. Thatched roofs. Music on AM radio.

So, yeah. Whatever offensive word you heard probably didn't have the same impact on the other side of the Atlantic. There's probably some reciprocity, too.

Re:The Google Cemetery – A list of dead Google products and ... by millak on Thursday November 22, 2018 @04:59PM (#18512836)
My experience is that this doesn’t apply to the see you next Tuesday word, at least here in Canada. It’s seen as very offensive according to the Canadians I know. Speaking as a Brit, that word is thrown around quite casually in the UK!
Re:The Google Cemetery – A list of dead Google products and ... by reaperducer on Thursday November 22, 2018 @05:07PM (#18512872)
That's what I meant by reciprocity.

Brits have their own quaintness filter for some of the words that NorthAms see as out of bounds.

Re:The Google Cemetery – A list of dead Google products and ... by acct1771 on Sunday November 25, 2018 @03:27AM (#18525981)
For clarity's sake, and as a demonstration against censorship: "cunt"
Re:The Google Cemetery – A list of dead Google products and ... by Buge on Thursday November 22, 2018 @11:48PM (#18514424)
You can still search Chrome though

https://cs.chromium.org/

Re:The Google Cemetery – A list of dead Google products and ... by z3phyr on Thursday November 22, 2018 @12:11PM (#18511158)
Standardization took place and the "business class" caught up.
Re:The Google Cemetery – A list of dead Google products and ... by lrem on Thursday November 22, 2018 @02:50PM (#18512114)
Care to elaborate?
Re:The Google Cemetery – A list of dead Google products and ... by aj7 on Thursday November 22, 2018 @12:41PM (#18511307)
Wankers tend to be good at password remembering.