Better HN
topnewbestaskshowjobs
Log inSign up

nutellalover

517 karma · joined Feb 23, 2019 (7y ago) · 61 submissions

Submissions

1.

Build or buy an agent developer workspace?(monaco.com ↗)

6 points · by nutellalover · 4mo ago · 1 comment

2.

Claude Code Demystified: Whirring, Skidaddling, Flibbertigibetting(mihaileric.com ↗)

2 points · by nutellalover · 9mo ago · discuss

3.

How to code Claude Code in 200 lines of code(mihaileric.com ↗)

816 points · by nutellalover · 10mo ago · 239 comments

4.

Survey of 195 Professional Developers on AI Coding Practices(stateof.themodernsoftware.dev ↗)

1 points · by nutellalover · 11mo ago · discuss

comment 11mo ago · link · parent

Hey, I teach a class at Stanford covering among other things how to effectively use AI across the full SDLC. Hope it's helpful! https://themodernsoftware.dev/

6.

New Stanford AI Coding Course: The Modern Software Developer(themodernsoftware.dev ↗)

3 points · by nutellalover · 1y ago · 1 comment

7.

The Modern Software Developer(themodernsoftware.dev ↗)

2 points · by nutellalover · 1y ago · discuss

8.

I built an AI hitch to have better dates(mihaileric.com ↗)

2 points · by nutellalover · 2y ago · discuss

comment 2y ago · link · parent

Codeviz is such a cool project. Love having it in VSCode.

comment 2y ago · link · parent

Big fans of Cursor ourselves. One of the goals with this library is to make it easy for maintainers of OSS projects to expose chat support functionality to their users in a very streamlined, easy-to-setup fashion.

So yes you can certainly use to index and query your own repos for yourself, but it's also a way to get more of your OSS lib users onboarded.

comment 2y ago · link · parent

Happy to help!

At the beginning, we started with qualitative "vibe" checks where we could iterate quickly and the delta in quality was still so significant that we could obviously see what was performing better.

Once we stopped trusting our ability to discern differences, we actually bit the bullet and made a small eval benchmark set (~20 queries across 3 repos of different sizes) and then used that to guide algorithmic development.

comment 2y ago · link · parent

Great question. For most small repos (10-20 source files) this works incredibly well out-of-the-box.

We stress-tested with repos like langchain, llamaindex, kubernetes and there the retrieval still needs work to effectively return relevant chunks. This is still an open research question.

comment 2y ago · link · parent

The truth is we started there. But for any reasonably-sized, complex codebase this just isn't going to work as the context window isn't sufficient and moreover it becomes harder for the LLM to reason over arbitrary parts of the context.

For the time being, indexing and retrieving a good collection of 10-20 code chunks is more effective/performant in practice.

comment 2y ago · link · parent

This is a great read Simon.

comment 2y ago · link · parent

Definitely agree that the trend is toward lower cost where a lot of these use-cases are unlocked. Especially as all the major 3rd party LLM providers scramble to ship better models to retain mind-share.

comment 2y ago · link · parent

Thanks for the note! We welcome contributions!

comment 2y ago · link · parent

We ran some qualitative tests and there was a quality difference. In fact, benchmarks show that trend to generally hold: https://archersama.github.io/coir/

That being said, our goal was to make the library modular so you can easily add support for whatever embeddings you want. Definitely encourage experimenting for your use-case because even in our tests, we found that trends which hold true in research benchmarks don't always translate to custom use-cases.

comment 2y ago · link · parent

You can certainly apply to a private repo. If you want to ensure data stays local, you would have to add support for an OSS embedding/LLM model (of which there are many good offerings to pick from).

comment 2y ago · link · parent

Yup! We use tree-sitter and parse it at the file-level.

comment 2y ago · link · parent

Thanks!

This is a great idea. Definitely something we plan to support.

comment 2y ago · link · parent

The starter config is Openai embeddings + llm, pinecone vector store, gradio for the UI. But it's customizable so you can swap out whatever you want easily.

comment 2y ago · link · parent

Feel free to submit an issue on the repo and we'll get to it!

comment 2y ago · link · parent

Thanks for the request! This is on our roadmap, as is supporting Github issues and eventually external documentation/code discussions from Slack, Jira/Linear, etc.

comment 2y ago · link · parent

OP here! I love this stress test. Will index and get back to you!

25.

Show HN: Repo2vec – an open-source library for chatting with any codebase(github.com ↗)

93 points · by nutellalover · 2y ago · 54 comments

26.

CogVideoX: A Cutting-Edge Video Generation Model(medium.com ↗)

6 points · by nutellalover · 2y ago · discuss

27.

Show HN: GitHub Sage – An Open Source Software AI Support Bot(chromewebstore.google.com ↗)

1 points · by nutellalover · 2y ago · discuss

28.

How Alexa dropped the ball on being the top conversational system(mihaileric.com ↗)

180 points · by nutellalover · 2y ago · 213 comments

123