|
You rotten so and so - I followed your link and seriously though "that can't be right"
I then used google and it made a lot more sense.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
A NULL character is part and parcel of a string. Otherwise you need some form of counted string,, otherwise the length is undetermined.
modified 5-Apr-18 4:14am.
|
|
|
|
|
The string is over when the fat lady sings.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
In .Net, string is a class, and has a length variable, so can contain NULL in the middle. Just like the std::string class in C++.
FWIW, I thought the Pascal style of having the length in the first char was quite neat (though that limited it to strings of < 255 characters).
|
|
|
|
|
Like the UNICODE_STRING we use in the kernel, it contains a length member and a pointer to the string data.
Orjan Westin wrote: can contain NULL in the middle
SOunds a bit like a multi string, nulls in the middle, ,two at the end.
Why would you want a null in the middle of a string though? How does it make it useful?
|
|
|
|
|
If you have a good old VT-52, it finally gets something it can safely ignore:
Quote: <nul> 00 Null Never affects the device. <nul> codes are always ignored wherever they appear in the character stream.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
PIEBALDconsult wrote: aren't considered whitespace
Take it up with the Unicode consortium. NULL is defined as a control character[^], not a space character[^]. It would be rather perverse for .NET to ignore that categorisation.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'll update my rant to blame Unicode.
|
|
|
|
|
Howdy y'all - been away for a bit.
Last year was "The Year of the Hip" as in I had both of my hips replaced. One in June, the second in November. Lot's of PT but both successful - ZERO hip pain today.
A week and a half ago I had the first knee replacement done. Unlike the hips it was done on an outpatient basis. Arrived at the surgical center at 5:30am, surgery complete by 9:00am, discharged around 1:30pm. Crazy!
Used crutches for a few days and opioids for a few more days. PT is harder with a knee than it was with the hip but it's not brutal (yet).
Not sure when exactly I'll do the second knee but probably sooner rather than later. I can't wait to be able to walk without pain.
#RASucks
|
|
|
|
|
a few nuts and bolts closer to a RoboCop!!
I'd rather be phishing!
|
|
|
|
|
In and out in a day for a knee replacement is pretty quick. In NZ they like you to be in hospital for a few days as one critical aspect of recovery is the right exercises by physios to get the joint working as quickly as possible. Without the exercises the recovery can take significantly later then it should.
Good luck. I hope all goes well.
A Fine is a Tax for doing something wrong
A Tax is a Fine for doing something good.
|
|
|
|
|
1-2 days is fairly normal here too. Doing it outpatient is pretty new and certainly not the norm.
They've found that staying out of the hospital increases healing and patient attitude and reduces the chances of infection.
I actually had my first PT at the surgical center before discharge and started outpatient PT within 2 days. Could have started with home PT but I discovered (hip #1) that the locals that do that in my area are idiots.
|
|
|
|
|
Did you tell them "I will be back" as Arnold?
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Mike Mullikin wrote: Last year was "The Year of the Hip" as in I had both of my hips replaced. One in June, the second in November. Lot's of PT but both successful - ZERO hip pain today.
A week and a half ago I had the first knee replacement done. Unlike the hips it was done on an outpatient basis. Arrived at the surgical center at 5:30am, surgery complete by 9:00am, discharged around 1:30pm. Crazy!
Faarrrkkkk!!! You are falling apart at a rapid rate. From memory you are only 54, at this rate you will be about 80% artificial by 60.
Have you thought about changing your name to Steve Austin and moving around in slow motion with a cheesy soundtrack in the background?
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Has Anyone Seen Mike Hunt wrote: Steve Austin
Stone cold?
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
lw@zi wrote: Stone cold?
No. The Six Million Dollar Man was a TV show back in the 70's that Mike will know. The main character was rebuilt, also known as the Bionic Man.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Wow that's old.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Has Anyone Seen Mike Hunt wrote: The Six Million Dollar Man was a TV show back in the 70's that Mike will know. Absolutely! Loved it at the time. When I see clips of it now... I cringe.
|
|
|
|
|
Has Anyone Seen Mike Hunt wrote: You are falling apart at a rapid rate. I've actually been falling apart at a slow but steady rate for decades. The hips and knees finally became too much to medicate. Probably should have done this a year or two ago.
Has Anyone Seen Mike Hunt wrote: From memory you are only 54, Exactly! Great memory!
Has Anyone Seen Mike Hunt wrote: Have you thought about changing your name to Steve Austin and moving around in slow motion with a cheesy soundtrack in the background? My friends and colleagues ask me this all the time now.
|
|
|
|
|
Already started to learn them?
1."Serve the public trust"
2."Protect the innocent"
3."Uphold the law"
4.(Classified)
|
|
|
|
|
Nah! I went with:
0. A robot may not harm humanity, or, by inaction, allow humanity to come to harm.
1. A robot may not injure a human being or, through inaction, allow a human being to come to harm unless it conflicts with the zeroth law.
2. A robot must obey orders given it by human beings except where such orders would conflict with the Zeroth or First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the Zeroth, First or Second Law.
|
|
|
|
|
Welcome to the Metalwork Club! It's a fun club to be in, you can now set of the security systems at libraries, sports stadiums, courts, airports, ... and single yourself out for Special Attention!
(I've only been setting them off for twenty years - my right shoulder is held together with lots of surgical steel - but my young brother got his first hip replacement when he as twelve after he fell out of a tree. He landed on his head, bounced, and smashed his hip to pieces on the rebound we keep telling him.)
Glad to hear you are heading for "out of pain" in all four joints! Arthritis, I assume? Herself is waiting to go on the waiting list for an appointment to arrange a place on the waiting list to see a consultant to discuss the possibility of going on the waiting list for a hip op ... which will be canceled on the day due to "pressure on the NHS".
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Herself is waiting to go on the waiting list for an appointment to arrange a place on the waiting list to see a consultant to discuss the possibility of going on the waiting list for a hip op ... which will be canceled on the day due to "pressure on the NHS".
15 days till my Missus is in to get the right hip replaced. At 50 I think she is too young but if it shuts her up so I can sleep at night I'll be thankful.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Has Anyone Seen Mike Hunt wrote: my Missus is in to get the right hip replaced. ... if it shuts her up so I can sleep at night
Where exactly are they fitting this new hip?
Anyway with you getting bits done, either she's jealous... or are you in some sort of body upgrade club?
BTW: If a woman (wives in particular) wants to talk she'll find something to say, but even more a way to say it despite impediments (and reason.)
|
|
|
|
|
lopati: roaming wrote: Where exactly are they fitting this new hip?
Blacktown Hospital.
lopati: roaming wrote: Anyway with you getting bits done, either she's jealous... or are you in some sort of body upgrade club?
I had a knee reconstruction >25 years ago but as of yet haven't had to have anything replaced.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|