I actually came across one recently. It was a real surprise considering the rest of the code was decently written.
Perhaps this implies that the use of goto in that instance was justified. If somebody is skilled and produced quality code, maybe your FIRST choice should not be to second-guess them. Let me guess, you had to introduce a redundant test or extra variable to remove the goto? Is the resulting code REALLY any clearer than it previously was?
In fact, it wasn't designed at all! I'm sure you didn't really mean that, but let's not go giving the nutjobs ammo, eh.
The taxonomic system is most certainly designed. There is no such thing as a "tree of life." It is a human construction. If you look back through biological history, you can plot the descendency of various genetic lines, and these plots look tree-like. But the only thing that exists, right now, are the "leaves" of that tree -- individual species.
But nature itself has no need for names and systems to organize the various types of life forms. Life simply is what it is. We humans impose our abstractions on reality, not vice versa. Taxonomy is synthetic.
I'm not sure if you've ever worked at a company as large as BellSouth, but orchestrated neglegence like that can't just happen without around 10,000 employees knowing about it.
"Orchestrated negligence" is an oxymoron. It can't be negligence if you know you're doing it.
Besides, who gives a fuck? What sort of news story would it make -- "Company A helps itself before helping its competitors." No fucking duh. Do you think anybody is going to get worked up about that?
Yes it works when it's design to work, like the XBox 360. SMP stands for SYMETRICAL MULTIPROCESSOR. A dual core and a single core are not symetrical
Symmetrical multiprocessing refers to the equality of each CPU in terms of running jobs. Each core has equal opportunity to schedule and execute a thread. The fact that the individual CPUs are different has nothing to do with it.
But thanks for playing the Demonstrate Your Ignorance Of Terminology game.
The Civil Rights Act has nothing to do with it. These devices annoy people. It is not illegal to annoy people. If people choose to stay away because they are annoyed, that is their decision to make. There is a huge difference between that, and forcibly excluding people of a certain class from an establishment.
It is easy to exclude most black people from an establishment by playing Aryan or White Power music. If what you say were true, it would be illegal to play such music in a public place of business.
Why can't I legally make a device to repel old people and keep them out of my store (or nightclub) but I can make a device to keep young people (and myself) out of my shop?
Uhh.. I have no idea. What makes you think you can't?
Why is it okay to make a devices that singles out young people but not okay to make single out old people.
Dude... Older people are singled out all the fucking time. Ever see a 45 year old woman in a nightclub in a major city? It's not that nobody that age would like to, it's that they'd be stared at, ridiculed, and laughed out of the place.
And when you get old enough, you can look forward to getting stuffed into a retirement home or convalescent center by your selfish children and forgotten like a worn out pair of shoes.
Yeah, you sure have it tough, having to deal with annoying sounds and such. I'm still young enough to be able to hear sounds in this range, and you know what I would do if I encountered a device like this? Walk past it.
Did they ever stop to consider that not all teens are bad, and what if some young person is actually going to their store to buy something legitimately.
Then that young person can just enter the store and do their business. Are you saying you can't walk past an irritating noise? It's annoying, not lethal. Don't be a wimp.
They are not only driving away these occassional trouble makers but also some of their own customers...
If the number of customers who were being driven away by the unruly teens exceeds the number who are now being driven away by the noise, then it's a net win.
Even so, it is wrong to ridicule Christianity. Most Christians simply laugh off this guy, myself included, even down here in the 'Bible Belt'.
You need to do more than just laugh him off. Jack Thompson and his ilk associate themselves with your religion. You need to proactively fight against the influences of such people. Otherwise people like myself and the OP will continue to associate them with Christianity.
Just look at how Islam has been progressively villainized in the past 50 years. Why is this? It is because of the lack of large-scale Muslim demonstrations against terroristic violence.
What are we supposed to think when a lunatic like this spews ridiculous garbage and there is no massive Christian outcry? To us, it looks an awful lot like you agree with him.
Other animals have regret and remorse. My cats don't, but I've had dogs that did.
There is nothing to support this claim. Dogs in particular are easy to anthropomorphise -- we ascribe human-like qualities and motivations to their behaviors because they seem familiar and endearing. This proves nothing. Read any reputable book on canine psychology.
Many dogs have been needlessly euthanised or cast out because of problematic behaviors which the owners tried to correct by applying human psychology. When human psychology fails to produce results, the dog is considered "hopeless," when a simple application of appropriate canine psychology could have corrected the behaviors.
The disc spins on its physical limits (due to the centrifugal effect) in contemporary CD drives. A piece of tape makes the disc unbalanced and when spun unbalanced, the disc may damage the drive.
You're wrong. There are plenty of asymmetrical CDs available -- you can have them cut to practically any shape you want. And you think a little piece of tape is going to cause a problem?
Feh, that's NOTHING. Some people believe that this device can enhance the sound of CD audio via quantum entanglement with the pits on the disc. No, it's not a fucking joke, some people really are this stupid.
And it was probably the most contrived, ridiculous CSI episode I've ever seen, and thats saying a bit.
To be fair, last night's episode wasn't any more contrived or ridiculous than any other episode they've made.
And the "twist" that the game designer is actually the secret "Wizard" that all the "players" turn their "points" into? Please.
No, the "Wizard" was a college kid who played himself to death. The game designer hired another goon to sell the weapons to the kids. Did you actually pay any attention to the episode?
Did you notice that the episode was NOT full of moralizing, "These kinds of games are ruining America," etc? The closest it got was one of the characters saying "This is why I stopped playing this game at home." It was just another plot device. The writers of CSI are not out to "get" the video game industry. They are doing what they always do, which is to take current events and spin them into a crappy story line.
In fact, I think the episode did a slight service to the cause, by portraying the kids as junked-out psychos who took something too far, instead of poor innocents who were corrupted by evil video games. Geez, people get so worked up.
Actually it is a bad practise because it is hard to search for.
Search for "; i"
Anyway, why would you ever need to search for a loop index? "I might have to some day" isn't a good enough reason. I've coded C full time for six years and never had a reason. For that matter, I've never had reason to search for anything except perhaps function names, and cscope makes even that obsolete.
I'm now at six figures, stock options, one house paid for and another in progress, three cars, yacht
This is honestly just a question, not a dig at you. Does any of that stuff actually make you HAPPY? Because if so, I want to know so I can realign a few priorities...
I was more than a little distressed to find these things appearing on my Buddy List. Like any "feature", don't I get the right to refuse it? Of course the cute little system message tells me I can right-click and delete them, but that's not the point. If you're going to add capailities to something, fine, but give the opportunity to say yea or nay first.
How much are you paying for this service you're bitching about?
And then the thief doesn't do anything for about 3-4 months. At that point a regular user cannot get any details on the users history... Then the guy starts selling nonexistent laptops, iPods, etc.
A friend of mine got jacked for $4000 trying to buy a PowerMac and various accessories. The seller had spent 15 months building up a huge positive feedback (and she WASN'T scamming, but actually selling real items to real buyers!), then decided to "cash out" and skip town. She ripped off over a dozen people to the tune of about $250,000.
Unfortunately, she wasn't that good at hiding, and she got caught. She got a suspended sentence and was ordered to pay back the cash, which has never happened. Almost four years later and my friend still hasn't seen a dime of the 4 grand.
What baffles me is that this seller was running a successful eBay business and actually making a profit! Instead of scaling up her business and making a legitimate killing, she decided to steal people's money. Even if she'd gotten away with it, it is unlikely she could have repeated the performance without somehow giving herself away. It just doesn't make any sense. Some people just suck.
Wow. Taking a brief look at the responses here, I can't believe how complicated most of the answers are. [...] With those six books, you'll have a solid grounding in how networks network, and how internetworks, internetwork.
Your response to overly complicated answers is to suggest that he read six books? Wow, I'd hate to have to deal with something that you actually find "complicated!"
Well you bring up a good point. I mean, how do they know that the search wasn't circumstancial?
I'm sure the investigators are not denying that the evidence is circumstantial. Circumstantial evidence is used all the time in criminal cases, and people are sometimes convicted solely on the basis of it, with no physical evidence to speak of.
I really don't see what's so interesting about this story. If you leave evidence behind on your computer, investigators will use it against you. What would be disturbing is if Google was giving out information on search terms for people who have not yet been accused of a crime. But that isn't what happened in this case.
It's possible to put POSIX mutexes (created with a certain SHARED flag) into shared memory segments and share them between processes that way. W. Richard Stevens uses at least one example of this in his book on IPC. I haven't RTFA to check whether they are doing this though.
They aren't. I know about this too, and they don't seem to be using it.
The authors use SysV shared memory, which can be shared between processes. But pthreads mutexes are limited to the threads of a single process only. I might be missing something, but it appears this design is fatally flawed, because threads from different processes sharing the shared-memory object cannot properly synchronize their access.
However, given that these people are IBM engineers, I'll give them the benefit of the doubt -- can somebody explain what I'm missing here?
Or alternatively (using your numbers), it would take 76 seconds to heat the screwdriver up to the melting point. In reality it would probably take longer because the heat doesn't stay in the screwdriver but radiates out. At any rate, 76 seconds is a far cry from "instantly vaporizing."
Perhaps this implies that the use of goto in that instance was justified. If somebody is skilled and produced quality code, maybe your FIRST choice should not be to second-guess them. Let me guess, you had to introduce a redundant test or extra variable to remove the goto? Is the resulting code REALLY any clearer than it previously was?
P(Bar|Foo) = P(Bar,Foo)/P(Foo) = C(Bar,Foo)/C(Foo) = 7.9e6/2.66e7 = 0.297.
Relatively high, actually.
The taxonomic system is most certainly designed. There is no such thing as a "tree of life." It is a human construction. If you look back through biological history, you can plot the descendency of various genetic lines, and these plots look tree-like. But the only thing that exists, right now, are the "leaves" of that tree -- individual species.
But nature itself has no need for names and systems to organize the various types of life forms. Life simply is what it is. We humans impose our abstractions on reality, not vice versa. Taxonomy is synthetic.
"Orchestrated negligence" is an oxymoron. It can't be negligence if you know you're doing it.
Besides, who gives a fuck? What sort of news story would it make -- "Company A helps itself before helping its competitors." No fucking duh. Do you think anybody is going to get worked up about that?
Symmetrical multiprocessing refers to the equality of each CPU in terms of running jobs. Each core has equal opportunity to schedule and execute a thread. The fact that the individual CPUs are different has nothing to do with it.
But thanks for playing the Demonstrate Your Ignorance Of Terminology game.
The Civil Rights Act has nothing to do with it. These devices annoy people. It is not illegal to annoy people. If people choose to stay away because they are annoyed, that is their decision to make. There is a huge difference between that, and forcibly excluding people of a certain class from an establishment.
It is easy to exclude most black people from an establishment by playing Aryan or White Power music. If what you say were true, it would be illegal to play such music in a public place of business.
Try again.
Uhh.. I have no idea. What makes you think you can't?
Dude... Older people are singled out all the fucking time. Ever see a 45 year old woman in a nightclub in a major city? It's not that nobody that age would like to, it's that they'd be stared at, ridiculed, and laughed out of the place.
And when you get old enough, you can look forward to getting stuffed into a retirement home or convalescent center by your selfish children and forgotten like a worn out pair of shoes.
Yeah, you sure have it tough, having to deal with annoying sounds and such. I'm still young enough to be able to hear sounds in this range, and you know what I would do if I encountered a device like this? Walk past it.
Then that young person can just enter the store and do their business. Are you saying you can't walk past an irritating noise? It's annoying, not lethal. Don't be a wimp.
They are not only driving away these occassional trouble makers but also some of their own customers...
If the number of customers who were being driven away by the unruly teens exceeds the number who are now being driven away by the noise, then it's a net win.
You need to do more than just laugh him off. Jack Thompson and his ilk associate themselves with your religion. You need to proactively fight against the influences of such people. Otherwise people like myself and the OP will continue to associate them with Christianity.
Just look at how Islam has been progressively villainized in the past 50 years. Why is this? It is because of the lack of large-scale Muslim demonstrations against terroristic violence.
What are we supposed to think when a lunatic like this spews ridiculous garbage and there is no massive Christian outcry? To us, it looks an awful lot like you agree with him.
There is nothing to support this claim. Dogs in particular are easy to anthropomorphise -- we ascribe human-like qualities and motivations to their behaviors because they seem familiar and endearing. This proves nothing. Read any reputable book on canine psychology.
Many dogs have been needlessly euthanised or cast out because of problematic behaviors which the owners tried to correct by applying human psychology. When human psychology fails to produce results, the dog is considered "hopeless," when a simple application of appropriate canine psychology could have corrected the behaviors.
Uhh... RSS is already XML based.
You're wrong. There are plenty of asymmetrical CDs available -- you can have them cut to practically any shape you want. And you think a little piece of tape is going to cause a problem?
Feh, that's NOTHING. Some people believe that this device can enhance the sound of CD audio via quantum entanglement with the pits on the disc. No, it's not a fucking joke, some people really are this stupid.
To be fair, last night's episode wasn't any more contrived or ridiculous than any other episode they've made.
And the "twist" that the game designer is actually the secret "Wizard" that all the "players" turn their "points" into? Please.
No, the "Wizard" was a college kid who played himself to death. The game designer hired another goon to sell the weapons to the kids. Did you actually pay any attention to the episode?
Did you notice that the episode was NOT full of moralizing, "These kinds of games are ruining America," etc? The closest it got was one of the characters saying "This is why I stopped playing this game at home." It was just another plot device. The writers of CSI are not out to "get" the video game industry. They are doing what they always do, which is to take current events and spin them into a crappy story line.
In fact, I think the episode did a slight service to the cause, by portraying the kids as junked-out psychos who took something too far, instead of poor innocents who were corrupted by evil video games. Geez, people get so worked up.
Search for "; i"
Anyway, why would you ever need to search for a loop index? "I might have to some day" isn't a good enough reason. I've coded C full time for six years and never had a reason. For that matter, I've never had reason to search for anything except perhaps function names, and cscope makes even that obsolete.
This is honestly just a question, not a dig at you. Does any of that stuff actually make you HAPPY? Because if so, I want to know so I can realign a few priorities...
How much are you paying for this service you're bitching about?
A friend of mine got jacked for $4000 trying to buy a PowerMac and various accessories. The seller had spent 15 months building up a huge positive feedback (and she WASN'T scamming, but actually selling real items to real buyers!), then decided to "cash out" and skip town. She ripped off over a dozen people to the tune of about $250,000.
Unfortunately, she wasn't that good at hiding, and she got caught. She got a suspended sentence and was ordered to pay back the cash, which has never happened. Almost four years later and my friend still hasn't seen a dime of the 4 grand.
What baffles me is that this seller was running a successful eBay business and actually making a profit! Instead of scaling up her business and making a legitimate killing, she decided to steal people's money. Even if she'd gotten away with it, it is unlikely she could have repeated the performance without somehow giving herself away. It just doesn't make any sense. Some people just suck.
Your response to overly complicated answers is to suggest that he read six books? Wow, I'd hate to have to deal with something that you actually find "complicated!"
I'm sure the investigators are not denying that the evidence is circumstantial. Circumstantial evidence is used all the time in criminal cases, and people are sometimes convicted solely on the basis of it, with no physical evidence to speak of.
I really don't see what's so interesting about this story. If you leave evidence behind on your computer, investigators will use it against you. What would be disturbing is if Google was giving out information on search terms for people who have not yet been accused of a crime. But that isn't what happened in this case.
They aren't. I know about this too, and they don't seem to be using it.
Whether it arcs depends entirely on the voltage, nothing else. To arc with only 5 volts the terminals would have to be nearly touching.
However, given that these people are IBM engineers, I'll give them the benefit of the doubt -- can somebody explain what I'm missing here?
Or alternatively (using your numbers), it would take 76 seconds to heat the screwdriver up to the melting point. In reality it would probably take longer because the heat doesn't stay in the screwdriver but radiates out. At any rate, 76 seconds is a far cry from "instantly vaporizing."