Last poster before threadlock gets a cookie (cookie thread (Part 7)) (Part 8)

I don’t want a thing that usually generates a random answer if there is none available

2 Likes

i will say i don’t use chatgpt but i have actually warmed up a bit to google’s ai summary (i briefly sanitycheck it based on other results, of course)

but like. i look up things i don’t know or remember that come up in quizbowl packets. a lot of science terms. and wikipedia in particular is dogshit at explaining science terms in an accessible way and google ai summary is just. a lot better at it

Wikipedia in particular is just bad at being accessible

I don’t get a lot of the use cases people use it for but I also. Don’t need most of those use cases. I don’t need things explained to me in the same way usually. So I don’t know how to evaluate their validity

People older than me and people “younger” than me both seem to find significant use in it but googling things and scanning yhrough articles is genuinely easier to me than asking an actual person let alone a simulation of one

1 Like

I think for a lot of people a conversational tone is huge, they’re just way more used to getting info that way

I thought tutuu would be around to get back to me more or less immediately.

Anyway, I expect it to say that a bus error occurs when a CPU tries to access memory at an invalid address (usually using the wrong offset). It might say that this error is largely never thrown anymore because on modern CPUs due to architectural changes. I would be surprised if it further clarified that by “modern CPUs” it really means anything made in the last 2 decades or more. Most of the answers are really old because it’s an extremely rare error thanks to those changes to CPUs.

It’ll almost certainly not mention that bus errors can also be thrown when Linux system calls try to access memory outside of the program’s allocated stack. You see, that would normally be a segmentation fault (SIGSEGV), but because the violation is a system call rather than in user space, the kernel throws a bus error instead (SIGBUS). When I read that it didn’t affect modern CPUs, my initial reaction was my company’s old hardware may be to blame until I saw the comment saying that was over a decade old, and found another source saying it hasn’t really been a thing since the 90s. It took me much longer to find a book that had a more complete definition. I then looked at the relevant source code of glibc for the call I was using only to be confused when the relevant system call was clearly not written in a way that would ever overflow the stack. Then I realized that I should really be checking the versions, and when I set the source to the version of glibc on the machine the error occurred on, I found that the system call was implemented in a way that would overflow the stack, and it was clear that the situations the bus error was thrown in was absolutely what would cause this code to have an overflow. There were just so many pieces to that puzzle that even if ChatGPT were able to answer things quickly, the context of the answers were so often important and comparing multiple answers was relevant to ultimately finding a solution.

Anyway, the easiest solution was just to increase the program’s stack size to be quadruple the default, and it basically never happened again. It took hours and hours and hours only to end up adding a single line of code that increased the memory usage on startup by a trivial amount.

2 Likes

Im not, if the answer chatgpt gives me isnt correct ill start googling. My area isnt so low on the computer level that i need to go so deep

response

I wouldnt use chatgpt for such a complex question. Id use it for simple stuff. Also you can ask chatgpt to direct you to sources

A lot of information on articles is shit. First you fight the cookies for 5 min then you scroll down and they waste your time. youtube tutorials can be a menace too, 5 minutes intro and 30 min content which could have been condensed to 3

1 Like

this thread

4 Likes

U use stack overflow for complex coding problems. Its like a forum. Online articles dont rly help

1 Like

Ill try out Gemini (google’s chatgpt). I didnt know they had one

1 Like

Isnt that the one that told people to eat one small rock per day

1 Like

chatgpt has always been adequate for my programming needs but i haven’t been doing super advanced level programming so shrug

and when it hasn’t done what i need it to do i can quite easily re-align it with another clarifying prompt

the danger is when you don’t understand enough about what you’re doing to even realize it’s not done what you wanted it to

1 Like

Mew Mew

I have no electricity :(