Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:ChatGPT has been a lifesaver for me (Score 0) 42

Examples: I used it to write GUI functions.

What does that even mean?

Last year I deleted an entry in a SQL database table not realizing that cascading delete was enabled and I ended up deleting license keys for about 2,000 customers.

What kind of schema do you have in which deleting a single entry ends up deleting license keys for 2000 customers? That makes no sense?

ChatGPT to “ write a python function to retrieve customer information from that company and generate a SQLinsert query to merge it back into our own database”.

That was your prompt, was it? And it just worked? What happened to the other 2000 customers?

Amazing that your entire post sounds nonsensical. You should stop making things up.

Comment Re: nope, also rust people (Score 1) 51

The bad programmer apologizes and fixes it. The good one plays the blame game and even may throw in a tantrum.

Arrogant programmers throw a tantrum and blame. Skill is an orthogonal trait to arrogance.

Good programmers ask:

1) How did I make that mistake?
2) How can I avoid making the same mistake in the future?
3) Did I make a similar mistake anywhere else (go verify)?

If you do that, you can write secure code in C. If you don't, then you can't write secure code in any language (because memory errors are not the only errors).

Comment Yes (Score 1) 42

My biggest use is as a search engine. Sometimes I'll just use the AI answer Google automatically posts in the search results, or sometimes I'll ask ChatGPT specifically. I don't rely on the answer, I click on the link citations provided, which are sometimes good, sometimes bad. Google AI is still garbage tier, but it does provide link references.

My second biggest use is to generate art. Flowers love you. Time flies like an arrow.

Comment Re:This quote from Overstreet makes me glad he's o (Score 1) 51

If you use AI as a search engine that's fine, but it's a starting place. A kernel developer needs to have a skill to read documentation for the functions being used, and if that isn't enough to read the actual code. Don't trust AI (or search engines), make sure you understand the code.

Comment Re:OMG thank you (Score 1) 90

It's worth remembering the people who were looking to replace it are the very people who built it in the first place.

This is utterly false. X was designed in the 1980s at MIT. Is it perfect? No, but it does the job.

Wayland was built by Kristian Hogsberg, who definitely did not go to MIT, and has the design skills of a typical RedHat employee.

Comment Re:How to Win Friends and Influence People (Score 4, Interesting) 51

Linus doesn't want an apology. He's not upset with Overstreet because Overstreet insulted him, he's upset with Overstreet because Overstreet wrote bad code (or in this case, can't figure out how a merge window works).

All Overstreet needs to do is figure out how a merge window works. He doesn't need to write a perfect apology.

Comment Re:nope, also rust people (Score 1) 51

C is a great language for kernel development. It is elegant, in that it serves its purpose well and efficiently. If you know what you are doing, you can write clean, brief, understandable, clear code (a good portion of "knowing what you are doing" is figuring out how to properly encapsulate in a function).

However, most driver programmers don't know what they are doing. That isn't going to change in the term. Rust allows them to write drivers without writing memory leaks or buffer overruns. Net win.

Slashdot Top Deals

I just asked myself... what would John DeLorean do? -- Raoul Duke

Working...