Why not ask language questions (competence in C++ was assumed)? Instead, they ask "how would you delete a node from a singly linked list without a pointer to the head?"
Language questions test book knowledge, which makes up a small part of programming. You should be able to hire a good programmer for a language he or she has never worked in before, and that programmer should be up to speed within a week. Why make decisions on knowledge that can be easily learned?
Good questions test ones ability to think on a conceptual, algorithmic, or design level. As for the node deletion, one good answer is to copy the contents and link of the next node into the present, and delete the next node. This should work in all cases except the last node.
uh, Daily Show is not a news show - even Jon Stewart has said that anyone who watches his show for news is watching the wrong show. Fun to watch, not news.
Ironic then that the fake parts for comedic effect are clearly discernable on the Daily Show, yet intentionally disguised on the real news.
but when you multiply the answer by 1.7, it goes back to 1. well from my understanding of the problem, if you do multiply it back to 1.7, then you will get a different answer because of the rounding off errors.
When you divide by 1.7, most calculators will round the answer and store it to a certain precision. When you multiply that answer by 1.7 again, it rounds a second time, but it just so happens to get 1 as the result of that rounding. Try this instead:
1/1.7 + 1000000 - 1000000 * 1.7
Most calculators will give you an answer less than 1, yet you can clearly see by hand that the answer should be exactly 1.
The bigger problem is that ALL the "good" cops just look the other way. The police have perfected the prisoner's delima. They call it a "blue brotherhood" or whatever. Basically the police have figured out that if they all keep quiet then nobody will ever get in trouble.
It strikes me that dealing with problems like this would be much more effective if there were some sort of separation of police powers producing a check and balance on the police ("internal affairs" doesn't seem to do the job as well as an external check would). I've heard of a few locations having a citizen review board with disciplinary power over police. Perhaps something in that direction is a good step forward.
If anyone has heard of other approaches to resolving this problem, I'd be interested to hear what they are.
Why 'upgrade' to a machine when the machine is less trustworthy than paper ballots?
Because people can comprehend the problems with paper ballots, and can't comprehend the problems with electronic machines. Acceptance of these electronic voting machines among the general public seems to correlate strongly with ignorance about computers and computer security.
Unfortunately, the concept of "trust the experts" isn't working, because people with decision making power are mistaking corporate salesmen for experts.
My fear is, the fact that we find out about these domestic wiretaps, secret European prisons - means that the people put in charge of these things are morons. Most people in the position to be doing important secret 1984-type dealings are smart. The things we know about are pretty bad - how much worse are the things we don't know about?
So are you proposing that we should or should not keep electing morons? Your argument could go either way...
And your saying this to slashdotters, we are engineers and programmers.... I don't want to have to read a manual on how to pick up 10-20 different types of fruit just because I want a big salad, and stirfry.
Seriously, is telling if an apple is ripe really that much harder than compiling a kernel? The algorithm automatically converges:
1. Eat an apple. 2a. If it is insufficiently ripe, get a riper one next time. 2b. Else if it is overly ripe, get one less ripe next time. 2c. Else keep getting apples that look like that.
[there is] no simple way to tell whether fruit that looks good on the outside will taste good on the inside...
Having eaten fruit several times in my life, I can testify as an expert here. By looking at (and sometimes touching, or in the case of melons, knocking) the outside of a fruit, you can pretty much always tell whether or not that fruit is ripe for any fruit you are familiar with. You can't always tell if the fruit will taste good though, because that's a complex function of where the fruit was grown, under what conditions, and how far it was allowed to ripen on the plant. However, the sticker is not promising to objectively measure taste for us.
Just was talking about normal, run of the mill, sliced sandwich bread which most everyone buys off the shelves of normal grocery stores. Yes, I'm sure it has preservatives.
"Everyone" eats that bread the same way "everyone" used to smoke. Given the studies that have come out in the last decade or so on the physical and mental health consequences of the preservatives that have started appearing in bread recently, you should not be surprised if this changes substantially within our lifetimes.
With bigger bands they receive royalties from radio play and all bands make money playing shows. With software/games you have only the sale. That is it.
And site licensing, and service contracts. (For software used by businesses, not so much for games.)
A loaf of bread easily lasts from one to two weeks just fine....
Real bakery bread will last in the refrigerator a week or two. Preservative laden toxified bread that no organism in its right mind would eat will last on the counter equally long. The problem comes when people buy real bread and leave it sitting out on a counter. If you don't get this, it is probably because you are eating bread that you should reconsider putting in your mouth, or you are habitually storing your bread in the refrigerator without realizing that some other people don't.
Over the years I've shot numerous laptops from various popular vendors. Lets just say none of the ones I've encountered stopped handgun ammunition, let alone rifle fire.
On a hunch, I'm going to say you have aggression issues?:)
I see you've never worked in support, have you? The sysadmins WILL be held responsible for all data on the network, even if they are not given access to it.
This is like saying the Postal Service is responsible if a letter I write in Sanskrit arrives at its destination in Sanskrit instead of English.
The sysadmin should preserve the data just fine, the encrypted data. If employees keep losing their work to encryption, treat the employees the same way you would treat them if they keep inadvertantly shredding important documents. You wouldn't complain to the shredder company because the shredder doesn't have an undo button.
first we had the hack into the repository severs, and we didn't know whether or not we are running exploited code when we use apt-get to update our programs
If only there were some tool anyone in the world could use to assess the difference between source versions to see if anything malicious had been inserted...
What I'm interested to know is how this affects parents who use their DVR's to achieve the same purpose to sanitize movies for their children. Hollywood has expressed anger over THAT practice, too, which seems to me wholly unfair.
This is also similar to the issue of fast-forwarding TV, if we equate nudity with advertising.
But I think the issue of parents using their own DVRs should be covered under fair use provisions of copyright law. After all, the parents are "using" the product for personal use. They are not selling it to their children.
>> Woops, now it's just a cartoon that's already been colored. Well, you get the idea. > At least you recognize that what you accomplished in two steps is not the same thing > as what the OP accomplished in four. He took the color out. You didn't.
Okay, how about:
- Filters>Artistic>Cartoon. Adjust to the level of black you want.
- Layers>Colors>Threshold. Set the number on the left equal to 1.
And for better quality, it helps on some dark or noisy images if you first increase the brightness, or use a selective blur as mentioned elsewhere.
In addition to the reasons given by others, for some companies, rebates are essentially a scam. They subcontract rebate processing companies which are rewarded for rewarding the lowest percentage of rebates possible. So some of these companies fabricate false reasons for rejecting rebates, such as reporting the UPC symbol missing when it was present, reporting that only the original UPC symbol will be accepted and should be submitted (when it was submitted), reporting that the postage date was incorrect (when it was correct), and so forth. By doing this, they delay the giving of the rebate, and add to the hastle of receiving it. Each time they succeed in convincing someone not to keep trying to get the rebate, the company gets an extra $10 to $50.
Some rebate processing companies seem to respond with randomized rejection reasons like this for a certain high percentage of legitimate rebates. But you don't need to take my word for it. Check a site with rebate discussions like fatwallet.
which unfortunately ended the matter there since I didn't personally have the cash to pursue the matter further.
See, you DO get it.:)
I once saw a 45 year old non-traditional college student get a form from the college asking for her parent's signature. She, finding this ludicrous, called the office responsible and they said, "Uh, yeah, just sign it yourself."
The difference is probably that people were still viewing you as financially and socially dependent, regardless of your physical age or legal rights.
Things were bad in the late 80s, but dear god... the crap kids have to endure NOW from AuthoriNazi administrators is just over the top.
While it's true that in some districts there seem to be some pretty stupid policies in place, I really doubt a school is going to be enforcing the more radical of these policies on any child whose parents forbid them to do so.
Personally, I think that if I give my child a cell phone for emergency use, and a school administrator confiscates the cell phone and searches its data for evidence of drug use or violence (how that makes sense I don't know anyway), I think I would be having a bit of a sit-down with that particular school administrator. And I think I would probably make a few demands.
In most areas it seems to be pretty easy to change a school policy for any adult interested in investing enough time to do so, considering that school board elections usually have very few participants and the winner usually has nothing to do with any policy proposals. So if it really bothers you sufficiently, fix it.:)
Not only that, but they're constructed out of recycled cardboard and chewing gum.
What is this obsession people have with linux being accepted mainstream?
Hardware support improves and compatibility increases as popularity increases. Do we need any other reason?
Why not ask language questions (competence in C++ was assumed)? Instead, they ask "how would you delete a node from a singly linked list without a pointer to the head?"
Language questions test book knowledge, which makes up a small part of programming. You should be able to hire a good programmer for a language he or she has never worked in before, and that programmer should be up to speed within a week. Why make decisions on knowledge that can be easily learned?
Good questions test ones ability to think on a conceptual, algorithmic, or design level. As for the node deletion, one good answer is to copy the contents and link of the next node into the present, and delete the next node. This should work in all cases except the last node.
uh, Daily Show is not a news show - even Jon Stewart has said that anyone who watches his show for news is watching the wrong show.
Fun to watch, not news.
Ironic then that the fake parts for comedic effect are clearly discernable on the Daily Show, yet intentionally disguised on the real news.
but when you multiply the answer by 1.7, it goes back to 1. well from my understanding of the problem, if you do multiply it back to 1.7, then you will get a different answer because of the rounding off errors.
When you divide by 1.7, most calculators will round the answer and store it to a certain precision. When you multiply that answer by 1.7 again, it rounds a second time, but it just so happens to get 1 as the result of that rounding. Try this instead:
1/1.7
+ 1000000
- 1000000
* 1.7
Most calculators will give you an answer less than 1, yet you can clearly see by hand that the answer should be exactly 1.
when i use my calculator, it doesn't give rounded off numbers.
What does your calculator give for 1 divided by 1.7?
The bigger problem is that ALL the "good" cops just look the other way. The police have perfected the prisoner's delima. They call it a "blue brotherhood" or whatever. Basically the police have figured out that if they all keep quiet then nobody will ever get in trouble.
It strikes me that dealing with problems like this would be much more effective if there were some sort of separation of police powers producing a check and balance on the police ("internal affairs" doesn't seem to do the job as well as an external check would). I've heard of a few locations having a citizen review board with disciplinary power over police. Perhaps something in that direction is a good step forward.
If anyone has heard of other approaches to resolving this problem, I'd be interested to hear what they are.
Why 'upgrade' to a machine when the machine is less trustworthy than paper ballots?
Because people can comprehend the problems with paper ballots, and can't comprehend the problems with electronic machines. Acceptance of these electronic voting machines among the general public seems to correlate strongly with ignorance about computers and computer security.
Unfortunately, the concept of "trust the experts" isn't working, because people with decision making power are mistaking corporate salesmen for experts.
My fear is, the fact that we find out about these domestic wiretaps, secret European prisons - means that the people put in charge of these things are morons. Most people in the position to be doing important secret 1984-type dealings are smart. The things we know about are pretty bad - how much worse are the things we don't know about?
So are you proposing that we should or should not keep electing morons? Your argument could go either way...
And your saying this to slashdotters, we are engineers and programmers. ... I don't want to have to read a manual on how to pick up 10-20 different types of fruit just because I want a big salad, and stirfry.
Seriously, is telling if an apple is ripe really that much harder than compiling a kernel? The algorithm automatically converges:
1. Eat an apple.
2a. If it is insufficiently ripe, get a riper one next time.
2b. Else if it is overly ripe, get one less ripe next time.
2c. Else keep getting apples that look like that.
Article says:
[there is] no simple way to tell whether fruit that looks good on the outside will taste good on the inside...
Having eaten fruit several times in my life, I can testify as an expert here. By looking at (and sometimes touching, or in the case of melons, knocking) the outside of a fruit, you can pretty much always tell whether or not that fruit is ripe for any fruit you are familiar with. You can't always tell if the fruit will taste good though, because that's a complex function of where the fruit was grown, under what conditions, and how far it was allowed to ripen on the plant. However, the sticker is not promising to objectively measure taste for us.
But why not just look at the fruit itself?
Just was talking about normal, run of the mill, sliced sandwich bread which most everyone buys off the shelves of normal grocery stores. Yes, I'm sure it has preservatives.
"Everyone" eats that bread the same way "everyone" used to smoke. Given the studies that have come out in the last decade or so on the physical and mental health consequences of the preservatives that have started appearing in bread recently, you should not be surprised if this changes substantially within our lifetimes.
With bigger bands they receive royalties from radio play and all bands make money playing shows. With software/games you have only the sale. That is it.
And site licensing, and service contracts. (For software used by businesses, not so much for games.)
A loaf of bread easily lasts from one to two weeks just fine....
Real bakery bread will last in the refrigerator a week or two. Preservative laden toxified bread that no organism in its right mind would eat will last on the counter equally long. The problem comes when people buy real bread and leave it sitting out on a counter. If you don't get this, it is probably because you are eating bread that you should reconsider putting in your mouth, or you are habitually storing your bread in the refrigerator without realizing that some other people don't.
Over the years I've shot numerous laptops from various popular vendors. Lets just say none of the ones I've encountered stopped handgun ammunition, let alone rifle fire.
:)
On a hunch, I'm going to say you have aggression issues?
Following your links, I came across this one of a teen given a court order to get drunk. That cracks me up. :)
I see you've never worked in support, have you? The sysadmins WILL be held responsible for all data on the network, even if they are not given access to it.
This is like saying the Postal Service is responsible if a letter I write in Sanskrit arrives at its destination in Sanskrit instead of English.
The sysadmin should preserve the data just fine, the encrypted data. If employees keep losing their work to encryption, treat the employees the same way you would treat them if they keep inadvertantly shredding important documents. You wouldn't complain to the shredder company because the shredder doesn't have an undo button.
first we had the hack into the repository severs, and we didn't know whether or not we are running exploited code when we use apt-get to update our programs
If only there were some tool anyone in the world could use to assess the difference between source versions to see if anything malicious had been inserted...
What I'm interested to know is how this affects parents who use their DVR's to achieve the same purpose to sanitize movies for their children. Hollywood has expressed anger over THAT practice, too, which seems to me wholly unfair.
This is also similar to the issue of fast-forwarding TV, if we equate nudity with advertising.
But I think the issue of parents using their own DVRs should be covered under fair use provisions of copyright law. After all, the parents are "using" the product for personal use. They are not selling it to their children.
This reminds me of the classic question of what happens to all the donut holes...
>> Woops, now it's just a cartoon that's already been colored. Well, you get the idea.
> At least you recognize that what you accomplished in two steps is not the same thing
> as what the OP accomplished in four. He took the color out. You didn't.
Okay, how about:
- Filters>Artistic>Cartoon. Adjust to the level of black you want.
- Layers>Colors>Threshold. Set the number on the left equal to 1.
And for better quality, it helps on some dark or noisy images if you first increase the brightness, or use a selective blur as mentioned elsewhere.
In addition to the reasons given by others, for some companies, rebates are essentially a scam. They subcontract rebate processing companies which are rewarded for rewarding the lowest percentage of rebates possible. So some of these companies fabricate false reasons for rejecting rebates, such as reporting the UPC symbol missing when it was present, reporting that only the original UPC symbol will be accepted and should be submitted (when it was submitted), reporting that the postage date was incorrect (when it was correct), and so forth. By doing this, they delay the giving of the rebate, and add to the hastle of receiving it. Each time they succeed in convincing someone not to keep trying to get the rebate, the company gets an extra $10 to $50.
Some rebate processing companies seem to respond with randomized rejection reasons like this for a certain high percentage of legitimate rebates. But you don't need to take my word for it. Check a site with rebate discussions like fatwallet.
which unfortunately ended the matter there since I didn't personally have the cash to pursue the matter further.
:)
:)
See, you DO get it.
I once saw a 45 year old non-traditional college student get a form from the college asking for her parent's signature. She, finding this ludicrous, called the office responsible and they said, "Uh, yeah, just sign it yourself."
The difference is probably that people were still viewing you as financially and socially dependent, regardless of your physical age or legal rights.
Things were bad in the late 80s, but dear god... the crap kids have to endure NOW from AuthoriNazi administrators is just over the top.
While it's true that in some districts there seem to be some pretty stupid policies in place, I really doubt a school is going to be enforcing the more radical of these policies on any child whose parents forbid them to do so.
Personally, I think that if I give my child a cell phone for emergency use, and a school administrator confiscates the cell phone and searches its data for evidence of drug use or violence (how that makes sense I don't know anyway), I think I would be having a bit of a sit-down with that particular school administrator. And I think I would probably make a few demands.
In most areas it seems to be pretty easy to change a school policy for any adult interested in investing enough time to do so, considering that school board elections usually have very few participants and the winner usually has nothing to do with any policy proposals. So if it really bothers you sufficiently, fix it.
And when they took away billboard-skip while driving down the highway...