Could you do Appwrite? https://github.com/appwrite/appwrite
I'm not affiliated to them, just wanted to get started hacking it.
21–30 of 136 posts
Could you do Appwrite? https://github.com/appwrite/appwrite
I'm not affiliated to them, just wanted to get started hacking it.
[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.
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.
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.
> 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.
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.
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.
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…
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