What the author is asking about, a quick sketchpad where you can try out code quickly and chat with the AI, already exists in the JetBrains IDEs. It's called a scratch file[1]. As far as I know, the idea of a scratch "buffer" comes from emacs. But in Jetbrains IDEs, you have the full IDE support even with context from your current project (you can pick the "modules" you want to have in context). Given the good integr…
It's also available in emacs with packages like gptel which let you send the content of any buffer to your LLM of choice. I think emacs + LLM is a killer feature: the integration is super deep, deeper than any IDE I've seen, and it's just available... everywhere! Any text in emacs is sendable to a LLM.
How I program with LLMs
311–320 of 342 posts
Re: How I program with LLMs
#312Earlier quoted context omitted.
I understand what it's doing, and could easily set out the cases I needed.
If you understand what it is doing, you could do it yourself, surely?
More specifically, I didn't know how to solve it, though obviously could have spent much more time and learned. There were only a small number of possible cases, but I needed certain ones to work and others not to. I was easily able to create the examples but not find the solution. With looping through claude I could solve it in a few minutes. I then got an explanation, could read the right relevant docs and feel satisfied that not only did everything pass the automated checks but my own reasoning.
Re: How I program with LLMs
#313> Search. If I have a question about a complex environment, say “how do I make a button transparent in CSS” I will get a far better answer asking any consumer-based LLM, than I do using an old fashioned web search engine. I don't think this is about LLMs getting better, but search becoming worse. In no small thanks to LLMs polluting the results. Do search images for terms and count how many are AI generated. I can sa…
When you have to come over and over, and visit more pages to finally find what you needed, they get much more cash from advertisers than when you get everything instantly.
Re: How I program with LLMs
#314Earlier quoted context omitted.
So just to make sure I'm on the same page: you're bemoaning how commonly people abbreviate uncommon sayings?
I'm bemoaning the fact that I have to google random acronyms every time an American wants to say the most basic shit as if everyone on the internet knows their slang and weird four letter abbreviations And googling those acronyms usually returns unrelated shit unless you go specifically to urban dictionary And then it's "If I understand correctly". Oh. Of course. He couldn't be arsed to type that
Re: How I program with LLMs
#315Earlier quoted context omitted.
I'm bemoaning the fact that I have to google random acronyms every time an American wants to say the most basic shit as if everyone on the internet knows their slang and weird four letter abbreviations And googling those acronyms usually returns unrelated shit unless you go specifically to urban dictionary And then it's "If I understand correctly". Oh. Of course. He couldn't be arsed to type that
FWIW IMO YTA
Re: How I program with LLMs
#316Hot take of the day, I think making tests and refactors easier is going to be revolutionary for code quality.
Re: How I program with LLMs
#317Earlier quoted context omitted.
After a small prompt engineering: https://0bin.net/paste/zolMrjVz#dgZrZzKU-PlxdkJTdG0pZU9bsCM3...
Interesting, thanks for sharing. Could you also give some insights on the process you followed?
Sometimes asking it to self reflect on how the prompt itself could be better engineered helps if the initial response isn't quite right.
Re: How I program with LLMs
#318Earlier quoted context omitted.
Please acknowledge that your situation is pretty unique. Just take a look at the comments: how many people say, or outright presume, that their company's code is already on GitHub? I'd wager that your org doesn't keep code at a 3rd party provider, right? Then, you're in a minority. I don't mean to dismiss your concerns - in your situation, they are probably warranted - I just wanted to say that they are unique and no…
This subthread started with someone from a no AI policy company, people are dismissing it with snarky comments, along the line of your code is not as important as you believe. I'm just trying to show a different picture, we work in a pretty vast field and people commenting here don't necessarily represent a valid sample.
Re: How I program with LLMs
#319Earlier quoted context omitted.
> people are dismissing it with snarky comments, along the line of your code is not as important as you believe. That says more about those people than about your/OP's code :) Personally, I had a few collisions with regulation and compliance over the years, so I can appreciate the completely different mindset you need when working with them. On the other hand, at my current position, not only do we have everything on…
Yes I've had plenty of experiences with orgs that self host everything, I don't think it's a minority it's just a different cluster than the one most represented here. Still I believe hosting is somewhat different, if anything because it's something established, known players, trusted practices. AI is new, contracts are still getting refined, players are still making their name, companies are moving fast and I doubt…
I've done 800+ tech diligence projects and have first hand knowledge of every single one's use of VCS. At least 95% of the codebases are stored on a cloud hosted VCS. It's absolutely a minority to host your own VCS.
Re: How I program with LLMs
#320Earlier quoted context omitted.
> people are dismissing it with snarky comments, along the line of your code is not as important as you believe. That says more about those people than about your/OP's code :) Personally, I had a few collisions with regulation and compliance over the years, so I can appreciate the completely different mindset you need when working with them. On the other hand, at my current position, not only do we have everything on…
Yes I've had plenty of experiences with orgs that self host everything, I don't think it's a minority it's just a different cluster than the one most represented here. Still I believe hosting is somewhat different, if anything because it's something established, known players, trusted practices. AI is new, contracts are still getting refined, players are still making their name, companies are moving fast and I doubt…
So you're basing your whole argument on nothing other than "I just don't feel like they do that".
Does this look unserious to you? https://trust.openai.com/