HN user

williamzeng0

340 karma

ML Engineer at Sweep AI (autocomplete & coding agent for JetBrains)

Posts24
Comments84
View on HN
blog.sweep.dev 5mo ago

Giving coding agents file outlines to save tokens on ultra-large files

williamzeng0
1pts0
huggingface.co 6mo ago

Show HN: Sweep, Open-weights 1.5B model for next-edit autocomplete

williamzeng0
534pts153
blog.sweep.dev 8mo ago

Using the JetBrains program structure interface for codebase context

williamzeng0
3pts0
blog.sweep.dev 8mo ago

Decreasing code editing failures by 38% with output normalization

williamzeng0
3pts0
sweep.dev 9mo ago

Show HN: Sweep, AI autocomplete for JetBrains that rewrites code

williamzeng0
5pts0
github.com 9mo ago

Show HN: Rust BPE tokenizer for Qwen models that's 12x faster than HuggingFace

williamzeng0
5pts0
blog.sweep.dev 9mo ago

Teaching LLMs to spell with token healing

williamzeng0
2pts0
blog.sweep.dev 10mo ago

Show HN: Building sub-100ms autocompletion for JetBrains IDEs

williamzeng0
3pts1
plugins.jetbrains.com 11mo ago

Show HN: Sweep – Cursor Tab Alternative for JetBrains IDEs

williamzeng0
2pts1
news.ycombinator.com 1y ago

The IDE isn't going away

williamzeng0
8pts10
williamzeng.substack.com 1y ago

Why AI coding agents belong in the IDE

williamzeng0
2pts0
docs.sweep.dev 1y ago

Show HN: AI in JetBrains that doesn't suck

williamzeng0
9pts4
docs.sweep.dev 2y ago

Show HN: File-based cache for slow Python functions

williamzeng0
73pts57
graphite.dev 2y ago

The Slowest GitHub PRs in Recorded History

williamzeng0
2pts0
securitylabs.datadoghq.com 2y ago

Escaping containers using the Dirty Pipe vulnerability

williamzeng0
1pts0
blog.replit.com 2y ago

Speeding Up Deployments with Lazy Image Streaming

williamzeng0
2pts0
trunk.io 2y ago

82% of Open-Source Projects Suffer from Tool Rot

williamzeng0
2pts0
kukuruku.co 2y ago

Nth Fibonacci number in O(log n)

williamzeng0
2pts0
peppergeek.com 2y ago

A Versatile East Asian Chili

williamzeng0
2pts0
www.guessthecorrelation.com 2y ago

Game where you guess the correlation coefficient

williamzeng0
1pts1
github.com 2y ago

Launch HN: Sweep (YC S23) – A bot to create simple PRs in your codebase

williamzeng0
198pts114
github.com 2y ago

AI junior developer looking for a job

williamzeng0
6pts2
docs.sweep.dev 3y ago

Code Search Infra for an AI junior developer – that doesn't store code

williamzeng0
13pts0
github.com 3y ago

Show HN: Sweep – AI-Powered Junior Developer for Tech Debt

williamzeng0
7pts2

I think the two big things are privacy mode on by default and zero data retention by default.

No code or prompts are stored unless you opt-in. We also have on-prem deployment options but it's much more expensive.

Shameless plug but our co is building a AI plugin for JetBrains that has next edit autocomplete + a strong coding agent (sweep dev)

Thread safety is a big issue with ours, we'll run into issues when two different processes attempt to write to the same location, or we'll get a bad read. This is a better solution for large scale workloads.

Ours is more meant for single-process scripts like an LLM workflow.

+1, we considered traversing the function's dependencies to key the cache on (not just the initial function source code), but decided to leave this in a as a constraint. Otherwise we also blowing up the cache when we didn't want it to happen.

Making the __dict__ opt-in makes it a lot more user-friendly at the expense of a little verbosity. That makes sense.

These tips make sense, we often use named args in our function calls (not using them has caused so many bugs), but we don't really enforce the order. Copilot doesn't always get it right either.

By moving inspect.getsource out of the wrapper, do you mean initializing it when the module is imported? I'm curious how that improves performance.

Diskcache works well, we just wanted a dependency free version that we had more control over (easier cache key deletion). I think you'd have to write a custom hashing function for diskcache to use the function source code as a key.

I'm also unsure if Diskcache supports ignoring certain fields in the function call.