Live data from Hacker News

Sourcegraph is now open source

about.sourcegraph.com

21–30 of 95 posts

Re: Sourcegraph is now open source

#21
post #14

Very cool! Does it have C or C++ support? Last time I looked it didn't. Something that understands Python calls into C and vice versa would be interesting to me as well.

Sourcegraph has experimental C/C++ support. Emphasis on experimental. It uses the best C/C++ language server (based on the Language Server Protocol) we could find, but that still struggles with some codebases.

You can try it on any open-source C/C++ file on Sourcegraph.com before you spin up a self-hosted instance for your own code, such as:

https://sourcegraph.com/github.com/antirez/redis/-/blob/src/...

Here is more info on using C/C++ on Sourcegraph (and an animated GIF): https://github.com/sourcegraph/lsp-adapter/tree/master/docke...

Re: Sourcegraph is now open source

#23

I'm especially interested in open source/free software businesses and business models. Are you planning to do an open core kind of thing, or maintain full on open source while charging for hosting and/or other services? I realise that might be a difficult question to answer as you might want to keep your options open, so I'm not asking for a commitment :-) I'm just curious about your plans. Also do you ever think you…

It looks like they're going with open core: https://about.sourcegraph.com/pricing

Re: Sourcegraph is now open source

#24
post #19

Is this the thing that caused furore a while ago because it was installed on some editors and it sent all your code to a third party server, or am I thinking of something completely different?

No that was Kite, they paid editor plugin developers to take over the plugin and then added their code complete which requires sending all source code to their servers. https://qz.com/1043614/this-startup-learned-the-hard-way-tha... https://kite.com

That's the one, thanks. I can't wait to try Sourcegraph in that case, it sounds very useful!

Re: Sourcegraph is now open source

#26
post #21
post #14

Very cool! Does it have C or C++ support? Last time I looked it didn't. Something that understands Python calls into C and vice versa would be interesting to me as well.

Sourcegraph has experimental C/C++ support. Emphasis on experimental . It uses the best C/C++ language server (based on the Language Server Protocol) we could find, but that still struggles with some codebases. You can try it on any open-source C/C++ file on Sourcegraph.com before you spin up a self-hosted instance for your own code, such as: https://sourcegraph.com/github.com/antirez/redis/-/blob/src/... Here is mor…

That seems to have a lot of rough edges. For me, when browsing C++, there is exactly 1 killer feature: find callers. I recently deployed Kythe just to get this and it took many hours of my time. I would love to have something a little easier to maintain (that works, though).

Re: Sourcegraph is now open source

#27
We've been using Sourcegraph at Uber and it has been working pretty well. We saw a performance regression last week with `max` queries but it got fixed fairly quickly (less than a week from reporting to having the fix deployed)

Some wishlist things:

- would be nice if the query language was better documented (not the GraphQL console, the help section for that is comprehensive)

- a coworker had expressed a desire for multi-line searches (which is supposedly in the pipeline)

Re: Sourcegraph is now open source

#28
post #27

We've been using Sourcegraph at Uber and it has been working pretty well. We saw a performance regression last week with `max` queries but it got fixed fairly quickly (less than a week from reporting to having the fix deployed) Some wishlist things: - would be nice if the query language was better documented (not the GraphQL console, the help section for that is comprehensive) - a coworker had expressed a desire for…

(Sourcegrapher here) Just curious, have you discovered this page before from the in-app help area? https://about.sourcegraph.com/docs/search/query-syntax/

(We will improve our docs here & make them stand out more in the app regardless, I think that is a great suggestion.)

I also very much want multi-line searches, I can't wait for them :)

Re: Sourcegraph is now open source

#29

I'm especially interested in open source/free software businesses and business models. Are you planning to do an open core kind of thing, or maintain full on open source while charging for hosting and/or other services? I realise that might be a difficult question to answer as you might want to keep your options open, so I'm not asking for a commitment :-) I'm just curious about your plans. Also do you ever think you…

It looks like they're going with open core: https://about.sourcegraph.com/pricing

> Open. For business.

You know, it's funny that they are proudly using this slogan. OpenBSD has mocked it in the past, referring to Intel's firmware blobs for wireless NICs:

> Some asshole said he was "open"

> but he was only open for business.

https://www.openbsd.org/lyrics.html#40b

Open core is no big innovation. It's plain ol' proprietary software. It's just like macOS. Most software nowadays has significant free components. The only company that I know that does truly free commercial software is Red Hat. They don't sell you a drop of non-free software.

Some people will argue that the degree of free software in your proprietary software makes a difference. I argue that it only matters if you need any of the proprietary bits or not. A non-free but desired bit of software in a package can be very restrictive and have the same undesirable impacts as having the whole thing being non-free.

Re: Sourcegraph is now open source

#30
post #28
post #27

We've been using Sourcegraph at Uber and it has been working pretty well. We saw a performance regression last week with `max` queries but it got fixed fairly quickly (less than a week from reporting to having the fix deployed) Some wishlist things: - would be nice if the query language was better documented (not the GraphQL console, the help section for that is comprehensive) - a coworker had expressed a desire for…

(Sourcegrapher here) Just curious, have you discovered this page before from the in-app help area? https://about.sourcegraph.com/docs/search/query-syntax/ (We will improve our docs here & make them stand out more in the app regardless, I think that is a great suggestion.) I also very much want multi-line searches, I can't wait for them :)

Yeah, this help page is fairly easy to find (two clicks: ? icon -> "How to search"). I figured I'd ask because for example `max` is not documented there, even though it's pretty important for the sort of stuff I use Sourcegraph for (i.e. finding out all the repos that use X).
Post reply on HN