HNHacker News
TopNewBestAskShowJobs

beliu

2,233 karma · joined December 23, 2013

https://twitter.com/beyang

I build developer tools at Sourcegraph: https://sourcegraph.com

submissionscomments
beliu··on Ask HN: Who is hiring? (April 2017)
Sourcegraph (https://sourcegraph.com) | Software Engineer | San Francisco, CA | ONSITE, REMOTE, FULLTIME

Sourcegraph is the best way to read and understand code. As a programmer, you spend hours every day trying to answer simple questions like "How do I use this library?", "What functions already exist?", and "What's going on in this changeset?" Sourcegraph makes exploring the world's code as painless as searching and browsing the web. We're a small team founded by Stanford and Palantir alums. Our users and customers span programmers across the world, influential open-source authors, and major companies. Our technical challenges include scaling code analysis and search to every codebase in the world.

Stack: Go, TypeScript, React (with GraphQL), Docker + Kubernetes

Open roles: * Senior Software Engineer, Core: https://boards.greenhouse.io/sourcegraph/jobs/204608 * Senior Software Engineer, Growth: https://boards.greenhouse.io/sourcegraph/jobs/497073

beliu··on The Biggest Difference Between Coding Today and When I Started in the 80s
As a programmer, I often feel the funnest part of the job is when you're writing new code, but at the same time, it's often more efficient to search for an existing library. This internal conflict between what's enjoyable and what's efficient often leads down a path of least enjoyment and efficiency (e.g., writing a library whose functionality already exists and then seeing it die and replaced by open-source alternatives after many person-years of wasted effort).

As a side note, I'm one of the creators of a tool called Sourcegraph (https://sourcegraph.com) and this post actually captures a big part of the problem we're trying to solve. Being able to jump to def and find references / usage examples across open source makes reading / understanding / grokking code a lot more fun and efficient. Would love to hear people's thoughts.

beliu··on Python moved to GitHub
Check out Sourcegraph: web source tree browsing with jump to def, find refs, and a bunch of other intelligent features. For example, try diving into the Go std lib: https://sourcegraph.com/github.com/golang/go/-/blob/src/net/...

(Disclaimer: I'm one of the creators. We currently only support Go officially, but other languages soon on the way via the open-source Language Server Protocol standard. Also, big fans of GitHub and glad to see this move!)

beliu··on Go Web Examples
Another great resource for getting started is https://gobyexample.com/.

Also check out usage examples on Sourcegraph (disclaimer: I'm the CTO). We sell our tool to companies to use on their private code, but a side effect is that we've indexed usage examples for just about every popular Go open-source library. For example,

- Go std lib http package: https://sourcegraph.com/github.com/golang/go@bb41b4d599f5758...

- Popular gorilla/mux routing library: https://sourcegraph.com/github.com/gorilla/mux@34bf6dc9faa08...

- Gorp, a popular ORM-ish library: https://sourcegraph.com/github.com/go-gorp/gorp@033bf796a22f...

Cross-repo jump-to-def + find-references = great for making sense of new code.

beliu··on Ask HN: Who is hiring? (December 2016)
Sourcegraph (https://sourcegraph.com) | San Francisco, CA | Full time | ONSITE / REMOTE

Sourcegraph is the best way to read and understand code. As a programmer, you spend hours every day trying to answer simple questions like "How do I use this library?", "Does this function already exist?", and "What's going on in this changeset?" Sourcegraph makes exploring the world's code as painless as searching and browsing the web.

We're a small team founded by Stanford and Palantir alums. Our users and customers span programmers across the world, influential open-source authors, and major companies like Twitter. We're working on technical challenges like scaling code analysis and search to every codebase in the world.

Stack: Go, TypeScript, React (with GraphQL), Docker + Kubernetes * Senior Software Engineer, Core: https://boards.greenhouse.io/sourcegraph/jobs/204608 * Senior Software Engineer, Growth: https://boards.greenhouse.io/sourcegraph/jobs/497073

Shoot us an email at hiring@sourcegraph.com.

beliu··on Ask HN: Who is hiring? (November 2016)
Sourcegraph (https://sourcegraph.com) | San Francisco, CA | Full time | ONSITE / REMOTE

Sourcegraph is the best way to read and understand code. As a programmer, you spend hours every day trying to answer simple questions like "How do I use this library?", "Does this function already exist?", and "What's going on in this changeset?" Sourcegraph makes exploring the world's code as painless as searching and browsing the web.

We're a small team founded by Stanford and Palantir alums. Our users and customers span programmers across the world, influential open-source authors, and major companies like Twitter. We're working on technical challenges like scaling code analysis and search to every codebase in the world.

Stack: Go, TypeScript, React (with GraphQL), Docker + Kubernetes

* Senior Software Engineer, Core: https://boards.greenhouse.io/sourcegraph/jobs/204608

* Senior Software Engineer, Growth: https://boards.greenhouse.io/sourcegraph/jobs/497073

Shoot us an email at hiring@sourcegraph.com.

beliu··on Introducing Rust Language Server
This is awesome. The best languages are the ones with strong tools.

Side note: really looking forward to rolling this into Rust support for Sourcegraph (Sourcegraph team member here) to make any Rust library as easy to explore as https://sourcegraph.com/github.com/gorilla/websocket/-/blob/... and https://sourcegraph.com/github.com/staltz/xstream@master/-/b... are for Go and TypeScript. Thanks for making and open-sourcing this!

beliu··on How a Technical Co-Founder Spends His Time
Thanks for sharing this. Is the metime code publicly available? I'm the CTO of another small tech company (https://sourcegraph.com) and I'm also a bit obsessive about time tracking.

I wrote a small open-source CLI that gives you a CPU-profile-like view of time spent on your computer: https://github.com/sourcegraph/thyme. Thought I'd share since OP and others here might find it useful, and I'd love to hear any feedback.

beliu··on Show HN: Poetically simple code review on GitHub
Thanks for checking it out! We'll investigate this ASAP. Can you shoot me an email at hi@sourcegraph.com and we'll follow up directly? (Just don't want to turn the discussion forum into a support thread.)
beliu··on Show HN: Poetically simple code review on GitHub
If you want to play around with it, you can explore existing open-source projects like the Go standard library: https://github.com/golang/go/blob/master/src/fmt/print.go.

For your own repository, it needs permission to set up a webhook to re-process the code whenever a new commit is pushed (otherwise, we can't provide jump-to-def info in the PR).

beliu··on Show HN: Poetically simple code review on GitHub
I'm the author of the post and contributed to the CR extension -- I'd love to hear people's feedback! (on the extension, please not the poetry)
beliu··on The IBM System/360: the first modular, general-purpose computer
Author of the post here, thanks for reading! Here's a source citing the $5B figure: http://www-03.ibm.com/ibm/history/ibm100/us/en/icons/system3...
beliu··on Show HN: Thyme, a simple CLI to measure human time and focus
Update: Windows is now supported! https://github.com/sourcegraph/thyme/pull/12
beliu··on Show HN: Thyme, a simple CLI to measure human time and focus
Apologies for the lack of Windows support! I unfortunately don't have a Windows machine, but all that's necessary to add support is to implement this simple Go interface: https://sourcegraph.com/github.com/sourcegraph/thyme/-/blob/.... I'd gladly trade a drink for a pull request (or a free t-shirt if you're not in San Francisco)!
beliu··on Show HN: Thyme, a simple CLI to measure human time and focus
README updated with this alternative, thanks!
beliu··on Show HN: Thyme, a simple CLI to measure human time and focus
You can find instructions in the README here: https://github.com/sourcegraph/thyme. But to summarize:

0. Install Go (https://golang.org/doc/install?download=go1.7.darwin-amd64.p...)

1. `go get -u github.com/sourcegraph/thyme/cmd/thyme`

2. `thyme dep`

3. Follow the instructions printed by `thyme dep`

beliu··on Show HN: Thyme, a simple CLI to measure human time and focus
Creator of Thyme here. I made it track my own application usage and find possible interventions to boost my productivity. Happy to answer any questions and hope you find it useful!
beliu··on Show HN: Checkup – OSS tool for simple, self-hosted health checks
Filed here! https://github.com/sourcegraph/checkup/issues/4

Pull requests also welcome :) The code is very well-documented and easy to navigate.

beliu··on Ask HN: Who is hiring? (July 2016)
Sourcegraph | San Francisco, CA | FULL-TIME or INTERN | ONSITE

Sourcegraph is your dream programming reference tool that will save you hours every day. It lets you instantly find code and usage examples (try it: https://sourcegraph.com). It's built on top of a global semantic graph of code.

Full-stack, back-end, and front-end engineers. 3+ years of experience preferred for full-time.

Stack: Go and React for application; Go, Python, JavaScript, C#, Java, and more for language analysis.

Interview process: phone conversation -> coding challenge -> onsite

Shoot us a hello at hiring@sourcegraph.com!

beliu··on Toward a URL for every function
Exactly! You mean like this? https://sourcegraph.com/github.com/gorilla/mux@9fa818a44c2bf...
beliu··on Ask HN: Who is hiring? (April 2016)
Sourcegraph | sourcegraph.com | San Francisco, CA | Full-stack, frontend, and backend engineers

Code is data. Sourcegraph semantically indexes all the code in the world and makes the information accessible and useful to programming teams. We're building actual technology to enable your development team to learn, review, debug and ship code faster than ever before.

If interested, please send an email to hiring@sourcegraph.com.

beliu··on DGraph – Scalable, Distributed, Low-Latency, High-Throughput Graph Database
Hi, I'm one of the creators of Sourcegraph and srclib. Just wanted to clarify that srclib doesn't compete with Kythe. They tackle different issues and we're even considering using Kythe as a low-level language library.
beliu··on Ask HN: Who is hiring? (March 2016)
Sourcegraph | sourcegraph.com | San Francisco, CA | Full-stack, frontend, and backend engineers

Code is data. Sourcegraph semantically indexes all the code in the world and makes the information accessible and useful to programming teams. We're building actual technology to enable your development team to learn, review, debug and ship code faster than ever before.

If interested, please send an email to hiring@sourcegraph.com.

beliu··on Sourcegraph: self-hosted Git service with semantic code navigation/search/review
Thanks for flagging! Updated the srclib README.
beliu··on Sourcegraph: self-hosted Git service with semantic code navigation/search/review
Thanks for this suggestion. We want to make it clear that Fair Source is not Open Source. We've updated the summary in the header: https://fair.io. Hope this is clearer!
beliu··on Sourcegraph: self-hosted Git service with semantic code navigation/search/review
Sourcegraph CTO here. Sourcegraph Core is self-hosted and the source code for it lives at https://src.sourcegraph.com/sourcegraph.

Sourcegraph Enterprise includes the additional features mentioned in the pricing section on https://sourcegraph.com that are specific to very large companies.

Sorry about the confusion. Anything we can do to make that clearer?

beliu··on Why we moved away from GitHub
For those considering alternatives, here's another (currently also HN front page): https://src.sourcegraph.com/sourcegraph@b1af2ab4761618930f6f...

Key features: - jump to definition right in browser - find usage examples - full text AND symbol search - source code publicly available - self-hosted, installable in 5 minutes

Full disclosure: I'm co-founder of Sourcegraph.

beliu··on Sourcegraph: self-hosted Git service with semantic code navigation/search/review
Thanks for checking out Sourcegraph! The way most people use Sourcegraph is as a self-hosted git host. It takes about 5 minutes to install: https://src.sourcegraph.com/sourcegraph/.docs/getting-starte....

Sourcegraph.com is currently a demo of the product on open-source repositories, and our public code analysis workers are bit backlogged right now due to increased load, though it looks like your project was successfully processed now and it's picking up the Go code: https://sourcegraph.com/github.com/mattermost/platform.

beliu··on How Go was Made
Just updated the post to make sure those comments aren't meant to be taken too seriously. Sorry that did not come across in the original post!
beliu··on Bitbucket announces Connect platform
Here are some of the interesting things coming to the Bitbucket platform:

Code search: https://sourcegraph.com/ Code quality: https://www.bithound.io/, https://www.codacy.com/ Code analytics: http://stiltsoft.com/ Deployment: http://cloudcannon.com/, https://platform.sh/ Crash and exception handling: https://rollbar.com/ Rapid integration: http://www.wittified.com/ Cloud IDE: https://codeanywhere.com/, https://codeanywhere.com/

← PreviousPage 3 of 5Next →