Live data from Hacker News

Sourcegraph is now open source

about.sourcegraph.com

61–70 of 95 posts

Re: Sourcegraph is now open source

#61
post #29

Earlier quoted context omitted.

> 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…

I tend to agree, although I probably wouldn't state it in exactly the way you have. Open core's main goal is to sell proprietary software using the open source version as a loss leader. Having said that, I think there are some companies/individuals who truly believe that open core is a good way of funding free software development. I have even heard Bruce Parens claim that dual licensing is practically the only reaso…

"Open core" and dual licensing are two completely separate business models. They should not be conflated.

Open core business models depends on selling non-free software. Normally all or nearly all development is done by a singular company. The core software could probably just as easily have been free-of-charge, and everything else would have been completely identical. (But on the other hand, if you're not making money, you might as well publish source code in this day and age.)

Dual licensing business models are much more like selling free software than selling non-free software, with that difference that large parts of your potential customers are not interested in copyleft. This is often the case for the embedded world for example. Here it's much more common to find multi-stakeholder communities, since copyleft can bring a much more level playing field.

Re: Sourcegraph is now open source

#63
post #39
post #3

Sourcegraph CEO here. We're back to work on testing release candidates for Sourcegraph 2.12, coming out this week. I'm especially excited about a few big new features that fit really nicely into the code search and browsing workflows people use Sourcegraph for: - https://github.com/sourcegraph/about/blob/master/projects/ex... - https://github.com/sourcegraph/about/blob/master/projects/so... - https://about.sourcegrap…

Thanks for creating Sourcegraph for GitLab https://github.com/sourcegraph/about/blob/master/projects/so... we really appreciate it. Every single developer that used Sourcegraph and talked to me about it loved the product. I think that every code product must have intelligent navigation. I saw you already responded to my tweet in https://twitter.com/sqs/status/1046986755919024129 We're looking forward to add Sourcegra…

It's too bad that a browser extension is required to make this work. I've asked previously for GitLab to provide the necessary hooks so that any plugin could offer this type of functionality in a first class way, and was told that the proposal lacked a "concrete first need". I suppose SourceGraph has now demonstrated the usefulness of such a thing, which is great!

Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/33047

Re: Sourcegraph is now open source

#64
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.

OneDev developer here. OneDev is a self-hosted git server and it provides symbol cross referencing for main stream languages including Java, JavaScript, CSharp, C, C++, PHP, Go, Python, R, CSS, LESS, SCSS. Taking linux project for example: https://go.onedev.io/projects/linux/blob/master/tools/lguest...

Re: Sourcegraph is now open source

#67
post #29

Earlier quoted context omitted.

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…

Ironic for Theo to call someone else an asshole. Putting people on the defensive is a great way to not get what you want.

https://undeadly.org/cgi?action=article&sid=20060930232710

Re: Sourcegraph is now open source

#68

The kind of cross-reference SourceGraph provides is a must have for me after a few years of using a tool like it to understand big projects (I don't use SourceGraph, I use Grok/CodeSearch). Google open sourced a version of Grok some time ago ( https://kythe.io/ ). [1] A quick search also found this `OpenGrok` thing which I assume must be yet another generic indexer [2]. I wonder if there are other popular tools out t…

I've worked a lot with ASTs in the past, and am now working with TypeScript quite a bit. I actually find their AST implementation very nice, and pretty easy to get started on:

    import * as ts from 'typescript'

    const sourceFile = ts.createSourceFile('myclass.ts', `class MyClass { ... }`, ScriptTarget.Latest);
    ts.forEachChild(sourceFile, (node) => {
      switch (node.kind) {
        ...
      }
    });
It doesn't get much easier than that in my book. The AST is also fully typed and TS comes with a lot of helper methods, including the transformers package to hook into TS' output pipeline. It's pretty neat.

Re: Sourcegraph is now open source

#69
post #41

Earlier quoted context omitted.

Yes, we have basic editor/IDE plugins that let you (1) open up Sourcegraph to the current document's file/line and (2) search. Sourcegraph for Atom is in prelrease at https://github.com/sourcegraph/sourcegraph-atom . Other editors are at https://about.sourcegraph.com/docs/integrations/ . What features (other features, if any) are you specifically interested in? It would be awesome if you posted feature request issues…

No vim/nvim or emacs editor plugins? The two most popular editors used by programmers... Sigh

Citation needed...

Re: Sourcegraph is now open source

#70
post #39

Earlier quoted context omitted.

Thanks for creating Sourcegraph for GitLab https://github.com/sourcegraph/about/blob/master/projects/so... we really appreciate it. Every single developer that used Sourcegraph and talked to me about it loved the product. I think that every code product must have intelligent navigation. I saw you already responded to my tweet in https://twitter.com/sqs/status/1046986755919024129 We're looking forward to add Sourcegra…

It's too bad that a browser extension is required to make this work. I've asked previously for GitLab to provide the necessary hooks so that any plugin could offer this type of functionality in a first class way, and was told that the proposal lacked a "concrete first need". I suppose SourceGraph has now demonstrated the usefulness of such a thing, which is great! Ref: https://gitlab.com/gitlab-org/gitlab-ce/issues/3…

Hello Mike! Can you please reference the Sourcegraph example in the issue? Maybe this will initiate further discussion and convince someone to reconsider your proposal. Thank you!
Post reply on HN