|
Like the car bomb opposite the Bank of England in March, all you see is Cheapside and associated roads shut; all you hear is the thwock thwock of the Chinook rotors, and... media silence...
ooooo!
|
|
|
|
|
chriselst wrote: So, what do you reckon the police just blew up? A condom. Also explains the large bang.
chriselst wrote: I'm going for someone's lunch. Sriracha sauce. Defends your lunch anyday.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I watched an English comedy last night and a guy pooed in a plastic container and threw it out a back window while in hostage crisis and the bomb squad sent a robo in to blow it up, was a funny situation!
As I grow older I've found that pleasing everyone is impossible but pissing everyone off is a piece of cake.
|
|
|
|
|
Alan Partridge: Alpha Pappa?
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Yeah that was it with Colm Meany as the bad guy. Was pretty funny!
As I grow older I've found that pleasing everyone is impossible but pissing everyone off is a piece of cake.
|
|
|
|
|
A WV Polo?
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
Hello this is my first post and I would like to ask for a hand to all of you!
I have to implement an interface for monitoring, this will have two types of connections (RS232 and Ethernet) that can be chosen at the discretion of the user.
I would like to create a client / server in C + + but this one has to manage two protocols tcp (ethernet) and one serial (RS232).
I can not get a view and be able to define high-level architecture which can then later go to handle only the two protocols (of course the two types of connection can never be used together).
Can anyone give me a guideline??
thank you
|
|
|
|
|
First advice is don't ask questions here. Pop over to Quick Answers[^] and Griff and the Boys will help you out quicker than you can say antidisestablishmentarianism.
|
|
|
|
|
I can't even spell antedis auntidise that word, let alone say it!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
All I got was antiblahblahblah
As I grow older I've found that pleasing everyone is impossible but pissing everyone off is a piece of cake.
|
|
|
|
|
its spelled antidistinctlymintymonetarism. no, that's not right..
"Great minds discuss ideas; Average minds discuss events; Small minds discuss people" - Eleanor Roosevelt
"An eye for an eye only ends up making the whole world blind" - Mohandas Gandhi
|
|
|
|
|
I am definitely against all antidisestablishmentarianism unless our new robot overlords approve.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
You place a drop down with the two protocols and when the user selects one, switch it.
This is known as the drop-down methodology of software development.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
As opposed to the bottoms up methodology, where all code is written by Nagy?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Yes, but code written on the bottom of the barstool is rarely usable as is; several pints of debugger are usually required.
Will Rogers never met me.
|
|
|
|
|
Member 10950715 wrote: Can anyone give me a guideline??
Yes; don't post programming questions here: it says so quite clearly above. If you can't read and understand that, what hope do you have?
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
Use carrier pigeons
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
|
I love the needle in a trillion-trillion..... haystacks nature of the mission.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
|
|
|
|
|
I have a new requirement for a content based routing thing, if a value in an xml message is true then it goes to two places, otherwise it goes to just the one.
Capture a message, find the node, look at the value - false.
So I code for true and false.
It doesn't work.
Capture a message that didn't behave as I thought it should, look at the value - yes.
Look at a few more.
Yep, for reasons that I cannot begin to imagine the value of the node I am trying to route on is false or yes.
yes or no, true or false, 1 or 0, penis or vagina.
What kind of sick mind goes for yes or false?
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
This is a good example of DDD - Drug Driven Development.
|
|
|
|
|
Now that's funny, that explains a lot!
As I grow older I've found that pleasing everyone is impossible but pissing everyone off is a piece of cake.
|
|
|
|
|
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Yes, your code needs to be more flexible:
if (messageValue.ToLower().MatchesOneOf("1", "yes", "true", "vb sucks"))
{
message.SendToTwoPlaces();
}
else if (messageValue.ToLower().MatchesOneOf("0", "no", "false", "vb rocks"))
{
message.SendToOnePlace();
}
else
{
throw new UserTooUncertainException(messageValue);
}
Probably should really add all the trew/falls options to a couple of dictionaries but I couldn't be bothered; you get the idea!
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
Quote: 0", "no", "false", "vb rocks
are really sure, really...
|
|
|
|