Live data from Hacker News

Show HN: Auto Wiki – Turn your codebase into a Wiki

wiki.mutable.ai

21–30 of 136 posts

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#23
post #15
post #12

[Edit: Apparently I’m reviewing the wrong product; see replies.] I tried the app version on one of my old repos. It’s a somewhat challenging test case because there are few comments and parts of the code are incomplete, though I’d say the naming convention is pretty good. The app suggested the question “What is the purpose of the ‘safemode-ui-hook.m’ file?” I accepted the suggestion, and the output was… completely wr…

It sounds like you're referring to our chat product. We are aware of the limitations of that, this is why we created auto wiki! We plan to integrate the two in the future.

I see…

The site said an Auto Wiki didn’t exist for my repo but could be generated via app.mutable.ai, so I went there and assumed it was substantially the same product despite the slightly different interface. I guess I didn’t find the actual Auto Wiki functionality on the app domain.

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#24

Wow, looks nice! I almost felt like I could understand Bitcoins code xD Could you do Appwrite? https://github.com/appwrite/appwrite I'm not affiliated to them, just wanted to get started hacking it.

On it! Even if you were affiliated we would do it.

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#26
Cool concept. Right off the bat I see some big issues with the generated CPython documentation:

> This provides a register-based virtual machine that executes the bytecode through simple opcodes.

Python's VM is stack-based, not register-based.

> The tiered interpreter in …/ceval.c can compile bytecode sequences into "traces" of optimized microoperations.

No such functionality exists in CPython, as far as I know.

> The dispatch loop switches on opcodes, calling functions to manipulate the operand stack. It implements stack manipulation with macros.

No it doesn't. If you look at the bytecode interpreter, it's full of plain old statements like `stack_pointer += 1;`.

> The tiered interpreter is entered from a label. It compiles the bytecode sequence into a trace of "micro-operations" stored in the code object. These micro-ops are then executed in a tight loop in the trace for faster interpretation.

As mentioned above, this seems to be a complete hallucination.

> During initialization, …/pylifecycle.c performs several important steps: [...] It creates the main interpreter object and thread

No, the code in this file creates an internal thread state object, corresponding to the already-running thread that calls it.

> References: Python/clinic/import.c.h The module implements finding and loading modules from the file system and cached bytecode.

This is kinda sorta technically correct, but the description never mentions the crucial fact that most of this C code only exists to bootstrap and support the real import machinery, which is written in Python, not C. (Also, the listed source file is the wrong one: it just contains auto-generated function wrappers, not the actual implementations.)

> Core data structure modules like …/arraymodule.c provide efficient implementations of homogeneous multidimensional arrays

Python's built-in array module provides only one-dimensional arrays.

And so on.

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#27

Wow, looks nice! I almost felt like I could understand Bitcoins code xD Could you do Appwrite? https://github.com/appwrite/appwrite I'm not affiliated to them, just wanted to get started hacking it.

And that's great to hear you can now understand Bitcoin, this was one of my prime motivations actually!

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#28

I would like to see how it performs on a lesser known project with less stars, these are all well known projects which would exist in the training data in blog posts etc.

Does this meet that requirement? https://wiki.mutable.ai/dadongshangu/async_FIFO

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#29

Cool concept. Right off the bat I see some big issues with the generated CPython documentation: > This provides a register-based virtual machine that executes the bytecode through simple opcodes. Python's VM is stack-based, not register-based. > The tiered interpreter in …/ceval.c can compile bytecode sequences into "traces" of optimized microoperations. No such functionality exists in CPython, as far as I know. > Th…

Thank you for this feedback. We actually have an Auto Wiki v2 in the works which is even higher quality, would be interesting to see how it changes when that comes out.

Re: Show HN: Auto Wiki – Turn your codebase into a Wiki

#30
post #28

I would like to see how it performs on a lesser known project with less stars, these are all well known projects which would exist in the training data in blog posts etc.

Does this meet that requirement? https://wiki.mutable.ai/dadongshangu/async_FIFO

I’m seeing “Wiki not found” for that link, perhaps an AuthZ issue?
Post reply on HN