Live data from Hacker News

Code Storage by the Pierre Computer Company

code.storage

41–46 of 46 posts

Re: Code Storage by the Pierre Computer Company

#41
post #38
post #30

Earlier quoted context omitted.

To be fair to GitHub (which i have a lot of love and respect for), we're building very different products. GitHub is a social consumer coding product first. There's user models, review and discussion primitives, ci, etc. Code Storage is just a headless, api-first infra product. No users, no review primitives, no rate limits, etc. Our company is obsessively focused on only 3 things: 1. reliability at scale 2. performa…

Understood. I am looking for a side-by-side comparison focused on your feature set, not Github's. You answered it partially by calling out your focus areas. Github API reliability has been iffy for us, so it would be good to quantify the difference we can expect to get with you.

Sure – our API is built specifically for common LLM workflows. Here's a great example.

LLMs are often used for changing code. If an LLM creates a patch that touches 10 files, you need to take the following steps to save that patchfile on GitHub using their rest API.

.

1. Get the base branch SHA

2. Create a new branch (ref)

3. Create blobs (one per file… 10 blobs!)

4. Create a tree containing those 10 file changes

5. Create a commit

6. Update the branch ref to point to the new commit

7. Pull the GitHub api until it stops returning 422's (an eventual consistency issue when GitHub is under high load)

.

About 15 total requests…

With code.storage you just post the complete diff:

```

const result = await repo.createCommitFromDiff({

  targetBranch: "my-branch",

  commitMessage: "Apply generated SDK patch",

  author: { name: "Diff Bot", email: "diff@example.com" },

  committer: { name: "Diff Bot", email: "diff@example.com" },

  diff,
});

```

or better you can stream us your updated files, and we'll apply the diff for you.

```

const result = await repo

  .createCommit({

    targetBranch: "main",

    commitMessage: "Update dashboard docs",

    author: { name: "Docs Bot", email: "docs@example.com" },

  })

  .addFileFromString("docs/changelog.md", "# v2.1.0\n- refresh docs\n")

  .addFile("public/logo.svg", await fs.readFile("assets/logo.svg"))

  .deletePath("docs/legacy.txt")

  .send();

```

On top of ergonomics, we have first class APIs for git notes, grep, get archive (include/exclude by blob), and other filesystem behavior that is exceeding helpful when working with LLMs.

Re: Code Storage by the Pierre Computer Company

#43

Intersting concept. I just can't get my mind off one of the blurbs from the page >Code Storage is designed for modern workloads: Vibe Coding platforms generating 1m+ new repos a day, AI copilots writing thousands of commits per session, teams branching and merging in real time, and apps syncing code across devices. This is sort of a rant, skip if you must Those 1m+ repos all have code no human has ever seen or will s…

Uhhhhh question: who’s teaching byte code or assembly in college these days? Are we still learning how to use punch cards?

If not, then it seems like we’re managing the transition just fine, my man.

Re: Code Storage by the Pierre Computer Company

#44
post #19

Earlier quoted context omitted.

And it only costs $30K per year for a single terabyte of usable (NVMe?) storage. The value! $1 GiB/month x 3 minimum replicas x 1024 GiB x 12 months And according to the status page they only have CDNs in us-east and eu-central.

Did you happen to look at OPs prices? They are a no way for me, especially the network fees

Clearly GP did look and you're just missing the sarcasm.

Re: Code Storage by the Pierre Computer Company

#46

Earlier quoted context omitted.

Did you happen to look at OPs prices? They are a no way for me, especially the network fees

Clearly GP did look and you're just missing the sarcasm.

I don't think it's clear sarcasm in the sense you are making. I think GP was pointing out that doing what OP does yourself (HA git) comes with a lot of costs.

My point is that Pierre CC has really exorbitant pricing that would cost even more.

Post reply on HN