It does, he just didn’t show that a/√a simplifies to √a. There are a couple ways to think about it, but the simplest is if you just wanna get rid of the square root in the denominator, you can multiply the entire left side by (√a/√a) which gives you a√a / √a√a. This then turns into a√a/a. From there you get to just √a
- 1 Post
- 46 Comments
sacredfire@programming.devto
Programming@programming.dev•A Month of Chat-Oriented Programming - CheckEagle
5·14 days agoMy 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.devto
Technology@beehaw.org•AI slop tops Billboard and Spotify charts as synthetic music spreads
1·1 month agoYeah 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.devto
Politics@beehaw.org•Senators want companies to report AI layoffs amid job cuts
3·1 month agoI’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.devto
Programming@programming.dev•A thought on the useful inefficiency of reading the docs
2·1 month agoI 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.devto
Technology@lemmy.world•Reddit stock falls for second day as references to its content in ChatGPT responses plummetEnglish
1·3 months agoThat 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.devto
No Stupid Questions@lemmy.ca•Business Owner Mindset without Becoming a Finance Bro?
9·3 months agoHow much is your time worth to you? If you have a business that you feel provides a worthwhile product and the amount you charge for that product does not provide the lifestyle you desire, either improve the product, accept a lower standard of living, or quit/change the business.
If you feel you could charge more but it would be “unfair”, don’t worry, no one will buy it unless you are doing something unethical, like a dishonest mechanic or a doctor who lies to trick people into procedures they don’t need or you have a monopoly on an essential need.
If that doesn’t describe you, then charge a fair price for your cost and time. It seems like you don’t value your product or your time and you are looking for a way to trick yourself into be ok with that?
sacredfire@programming.devto
Technology@beehaw.org•Does AI need to be perfect to replace jobs?
2·4 months agoAn 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?
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.
Compared to previous generations, most of the luxuries you are describing are a much lower percentage of our overall expenses, while 3 big things: housing, healthcare, and education have outpaced wages dramatically and are a MUCH larger percentage of our expenses compared to previous generations. Yes, you can save a lot of money by being thrifty, but home cost, healthcare, and education are hard if downright impossible for many people to mitigate.
All that being said yes, you could live a much simpler life, but I think the issue is people seeing an expected standing of living that many western countries used to have, slipping away while a very small percentage of people at the top are consolidating phenomenal wealth. So saying to them “hey it’s your fault for not lowering your expectations” comes off as well, ridiculous.
sacredfire@programming.devto
World News@quokk.au•Outrage after Israeli army fires ‘warning shots’ at French and other diplomats on West Bank visit
5·7 months agoIt’s literally what the country was founded on: https://en.m.wikipedia.org/wiki/King_David_Hotel_bombing
sacredfire@programming.devto
Linux@lemmy.world•dude using the terminal for installing/removing programs is AWESOMEEnglish
4·7 months agoOne of the things that first made me fall in love with the cli was how fast doing things like this was. GUIs are hard, and can crash or use up resources for all sorts of different reasons wholly unrelated to the primary task you are trying to accomplish. Once I got over the learning curve of using the cli (and to be fair I’m still in the process of getting truly comfortable with it) I was able to do things so much faster and with less frustration.
Of course, I also don’t want to neglect that it’s not just a matter of the command line but just how good Linux is in this regard. Windows has a command line too and I hate using that thing.
AWS is getting their money regardless. The front end doesn’t matter, if the data/infrastructure is hosted on the backend with aws, they get paid for usage and the data (like the spice) must flow. I suppose by circumventing the website’s frontend you hurt that site’s bottom line by making them incur costs from AWS while not being able to monetize your visit. Which is at least something.
sacredfire@programming.devto
Programming@programming.dev•CLion Is Now Free for Non-Commercial Use
5·7 months agoI’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.devto
Programming@programming.dev•Courses for SIMPLE, website-orientated, javascript development
1·8 months agoThe 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.
Maybe it’s supposed to be “personnel”? HR hiring processes is dominated by bots now.
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.devOPto
Programming@programming.dev•Remote c++ development suggestions.
2·9 months agoOk 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.



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