The "replaceAll" method of the String Class can't work, if a "?" character is in the value of an att

N

nebulous99

It was bound to happen eventually, and now it has: someone has made
another, entirely new wrong guess regarding my identity.

So, you're lazy and can't be bothered to do the necessary research yourself. You
come to Usenet, ask a poorly worded question and when you get politely
corrected you become offensive. You are Twisted AICMFP.

No, he isn't Twisted. Sorry. Oh, and by the way...

Error: undefined external symbol "AICMFP".


Both sides in this latest flamewar are acting like asses, with a few
exceptions (e.g. Roedy is trying to be reasonable).

Lew's original post, for example, was a bit rude, or at least ...
"abrupt" and focused more on nitpicking issues unrelated to the OP's
problem than on the OP's problem.

Dodgy English grammar is the norm in any international forum; you
should all be used to it by now, and picking on someone for being
fairly new to the language is not very nice.

To whoever: if your news software munges lines that start with >
that's your problem and not the OP's.

On the other hand, the OP's large number of posts lately a) quoting
everything only to add one or two lines and b) those lines being "****
off!" and the like isn't very constructive. He's not even rebutting
the things said about him, let alone responding with reason or trying
to do something constructive with those posts.

My recommendations:
* To question-answerers: if you can, answer a poster's question
*first* and add any grammatical suggestions or linting, whether of his
English or of his Java (or both), afterward; and do be diplomatic
about it rather than terse and dismissing or even rude. A hostile
answer is often worse than no answer at all, especially if it results
in a lot of noise in the ng down the line as often occurs.
* To the OP: pure "**** off" posts aren't either endearing or
especially useful, and quoting everything in order to add just the one
line is a waste of bandwidth. At least you're not top-posting too...
 
E

Ed

It was bound to happen eventually, and now it has: someone has made
another, entirely new wrong guess regarding my identity.




No, he isn't Twisted. Sorry. Oh, and by the way...

Error: undefined external symbol "AICMFP".

Both sides in this latest flamewar are acting like asses, with a few
exceptions (e.g. Roedy is trying to be reasonable).

Lew's original post, for example, was a bit rude, or at least ...
"abrupt" and focused more on nitpicking issues unrelated to the OP's
problem than on the OP's problem.

Dodgy English grammar is the norm in any international forum; you
should all be used to it by now, and picking on someone for being
fairly new to the language is not very nice.

To whoever: if your news software munges lines that start with >
that's your problem and not the OP's.

On the other hand, the OP's large number of posts lately a) quoting
everything only to add one or two lines and b) those lines being "****
off!" and the like isn't very constructive. He's not even rebutting
the things said about him, let alone responding with reason or trying
to do something constructive with those posts.

There is no need to waste my time, explaining what happened here, it's
all clear, the guy acted as a fucking arrogant, and all the other
stupid idiots who are backing him up reveal clearly how fucking
idiots, they are, fucking deprived of any intellectual integrity, much
less enough critical thinking, to understand the arrogance of that
idiot, lew! Still even wonder if many of these idiots are all
programmers.
 
E

Ed

Come on, dude! Are you so stupid, to not understand that the code
works, and you may need to move the bracket, where it supposes to be,
when running it!
Where did you get that rule, Mr. Conformist!
Don't lecture to anyone here, your nonsense rule! Try to think out of
the box sometime!
public class Questionmark_TEST{
public Questionmark_TEST(){}
public static void main(String [] args){
String XMLString =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+
"<categories><NodeOne action='Print?'/></categories>";
String OldNode = "<NodeOne action='Print?'/>";
String NewNode = "<NodeOne action='Print?'>empty</NodeOne>";
XMLString = XMLString.replaceAll(OldNode,NewNode);
System.out.println("new XMLString : "+XMLString.toString());
}
}
Did you read the Javadocs on the replaceAll() method?
<http://java.sun.com/javase/6/docs/api/java/lang/String.html#replaceAl...)>
The first argument is a regular expression, in which the question mark has
special significance.
But you never answered my question though! Take a look what Roedy
replied to me! That's kind of an answer, I was looking for!

Tsk.

Lew's reply contain the same information as Roedy's post.

Fuckink moron, Lew's reply contains some info, but it also contains
arrogance and rudeness!
 
D

Daniel Pitts

You are not on my level, fucking dumbass! Tell me since when have you
been a Programmer?
**** off!

Well, lets see... I started learning how to be a programmer when I was
8 years old, on an old Atari 800 using BASIC.

I eventually moved on to learn gwbasic (the MS DOS version of basic
before QBASIC). Then I learned QBASIC (The predecessor to VB). I took
a few classes at a local college when I was 11 in C++ and object
oriented programming. When I was 15 I worked as a teachers assistant
in those same classes. Around that time I learned 8086 Assembly, and
Java. I continued to study on my own time different aspects of
programming.

I have never stopped learning about programming (actually, I've
graduated from programmer to engineer IMO), and now I'm 26. I've had
18 years a programming/engineering practice, and I never once claimed
to not have enough time to look up or figure out an answer for
myself.

So, I guess you're right, you and I aren't on the same level. You
look like an ant all the way down there. I *know* I have a lot to
learn, and I think its sad that you can't recognize your own ignorance.
 
D

Daniel Pitts

Fucking idiot, you are not on my level! Not only, I have been a
Programmer for a few decades, but I programm in more than two
languages as we speak! C++, JAVA, C#. Do you get it?!?
When did this become a longer dick contest?

My languages: C, C++, Java, JSP, PHP, 80x86 Assembly, SQL, bash,
JavaScript, LPC, PLC, Python, perl, a few toy languages that I've
created, as well as several proprietary scripting languages at
companies that I've worked at. I've not only been programming for 18
years, I've been passionate about programming for 18 years.

I've also studied Design Patterns, Object Oriented Programming,
Functional Programming, and Aspect Oriented Programming. I've written
low level graphics card drivers in C and in Assembly. I've worked on
high volume (120+ million hits/day) websites. Complex content
management systems. I also have worked on a control software platform
which handles traffic lights, water treatment plants, drawbridges,
power supply stations.

For your info, you may even be using a Java IDE Compiler written by my
friends!

What does the accomplishment of your friends have to do with your
programming ability? Also, I don't need to compile my IDE, so I don't
use an IDE Compiler :) If you mean the compiler in an IDE, I'm
curious which one, if its the one I use, I have a few suggestions,
otherwise, STFU.
 
J

Joshua Cranmer

C++ ~ Java ~ C# (C# is, in fact, MS's response to Java) (P.S., it's
"Java", not "JAVA"). Try getting some more different languages under
your belt.
My languages: C, C++, Java, JSP, PHP, 80x86 Assembly, SQL, bash,
JavaScript, LPC, PLC, Python, perl, a few toy languages that I've
created, as well as several proprietary scripting languages at
companies that I've worked at. I've not only been programming for 18
years, I've been passionate about programming for 18 years.

Better than my list:
Lingua francae (did I get the plural right?): Java, English (couldn't
resist :D)
Languages I feel I have a strong mastery: C, C++, Python
Languages I can easily program in: x86 assembly (both Intel and
GCC-syntax), PHP, SQL, JavaScript, Bash, TI-Basic (both TI-89 and TI-83
style).
Languages I can recognize and comprehend: LISP, Perl (to a degree),
Pascal, Fortran, {M}MIX assembly, French

Since I'm not yet 18 years old, I can't yet have 18 years of programming
experience, but I've been passionate and somewhat programming for ~ 10
years. Also, the last category probably doesn't count as my languages.


Definitely not. The only Java IDE I use is vim (it is also my editor of
choice for nearly all of the languages listed above), although I've
dabbled with JCreator and jEdit in the past. The only compiler I have
ever used is Sun Java.
What does the accomplishment of your friends have to do with your
programming ability? Also, I don't need to compile my IDE, so I don't
use an IDE Compiler :) If you mean the compiler in an IDE, I'm
curious which one, if its the one I use, I have a few suggestions,
otherwise, STFU.

As a note to Ed in general:
1. Ad hominem attacks weaken your arguments considerably.
2. Inserting vulgar language into every other sentence begins to conjure
up in my mind a mental image of a southern redneck, which makes me more
likely to ignore any future questions you may have. I am sure that
similar feelings can be shared by a large number of people in this group.
3. Repeatedly in this thread, you have shown characteristics typical of
many trolls, including:
a. Repeated attacks and escalation of posts
b. Inconsistent use of capitalization
c. Words that you do not seem to know the meaning of
4. You continually insist that you are a programmer, but you have not
mastered many of the fine arts of programming, showing instead:
a. Willingness to ignore commonly-accepted standards
b. Ignorance of basic documentation for topics
c. Unwillingness to take criticism for sloppy work.
d. Lack of initiative to actually look for documentation
Granted, there are many programmers who do not take into account any
of the fine arts, but when prompted to follow the basic guidelines, one
should accept humility.
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

No, he isn't Twisted. Sorry.

I don't think it was meant literally.
Oh, and by the way...

Error: undefined external symbol "AICMFP".

You can find it in Wikipedia.
My recommendations:
* To question-answerers: if you can, answer a poster's question
*first* and add any grammatical suggestions or linting, whether of his
English or of his Java (or both), afterward; and do be diplomatic
about it rather than terse and dismissing or even rude. A hostile
answer is often worse than no answer at all, especially if it results
in a lot of noise in the ng down the line as often occurs.
* To the OP: pure "**** off" posts aren't either endearing or
especially useful, and quoting everything in order to add just the one
line is a waste of bandwidth.

That is actually good advice !

Arne
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Ed said:
Fucking idiot, you are not on my level! Not only, I have been a
Programmer for a few decades, but I programm in more than two
languages as we speak! C++, JAVA, C#. Do you get it?!?

A couple of relevant quotes attributed to Confucius:

"To know, is to know that you know nothing. That is the meaning of true
knowledge. "

"A superior man is modest in his speech, but exceeds in his actions."

Arne
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Ed said:
For your info, you may even be using a Java IDE Compiler written by my
friends!

What is a "Java IDE Compiler". Sounds very interesting. It it a compiler
that generates Java IDE's from meta language or is it a compiler that
generates any IDE from meta language using a compiler written in Java ?

Arne
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Roedy said:
replaceAll is not a simple string function. It is a regex function.
replace is probably what you want - a literal replace-all.

It should be noted though that the implementation of
replace String String in SUN Java is not very good.

Arne
 
E

Ed

When did this become a longer dick contest?

My languages: C, C++, Java, JSP,


Just look how this guy is a fucking idiot, he states that JSP is
language, he really considers JSP to be a language like Java! Dumbass,
JSP is any scripting language that calls Java objects!
 
E

Ed

On Sep 13, 10:18 pm, Ed <[email protected]> wrote:
I have never stopped learning about programming (actually, I've
graduated from programmer to engineer IMO), and now I'm 26. I've had
18 years a programming/engineering practice, and I never once claimed
to not have enough time to look up or figure out an answer for
myself.


This guy is fucking liar! Maybe he doesn't work in Corporate America,
and get fucking busy, with the Go-Live Phase!
Where do you work, idiot!
 
J

Joshua Cranmer

Ed said:
Just look how this guy is a fucking idiot, he states that JSP is
*language*, he really considers JSP to be a *language* like Java!
> Dumbass, JSP is any scripting *language* that calls Java objects!

[ emphasis added ]

To make a reference to the talk.origins newsgroup, you now owe me a new
IronyMeter. (Send it to me; I'll reimburse you with E.B. White's
Elements of Style)
 
E

Ed

C++ ~ Java ~ C# (C# is, in fact, MS's response to Java) (P.S., it's
"Java", not "JAVA"). Try getting some more different languages under
your belt.

Idiot, I don't consider JSP or Java Script to language as you are all
stating here!
In my work, I also use, JSP, TCL, XML/XSL, Javascript, and note that I
didn't include those ones!
As a note to Ed in general:
1. Ad hominem attacks weaken your arguments considerably.
2. Inserting vulgar language into every other sentence begins to conjure
up in my mind a mental image of a southern redneck, which makes me more
likely to ignore any future questions you may have.

Because you are still acting like a jackass and rude, and once you
understand that you are the ones who did start this shit, I will make
peace with you! Why do you think Lew never replied to me? Because he
knows that he was fucking rude, when responding to me!

**** off, now!
 
E

Ed

A couple of relevant quotes attributed to Confucius:

"To know, is to know that you know nothing. That is the meaning of true
knowledge. "

"A superior man is modest in his speech, but exceeds in his actions."

Arne

You don't have to lecture me, dumbass, as you don't have enough
critical thinking, to understand that the cause of all this shit is
your lack of fairness!
 
J

Joshua Cranmer

Ed said:
This guy is fucking liar! Maybe he doesn't work in Corporate America,
and get fucking busy, with the Go-Live Phase!
Where do you work, idiot!

I timed it. Given that my computer is on, it took me 91 seconds to start
up Firefox, google Java +replaceAll, click on the first result, scroll
down to the definition of replaceAll and read the text there. Judging
from my receive date, it took 2797 seconds for you to receive Lew's
response. That is ~ 3000% increase in response time to use Usenet as
opposed to merely searching online. I am being unrealistic with respect
to the Usenet time, though: you probably were not notified the exact
second that your news ISP received his post. Given fudge factors, it is
probably closer to 4000 seconds.

Most of my 91 seconds in searching the result was starting up my web
browser. Any way you look at it, searching is /faster/ than asking on
Usenet.

In answer to your last question, perusing his headers indicates that Mr.
Pitts is using an en-US-localized Firefox build, therefore it is safe to
assume that he is working in the US.
 
E

Ed

Ed said:
Just look how this guy is a fucking idiot, he states that JSP is
*language*, he really considers JSP to be a *language* like Java!
Dumbass, JSP is any scripting *language* that calls Java objects!

[ emphasis added ]

To make a reference to the talk.origins newsgroup, you now owe me a new
IronyMeter. (Send it to me; I'll reimburse you with E.B. White's
Elements of Style)


You are not enough sophisticated to understand the difference between
Java and JSP, shame on you! You just read books and think they are
gospel!
**** off now!
 
J

Joshua Cranmer

Ed said:
Idiot, I don't consider JSP or Java Script to language as you are all
stating here!
In my work, I also use, JSP, TCL, XML/XSL, Javascript, and note that I
didn't include those ones!

Question 1: Is JavaScript Turing-complete?
Question 2: Do you know what the implications of being Turing-complete are?
Question 3: Would you like to say that "JavaScript is not a programming
language" to the people of c.l.javascript? Too bad. You just did.
Because you are still acting like a jackass and rude, and once you
understand that you are the ones who did start this shit, I will make
peace with you! Why do you think Lew never replied to me? Because he
knows that he was fucking rude, when responding to me!

A quote from Lew's post, and your response:
>
> Come on, dude! Are you so stupid, to not understand that the code
> works, and you may need to move the bracket, where it supposes to be,
> when running it!
>
> Where did you get that rule, Mr. Conformist!
> Don't lecture to anyone here, your nonsense rule! Try to think out of
> the box sometime!

Who's being rude? Lew, who is advising you on a) proper ways to post to
Usenet and b) following well-establish Java syntax, or you who
immediately starts attacking him, using exclamation points three times
where recommended usage is zero. (And your poor grammar doesn't help)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top