Aider: AI pair programming in your terminal
61–70 of 170 posts
Re: Aider: AI pair programming in your terminal
#62> GPT can write and edit code in most popular languages: python, javascript, typescript, html, css, etc. I love how everyone always leaves PHP off these lists of "popular languages" despite the fact that 80% of the web runs on PHP.
PHP has had enormous staying power despite its idiosyncrasies. I would however be curious to know what percentage of the 80% (or so) is WordPress et al. Since those largely don't involve folks actually writing code. I suspect a very small amount of PHP code is being run a lot .
A lot of my successful projects have been rewritten later in nodejs. But for getting something up and running to test a concept, PHP is great if you're comfortable with its idiosyncracies.
I'd say Python is just as idiosyncratic, and its packaging system is just too much of a pain point. And Node doesn't ship with mature database interfaces, its dependencies are scary, there's more concern about runaway scripts, crashes are harder to recover from, and a lot of times all you really want from a router is to serve your file structure with some access rules.
I think PHP is still the best choice for prototyping dynamic HTML and logic fast, without any packages or plug-ins. A lotta times I still even use it for short CLI scripts and cron tasks that do database ops.
Re: Aider: AI pair programming in your terminal
#63Re: Aider: AI pair programming in your terminal
#64> GPT can write and edit code in most popular languages: python, javascript, typescript, html, css, etc. I love how everyone always leaves PHP off these lists of "popular languages" despite the fact that 80% of the web runs on PHP.
PHP has had enormous staying power despite its idiosyncrasies. I would however be curious to know what percentage of the 80% (or so) is WordPress et al. Since those largely don't involve folks actually writing code. I suspect a very small amount of PHP code is being run a lot .
I had a largish website with few thousand static webpages. Over a period the pages grew into around 100K with some server side features. Over the course of 10 years I did and redid this site in multiple technologies. React, Angular, Spring Boot + Freemarker etc.
However the PHP power version of it remains best for SEO has near zero downtime and no maintenance what so ever runs on a VM that shares like 10 other websites. traffic serves is around 100K visits a day.
Re: Aider: AI pair programming in your terminal
#65I'm interested in this and will probably set it up but I wish more AI tools were better integrated to my IDE. I know GH Copilot is and other big AI tools have plugins with chat/edit features but most of the cool open source doesn't seem to support IDEA/JetBrains. I see the power of LLMs. I use GH Copilot, I use ChatGPT, but I crave deeper integration in my existing toolset. I need to force myself to try in-IDE Copilo…
Re: Aider: AI pair programming in your terminal
#66Re: Aider: AI pair programming in your terminal
#67> GPT can write and edit code in most popular languages: python, javascript, typescript, html, css, etc. I love how everyone always leaves PHP off these lists of "popular languages" despite the fact that 80% of the web runs on PHP.
PHP has had enormous staying power despite its idiosyncrasies. I would however be curious to know what percentage of the 80% (or so) is WordPress et al. Since those largely don't involve folks actually writing code. I suspect a very small amount of PHP code is being run a lot .
I don’t use very much php, but would be remiss if I left my opinion of it as dated as whisper campaign rumors based on interpretation and preference.
Packages like Laravel and especially technologies like Hotwire are nothing to overlook.
Standardized and capable frameworks that have large workforces can be quite valuable at time of valuation and due diligence. Specialized and brittle techs can be a challenge.
Re: Aider: AI pair programming in your terminal
#68I have used this technique for months and it’s great https://x.com/arjie/status/1575201117595926530 I just have copilot in my editor and switch into my editor with C-x C-e for AI completion. I use neovim like example but you can use whatever you like. EDIT: Oh never mind. I see what it is now. It’s a terminal based flow for editing code. Mine is for command line writing live.
Re: Aider: AI pair programming in your terminal
#69Earlier quoted context omitted.
I feel like what I am saying should be natively supported. If youre worried about changes getting it wrong, just show a prompt with all the batched changes. me > build my jar, move it to the last folder I copied it to, and run it. LLM > built jar xyz.jar moving jar to x/y/z me > yes. me > redo last command. Provide rollback/log for these features if need be. I really dont think you even need an LLM for this. I feel l…
It's a great concept and I agree it will definitely exist at some point, but working a lot with GPT-4 has made me viscerally aware of how many different ways something like "build my jar, move it to the last folder I copied it to, and run it" can be spectacularly misinterpreted, and how much context is needed for that command to have any hope of being understood. The other big issue is that there is no rollback for a…
There is still some ambiguity there because cases might slightly differ, youre right.
For rm/mv. mv is easily reversible no? You just need to store some context. Same with rm, just copy it to a temp directory. But again with a confirmation prompt its a non issue either way.
Re: Aider: AI pair programming in your terminal
#70Earlier quoted context omitted.
I feel like what I am saying should be natively supported. If youre worried about changes getting it wrong, just show a prompt with all the batched changes. me > build my jar, move it to the last folder I copied it to, and run it. LLM > built jar xyz.jar moving jar to x/y/z me > yes. me > redo last command. Provide rollback/log for these features if need be. I really dont think you even need an LLM for this. I feel l…
It's a great concept and I agree it will definitely exist at some point, but working a lot with GPT-4 has made me viscerally aware of how many different ways something like "build my jar, move it to the last folder I copied it to, and run it" can be spectacularly misinterpreted, and how much context is needed for that command to have any hope of being understood. The other big issue is that there is no rollback for a…
build a jar. > I can build a jar with x,y,z, which do you want?