r/MachineLearning • • Sep 12 '20

Project [P] codequestion: Ask coding questions directly from the terminal

657 Upvotes

45 comments sorted by

View all comments

7

u/MuonManLaserJab Sep 12 '20

Cool!

There's also this: https://github.com/santinic/how2. Not sure how they compare.

11

u/davidmezzetti Sep 12 '20

That looks like a nice project. It's running a Google search and uses the Stack Overflow API to pull the selected answer. Simple/straightforward but effective approach.

codequestion can work online and offline since it has it's own index.

Thanks for sharing.

2

u/Craiglbl Sep 12 '20

Does the online part work similarly to the GitHub above (using APIs to directly search)?

I’m curious because most devs working with terminals have access to internet (since they might be running code on servers) so the offline part might not be used as frequently.

5

u/davidmezzetti Sep 12 '20

No API/network calls at all for codequestion, it runs a similarity search against a local Faiss index.