Author Topic: How do I compare a string with client.read() ?  (Read 13459 times)

0 Members and 1 Guest are viewing this topic.

Offline BillyD

  • Regular Contributor
  • *
  • Posts: 210
  • Country: ie
Re: How do I compare a string with client.read() ?
« Reply #25 on: September 05, 2013, 11:09:09 pm »
We are not attacking forum members, we are criticizing a behavior.

So you're criticizing behavior based on a question you don't understand. You call somebody a newbie whom you don't even know. You claim they are doing a homework assignment when you have no idea what they're even working on.

Real mature "behavior"   :clap:

Or am I mistaken , and you are the self-proclaimed Mr. Know-it-all?
 :-DD

I think it's fair to say you brought that on yourself by barging in and asking a very basic question while failing to provide any context to it, and then made it worse by getting all snotty when people called you on it. With that attitude you'll very quickly run out of people willing to help you - and not just on internet forums but in life in general.

 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #26 on: September 05, 2013, 11:10:40 pm »
If you're asking how to compare strings, you are a newbie. It's that simple. If you had any coding experience you'd know exactly what you wanted and how to get it, because string comparisons are ridiculously common. And "homework assignment" was not an entirely unsafe assumption, since you were asking a very elementary question that most people just Google.

And do you know why people were rude to you? This:

:-DD simple question. simple answer.

This was the first instance of rudeness in the thread. You were told that you were asking in the wrong place and you demanded an answer anyway. Do you go on car forums and ask how to make ice cream? If you do, prepare to be told where you should go.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #27 on: September 05, 2013, 11:14:16 pm »
The sperminator is now pestering "real programmers" *cough* on an arduino forum, where he is properly spoon feed.

Nope the Sperminator is having fun watching a bunch of crybabies throw a fit because they claim they don't like the "behavior" of a so-called 'newbie' on a so-called 'homework assignment' asking a question , which they don't understand.  :-DD
It's really simple, "please elaborate". that's all you have to say. Unless you prefer acting like overly sensitive muppet.
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2028
  • Country: au
Re: How do I compare a string with client.read() ?
« Reply #28 on: September 05, 2013, 11:16:05 pm »
Do you go on car forums and ask how to make ice cream?
How do you make ice cream, and in your response, make sure its chocolate, none of this vanilla crap :P
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 9681
  • Country: us
Re: How do I compare a string with client.read() ?
« Reply #29 on: September 05, 2013, 11:19:09 pm »
It's really simple, "please elaborate". that's all you have to say.

We don't have to say anything. What makes you think we are obliged to help you?
I'm not an EE--what am I doing here?
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #30 on: September 05, 2013, 11:25:01 pm »
If you're asking how to compare strings, you are a newbie. It's that simple. If you had any coding experience you'd know exactly what you wanted and how to get it, because string comparisons are ridiculously common. And "homework assignment" was not an entirely unsafe assumption, since you were asking a very elementary question that most people just Google.

My question WAS NOT about comparing 2 strings. Again, read the question and look at the code.

The entire response and attitude in this thread was very elementary. And a "homework assignment" was not an entirely unsafe assumption? considering you have no idea what i'm even referring to? Ok.  :-DD   

The notion of real programmers has nothing to do with knowing how to compare strings or the difference of array's , etc. The notion of real programmers that I expressed more has to do with the humble attitude to seek more of that which what you do not understand , instead of throwing a fit and attacking somebody you don't even know because you somehow magically know they are a "newbie".

Quote
And do you know why people were rude to you? This:

:-DD simple question. simple answer.

Scroll up captan obvious,  the first instance of rudeness was the reply to that post (the second post). My post in response to that second reply (first instance of rudeness) was  "SIMPLE QUESTION, SIMPLE ANSWER" . Maybe it's not considered rude when somebody rather make immature remarks and attacks instead of simply asking what somebody is talking about if they don't understand or ask them to elaborate.
« Last Edit: September 05, 2013, 11:28:25 pm by shermanator »
 

alm

  • Guest
Re: How do I compare a string with client.read() ?
« Reply #31 on: September 05, 2013, 11:27:52 pm »
No point in continuing arguing about this. Coming back and posting a solution is a positive contribution, and I don't think the OP is looking for additional help.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #32 on: September 05, 2013, 11:28:29 pm »
How do you make ice cream, and in your response, make sure its chocolate, none of this vanilla crap :P

Walk to the corner store, place a container of delicious, chocolate* ice cream on the counter, and exchange money for it. That's how I do it - works every time :-+

*I realize "delicious, chocolate ice cream" is an oxymoron, but I will humor you, since chocolate is apparently a tasty flavor of ice cream in your screwed-up, delusional world. ;)
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline baljemmett

  • Supporter
  • ****
  • Posts: 666
  • Country: gb
Re: How do I compare a string with client.read() ?
« Reply #33 on: September 05, 2013, 11:29:44 pm »
yeah, I know that, but I want you to tell me what tools I have in my toolbox despite not telling you what that might be

Scroll up and read the thread captan obvious. My response has nothing to do with what's in my toolbox or not receiving an answer.

Strange as it may seem, I did read the thread; if I may quote:

You're going to have to read one character at a time and build a string out of them. Probably look for a CR character to indicate the end of a line from the client. Compare that string with what you're looking for.

yes, that's obvious.
I am looking for a simple way around that , similar to how you would perform this in C++, perl, php or any other language.

Which is exactly the attitude I was commenting on.  Speaking as an actual real programmer, by the time I saw this thread I couldn't see a single reason I'd want to invest any effort in helping you - even if IanB's initial response to your question wasn't particularly helpful, you persisted in providing fuck all by way of relevant information and then acted like a complete dipshit when called on it.

Dismissing the advice you did receive as 'obvious' when we have no way of knowing what you already know is just outright childish.  Why do you think it's our job to figure out what you already know, when you could (and should) provide this information upfront so we know how to pitch the response?
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #34 on: September 05, 2013, 11:32:12 pm »
No point in continuing arguing about this. Coming back and posting a solution is a positive contribution, and I don't think the OP is looking for additional help.

I posted the solution already after figuring it out.. You probably have to go back a few responses to see it.
I hope somebody with the same question who stumbles onto this thread can find this post beneficial , unfortunately they'll have to sift through all the crybabies who seemed to swarm here like a bunch of fruit flies to add their 2-cents of ridiculous arrogant sensitivity.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #35 on: September 05, 2013, 11:35:37 pm »
I think you need to go find "ProgrammingHelpForNewbies.com"...

This is not a homework help forum for elementary programming questions   ::)

This is what you call rude, Captain Vague? This?? Have you met another human before? Seems more of a joke to me, personally. And yes, that is a very typical response when a brand-new member of a forum asks a completely offtopic question. Go try it elsewhere and report back.

crybabies

Are you Pot, or Kettle?
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #36 on: September 05, 2013, 11:37:17 pm »
Dismissing the advice you did receive as 'obvious' when we have no way of knowing what you already know is just outright childish.  Why do you think it's our job to figure out what you already know, when you could (and should) provide this information upfront so we know how to pitch the response?

Dismissing advice? I really think you're either 1) far too sensitive or 2) looking for a way to justify your argument on who came off rude in this forum which started this whole tangent parade.

Why would you even argue that someone thinks it's your job to figure out what somebody already knows or should know? How do you even reach that conclusion?  I asked a simple question, which was immediately met with a bullshit remark. Which was followed by more bullshit from people who felt like they were somehow disrespected somehow.

I did provide additional information to what I was referring to even though instead of asking folks wanted to act like sensitive little muppets on a crybaby fit and launch little attacks.

Nonetheless , I still came back after figuring it out myself and posted the result hoping that somebody with the same question doesn't have to deal with sensitive ass brats who think everyone in the world besides them is a "newbie"

 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #37 on: September 05, 2013, 11:40:45 pm »
"Newbie" isn't an insult, dude...
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #38 on: September 05, 2013, 11:45:04 pm »
This is what you call rude, Captain Vague? This?? Have you met another human before? Seems more of a joke to me, personally. And yes, that is a very typical response when a brand-new member of a forum asks a completely offtopic question. Go try it elsewhere and report back.

Ok, if that's not rude by your standards then we all have nothing more to complain about. You shouldn't have a problem with my "rude" question or my "rude" response , which was in response to the second post.

And met another human? You forgot you're on an INTERNET FORUM. As far as I know you're 600lbs and sit there all day with a shit and piss bucket eating hot pockets and pancakes that drip syrup on your belly. No? Well according to the logic here, that's a perfectly safe assumption.  :-DD

I don't need to go try elsewhere , i figured out the issue and posted the successful result in hopes of at least making this thread worth while for somebody. You'll have to scroll back through all the crying and ranting to see it.
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #39 on: September 05, 2013, 11:46:18 pm »
"Newbie" isn't an insult, dude...

Of course not , newbie.

It's in the context you use it in, newbie

As with any adjective, newbie.

 :-DD


example:
TEXT DELETED


context.   ;)
« Last Edit: September 06, 2013, 01:07:35 pm by GeoffS »
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #40 on: September 05, 2013, 11:49:09 pm »
As far as I know you're 600lbs and sit there all day with a shit and piss bucket eating hot pockets and pancakes that drip syrup on your belly.

Have... have you been stalking me? :o

They're waffles. I think you need eyeglasses.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline shermanator

  • Contributor
  • Posts: 17
  • Country: 00
  • User is banned.
Re: How do I compare a string with client.read() ?
« Reply #41 on: September 05, 2013, 11:50:28 pm »
As far as I know you're 600lbs and sit there all day with a shit and piss bucket eating hot pockets and pancakes that drip syrup on your belly.

Have... have you been stalking me? :o

They're waffles. I think you need eyeglasses.

waffles sound good right now
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 6298
  • Country: gb
Re: How do I compare a string with client.read() ?
« Reply #42 on: September 05, 2013, 11:53:39 pm »
I could definitely go for waffles.

Wait, how'd I end up in here? Oh well. Handbags down, girls, before somebody breaks a nail.
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2028
  • Country: au
Re: How do I compare a string with client.read() ?
« Reply #43 on: September 05, 2013, 11:56:30 pm »
I could definitely go for waffles.

Wait, how'd I end up in here? Oh well. Handbags down, girls, before somebody breaks a nail.
aahh, yet another precious "coffee sprayed over the monitor moment" ;D
 

Offline ve7xen

  • Frequent Contributor
  • **
  • Posts: 732
  • Country: ca
    • VE7XEN Blog
Re: How do I compare a string with client.read() ?
« Reply #44 on: September 06, 2013, 12:30:07 am »
Of course not , newbie.

It's in the context you use it in, newbie

As with any adjective, newbie.

 :-DD


example:
#1: Yo that app is dope motherfucker!!
#2: Yo that question is stupid I don't have an answer go to idontknowanything.com motherfucker!


context.   ;)

And here it seemed like the concept of context was completely lost on you. :-DD

Ask good questions, get good answers.
73 de VE7XEN
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7805
  • Country: us
  • adieu
Re: How do I compare a string with client.read() ?
« Reply #45 on: September 06, 2013, 12:52:12 am »
example:
#1: Yo that app is dope motherfucker!!
#2: Yo that question is stupid I don't have an answer go to idontknowanything.com motherfucker!

My incorrigible potty mouth will usually support any instance of swearing at all, but anybody who says "yo that $x is dope motherfucker" needs to be ostracized from the community of language-users. ;)
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline Bored@Work

  • Super Contributor
  • ***
  • Posts: 3932
  • Country: 00
Re: How do I compare a string with client.read() ?
« Reply #46 on: September 06, 2013, 05:36:02 am »
Figured it out myself as usual  :-/O

No, you didn't. That junk you are posting here is what they spoon fed you in that Arduino forum. You have no clue how it works. You have no clue how to change it, how to adapt it and how to fix it. You are just doing copy-paste. That is not "figuring things out myself", that is just imitation.

What you do is a sad demonstration of unwillingness to learn, unwillingness to understand things and unwillingness to evolve beyond a copy-paste arduino joke.
I delete PMs unread. If you have something to say, say it in public.
For all else: Profile->[Modify Profile]Buddies/Ignore List->Edit Ignore List
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2007
  • Country: nl
Re: How do I compare a string with client.read() ?
« Reply #47 on: September 06, 2013, 06:45:49 am »
http://stackoverflow.com/questions/7606816/arduino-ethernet-and-dhcp-cannot-communicate-out-to-the-internet

One of many code snippets out there. Looks like he totally figured it out by himself AND invented a time machine. So now he can travel back and sign up for that Effective Communication course he knows he should have taken years ago.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 9681
  • Country: us
Re: How do I compare a string with client.read() ?
« Reply #48 on: September 06, 2013, 07:01:54 am »
I had to smile at the moderator comment at the end of that other thread:

Quote
Moderator edit: [code] [/code] tags. Again. {sob}.

It's a hard life being a moderator...
I'm not an EE--what am I doing here?
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2007
  • Country: nl
Re: How do I compare a string with client.read() ?
« Reply #49 on: September 06, 2013, 07:30:19 am »
Heheh, I noticed the very same thing. XD See that a lot on another forum as well. Verilog plain-text-without-indentation-or-highlights ... or properly formatted and readable code, decisions decisions.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf