Show HN: I built an AI that turns GitHub codebases into easy tutorials
81–90 of 181 posts
Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#82Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#83Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#84The overview diagrams it creates are pretty interesting, but the tone/style of the AI-generated text is insufferable to me - e.g. https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...
I think this could be solved with an “assume the reader knows …” part of the prompt.
Definitely looks like ELI5 writing there, but many technical documents assume too much knowledge (especially implicit knowledge of the context) so even though I’m not a fan of this section either, I’m not so quick to dismiss it as having no value.
Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#85Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#86 # Use the Session as a context manager
with requests.Session() as s:
s.get('https://httpbin.org/cookies/set/contextcookie/abc')
response = s.get(url) # ???
print("Cookies sent within 'with' block:", response.json())
https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#87I would find this more interesting if it made tutorials out if the Linux, LLVM, OpenZFS and FreeBSD codebases.
Do you have anything in mind? Are you familiar enough with any of those codebases to suggest something useful?
The task will be much more interesting if there is not a good existing tutorial that the LLM may have trained on.
OS kernel: tutorial on how to write a driver?
OpenZFS: ?
Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#88The overview diagrams it creates are pretty interesting, but the tone/style of the AI-generated text is insufferable to me - e.g. https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...
I guess you already know what a “Functional API” is and feel patronized. Also possibly you dislike the “cute analogy” factor. I think this could be solved with an “assume the reader knows …” part of the prompt. Definitely looks like ELI5 writing there, but many technical documents assume too much knowledge (especially implicit knowledge of the context) so even though I’m not a fan of this section either, I’m not so q…
Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#89This is neat, but I did find an error in the output pretty quickly. (Disregard the mangled indentation) # Use the Session as a context manager with requests.Session() as s: s.get('https://httpbin.org/cookies/set/contextcookie/abc') response = s.get(url) # ??? print("Cookies sent within 'with' block:", response.json()) https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...
I may miss the error, but could you elaborate where it is?
Re: Show HN: I built an AI that turns GitHub codebases into easy tutorials
#90This is neat, but I did find an error in the output pretty quickly. (Disregard the mangled indentation) # Use the Session as a context manager with requests.Session() as s: s.get('https://httpbin.org/cookies/set/contextcookie/abc') response = s.get(url) # ??? print("Cookies sent within 'with' block:", response.json()) https://the-pocket.github.io/Tutorial-Codebase-Knowledge/Req...
This code creates an HTTP session, sets a cookie within that session, makes another request that automatically includes the cookie, and then prints the response showing the cookies that were sent. I may miss the error, but could you elaborate where it is?