4 ms·
These kinds of problems are often avoidable by linters or asking ChatGPT what is wrong, though I was just tearing my hair wondering why TSC_COMPILE_ERROR wasn't
by Noumenon72 2y ago
These kinds of problems are often avoidable by linters or asking ChatGPT what is wrong, though I was just tearing my hair wondering why TSC_COMPILE_ERROR wasn't skipping TypeScript because I spelled it TSX_COMPILE_ERROR in my environment variable.
- viraptor 2y agoNot only asking ChatGPT what is wrong, but also using an agent which does self-reflection by default. I'm sad every time I see people using the bare chat interface to generate code. We've got API tools which are so much better at it today. Use Aider at the very least.
- floydnoel 2y agodoes aider have an executable installer yet? i tried installing it but the python experience is terrible. last time i messed with python installs on my mac everything worked like shit until o reinstalled the OS.
- viraptor 2y agopython -mvenv aider aider/bin/pip install aider-chat aider/bin/aider And you're done. There's also a docker version https://aider.chat/docs/install/docker.html https://aider.chat/docs/install/docker.html Just don't mess with the system-wide installed version of python and it will be fine. This isn't a python specific issue though.
- trees101 2y ago`pipx install aider-chat` (https://aider.chat/docs/install/pipx.html https://aider.chat/docs/install/pipx.html will install it globally on your system within its own python environment. This way you can use aider to work on any python project, even if that project has conflicting dependencies.) I run it with these settings: `aider --sonnet --no-auto-commits--cache-prompts` if you want to run the most bleeding edge version at the same time without breaking anything, `pipx install --suffix=@dev git+https://github.com/paul-gauthier/aider.git https://github.com/paul-gauthier/aider.git` then run it with `aider@dev` `aider@dev` ... with your desired settings
- Glyptodon 2y agoSubtle typos easily misread are