HN user

sqs

3,396 karma

Quinn Slack, CEO/co-founder of Sourcegraph

https://sourcegraph.com sqs@sourcegraph.com https://slack.org

Posts63
Comments610
View on HN
ampcode.com 10mo ago

How to Build an Agent (Or: The Emperor Has No Clothes)

sqs
1pts0
wickstrom.tech 10mo ago

Fuzzing a Coding Agent

sqs
5pts0
sketch.dev 1y ago

How I Program with Agents

sqs
4pts0
ampcode.com 1y ago

No More BYOK

sqs
3pts0
www.anthropic.com 1y ago

Claude Code: Best practices for agentic coding

sqs
614pts257
sourcegraph.com 1y ago

Improving Cody Autocomplete: Faster and Smarter

sqs
1pts0
about.sourcegraph.com 3y ago

My mental model for building and using LLM-based applications

sqs
2pts0
slack.org 3y ago

Demoing an LLM-Based Application

sqs
1pts0
about.sourcegraph.com 3y ago

Cody answers questions and writes code for you by reading the code graph

sqs
5pts1
slack.org 5y ago

I love code (and how I started coding)

sqs
1pts0
github.com 6y ago

Microsoft’s new Python language server is closed source

sqs
3pts1
slack.org 6y ago

High-resolution video calls

sqs
9pts0
www.foundingsales.com 6y ago

Founding Sales: Startup sales for founders

sqs
2pts1
about.sourcegraph.com 7y ago

Sourcegraph 3.1 Released – Easier Code Search, Better Code Intel

sqs
24pts1
blog.codestream.com 7y ago

CodeStream master plan

sqs
45pts4
go-review.googlesource.com 7y ago

Go team adding a Go language server to core

sqs
218pts92
github.com 7y ago

Show HN: Sourcegraph extension API alpha

sqs
23pts2
sourcegraph.com 7y ago

GopherCon 2018 liveblog

sqs
1pts0
about.sourcegraph.com 8y ago

Our project-based interview experiment for hiring engineers

sqs
1pts0
about.sourcegraph.com 8y ago

Sourcegraph 2.8: 19 languages, ridiculously huge monorepos, LSP, a GraphQL API

sqs
3pts0
developer.github.com 8y ago

GitHub Checks API

sqs
4pts0
text.sourcegraph.com 9y ago

Go code intelligence on Sourcegraph: Google Code Search for the rest of us

sqs
6pts1
sourcegraph.com 9y ago

Sourcegraph Master Plan

sqs
3pts2
text.sourcegraph.com 10y ago

How to make your open-source project thrive, with Andrey Petrov (shazow)

sqs
2pts0
www.zdnet.com 10y ago

Low code development is coming

sqs
1pts0
text.sourcegraph.com 10y ago

Building a product, one user interview at a time

sqs
1pts0
text.sourcegraph.com 10y ago

Toward a URL for every function in the world

sqs
1pts0
text.sourcegraph.com 10y ago

Why vacation at tech companies should be mandatory: better code, happier people

sqs
3pts0
github.com 10y ago

Sourcegraph (code search engine)

sqs
3pts0
chrome.google.com 10y ago

Chrome extension that adds IDE features to GitHub (jump-to-def, find usages)

sqs
1pts0
Claude Opus 4.5 8 months ago

Using small threads (see https://ampcode.com/@sqs for some of my public threads).

If you use very long threads and treat it as a long-and-winding conversation, you will get worse results and pay a lot more.

Claude Opus 4.5 8 months ago

What's super interesting is that Opus is cheaper all-in than Sonnet for many usage patterns.

Here are some early rough numbers from our own internal usage on the Amp team (avg cost $ per thread):

- Sonnet 4.5: $1.83

- Opus 4.5: $1.30 (earlier checkpoint last week was $1.55)

- Gemini 3 Pro: $1.21

Cost per token is not the right way to look at this. A bit more intelligence means mistakes (and wasted tokens) avoided.

Sorry we missed that email! I don’t know what went wrong there, but I just replied and will figure it out. This is definitely not the norm (and Build Crew is a small fraction of our users).

Yeah, I said about coding agents, “it’s obviously the future, but it’s not there yet”. That talk was from the AI Engineer conference in June 2024 (16 months ago). Coding agents have come a long way since then!

It's a big organization of teen coders who build really cool things together. Instead of coding alone, they get to hack on software and hardware projects in person and online with other smart teens all around the world.

You can see full financial and donor information at https://hackclub.com/philanthropy/ as well. Check it out. It's an organization that lots of HN folks would support (and many do). (I am on the board of Hack Club.)

Just the filename is standardized. The contents aren't, which is exactly right. From the site:

Are there required fields?

No. AGENTS.md is just standard Markdown. Use any headings you like; the agent simply parses the text you provide.

Is it a very large codebase? Anything else distinctive about it? Are you often asking high-level/conceptual questions? Those are the questions that would help me understand why you might be seeing better results with RAG.

Tool-calling agents with search tools do very well at information retrieval tasks in codebases. They are slower and more expensive than good RAG (if you amortize the RAG index over many operations), but they're incredibly versatile and excel in many cases where RAG would fall down. Why do you think you need semantic indexing?

What a shallow, negative post. "Hype" is tautologically bad. Being negative and "above the hype" makes you sound smart, but this post adds nothing to the discussion and is just as fuzzy as the hype it criticizes.

It is a real shame that some of the most beneficial tools ever invented, such as computers, modern databases, data centers, etc. exist in an industry that has become so obsessed with hype and trends that it resembles the fashion industry.

Would not the author have claimed at the time that those technologies were also "hype"? What consistent principle does the author use (a priori) to separate "useful facts" from "hype"?

Or, if the author would have considered those over-hyped at the time, then they should have some humility because in 10 years they may look back at AI as another one of the "most beneficial tools ever invented".

In technology, AI is currently the new big hype. ... 10% of the AI hype is based on useful facts

The author ascribes malice to people who disagree with them about the use of AI. The author says proponents of AI are "greedy", "careless", unskilled, inexperienced, and unproductive. How does the author know that these people don't believe that AI has great utility and potential?

Don't waste your time on this article. I wish I hadn't. Go build something, or at least make thoughtful, well defined critiques of the world.

Congratulations and thank you to Sid, the GitLab CEO, for building an incredible company and product.

GitLab was the first code host to add more products (CI, security, ops, helpdesk, analytics, etc.) and create a whole suite, and GitHub followed. GitLab also built for the enterprise years before GitHub started to give appropriate love to the enterprise. Some people think that GitLab is a GitHub clone. Quite the opposite!

Even if you don't use GitLab yourself, you've been a huge beneficiary of the dev workflow GitLab envisioned and created, and of the competition they've given to Microsoft/GitHub. Competition in this space makes everything better.

Most users won't and shouldn't need to go through the process of adding context sources. In the enterprise, you want these to be chosen by (and pre-authed/configured by) admins, or at least not by each individual user, because that would introduce a lot of friction and inconsistency. We are still working on making that smooth, which is why we haven't been very loud about OpenCtx to end users yet.

But today we already have lots of enterprise customers building their own OpenCtx providers and/or using the `openctx.providers` global settings in Sourcegraph to configure them in the current state. OpenCtx has been quite valuable already here to our customers.

Yeah, we’re using it a lot at Sourcegraph. There are some extra APIs it offers beyond what MCP offers, such as annotations (as you can see on the homepage of https://openctx.org). We worked with Anthropic on MCP because this kind of layer benefits everyone, and we’ve already shipped interoperability.

Yes, Cody can use Ollama for both chat and autocomplete. See https://sourcegraph.com/docs/cody/clients/install-vscode#sup.... This lets you use Cody fully offline, but it doesn't /prevent/ API calls to third parties; you are still able to select online models like Claude 3.5 Sonnet.

I have a WIP PR right now (like literally coding on it right now) making Cody support strict offline mode better (i.e., not even showing online models if you choose to be offline): https://github.com/sourcegraph/cody/pull/5221.

Codium or Codeium? (Edit: Original post said Codium but it sounded like Codeium to me based on the description. :)

Yeah, use this in your VS Code settings to use a different Ollama URL (here it's localhost:11434 but change apiEndpoint, model, and tokens to whatever).

  "cody.dev.models": [
    {
        "provider": "openaicompatible",
        "model": "mixtral:latest",
        "tokens": 4096,
        "apiEndpoint": "http://localhost:11434/v1/chat/completions"
    },
  ],
We should add an easier way to just change the Ollama URL from localhost, so you can see all the Ollama models listed as you can when it's available on localhost. Added to our TODO list!