News for hackers. Stuff that matters.
Re:A Student's Guide to Writing with ChatGPT by margalabargala on Wednesday November 13, 2024 @08:05PM (#42132052)
In the presence of sufficiently good and ubiquitous tools, knowing how to do some base thing loses most or all of its value.

In a world where everyone has a phone/calculator in their pocket, remembering how to do long division on paper is not worthwhile. If I ask you "what is 457829639 divided by 3454", it is not worth your time to do that by hand rather than plugging it into your phone's calculator.

In a world where AI can immediately produce any arbitrary 20-line glue script that you would have had to think about and remember bash array syntax for, there's not a reason to remember bash array syntax.

I don't think we're quite at that point yet but we're astonishingly close.

Re:A Student's Guide to Writing with ChatGPT by antasvara on Thursday November 14, 2024 @12:15AM (#42133330)
The value isn't in rote calculation, but the intuition that doing it gives you.

So yes, it's pretty useless for me to manually divide arbitrarily large numbers. But it's super useful for me to be able to reason around fractions and how that division plays out in practice.

Same goes for bash. Knowing the exact syntax is useless, but knowing what that glue script does and how it works is essential to understanding how your entire program works.

That's the piece I'm scared of. I've seen enough kids through tutoring that just plug numbers into their calculator arbitrarily. They don't have any clue when a number is off by a factor of 10 or what a reasonable calculation looks like. They don't really have a sense for when something is "too complicated" either, as the calculator does all of the work.

Re:A Student's Guide to Writing with ChatGPT by margalabargala on Thursday November 14, 2024 @12:18PM (#42138484)
I totally agree.

The neat thing about AI generated bash scripts, would be that the AI can comment their code.

So the user can 1) check if the comment for each step match what they expect to be done, and 2) have a starting point to debug if something goes wrong.

Re:A Student's Guide to Writing with ChatGPT by behringer on Thursday November 14, 2024 @01:48PM (#42139684)
Go ahead and ask chat gpt how that glue script works. You'll be incredibly satisfied at its detailed insights.
Re:A Student's Guide to Writing with ChatGPT by nkrisc on Wednesday November 13, 2024 @10:34PM (#42132908)
> If I ask you "what is 457829639 divided by 3454"

And if it spits out 15,395,143 I hope you remember enough math to know that doesn’t look right, and how to find the actual answer if you don’t trust your calculator’s answer.

Re:A Student's Guide to Writing with ChatGPT by Baeocystin on Wednesday November 13, 2024 @11:19PM (#42133131)
Sanity Checking Expected Output is one of the most vital skills a person can have. It really is. But knowing the general shape of the thing is different than any particular algorithm, don't you think?
Re:A Student's Guide to Writing with ChatGPT by bruce511 on Thursday November 14, 2024 @12:19AM (#42133339)
This gets to the root of the issue. The use case, and user experience, and thus outcome is, is remarkably different depending on your current ability.

Using AI to learn things is useful, because it helps you get terminology right, and helps you Google search well. For example say you need to know a Windows API, you can describe it snd get the name. Then Google how that works.

As an experienced user you can get it to write code. You're good enough to spot errors in the vote and basically just correct as you go. 90% right is good enough.

It's the in-between space which is hardest. You're an inexperienced dev looking to produce, not learn. But you lack the experience and knowledge to recognise the errors, or bad patterns, or whatever. Using AI you end up with stuff that's 'mostly right' - which in programming terms means broken.

This experience difference is why there's so much chatter about usefulness. To some groups it's very useful. To others it's a dangerous crutch.

Re:A Student's Guide to Writing with ChatGPT by aquariusDue on Wednesday November 13, 2024 @08:49PM (#42132323)
This is both inspiring and terrifying at the same time.

That being said I usually prefer to do something the long and manual way, write the process down sometimes, and afterwards search for easier ways to do it. Of course this makes sense on a case by case basis depending on your personal context.

Maybe stuff like crosswords and more will undergo a renaissance and we'll see more interesting developments like Gauguin[0] which is a blend of Sudoku and math.

[0] https://f-droid.org/en/packages/org.piepmeyer.gauguin/

Re:A Student's Guide to Writing with ChatGPT by treflop on Wednesday November 13, 2024 @09:13PM (#42132462)
Wait until AI prints out something that doesn't work and you can't figure out how to fix it because you don't know how it works so you do trial and error for 3 hours.

The difference is that you can trust a good calculator. You currently can't trust AI to be right. If we get a point where the output of AI is trustworthy, that's a whole different kind of world altogether.

Re:A Student's Guide to Writing with ChatGPT by alasdair_ on Wednesday November 13, 2024 @10:56PM (#42133035)
>The difference is that you can trust a good calculator.

I found a bug in the ios calculator in the middle of a masters degree exam. The answer changed depending on which way the phone was held. (A real bug - I reported it and they fixed it). So knowing the expected result matters even when using the calculator.

Re:A Student's Guide to Writing with ChatGPT by margalabargala on Wednesday November 13, 2024 @09:23PM (#42132519)
For replacement like I described, sure. But it will be very useful long before that.

AI that writes a bash script doesn't need to be better than an experienced engineer. It doesn't even need to be better than a junior engineer.

It just needs to be better than Stack Overflow.

That bar is really not far away.

Re:A Student's Guide to Writing with ChatGPT by treflop on Thursday November 14, 2024 @01:22AM (#42133592)
You’re changing the goal post. Your original post was saying that you don’t need to know fundamentals.

It was not about whether AI is useful or not.

Re:A Student's Guide to Writing with ChatGPT by margalabargala on Thursday November 14, 2024 @12:13PM (#42138412)
I'm not changing goalposts, I was responding to what you said about AI spitting out something wrong and you spending 3 hours debugging it.

My original point about not needing fundamentals would obviously require AI to, y'know, not hallucinate errors that take three hours to debug. We're clearly not there yet. The original goalposts remain the same.

Since human conversations often flow from one topic to another, in addition to the goal post of "not needing fundamentals" in my original post, my second post introduced a goalpost of "being broadly useful". You're correct that it's not the same goalpost as in my first comment, which is not unexpected, as the comment in question is also not my first comment.

Re:A Student's Guide to Writing with ChatGPT by Mengkudulangsat on Wednesday November 13, 2024 @09:22PM (#42132517)
Hopefully that happens rare enough that when it does, we can call upon highly-paid human experts that still remembers the art of doing long divisions.
Re:A Student's Guide to Writing with ChatGPT by kamaal on Wednesday November 13, 2024 @10:09PM (#42132754)
>>The difference is that you can trust a good calculator. You currently can't trust AI to be right.

Well that is because you ask a calculator to divide numbers. Which is a question that can be interpreted in only one way. And done only one way.

Ask the smallest possible for loop and if loop that AI can generate now you have the pocket calculator equivalent of programming.

Re:A Student's Guide to Writing with ChatGPT by abduhl on Thursday November 14, 2024 @12:05AM (#42133306)
>> Well that is because you ask a calculator to divide numbers. Which is a question that can be interpreted in only one way. And done only one way.

Is it? What is 5/2+3?

Re:A Student's Guide to Writing with ChatGPT by TSP00N3 on Thursday November 14, 2024 @01:36AM (#42133649)
There is only one correct way to calculate 5/2+3. The order is PEMDAS[0]. You divide before adding. Maybe you are thinking that 5/(2+3) is the same as 5/2+3, which is not the case. Improper math syntax doesn’t mean there are two potential answers, but rather that the person that wrote it did so improperly.

[0] https://www.mathsisfun.com/operation-order-pemdas.html

Re:A Student's Guide to Writing with ChatGPT by Moru on Thursday November 14, 2024 @04:10AM (#42134379)
Maybe user means the difference between a simple calculator that does everything as you type it in and one that can figure out the correct order. We used those simpler ones in school when I was young. The new fancy ones were quite something after that :)
Re:A Student's Guide to Writing with ChatGPT by abduhl on Thursday November 14, 2024 @08:14AM (#42135867)
So we agree that there is more than one way to interpret 5/2+3 (a correct and an incorrect way) and therefore that the GP statement below is wrong.

“Which is a question that can be interpreted in only one way. And done only one way.”

The question for calculators is then the same as the question for LLMs: can you trust the calculator? How do you know if it’s correct when you never learned the “correct” way and you’re just blindly believing the tool?

Re:A Student's Guide to Writing with ChatGPT by kamaal on Thursday November 14, 2024 @09:16AM (#42136303)
>>How do you know if it’s correct when you never learned the “correct” way and you’re just blindly believing the tool?

This is just splitting hairs. People who use calculators interpret it in only one way. You are making a different and a more broad argument that words/symbols can have various meanings, hence anything can be interpreted in many ways.

While these are fun arguments to be made. They are not relevant to practical use of the calculator or LLMs.

Re:A Student's Guide to Writing with ChatGPT by margalabargala on Thursday November 14, 2024 @12:16PM (#42138449)
> So we agree that there is more than one way to interpret 5/2+3 (a correct and an incorrect way) and therefore that the GP statement below is wrong.

No. There being "more than one way" to interpret implies the meaning is ambiguous. It's not.

There's not one incorrect way to interpret that math statement, there are infinite incorrect ways to do so. For example, you could interpret as being a poem about cats.

Re:A Student's Guide to Writing with ChatGPT by visarga on Thursday November 14, 2024 @10:54AM (#42137450)
> Wait until AI prints out something that doesn't work and you can't figure out how to fix it because you don't know how it works so you do trial and error for 3 hours.

This is basically how AI research is conducted. It's alchemy.

Re:A Student's Guide to Writing with ChatGPT by eyegor on Thursday November 14, 2024 @01:40AM (#42133666)
I don't honestly think anyone can remember bash array syntax if they take a 2 week break. It's the kind of arcane nonsense that LLMs are perfect for. The only downside is if the fancy autocomplete model messes it up, we're gonna be in bad shape when Steve retires cause half the internet will be an ouroboros of ai generated garbage.