- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Well, one way would be to fill up a 757 empty it into a 737. Then empty the 757 into the 737, and fill it up again and fill up the 737, you would get a 747's weight. Wouldn't that work??
I really like the best solution: Go to Detroit and fill up the 5 gallon jug, drive over to Winsor (they have a tunnel!), and you have 4 gallons. Works for me! Of course, I like to travel as well.
Admin
But seriously, the former employer sold just such a system. I too wondered why at first. Then I quickly lost care in the why, as I never did anything more with it than pitch in a hand moving stuff around the warehouse.
As for the true weight, as others have said, that depends on a number of factors. Want me to place a call? Should I call the pilots I know that fly for Delta, should I call my friends at the aerospace plants, or should I call my google-buddy?
Admin
#2 was in an airport measuring the weight of 747's not 3 & 5 Gallon containers...
Admin
Admin
leave it to a wharton alum to try and hire a programmer in manhattan for $20/hr. That's probably what baggers make.
Admin
It can sink all it wants... it still displaces the same amount of water.
Admin
And it still gives you the volume, not the mass.
Admin
Admin
Otherwise, probably just make sure the knot is a proper Windsor and wear it not-so-tight-that-you-choke-or-have-veins-bulging-out (English needs long compound words)
Admin
Admin
Anyone who doesn't use templates is fine by me.
Admin
This would be the most amount of comments I've seen for a while.
Has TDWTF finally got their software fixed up so people can actually post first time, every time
Admin
Of course, the best way to weigh a 747 is to put it inside a calorimeter, and burn it.
Admin
We have determined why this is a perfect question!
If you are a programmer, your job is to turn specifications (aka customer requirements) into code. These will always and without exception have an "UNWRITTEN assumption".
A fucktard will jump up and down screaming and howling that the business analyst had "unwritten" assumptions and other vagueness.
A competent developer, on the other hand, will apply his/her advanced mastery of the "talking to humans" skill, and work it out, possibly asking for clarification, and interpreting the clarification.
In the case of this question, the reply "just answer the question" would suggest to a sane and intelligent person that mindless pedantry is not the correct answer. A person who is emotionally incapable of coping with that reply would instantly be filed under "less useful than a cabbage" and not hired.
Every last fucking time this topic comes up, thousands of morons proudly explain that the question is less than perfectly specified. They are, of course, correct - and if I was doing the interview, their outrage would be the thing that persuade me that I'ld rather hire a rubby ducky.
As a backup option, failure to answer a question when the question is discussed every last time that job interviews are discussed is not a sign that you've done your homework. Interviews always suck. That's a fact. And they are necessary. So if your interviewing skills are weak and you need to succeed in an interview, you need to do something about it. If your attitude is "I hate this bit of the process, I expect everyone else to treat me like a special snowflake" then any interviewer is going to be making assumptions about your attitude towarsd every part of the actual job that isn't fun.
tl;dr: Just answer the god damned question, unless you have some diagnosed mental disorder, in which case I'm sorry but you may have trouble in the real world.
Admin
I'm not convinced interviews are really all that necessary. Perhaps another alternative should be considered.
I work with a lot of muppets who got through rounds of interviewing. I know of several very capable (and reasonably skilled) people, who struggle at interview and some have missed jobs as a result.
Interviews are necessary? Not at all!! But unfortunately, noone has yet agreed to use a better option. Interviews rarely get the best candidate - or if they do, I'm frightened to think that (some of) the people that surround me must at some time have been the best candidate.
Incidently, it seems to me you are a very angry person. How do you cope with interviews?
Admin
In fact, perhaps your post is a very good example.
Many recruiters think that 'passionate people' are good people to hire. I think too often people who are passionate get all steamed up about being challenged that the lose sight of where they are going (and too often refuse to even consider that opinions other than their own may have some merit). I'm guessing you're probably someone who works with c++ who can't accept that some people prefer things done in java.
Admin
So what? Take the volume of water displaced and unit convert it to mass based on the density of whatever you dunked it in. Just don't expect to do anything with the 747 after.
Admin
Wow... typing speed for a programmer? That's a rare requirement...
I guess I'm gonna fail on this one.
Admin
On a second thought, this could also be happened...
A smart programming guru somehow become handicapped and cannot use keyboard to code himself, so the company has to hire someone who "can understand what he said" and "can type fast" to type in the code for hime.
Admin
Except that people have different ways of addressing problems. I usually take time to think things through, quietly, in my head, considering various alternatives and trying "though experiments" in my mind. If I'm forced to verbalize my train of thought it totally screws up the thought process. So I would probably fail an interview test like this, even though I might be perfectly suited to addressing their actual engineering needs.
Admin
OK, let me rephrase that sentence: "I can design and implement solutions to very complex software problems." I did not intend to imply that the solutions themselves were complex. They may be complex solutions, they may be simple solutions. But they are appropriate and properly designed.
Admin
That US mnemonic ("a pint's a pound the world around") is factually incorrect, because in most parts of the world where those units are used at all "a pint of water weighs a pound and a quarter".
Admin
Those weren't imperial measures, but the short changing US variety.
Admin
Fill the 3 gallon container. Count the number of water molecules in it. Divide by 3 to get the number of water molecules in a gallon of water. Put that number of water molecules in the 5 gallon container.
Isn't everyone in this forum a computer programmer, or at least familiar with computer programming? Don't we deal with digital computers? So why address this problem from an analog perspective, i.e. measuring the water instead of counting it?
Admin
Something like that happened with the Gimli Glider, an airliner that was forced to do an unpowered emergency landing at Gimli after gliding there because it hadn't been given enough fuel.
Admin
I've seen a few solutions to the water problem that ... I don't quite comprehend.
Two scenarios: 1) Only ONE JUG can have 4 gallons. or 2) 4 gallons between either is acceptible.
For scenario 1:
#1 is 3 gallon (empty) #2 is 5 gallon (empty).
Fill #1, dump into #2. Fill #1, dump into #2. At this point, #2 lacks room for the remainder liquid of #1, which means #1 has roughly 1 gallon.
Mark that on the #1 container, empty #2, and fill into #2 one gallon at a time. #2 will have 4 gallons in it.
For scenario 2.
#1 is 3 gal, (empty). #2 is 5 gal, (empty).
Fill #2, pour into #1 to the top. What remains in #2 is 2 gallons. Mark that point on the jug.
Empty #1, and pour the 2 gallons of #2 into #1. Fill #2 until the marked spot. Now both jugs contain a combined 4 gallons.
You can combine #1 into #2 and make jug #2 have 4 gallons.
Admin
I'm not sure why you'd need to mark anything given that you can just pour the 1 gallon from #1 into #2, then fill #1 completely and pour it into #2 (which has 1 gallon in it from just before). 3+1=4, and this works for both solutions.
I don't really see why the solution needs to be overcomplicated.
Admin
I'd fill the 3 gallon container and state that a 4 gallon patch is currently under development.
Admin
I actually paid someone to type my code out for me after breaking my wrists. True story! I would seriously consider doing it again if I ever lose use of my hands permanently.
Admin
Unless the crack whore has really long arms.
Admin
From 'Why Should I Hire You?' and Other Favorite Interview Questions at Computerworld, this quote:
This is the classic 'passion person' question, and it's a classic mistake by the interviewer.
Short answer? "I don't know, I can't read your mind."
The real answer (that I came up with only after reading the Computerworld article)? Whip out your copy of the skill-match cover letter you created for the position, and tell them your fit and interest in the position, and how you would like to be at that particular company.
Me? My personal experience? All the jobs I have had in the past have been where I or the company have been desperate for a job/filled position. So when I was actually asked this question for once during an interview, my answer was "because your company's desperate." (I'm thinking: I don't know what your company's exact internal hiring process is, don't you?? [Can I put this interview by Paula Bean's relative on the DailyWTF?])
In the quote above, the 'classic wrong answer' the person gave, "Because you already know me.", could also be counted as referring to the hiring process itself, instead on of the position. In my case, I could have given the same type of classic 'wrong' answer (very similar to the person's answer), as I was interviewing in a different part of the same company I was currently working at, trying to get into a 'career' track. So my 'already knew me' classic wrong answer would be: 'I am already in the internal systems, no need to wait a month for every thing to be setup, we can get started on the project immediately'.
If you ask this question, and you get an answer that really doesn't connect to the specifics of the position or your company, the interviewee doesn't get the question.
On the classic logic puzzles: My solution to working these problems is to spout out my assumptions while working on the problem, the interviewer should(!) be listening to you speak, and can correct your assumptions while still working on the problem. In my case, one time the interviewer corrected me, and he said he was looking for the basics of the answer, and not a full implementation.
Admin
It took, oh, about 30 seconds to come up with the right answer? And you reckon only "a few" people, INTERVIEWING FOR PROGRAMMING JOBS, could solve it at all?
In that case it's a great kind of problem, because it's going to filter out all the people who have no business whatsoever trying to write code.
Seriously, if you think it's difficult to add and subtract tiny integers in your head, please stop programming immediately. Maybe you should go work at Walmart ... no, wait, you'd never manage to give correct change.
Admin
A water-tight 747 will float. If it floats the displacement tells you the mass.
(Is this one for the Mythbusters?)
Admin
Admin
"... and pretty much every other technology under the SUN." You mean, like, ummh... Java?
Admin
IF it sinks, it'll give you the volume. If it floats, it'll give you the mass.
Come on now people, it's not that hard.
Admin
If that won't work, I'll go the marketing route, assume the presence of a sticker and pen, write out a "25% extra free" label, put it on the 5 gallon jug and fill it. Job done.
Admin
If he's from Greece, you can easily put four gallons of water into the Senior Developper's a$$. But don't even ask me to do it.
Admin
What can I say? I didn't think to Google it either. My bad!
Admin
Yes... last I checked, hands with CPT are not hands with which to type. Unless you want to make it worse.
Admin
The other option of hiring a crack whore to fly over to one of the channel islands to have a good time with is hideously expensive and would have to cover a longer time frame.
Admin
wow, not hired. Inability to explain simple things in a comprehensible manner.
Admin
Actually if the pair programmer is physically impaired in some way this is a sensible posting. E.g. blind, or movement impaired such that s/he can't type well.
Admin
What makes you think that the 3 gallon bottle fits inside the 5 gallon bottle? Surely that is as much of an assumption as determining the width of the hole. For all we know the 5 Gallon bottle may be spherical and the 3 Gallon bottle be cylindrical with a circumference of 1mm
Admin
FTW!
Admin
You might find it difficult to pour anything anywhere if you are not located on a planet, or at least another suitable celestial body providing a reasonable gravitational pull.
Admin
OK, so we improvise a balance scale from <something not explicitly forbidden>, get the ratio of the two bottles weight, fill up the 3 unit one, put the 5 unit one at the appropriate place and fill it until we have balance.
(It was quite exciting being on the wrong end of cross-the-pond conversions)
Admin
Admin
I'd suggest the more accurate method (though much more complex) would be sum of (tire pressure)x(contact patch area of tire) for all tires. (Still a small underestimation there since it won't include the weight of the tire that comprises the contact patch.)
Admin