|
BillWoodruff wrote: Forget trying to get tech support for Open-AI. You could always post your query to ChatGPT. 
|
|
|
|
|
Thanks, as stated, I was using a Windows 10 laptop to try and register. The site demanded a phone number. The Android phone is a bog standard unlocked phone with a SIM from one of the largest telecoms in Thailand/Asia.
I thought I was trying to register as a Chat-GPT user via Open-AI:
"ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI"
cheers, Bill
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
Richard MacCutchan wrote: You could always post your query to ChatGPT. Perhaps, Sir Richard, you jest ?
If I could use (post to ?) ChatGPT, I would not be struggling with how to see some kind of Chat thing do any of the things I read about ... like write some code, interact with me around some topic.
Bard, in Bing, is ... well, i'd call it a rather lame, so far, prototype.
as always your admirer , bill
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
Sorry, cruel I know, but I couldn't resist. ![Rose | [Rose]](https://codeproject.global.ssl.fastly.net/script/Forums/Images/rose.gif)
|
|
|
|
|
Richard MacCutchan wrote: I couldn't resist. Given how large a target i am: understandable
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
All done in the spirit of friendly fun, Bill.
|
|
|
|
|
It appears that OpenAI/ChatGPT is available in Thailand, officially. What countries is ChatGPT available & not available in? | WePC[^]
I would try using a laptop and or PC to set up an account and not your "VOIP" phone. I don't recall needing to provide a phone number to create the account, but I could be mistaken.
|
|
|
|
|
Thanks, as stated, I was using a Windows 10 laptop to try and register. The site demanded a phone number. The Android phone is a bog standard unlocked phone with a SIM from one of the largest telecoms in Thailand/Asia.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
A recent post was about OP's code getting a crtisvalidheappointer error in a C code program. The code was using malloc/calloc and free , so it was a fair guess what was going wrong. One or two answers and comments were posted with the usual suggestions. The OP then posted the following:
Quote: thanks but I solved in this way:
if (pchTesto != NULL)
{
pchTesto = NULL;
delete pchTesto;
}
if (pchBuffOut != NULL)
{
pchBuffOut = NULL;
delete pchBuffOut;
}

|
|
|
|
|
Big whoopsie moment, I had a few of them, enugh that I made my own macro DDELETENULL(x) to avoid the same mistake.
#define DDELETENULL(x) if (x != NULL) {delete(x); x = NULL;}
I had a DFREENULL(x) which was identical but with free.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
My dear Watson, it's pretty sure DFREENULL(x) came before the DDELETENULL(x) and the if statement got carried away. In C++ you can delete NULL pointers without hearing a peep from the compiler.
Mircea
|
|
|
|
|
First, it was C++/98, mostly (VisualStudio 6, in 201x, ugh) and it would create issues.
Second, I do clean programming. If a pointer is NULL I don't delete it, despite what the compiler says. It's simply wrong.
Third, DDELETENULL came first because I needed it before I realized I also had some pointers to deallocate with free (mostly the ones allocated with _mm_malloc).
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
I have a lot of counterproductive instincts, but ones that I do have that I really appreciate are the ones that carry me through doing pointer operations. It's second nature, and I don't screw it up nearly as much as I deserve to.
There's smoke in my iris
But I painted a sunny day on the insides of my eyelids
So I'm ready now (What you ready for?)
I'm ready for life in this city
And my wings have grown almost enough to lift me
|
|
|
|
|
|
wow. reminds me of the time when a coworker, who was a bit of a PITA - never listened to good advice, was convinced he had found a bug in the compiler. Having had this fantasy once or twice myself, I've learned that it is almost certainly not the compilier . Myself and one other took a look at his code and immediately found a buffer overrun. He insisted that it always worked correctly before and that could not be the issue.
but back to that code fragment -
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: Having had this fantasy once or twice myself,
At one point I put a PostIt note on my monitor: "The stupid is on the other side of the screen"
Mircea
|
|
|
|
|
I usually refer to the acronym PICNIC.
Problem
In
Chair
Not
In
Computer
Kelly Herald
Software Developer
|
|
|
|
|
I knew it as PBKAC[^] but I like your acronym better
My formulation leaves a chance to sensitive souls to imagine that problem is behind the screen... as if
Mircea
|
|
|
|
|
In the embedded world sometimes we actually find bugs in the compiler, though they are easier to spot since the disassembly is much leaner.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
I have heard of this happening but never experienced it.
This had to do with the C compiler for OpenVMS. The people that worked on DEC's compilers were legendary.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: he had found a bug in the compiler. Having had this fantasy once or twice myself, I've learned that it is almost certainly not the compilier
Very long time ago I found a bug in the C++ compiler I was using.
So I wrote a letter to the company (again long time ago.) I carefully pointed out how the C++ compiler did not do what Stroustrup documented in "The C++ Programming Language".
The president of the company (I suspect the only employee) wrote back to tell me that Stroustrup was wrong.
Years later when the ANSI C++ spec was finalized I saw that Stroustrup was still right.
|
|
|
|
|
priceless. That guy has some brass balls.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
It's like taking leak in the morning and then waking up.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
Underwriter ? agree (9)
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Like it!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|