A collection of characters, stories, and other elements
Sourcegraph 3.34 introduces helpful search tips when no results are returned, along with 'Find Implementations' support for Go.Read more
Roger Peppé, Software Engineer at InfluxData, shares his standing desk setup, and how the Acme text editor and mouse chording drive his coding workflow.Read more
How can you build a following, and a career, with memes? In this episode, Cassidy Williams, Director of Developer Experience at Netlify, joins Beyang Liu, co-founder and CTO of Sourcegraph, to discuss why we should consider communication a core skill instead of a soft skill, why you should be a developer advocate or a software engineer but not both, and why, when learning React, you should start with the fundamentals. Along the way, Cassidy shares stories about the job she held the longest (mascot for Iowa State), positive and negative experiences from the heyday of hackathons, and the time she nearly went blind from burnout.
Click the audio player below to listen, or click here to watch the video.
Sourcegraph is on track to grow its index of open source repositories significantly, with the aim of indexing the OSS universe. This post dives into the motivations behind introducing shard merging to our search backend.Read more
How do Google developers create and popularize internal tools? In this episode, Han-Wen Nienhuys, creator of the open-source code search engine Zoekt, joins Beyang Liu, co-founder and CTO of Sourcegraph, to discuss the agonizing experience with Perforce that drove Han-Wen to build his first dev tool, explain the value of coding on trains and planes, and share the story of how building code search nearly inspired a street named after him in Sweden. Along the way, Han-Wen offers an inside look at the history behind some of Google’s most famous dev tools, such as Blaze, Code Search, and Piper.
Click the audio player below to listen!
Today, we’re announcing that Sourcegraph is accepting maintainership of Zoekt, the prominent open source code search engine, from its creator, Han-Wen Nienhuys. This commitment ties directly into our mission of bringing code search to every developer in the world.Read more
Engineers are anxious and continuous delivery promises to help. But how practicial is it, really? In this post, we explore the limitations of continuous delivery as well as the lessons we can learn from it.Read more
Engineers are caught in a vise between two pressures: the pressure to get code changes into the next release and to protect the release from bugs. The result? Release anxiety.Read more
ThePrimeagen, Senior Software Engineer at Netflix and Twitch Partner tech streamer, shares how he reduces cognitive overhead with tmux, i3, and Neovim to write code more effectively.Read more
Sourcegraph 3.33 introduces general availability for search contexts as well as Code Intelligence status data for all non-admin users.Read more
Version contexts and repogroups are a powerful way to search across multiple repositories. To expand this functionality, we're releasing search contexts in Sourcegraph 3.33.Read more
Amir Rajan, acclaimed indie game dev and co-creator of DragonRuby Game Toolkit, shares the many stages of his hardware setup over the years, and how he uses Emacs as a game dev.Read more
How do you improve on C? In this episode, Andrew Kelley, creator of the Zig programming language and the founder and president of the Zig Software Foundation, joins Beyang Liu, co-founder and CTO of Sourcegraph and special guest Stephen Gutekanst, software engineer at Sourcegraph, to talk about what it takes to create a new programming language. Along the way, Andrew shares how programmers can get funding for their side projects and hobbies, why conditional compilation exposes philosophical differences between Zig and C, and explains why and how Zig can be faster than both C and Rust.
Click the audio player below to listen, or click here to watch the video.
How do you balance query time and relevance with Postgres text search? Stephen Gutekanst, an engineer working on Sourcegraph’s API docs feature, shares tips for stirring code analysis with search indexingRead more
How do you make security, a topic that often requires a PhD to understand, accessible to your average developer? In this episode, Sam Scott, co-founder of Oso, a batteries-included library for building authorization into your application, comes on the podcast to explain to Beyang Liu, CTO at Sourcegraph, his vision for the future of security development. Along the way, Sam also shares how he got started in cryptography, explains why they pivoted Oso from infrastructure to application authorization, and shows Beyang how you can use Oso to build an authorization model with just 26 lines of code.
Click the audio player below to listen, or click here to watch the video.
Engineering managers and ICs at Sourcegraph once lacked a common language for growth. Here’s the story of how we developed the first version of our first engineering career framework.Read more
Adam Gordon Bell, Developer Advocate at Earthly, shares how he leverages dev tools to write consistent, high-quality technical prose.Read more
What’s the future of feature flags? Brothers Ivar and Egil Østhus, co-founders of Unleash, join Sourcegraph co-founder and CTO Beyang Liu to discuss their open source project and open core company. In this episode, Ivar and Egil talk about their histories in programming and open source, share the inspiration for turning a side project into a full-time job, and dissect the current state, as well as the future of, the feature flag market. Along the way, Ivar and Egil share an intimate look at their growing company, their evolving technology suite, and their plans for world domination.
Click the audio player below to listen, or click here to watch the video.
Spending more time on dependency issues than writing code—we’ve all been there, but it doesn’t have to be a one-way ticket.Read more
We used to store secrets in our source code. Here’s how we used code search to help us find, remove, and rotate all secrets in our codebase.Read more
Sourcegraph 3.32 introduces Code Insights in Public Beta, a new search sidebar for navigating revisions, improved search results caching, and custom LSIF data retention policies.Read more
Engineers are leading the way toward rethinking the 40-hour work week. Here, seven Sourcegraph team members, all current or former software engineers, share how and why they transformed their work calendars to support their preferred lifestyles.Read more
Paul Jolly, maintainer on the CUE project and co-creator of Play with Go, shares how a minimalist desk setup, combined with the sophisticated programming language CUE, creates a streamlined development environment.Read more
Liz Fong-Jones, Principal Developer Advocate at Honeycomb and long-time Site Reliability Engineer (SRE), shares how nano, Honeycomb, and ARM processors fit together into a moveable, minimal workflow for development.Read more
How do you design software documentation and websites that both intrigue and educate? As a contributor to popular projects like React Native, Jest, Prettier, and TypeScript, Orta Therox has prioritized design for visual engagement, accessibility, and learning. In this episode, Orta talks about the importance of engaging docs, how experimentation fuels learning and engineering in TypeScript, and how developers can write better code examples with Shiki Twoslash, a project he developed and designed. Along the way, Orta also shares his own story of getting into code and the odd way he was hired on Microsoft’s TypeScript compiler team.
Click the audio player below to listen, or click here to watch the video.
Sourcegraph 3.31 introduces the Private Beta release of Code Insights and the ability to automatically migrate saved search notifications to code monitors.Read more
On the eve of the pandemic, Christopher Chedeau was procrastinating on performance reviews at Facebook and decided to hack together a simple drawing app. That weekend project became Excalidraw, an open source virtual whiteboard so popular that its users have basically demanded a startup form around it so that they can bring it to work. In this episode of the Sourcegraph Podcast, Christopher tells the backstory of Excalidraw’s meteoric rise, as well as his story of joining Facebook and coming to America, and tales from the early days of React and how React Native was born.
Click the audio player below to listen, or click here to watch the video.
We're dropping support for Language Server-based code intelligence from our product, effective 2021-09-06. Note that this will affect all instances that are not running a private extension registry, not just those upgrading to the current version of Sourcegraph.Read more
Mitchell Hashimoto, co-founder, CTO, and now individual contributor at HashiCorp, shares how reproducible environments with NixOS and an iPad fit into his developer workflow, and his sentiments about IDEs.Read more
We’ve indexed over 1M open source repositories on Sourcegraph cloud to bring code search to the open source universe and code literacy to a much wider set of people.Read more
Here’s how we went from using 1400KB of RAM per repo to just 310KB without affecting latency.Read more
Thorsten Ball, software engineer at Sourcegraph, shares how he uses tmux as a window manager for the terminal, and goes to bat for Vim.Read more
What’s it like to deconstruct one of the largest Rails codebases (3 million lines of code, 500,000+ lifetime commits, 40,000 files) on the planet? And why didn’t Shopify follow the standard path to microservices, but instead choose to modularize their monolith?
In this episode, Kirsten Westeinde, software development manager at Shopify, describes how her team led the charge in refactoring and re-architecting Shopify’s massive codebase, sharing the winding path they took to make this massive change and the way they tackled both the technical and human sides of this challenge.
Devon Zuegel, the creator of GitHub Sponsors, tells the story of how an email rant to Nat Friedman on the eve of Microsoft’s acquisition of GitHub turned into the most popular way to fund open source. She also shares her thoughts on different models of paying for software and where the future of the code economy is headed.
Here's a sneak peek of our latest experiment to bring API documentation to all your code, generated by LSIF code intelligence data.Read more
Sourcegraph 3.30 introduces support for publishing batch changes from the UI, Code Insights dashboards, a new search reference in the search sidebar, and experimental API docs.Read more
Leah Culver, iOS Developer at Twitter, joined us to share some developer life hacks, her minimalist, no-config philosophy for tools, and her secret for reaching inbox zero.Read more
We raised a $125M Series D to bring really great code search to every developer in the world. With this new funding, we’re prioritizing innovations that will push the frontier of developer experience.Read more
We raised a $125M Series D to bring really great code search to every developer in the world. With this new funding, we’re prioritizing innovations that will push the frontier of developer experience.Read more
When we switched to a new search query parser in September 2020, you'd never know that anything had changed. This is an account of the rigorous testing that happened behind the scenes to ensure a seamless transition.Read more
The Sourcegraph 3.29 release introduces improved search results ranking, makes it easier to create Code Insights, and includes support for bulk actions with Batch Changes.Read more
We're launching an entirely new visual design for the Sourcegraph UI today! We've added so many features to Sourcegraph in the last few years, that we needed an entirely new visual design to keep up with our advancements. Let's take a look at some of the new designs and how they will help users n...Read more
Observability and tracking the right metrics are critical to development teams' success. We chatted to Charity Majors of Honeycomb about bridging the gap between dev and ops, and making software more comprehensible to everyone.Read more
We enabled Sourcegraph to resolve code intelligence requests for commits missing an index, but ran into scalability challenges when dealing with large commit graphs. Here's how we unearthed and resolved the problem.Read more
We enabled Sourcegraph to respond to requests for commits missing a code intelligence index quickly and with precise results. Read about our journey.Read more
The Sourcegraph 3.28 release includes new security enhancements and the redesigned extensions registry.Read more
Gut instinct doesn’t scale. Here’s how our rapidly growing all-remote product and design teams collaborated asynchronously to define Sourcegraph’s inclusive product design principles to help us scale consistently.Read more
A data-driven look at how the rise in code complexity affects new developers joining a team, and how engineering managers can support new hires with better onboarding.Read more
Check out the recording of our first episode of Dev Tool Time, in which Google Cloud Engineer Seth Vargo shares his tips for a productivity-optimized desk setup, efficient window management, and keyboard shortcuts.Read more
Sourcegraph 3.27 release includes Batch Changes updates, changes to the minimum required version of Postgres, and added a new seach feature.Read more
From "Automation" to "Campaigns" to "Batch Changes", this is the story of how we built (and rebuilt) our latest code search product, Batch Changes, and the lessons we learned along the way.Read more
Some people assume that Sourcegraph competes with GitHub, GitLab, Bitbucket, and other code hosts. This is wrong! In fact, we need code hosts to exist, and code hosts benefit from the existence of a good, vendor-neutral code search tool. Here's why.Read more
As of Sourcegraph 3.27, we're updating the minimum supported version of Postgres from 9.6 to 12. Here's why.Read more
Learn how to automate and track large-scale code changes across all of your repositories and code hosts with Sourcegraph Batch Changes.Read more
Sourcegraph 3.26 is released.Read more
We asked 17 Sourcegraph developers about their workspace preferences. Here's what we found.Read more
Sourcegraph 3.25 is released.Read more
As part of our 3.24 release, interactive search mode is no longer supported. We deprecated the feature last September, and as of January 20, 2021, it has been removed for all users.Read more
Sourcegraph 3.24 is released.Read more
Sourcegraph 3.23 is released.Read more
As an engineer at Puppet, CoreOS, and Google Cloud, Kelsey Hightower has been at
the forefront of new deployment technologies over the past decade. Along the way, he has built tools like
confd, created learning resources like Kubernetes The Hard
KubeCon, and taught multitudes of people
about containers, infrastructure as code, service meshes, and the operating system of the
In this conversation, Kelsey talks about how he learns new technologies, shares stories over the course of Kubernetes history, and explains how one might make sense of the varied ecosystem of infrastructure tools (“engineering organizations are like restaurants”).
Today we're announcing Sourcegraph's $50M Series C round of funding led by Sequoia. We'll use this funding to bring universal code search to more developers and companies.Read more
After leaving Google, many engineers miss the developer tools. Here's one ex-Googler's guide to navigating the dev tools landscape outside of Google, finding the ones that fill the gaps you're feeling, and introducing these to your new team.Read more
Peter Pezaris is the CEO and founder of Codestream, an editor plugin that’s bringing code discussions and communication into your IDE. Codestream is starting by bringing GitHub PRs into your editor, but it has a novel vision for knowledge sharing that goes well beyond that. We talk about that vision, the shortcomings of existing communication tools for developers, and the challenges of building a uniform user experience on top of multiple editor APIs.
Jonathan Carter (a.k.a. LostInTangent) is the principal program manager at Microsoft for VS Code Liveshare, GitHub Codespaces, and IntelliCode. We talk about how Liveshare is opening up new possibilities in pair programming, how Codespaces aims to reduce a key source of developer friction, and how he and his team want to enable more developers to say “yes” to the question, “Why not now?” Jonathan also talks about building dev tools in his spare time, including his latest project, CodeTour, a VS Code extension that lets you create guided tours through your codebase.
Andrew Gallant (a.k.a. BurntSushi) is the creator of ripgrep, a popular command-line search tool that powers the search box in VS Code. Andrew tells me how ripgrep began, explains why it’s faster than GNU grep and other grep alternatives, and gets into the nitty-gritty of regex optimization.
We also discuss another matter near and dear to both of us: Linux window management. Andrew talks about what he likes about Go and Haskell and why Rust is his current go-to programming language, and finally he shares a humorous anecdote involving algorithms, technical recruiting, and everyone’s favorite New England sports team.
This article originally appeared on Fast Company. At Sourcegraph, we’re all-remote. That means we write a lot—in emails, Google Docs, Github, and Slack. We work hard to cultivate a written-first culture. And that works beautifully for me. Because, you see, I have a hearing problem. Or as I like to…Read more
One of the things that comes with being an open source company is a commitment to transparency. As an industry, we mostly think about this in terms of source code, and at Sourcegraph we think of this in terms of the company itself, including product direction. I’d like to extend that to security…Read more
I find code checkers like linters and lightweight static analyzers most valuable when they teach me better ways to code in a language or framework. For example, the Go staticcheck tool finds expensive string comparisons like: and suggests instead: These short-and-sweet replacements are a great way…Read more
Syrus Akbary is the founder and CEO of Wasmer, the startup behind the open-source web assembly runtime that’s doing for WebAssembly what Docker did for LXC. Syrus explains what WebAssembly is, why it matters outside your browser, and how it compares to other virtualization technologies. He shares the pains that motivated him to look into WebAssembly and eventually led him to create a new WebAssembly runtime and a new company around it. We dive deep into WebAssembly as a technology, its portability and performance characteristics, and talk about the importance of prioritizing community and developer experience when building new development platforms.
We’re rethinking the way code ownership works at Sourcegraph and building a new tool that enables developers to subscribe to file changes in a Git repository.Read more
The software engineer career path is rarely clear, linear, or universal. It’s time engineers rethink the different career paths they can take.Read more
Sourcegraph 3.20 is released.Read more
We are happy to announce that the Sourcegraph design team has grown from 0 to 3! 🎉 The early stages of a new team are full of changes and unexpected challenges. I would like to show you what our first months of working together looked like, what we have accomplished, and our plans for the future…Read more
Michael Stapelberg shares with us a multitude of experiences and contributions across the Go and Linux open-source communities. Highlights include creating the popular window manager i3, building Debian Code Search, and researching fast package management for Linux with distri. Thorsten Ball, author of Writing a Compiler in Go and Writing an Interpreter in Go, joins. The three of us talk about the importance of developer experience to open-source communities, how code search changes how you work, and how to decide when to build something new.
We (Sourcegraph’s code intelligence team) recently made Go code intelligence faster, especially on very large repositories. For example, we cut the indexing time by 95% for the huge Go AWS SDK repository, from 8 minutes to 24 seconds. Here’s how we did it. Background: what is code intelligence…Read more
Matt Holt is the author of many popular projects in the Go open-source world, among them the popular Caddy web server, which pioneered support for HTTP/2 and might still be the only major web server to support automatic TLS by default.
Matt talks about his motivations for creating Caddy, how the project grew and evolved over time, what it was like to do a complete rewrite from Caddy v1 to v2, and the challenges of maintaining a very popular open-source project. He also talks about his latest project, a TCP multiplexer called Project Conncept.
Thorsten Klein is the creator of k3d, a tool that lets you run a lightweight Kubernetes cluster (k3s) inside a single Docker container. This makes it much easier to spin up a Kubernetes cluster in places like your dev environment, your CI pipeline, or a low-resource environment like a Raspberry Pi.
Thorsten is a DevOps engineer at Trivago, where he works on developer experience for a team that maintains a set of bare-metal Kubernetes clusters. Dax McDonald, former engineer at Rancher Labs, joins. We chat about the ways in which developers are using k3d, the motivations and inspirations for writing it, and other tools we find useful in the Kubernetes ecosystem.
Sourcegraph 3.19 is released.Read more
Rijnard van Tonder is the creator of Comby, a pattern-matching syntax and command-line tool that offers a more expressive and more user-friendly alternative to regular expressions for many common patterns in code.
Rijnard earned his PhD from Carnegie Mellon University in 2019. In this podcast, we chat about the state of the art in static analysis and automated bug-fixing, new tools made in industry like Pyre and SapFix, and what place machine learning has in the world of developer tools.
Dan Bentley is the CEO and co-founder of Tilt, a company that’s bringing order back to the dev environment in the age of microservices and Kubernetes. It features smart rebuilds, live updates, an easy-to-use CLI, and a beautiful GUI dashboard for staying on top of what’s happening in your multi-service dev environment.
Prior to founding Tilt, Dan was the first full-time dev tools engineer at Google, where he worked on a variety of developer tools and infrastructure over his 11-year stint. We talk about what Google was like just before the IPO, the features he misses from Google Code, and several projects he worked on, among them a precursor to Google’s famed Blaze (open-sourced now as Bazel) build system.
Yves Junqeira and John Ewart are co-founders of YourBase, a build and test runner service that accelerates testing and CI by understanding the implicit dependency graph of your builds. YourBase integrates with most major build tools and employs system call analysis and static language analysis to infer the build dependency structure without the need for manual configuration. It then uses this information to parallelize and cache builds, yielding significant performance improvements.
Yves and John reflect on their experiences working as SRE inside Google and SWE inside Amazon and how writing code is different inside these organizations, both compared to one another and to the rest of the world. They share lessons learned and advice for potential developer tool founders.
Our team has been hard at work continuing to improve Sourcegraph, so you can spend more time coding and less time trying to make sense of things. Sourcegraph 3.18 brings a solid lineup of new features and enhancements, including searching across multiple revisions at a time, GitLab support in…Read more
Often, you need to understand the differences between code at different branches (especially for release branches that have diverged). In Sourcegraph 3.18, you can now search across multiple revisions of the same repository by listing multiple branch names (or other revision specifiers) separated...Read more
Developers on some teams frequently search multiple revisions, such as long-lived release branches or important tags. We added version contexts in Sourcegraph 3.16 to make it easier for developers to search a collection of repositories at specified revisions. However, Sourcegraph still only indexed…Read more
As part of our ongoing effort to extend precise code intelligence to as many languages as possible, we’ve developed lsif-clang, a new LSIF indexer based on the clangd language server. This means that customers using C and C++ now have access to precise code intelligence. This improves on the work...Read more
We continue to make improvements to Sourcegraph’s out-of-the-box instrumentation and monitoring. You can now configure critical alerts to go to Slack, PagerDuty, Opsgenie, webhooks, or email, so it’s easier than ever before to get notified about critical issues. Alerts are now delivered with…Read more
Sourcegraph.com now has custom search pages for major open source communities. These pages provide targeted documentation with suggested queries specifically for users and contributors in each community, and searches are scoped by default to repositories relevant to that community. This is a great…Read more
We’ve improved in-product documentation to clarify how Sourcegraph fetches data from code hosts. We heard from some first-time users that they were uncertain about how Sourcegraph would use access tokens and how much additional load Sourcegraph would put on code host servers. The new docs make it…Read more
Felicis Ventures has invested an additional $5M in Sourcegraph, bringing our total raised to over $46M, including our $23M Series B in March 2020 led by Craft Ventures. We’re seeing rapid growth in the number of companies and developers using Sourcegraph, especially as the pandemic causes dev teams…Read more
If you write code on the modern web, it’s almost certain that your life has been shaped significantly by Luke Hoban’s work. Luke has worked on developer tools his entire career. He started out on Visual Studio, C#, and .NET in the early 2000s, later joined the ECMAScript standards body as a representative of Microsoft, and then became one of the co-founders of the TypeScript programming language. Today, he is the CTO of Pulumi, an infrastructure-as-code company that lets you write your deployment config as code in your favorite language.
Luke shares stories from the early days of TypeScript and talks about how it evolved from a two-man team to one of the most successful programming languages and open-source projects. We discuss important inflection points and design decisions that played a key role in TypeScript’s runaway success. We also dive into the symbiotic relationship that TypeScript had with another early project just getting off the ground at the time: VS Code. Luke also shares his learnings from his stint at AWS, how his role at Pulumi combines his two passions for programming languages and cloud infrastructure, and how Pulumi brings the niceties of the IDE experience to an area that sorely needs it—infrastructure configuration management.
Evan’s career has spanned many years up and down the software stack, from frontend UI development to infrastructure and ops. For the past five years, his focus has been developer tooling and infrastructure, having worked on these during his tenure at Uber during its hypergrowth years and now on the dev tools team at Segment, where his charter is to “empower the engineers of Segment with the tools to automate, optimize, and streamline their workflows.” In this episode, he explains to Beyang what exactly that means, discussing Segment’s use of technologies from the AWS ecosystem, the popular open-source secret management tool they created, ChatOps, and various Docker- and Kubernetes-based tools that are useful for managing the deployment of many microservices.
Charity Majors is the founder and CTO of Honeycomb, provider of observability tooling for modern engineering teams to build resilient production software that delights customers and reduces toil. Charity tells Beyang about how Honeycomb derives its definition of observability for software systems from its original definition in control theory, and how observability differs from monitoring and logging. She shares war stories from her time keeping systems online at Facebook and Parse, gives her predictions about how the landscape of observability and monitoring tools will evolve, and discusses how developer tools can make programming more accessible to everyone.
Ryan Djurovich is a DevOps manager at Xero and former manager of the DevTools team at Cloudflare. He shares with Quinn how he has seen the landscape of Continuous Integration and Delivery (CI/CD) tools change over the years, the three waves of CI/CD, and where he thinks testing and build tools are headed in the future.
Sourcegraph 3.17: Faster and automatic precise code intelligence, preview of code insights, and AND/OR queries for searching file contentsRead more
Read about how we used a memory and CPU profiler, creative thinking, and a lot of developer elbow grease to optimize our semantic code indexing system to give users twice-as-fast tooltips, go-to-definition, and references.Read more
We've spent a year building out the world's largest semantic code index using the Language Server Index Format (LSIF). Read about the technical journey, from MVP to scaling and optimizing the system to support large-scale codebases.Read more
David Cramer talks about creating Sentry as an open-source side project, maintaining it while working full-time at Dropbox, and ultimately growing it into today’s leading application monitoring tool. We chat about the emergence of new computing platforms, his thoughts on what’s truly new and what’s just marketing-speak for old ideas, and how he sees the landscape of monitoring evolving in the future.
Welcome to the Sourcegraph Podcast, a new show about developer tools and their creators. Over the next couple of weeks, we’ll be publishing conversations with people we think are some of the best and brightest minds working on tools and infrastructure for developers. Here’s a partial lineup:
If you have ideas or suggestions for guests, hit us up on Twitter. We’re speaking to an audience of developers who love leveling up their productivity and, perhaps, who also aspire to create great dev tools themselves. If that’s you, then subscribe! We look forward to sharing some insightful conversations with you over the next few weeks.
Sourcegraph 3.16: Search past releases, get started with campaigns, and enjoy syntax highlighting improvementsRead more
So much of what we do as programmers boils down to automating the tedium out of our work. We’d like to spend our lives focusing on the design of beautiful abstractions and algorithms, but before we can get to that, we have to do the dirty work—and do it quickly. Whether you are a newbie or a…Read more
With many family homes now being an office (and perhaps a school as well), we wanted a new and novel approach for embracing the spirit of the United States’ annual ”Take Our Kids to Work” day. We love what we’ve come up with and hope you will too—a new digital children’s book titled ”Our ABCs…Read more
Sourcegraph 3.15: Campaigns beta available, GitHub repository permissions, experimental AND/OR operators, and improved observabilityRead more
Sourcegraph transitioned from remote-first to all-remote early 2020. In this white paper, we share some tips and tricks on how to live your best distributed work life and a summary of why using Sourcegraph makes remote software development easier.Read more
At Sourcegraph we are working toward a long term goal of making code intelligence results both fast and precise. Today, Sourcegraph provides basic code intelligence for many languages using our search engine. It’s fast, requires zero configuration, and covers many use cases, but the results are not…Read more
Universal Code Intelligence for GitHub means bringing code navigation features such as hover tooltips, go to definition, and find references to every code view and pull request, supporting every popular language, and all public and private repositories on both GitHub.com and GitHub Enterprise.Read more
On February 20, 2020, we officially moved out of our amazing San Francisco office and became an all-remote company. Few people have worked at an all-remote company before, and I frequently get questions—especially from candidates—about what led to this decision.Read more
I’m always curious to see other people’s desks (who isn’t?) to get a glimpse of their setup, and after seeing the home office desks of Basecamp, I immediately wanted to have the same collection for Sourcegraph. As an all-remote company, we only have home office setups and they range from “sparse”...Read more
With the GitLab native code intelligence integration from Sourcegraph, you can bring IDE-like features such as hover tooltips and go to definition to every GitLab code view. The below screencasts show you how to enable the Sourcegraph integration for both GitLab CE/EE and GitLab.com. Native code…Read more
Sourcegraph 3.14: Faster repository permissions, excluding forks and archived repositories by default, and Docker Compose deploymentRead more
Universal Code Search for GitLabRead more
Universal Code Search for GitHubRead more
Today is a big milestone for Sourcegraph. We’ve raised $23M in Series B funding, led by David Sacks at Craft Ventures. Our existing investors at Goldcrest, Redpoint, Hanover, and Burst also participated. We’re excited to welcome David Sacks of Craft Ventures to our board of directors. David helped…Read more
Sourcegraph 3.13: Interactive search mode, structural search toggle, and campaigns with custom code executionRead more
We’re introducing a new way to search code at Sourcegraph with structural code search. Structural code search lets you match nested expressions and whole code blocks that can be difficult or awkward to match using regular expressions. What is structural code search? Structural code search is the…Read more
Sourcegraph 3.12: Match case toggle, draft campaigns, and exciting experimental featuresRead more
Sourcegraph 3.11: Structural search, removed management console, language statistics, and NPM credentials campaignRead more
TypeScript and ECMAScript have some of the most beautiful constructs and syntaxes to do parallel, non-blocking programming—but unfortunately, only for standard APIs like fetch in the browser or file IO in Node. When implementing anything CPU-bound in TypeScript, offloading it into a different…Read more
Learn how Sourcegraph code search helped Lyft ensure (largely) issue-free production deploys during their monolith to microservices decompositionRead more
Code navigation helps you review code in GitHub pull requests more quickly and effectively. Hovers show you documentation and type information for symbols. Go to definition jumps you to where a function (or other symbol) is defined. Find references lists everywhere a function (or other symbol) is…Read more
Sourcegraph enables SoFi to innovate and move quickly while ensuring production stability for hundreds of microservices.Read more
Sourcegraph 3.10: Improved search autocompletion, native GitLab integration, and search and replace campaignsRead more
Check out the below video where Quinn sat down with GitLab CEO Sid Sijbrandij to discuss the native GitLab integration, and why Sourcegraph’s code intelligence means better code reviews and improved code quality for GitLab Enterprise customers and open source projects on GitLab.com. Over 100,00…Read more
Since 2015, Convoy has quickly grown to over 500 employees. Sourcegraph helps them improve their developer on-boarding process.Read more
At Convoy, Sourcegraph is transforming how engineers and data scientists collaborate, resulting in greater efficiency and improved data integrity.Read more
“Trust is great. Control is better.” - German proverb In December 2017, Sourcegraph went from being a traditional cloud-hosted Software as a Service (SaaS) product to an on-premises, self-hosted product. This blog post covers what drove our decision and what challenges we encountered. It explains…Read more
Sourcegraph 3.9: Literal search by default, multi-project LSIF code intelligence, Grafana dashboards, and configurationRead more
Writing an LSIF IndexerRead more
Sourcegraph 3.8: Search UI improvements, monitoring tools, code change campaigns, and LSIF-based code intelligenceRead more
Sourcegraph is proud to be hosting the first ever liveblog for Strange Loop 2019, and we're looking for attendees to help contribute.Read more
Founded in 2006, Quantcast's engineering team had amassed thousands of repositories. Learn how after deploying Sourcegraph, Quantcast was able to do major refactors with confidence.Read more
Sourcegraph 3.7: Improved performance, efficiency, accuracy, and reliabilityRead more
Sourcegraph 3.6: Bitbucket Server plugin, search performance improvements, and quick linksRead more
Thorn builds technology to defend children from sexual abuse, helping law enforcement reduce investigation times by 60%, ensuring that more children are found, faster. Sourcegraph is helping Thorn with their mission, by making it safer to deprecate legacy applications—searching all repositories i...Read more
Sourcegraph 3.5: Powerful new search filters, improved configuration, and Bitbucket Server repository permissionsRead more
Sourcegraph is the standard developer platform for code search and navigation at many of the largest and most exacting technology companies. With Sourcegraph, every company can get access to the same kind of tools that Google and Facebook developers use every day. We’re excited to announce…Read more
In this post, we’ll explain how Sourcegraph code search can be used to report on the progress of upgrading CircleCI config files to the 2.0 format. CircleCI 2.0 officially came out of beta in July 2017, introducing a versioned config file () to replace the previous file. A likely scenario could be…Read more
Sourcegraph 3.3: Improving the user experience for site adminsRead more
Tooling has always been a focus for TypeScript and a large reason for its success. TypeScript code intelligence is available across many editors and even web-based tools, all provided by the same service TypeScript ships out-of-the-box with the compiler itself. This presentation gives a tour and…Read more
Sourcegraph 3.2: (Mostly) no new features - Improved stability, setup, and documentationRead more
Sourcegraph 3.1 releasedRead more
Sourcegraph 3.0 is now shipping! This release comes with HUGE improvements so you can search and navigate all your organization’s code more quickly, with code intelligence (go-to-definition and find-references) for all languages. What is Sourcegraph? Sourcegraph is an open source, self-hosted, cr...Read more
Update: Sourcegraph 3.0 is now released. Beta instances should update now. We’ve removed the 3.0 beta announcement text here to avoid confusion, but you can view the original 3.0 beta announcement if needed.Read more
Improving language support in 2019Read more
New GraphQL Sourcegraph extensionRead more
Code intelligence for Java and PHP (and other experimental languages) will be temporarily unavailable for public code on Sourcegraph.com starting Friday, November 30, as we transition to a new, more extensible way of adding language support using Sourcegraph extensions. Only public code on…Read more
Announcing Sourcegraph 2.13 Sourcegraph 2.13 ships today, with several improvements: Indexed search option for single-node Docker container deployment to speed up searches (previously Enterprise-only, now free and open source) More ways to specify which GitHub and GitHub Enterprise repositories to…Read more
Our CEO @sqs (Quinn Slack) was on the Future of Coding podcast this week to talk about basic developer human rights, the Sourcegraph master plan, and the future of developer tools. As a developer, you have these questions you need answered: How do I do this thing in the code? Why is it built this…Read more
We are building the best code search and browsing tool for your team to help you write, review, and ship code better. Our mission is to bring the future sooner by bringing the best tools to developers everywhere. Our announcement this month that Sourcegraph is now open source is one way we will get…Read more
Do you use Vim and miss the powerful features for navigating your code that Sourcegraph gives you in your browser? Code intelligence in Sourcegraph is powered by language servers that implement the Language Server Protocol. This means you can install these language servers locally and get code…Read more
Here’s how we run end-to-end tests, an important part of Sourcegraph’s testing infrastructure, in Buildkite CI.Read more
Our mission is to build the best code search and browsing tool for your team to help you write the highest quality software possible. Here’s new, what’s changed, and what’s fixed. Simplified browser extension configuration Deploy Sourcegraph to Kubernetes with plain YAML Webhooks for manual…Read more
Minimal version selection can help resolve Go dependencies. Learn how to use this methodology to produce high-fidelity builds by default.Read more
Today was my first day back to work at Sourcegraph after my 3 1/2 months* long maternity leave. I consider myself lucky to be working at a company that is family friendly and has made my journey to parenthood much easier than expected. I decided to share some of the points I believe Sourcegraph and…Read more
Docker announced that the Docker Hub and Docker Store (backed by the same Docker Registry) will be down (totally offline) from 11:00 Pacific Time 25 August with 15-45 minutes (expected) downtime. You may be thinking “I use Kubernetes, doesn’t this only affect people executing ? Well yes, but that...Read more
Sourcegraph’s browser extensions for Chrome and Firefox are now open source in sourcegraph/sourcegraph. These popular browser extensions add code intelligence (hovers, go to definition, find references, find implementations, and soon much more) to every website where you read code — including Git...Read more
One of my favorite things about Sourcegraph is the fact that we are a team of developers building a product for developers. This means that everyone on the team has product intuition and can participate in planning what we are going to work on for our next release. Normally we spend time reviewing…Read more
We’re working hard to build the best code search and browsing tool for your team, so you can write, review, and ship code better. In this month’s release, we focused on improving the user experience and repository syncing for Sourcegraph’s integrations with GitHub, GitHub Enterprise, Bitbucket…Read more
In Sourcegraph 2.9, we focused on improving the code search, rollout, and deployment experience for organizations with 100s and 1,000s of developers and repositories. We’re building Sourcegraph to be the best way for developers to search and browse code, and we’re thankful for all the feedback…Read more
At Sourcegraph, we’re building not only a great product for engineers, but also a great, inclusive company for engineers to be a part of. Over the last few months, we’ve been experimenting with our hiring process and wanted to share our experience so far. (Our last experiment was putting open roles…Read more
Update: Sourcegraph now uses Sourcegraph extensions for language support. This blog post has been removed to avoid confusion. We’re still eager to sponsor people to build and improve open source, LSP-based language servers. Contact us if you’re interested, either as a part-time effort or to join ...Read more
Sourcegraph 2.8 is out today, with support for more languages, huge monorepos, and more! Sourcegraph is a code search and intelligence tool that helps your team code more productively. With Sourcegraph, developers can find code examples, view references/callers, locate definitions, etc., across all…Read more
Having worked at GitHub and spent more time than is probably warranted tweaking my dotfiles, I consider myself a developer tools enthusiast. Recently, I found myself spending more and more of my free time smoothing out my development process, including hacking on auto-import for Haskell in VS Code…Read more
Sourcegraph 2.7 ships today, with tons of new features and improvements to help your team build better software. Get code intelligence in seconds with no setup, view diffs with code intelligence directly in Sourcegraph, and get more information when finding references. This release comes with many…Read more
Our product, Sourcegraph, lets software teams search and explore their code, so naturally we think a lot about how to help software teams ship better software faster. As we’ve grown, we’ve learned a lot from GitHub, Visual Studio Code, GitLab, and other teams who have shared their internal proces...Read more
Sourcegraph + Bitbucket Today, we’re bringing fast, powerful code search to the thousands of development teams on Bitbucket Server. With Sourcegraph 2.6, we’ve built out native support for Bitbucket Server to make it easier to get code search across all your Bitbucket Server repositories. Follow…Read more
We’re excited to announce Sourcegraph 2.6, with tons of new features and improvements to help your team build better software. Search for and jump directly to symbols, search for the code you need more quickly, and set up Sourcegraph to search across all of your code–all available now. This release…Read more
In Go, it is idiomatic to have explicit error handling. This means that many functions return an in addition to the expected result (e.g. strconv.ParseBool). Go code can also panic and recover, which is similar to throwing and catching exceptions in other languages. In Go, panic should be reserved…Read more
Monitor code changes with Google Alerts-style notifications, get code intelligence in reviews/PRs, and search over thousands of repositories in hundreds of milliseconds—all with Sourcegraph 2.5, shipping today. This release also includes other highly requested features, such as native GitLab supp...Read more
Sourcegraph 2.4 is here. It is now free for unlimited users and repositories, can be installed in minutes with a single command, and is easily configurable in the new web-based site admin. This release also includes many performance and bug fixes, plus a better interface for monitoring search…Read more
Search code over all of your company’s repositories, save and reuse common search queries and scopes, and do it all more quickly with style. This release also includes previews of diff/commit search and author/date filters, which help you debug issues and find usage examples in your company’s code…Read more
Install Sourcegraph to get great code search on AWS CodeCommit Sourcegraph brings great code search and understanding abilities to development teams using AWS CodeCommit. Code search helps your engineering team find usage examples, debug errors, reuse existing libraries and packages, and understand…Read more
This is inspired by the classic essay Good Product Manager/Bad Product Manager. Great code search is so fast and relevant that you use it constantly while coding. It’s one of your top keybindings. Bad code search is slow and stale, and you only find it useful a few times per week. If you haven’t…Read more
We’ve been hard at work on improvements to Sourcegraph to give you great code search on your company’s code. Here’s what’s new and improved: Code search: There is now a directory listing view with the last Git commit for each subdirectory and file. Query terms are now interpreted as regexps, not…Read more
Today, we’re releasing more powerful code search on Sourcegraph.com and Sourcegraph. You can use operators such as repo: and file: to restrict your search to certain repositories and files (by regular expression match on their name). For example, repo:foo will restrict your query to repositories…Read more
Update: This blog post has been edited to remove references to outdated features. We’ve been hard at work on some major improvements to how you search, browse, and review code. Today we’re excited to announce several big new features. Introducing Sourcegraph Already used by many of our customers ...Read more
At Sourcegraph, we think you deserve code intelligence whenever you’re looking at code. So, when GitHub introduced embedded code snippets for GitHub issues, we quickly updated the Sourcegraph Chrome extension to add code intelligence to these snippets. Code intelligence on embedded code snippets…Read more
We’ve added a file tree to GitHub so that you can quickly explore an entire repository and jump between files without taking your hands off the keyboard.FileTree Get started by downloading the Sourcegraph for GitHub Chrome extension And then jump into a repository https://github.com/hootsuite…Read more
Liveblog by Matt KingSelection 012 Slides for this talk have been posted here. About The Speaker Marty Schoch is a Senior Software Engineer at Couchbase and the lead developer at Bleve, an open source full-text search library for Go. Overview Marty explores the internals of a high-performance key…Read more
Liveblog by Beyang Liu (@beyang) Alan Shreve is an hacker, entrepreneur and creator of ngrok.com. ngrok is the best way to connect expose services behind a NAT or firewall to the internet for demos, webhook development and IoT connectivity. Today, he’s giving us a whirlwind tour of gRPC and how to…Read more
jp robinson JP Robinson, principal engineer at the New York Times, has “drunk Peter’s koolaid” with respect to Go kit. github.com/NYTimes/gizmo adapts Go kit for use inside a production ecosystem with a bunch of existing legacy services. The NYTimes uses it across almost all their production Go…Read more
Faster, smoother GitHub code browsing with the updated Sourcegraph Chrome extension. We’re excited to announce more improvements to the Sourcegraph Chrome extension. More than 10,000 developers use it to browse and search code on GitHub with the power of an IDE. In addition to the new features…Read more
Pick your favorite Java repository and a revision and file at random (or try this one). Visit that file in Sourcegraph and within seconds, you can jump to definition (Ctrl/⌘-click), find all references (right click), search for symbols (Ctrl/⌘-p), and view usage examples drawn from other projects…Read more
Today, we announce general availability for Java on Sourcegraph. If you write Java, this means that you can now use Sourcegraph to: Explore code without losing your place in your editor Get IDE-like functionality to your code review tool Learn from usage examples drawn from across the open source…Read more
Update (September 20, 2017): Viewing a list of repositories that refer to another repository is currently disabled. It will be added back soon. Viewing function call sites across repositories is still supported. We’re excited to announce that Sourcegraph “used by” badges now support Java libraries…Read more
In-repository code search is now available in Sourcegraph. Simply click the magnifying glass icon above the file tree, type your search term, and click enter. Once you select a result, you’ll get full code intelligence, including our info panel whenever you click a method, variable or struct. In…Read more
Matt Holt is the creator of the popular Caddy Web Server. Caddy is called what it is because it acts like a compartment for all your server things. Most people use its HTTP server, but Caddy can also serve DNS, and there are a number of other plugins that extend Caddy’s functionality.1*dxC5SLwJzx…Read more
Today, we’re enabling Code Intelligence on Sourcegraph.com for Java projects that use Maven. Our preview release of Java means you can jump to definition, find references, and hover over for docs on many of your favorite Java repositories — all without configuring a single editor plugin or clonin...Read more
The problem of Code Intelligence and the need for an open standard Update: Part 2 of this series is now published. Sourcegraph lets you view any line of code in your web browser with all the navigation features of an IDE and more. That includes both classic abilities — like jump-to-definition, find…Read more
Making Code Intelligence “just work” In my last post, I introduced the Language Server Protocol as the open source protocol that we at Sourcegraph believe will enable a new set of developer tools powered by Code Intelligence. Code Intelligence, if you recall, is just shorthand for jump-to-def find…Read more
Update: See ”Repository badges” in Sourcegraph documentation for the latest information about this feature.Read more
First, some background: Beyang and I have deep respect for how Google builds software. Beyang interned there, and I’ve worked with Googlers on many open source projects, including Chromium. What’s their secret? How are they so good? Ask any Google developer, and they’ll give much of the credit to…Read more
I have been fortunate in my career to work with some amazing founders and CEOs. Lloyd Tabb, Ben Porterfield, and Frank Bien at Looker are building the data platform that I have been craving since I started working in technology. Nat Friedman and Miguel de Icaza at Xamarin brought mobile development…Read more
(Note: if you want to skip the poetry and just check out the project, click here) Begin code review. Too many lines, what to do? Hmm. LGTM?Code review is tedious. there’s a better way to review fast but ensure good code quality: One-click jump-to-def and hover over for docs. Save time and focus…Read more
What’s the best semantic and future-proof way to link to a piece of code? There’s been some interesting discussion about the right way, and it’s something we think about a lot at Sourcegraph as we build a better way for developers to discover and understand code. The consensus is that when you’re…Read more
Today, we’re announcing a new edition of Sourcegraph that makes it even faster and easier to answer your everyday programming questions. If you code in Go, check it out now. If you use another language, sign up for the beta — we’ll have news for you in the next couple of weeks! If you’re new to…Read more
Lynn Langit, Cloud & Data Architect Director of Teaching Kids Programming (slides)1*3eFc2KNwHBjrHFpD vjbhA She tells the story of Matt, a fifth grade history teacher who wrote some bacon-related code in Swift Lynn’s daughter has been coding since age 8 and taught Matt how to code. Matt now teaches…Read more
About a month ago, Sourcegraph released Checkup, an open source, self-hosted uptime monitoring system written by Matt Holt. Following its release, a lot of people asked us how we were using Checkup at Sourcegraph. Today, we’re sharing our public status page, powered by Checkup, and laying out some…Read more
At Sourcegraph, we believe building for the future requires learning the lessons of the past. This is the first in a series of blog posts that cover historical anecdotes about software engineering that have inspired us as we build tools for the modern developer. We’re sharing these, because we th...Read more
It’s like a CPU profiler, but for your productivity rather than your machine’s Do you ever think about how to make yourself a more productive programmer? At Sourcegraph, this is a question we think about every day. Our entire mission is to make your life as a developer easier and more efficient…Read more
Andrey Petrov (@shazow) spoke at the Sourcegraph office about lessons learned from his successes and “many failures” (his phrase) creating open source projects. Andrey is author of the popular urllib3 library (explore urllib3 on Sourcegraph) and several other popular open source libraries. During…Read more
Today, Sourcegraph is excited to announce Checkup, a simple tool that lets you easily create distributed, self-hosted health checks and status pages.0*bR4H1dPKkhf6T-hC The Checkup status page works out of the box Monitoring uptime is a crucial part of running any web service. It lets you sleep well…Read more
From the very beginning at Sourcegraph, it’s been our goal to build a product so helpful that people could never go back to programming the old way. Sourcegraph helps developers discover and understand code, and to address such a complex need requires us to deeply understand our users. We’d like to…Read more
Juan Benet (@juanbenet) spoke at the Sourcegraph Hacker Meetup about his project, “IPFS: The Permanent Web” (slides and video). IPFS is a bold attempt at evolving the Internet’s infrastructure. Here’s how Juan describes it to Sourcegraph: IPFS is a global, versioned, peer-to-peer file system. It…Read more
There are many benefits to contributing to a popular open source project like Docker: You earn recognition for improving a project used by many people. You get to collaborate with other amazingly smart people in the open source community. You become a better programmer yourself through the process…Read more
Every developer knows they should instrument their app to identify perf bottlenecks, but it’s hard to actually get around to doing it — especially when you’re focused on shipping the latest and greatest features of your site.0*jXkIPsoJBjXY80cs Today we’re announcing Appdash, an open source multi…Read more
Innovation fellow of the U.S. Digital Service, a.k.a. the “president’s startup.” His time as innovation fellow started in 2014, right around the time the conversation around law enforcement and Ferguson was coming to a tipping point. Big demand for better data around policing, especially with…Read more
Wouldn’t it be awesome if you could review, browse, and search code on GitHub as though you were in an IDE, with jump-to-definition, doc tooltips, and cross-references? We think so. That’s why we built the Sourcegraph Chrome extension for GitHub. Update (June 22, 2016): Added support for pull…Read more
Use Sourcegraph to discover and understand code better There’s a gold mine of code available to programmers, but choosing the right library and understanding how to use it can be tricky. We created Sourcegraph, a fast, semantic code search and cross-reference engine, to help developers like you…Read more
This was originally a talk at Google I/O 2014. Check out the slides and YouTube video. Thanks to the Go team for inviting us! What is Sourcegraph? Sourcegraph is a large-scale, multi-language code search and cross-reference engine that indexes hundreds of thousands of open source repositories…Read more
Building software is hard. We hosted a casual dinner here at the Sourcegraph office in downtown San Francisco for ten developers from leading startup software teams. At the dinner, the teams shared a behind-the-scenes look at their processes (and frustrations): testing, deployment, and code reviews…Read more
Today we’re excited to announce a step toward giving every team the power to build better software — the developer release of Sourcegraph, the fast, semantic code search and cross-reference engine. As developers, we always wanted a better way to discover and understand code: Why can’t your code h...Read more
We invited ten developers from leading tech startups around the Bay Area to join us for an “off-the-record” dinner to discuss the practice of code review (and what we want in an ideal code review process). Below is a wrap-up of the salient points from our dinner. Given the off-the-record nature of…Read more
Can a policy that banks use to combat insider fraud also make tech companies produce better products and happier employees? Sure. At Sourcegraph, our mandatory vacation policy requires everyone to completely disconnect from work for at least 2 weeks each year — no exceptions.0*oDIH90jQ4ZzUANWM Ph...Read more
Do you use the best tools money can buy? We ask ourselves that a lot at Sourcegraph. It’s one of the questions in The Joel Test, Joel Spolsky’s classic 12-question benchmark of your team’s software engineering practices. Since he published the test in 2000, the “best tools money can buy” have…Read more