sacredfire

joined 2 years ago
[–] sacredfire@programming.dev 3 points 3 weeks ago (2 children)

Yeah, a lot of school bus stops on five lane highways… /s

[–] sacredfire@programming.dev 5 points 1 month ago

My experience with LLMs for coding has been similar. You have to be extremely vigilant, because they can produce very good code but will also miss important things that will cause disasters. It makes you very paranoid with their output, which is probably how you should approach it and is honestly how you should approach any code that you’re writing or getting from somewhere else.

I can’t bring my self to actually use them for generating code like he does in this blog post though. That seems infuriating. I find them useful as a way to query knowledge about stuff that I’m interested in which I then cross reference with documentation and other sources to make sure I understand it.

Sometimes you’re dealing with a particular issue or problem that is very hard to Google for or look up. LLMs are a good starting point to get an understanding of it; even if that understanding could be flawed. I found that it usually points me in the right direction. Though the environmental and ethical implications of using these tools also bother me. Is making my discovery phase for a topic a little bit easier worth the cost of these things?

[–] sacredfire@programming.dev 1 points 1 month ago

Yeah this is all bit click bait. That broken rust song topped the digital sales charts, which is basically tracking Apple Music downloads. No one buys music anymore. They topped it with 3000 sales at a dollar each.

[–] sacredfire@programming.dev 3 points 2 months ago

I’d be much more interested to see them forced to report how many of these jobs are being outsourced and concrete stats on what products or AI tools are actually replacing jobs.

A lot of these companies that are invested in AI, are saying that AI is the reason for layoffs, yet it seems like they’re not pointing to statistics or actual products that are replacing people yet. Their language seems to imply the layoffs are them hedging their bets for the coming tide, that will be any day now… trust us.

[–] sacredfire@programming.dev 2 points 2 months ago

I feel like I’ve found a fairly sweet spot with LLMs and coding. I use them almost entirely like a rubber ducky. Any small bits of code that they do generate I then diligently try to understand, see inefficiencies or issues and come up with a better solution.

This is a pretty slow process so they don’t speed me up at all. They just make the initial discovery may be a little bit easier? As Google has gotten worse and especially if I’m working in a code base with limited documentation or bad documentation, I found them to be useful to get my bearings. I always go into it with a paranoia that anything they generate could be a disaster so I have to do extra due diligence.

I’ve found that they’re pretty good at generating a couple lines of code, though I have to usually refine it a lot. Anything more than that seems to be more trouble than it’s worth.

However, I have found them to be a great tool for learning even if I’m not sure if what they’re putting out is correct. It will usually lead me to start thinking about things and looking deeper into documentation and research papers, etc.

[–] sacredfire@programming.dev 1 points 3 months ago

That there are so many ways to store data on a browser (including exploits) and that they expose so much information about your physical device is a big part of the problem. Even barring that, there are additional ways they can fingerprint a user. While any one thing might not be telling, when you take all of them in combination, it gets frighteningly accurate how easy it is for them to know exactly who you are.

[–] sacredfire@programming.dev 2 points 4 months ago

An AI that was advanced enough to automate this much of human endeavors, would start to blur the line of agi. And at that point, what are the moral implications of enslaving an intelligent entity, artificial or not? If such tasks can be automated via thousands of purpose built ai’s that are not “conscious” then I suppose it’s ok?

[–] sacredfire@programming.dev 4 points 4 months ago* (last edited 4 months ago)

I remember when the term was first coined and it meant something like “asking an llm to code and NOT attempting to validate, fix or correct the outputs yourself. Just keep prompting in natural language until it works.” It was supposed to be a joke - this sort of use hits a wall pretty quickly and illustrates how limited llms can be.

The term has taken off and its meaning is now in flux. I did find it particularly amusing seeing all the LinkedIn lunatics start posting LLM written garbage about “integrating vibe coding Into your workflow” because they thought it was the new buzz word… and I guess they were right.

[–] sacredfire@programming.dev 5 points 8 months ago (2 children)

I’ve heard it’s one of the best (if you’re looking for a full IDE experience). I haven’t tried it yet but I am on the lookout to hear about what tools people like to use for c/c++ development. Do you have one that you prefer?

[–] sacredfire@programming.dev 1 points 8 months ago* (last edited 8 months ago)

The Odin Project has a whole section dedicated to only front end js. But that might be a bit of overkill but they will cover everything you requested.

If you’re mainly interested in how communication between the front end and the backend works using JavaScript, I would look into rest APIs and the browser’s fetch API specifically.

[–] sacredfire@programming.dev 0 points 9 months ago (2 children)

I don’t know if this is correct, but if it is, this is best answer to this question I’ve ever seen.

[–] sacredfire@programming.dev 2 points 10 months ago

Ok that is good to know. As for qtcreator, it’s probably fine, just the first time I’ve used it and it didn’t have any of those features working correctly. And I already am familiar with jetbrains tools from Java development. I’ll just have to get it set up correctly. I know for sure I’ll be using it for its UI editing features.

 

I just started a new job where I have to ssh into a remote linux vm to work on a qt driven c++ project. I don’t really have a lot of leeway on what can be added to the remote environment, and I don’t think local development is possible. The vm has vim and qtcreator.

I’m from a Java background and I’m learning c++ for this role, while I’m comfortable in vim, I’d really like to have a tool that can give me autocomplete, jump to definition and linting. I know these things can be set up in neovim, but I asked about having that put on the box and was not given a good reaction.

I also know tools like vscode and possibly clion can be set up to do remote work via ssh. Does anyone have experience with this and suggestion on a good setup?

view more: next ›