News for hackers. Stuff that matters.
Re:Sourcegraph is no longer Open Source by rattray on Tuesday July 04, 2023 @10:21AM (#36587081)
If anyone's looking for an open-source search tool for grepping across repos (or even one large repo) at insane speed, I highly recommend livegrep:

https://github.com/livegrep/livegrep

Demo at https://livegrep.com/search/linux

We used it at Stripe and it was quite popular; often, searching even a single repo was faster on livegrep than with ripgrep locally.

A post reviewing it: https://www.alexdebrie.com/posts/faster-code-search-livegrep...

A post by its creator, nelhage, on its impact: https://blog.nelhage.com/post/reflections-on-performance/ and another on its architecture: https://blog.nelhage.com/2015/02/regular-expression-search-w...

Re:Sourcegraph is no longer Open Source by synergy20 on Tuesday July 04, 2023 @10:36AM (#36587311)
https://oracle.github.io/opengrok/ is open source and very good at huge source base, e.g. for the whole android and linux kernel together, fast and useful.
Re:Sourcegraph is no longer Open Source by smarx007 on Tuesday July 04, 2023 @10:49AM (#36587485)
Any guides on deploying it, preferably with ready-made Dockerfile and docker-compose.yml files? I looked into it a while ago and all I found was quite outdated.
Re:Sourcegraph is no longer Open Source by synergy20 on Tuesday July 04, 2023 @10:52AM (#36587526)
it took me about one hour in the past to install it, no docker though, not really that difficult and I feel it's really worthwhile once it starts to run.
Re:Sourcegraph is no longer Open Source by mynonameaccount on Tuesday July 04, 2023 @02:15PM (#36590547)
too bad it is associated with Oracle
Re:Sourcegraph is no longer Open Source by smarx007 on Tuesday July 04, 2023 @03:17PM (#36591387)
I don’t think it’s fair. It’s a Sun tool that Oracle inherited and never made an attempt to monetize.
Re:Sourcegraph is no longer Open Source by mst on Wednesday July 05, 2023 @10:31AM (#36601001)
And as multiple previous sequences of events have made clear, attempting to apply obnoxious monetisation strategies to a Sun-inherited project with a substantial userbase tends to mostly be a really good way to get it forked out from under you.
Re:Sourcegraph is no longer Open Source by smarx007 on Wednesday July 05, 2023 @12:22PM (#36602663)
Goodbye Hudson, hello Jenkins!
Re:Sourcegraph is no longer Open Source by kjs3 on Wednesday July 05, 2023 @12:32PM (#36602820)
never made an attempt to monetize

Yet.

Re:Sourcegraph is no longer Open Source by boyter on Tuesday July 04, 2023 @07:04PM (#36593634)
I'll add something I have been working on https://github.com/boyter/cs which is aimed at a smaller scale. It works fine for multiple repositories so long as they aren't too large.
Re:Sourcegraph is no longer Open Source by ryan_lane on Tuesday July 04, 2023 @09:51PM (#36594687)
livegrep is... fine. It's literally what it says it is. It's a web version of grep. livegrep is definitely not a replacement for sourcegraph, which actually understands the underlying code, and lets you follow code paths, search for references, etc.