- 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
Possibly the wrong thing, unless you're making allowances for "people who loved the movie but don't tend to recognise single lines of dialogue out of context".
(I just hope you aren't one of those ghastly people who believe that regurgitating the entire script of The Life of Brian from memory somehow improves on the original. It really doesn't.)
Admin
At the risk of giving the gnarly under-bridge dweller a sandwich:
Pretty much every profession which has learned through bitter experience that jobs that "could be done in a day if we really wanted to" invariably end up taking an average of two weeks.
Admin
Admin
Just to be pedantic, the solution presented was for 1 or 2 people on the bridge at the same time. The post in question states that 2 people must be on the bridge at the same time.
The answer for that case is as follows going from a to b.
10 & 1 go to b (10s)
1 goes to a, 5 goes to b (15s)
1 & 2 go to b (17s)
Admin
The correct answer is 3 seconds.
1-second guy carries 2-second guy across the bridge. 1-second guy runs back 1-second guy carries 5-second guy across the bridge.
Admin
Which part of my post justifies that label? The motivating factor of this very website is that our industry is plagued with incompetence. And since we now seem to be trading clichés, what's that one about glass houses and stones?
Admin
As for "
:(){ :|:& };:" -
I think that any big system admin, who is running shell with no limits for processes number / memory usage is a bad admin. On the other hand - show me one that does it, or knows how to do it :)Admin
Yeah, I wtf'd for a second too. (Captcha: wtf) And in the end, I don't think the parent got it right either. There areplaces you can store an 8 bit variable in 100 bits (0-7 through 92-99), which is where the 92 came from. To understand this, note that nobody said anything about the number of values that could be concurrently stored... or that they couldn't overlap. I presume the 2 came from storing things in binary, but I honestly don't know.
9293My answer would have to be that there are 93 legitimate 8-bit values you can get out of 100 bits, assuming you didn't want to implement a solution that created values out of non-sequential bits in the string, and that you didn't loop around the end. I suppose you could be even more anal and say that you could get twice that many by reading any particular value backwards, which is fairly easy. However, you can only store about twelve bytes worth of useful information in that same space.
Admin
"And developpers have no patience for bullshit or incompetence"
Developers have no patience for fools who don't know how to spell "developer".
Do you exhibit the same carelessness when writing in computer programming languages as you do when writing in English?
Admin
WTF? The SUPERVISOR is banging out code like a monkey?
Admin
Yes, but in his defense he was a late starter - career shift in his 30s I believe. It's also a symptom of having a "flat" org chart, which I soon learned really meant "if you want to move up on the ladder you'll need to find another company, or wait for your boss to."
CAPTCHA - whiskey. What a splendid idea!
Admin
Admin
What's a yardstick? Oh, sorry, we've done that...
Admin
Where I work the HR is not useless. But they aren't involved in the interview process either. They deal with our benefits and pay, and do a good job. When the engineering team decides to hire someone, they take care of the details.
Admin
Maybe I should rephrase that. So the guy is being a code monkey AND a supervisor? in my experience a code monkey (or grunt) refers to an entry level type peon. Once you moved up to where you are supervising people you are usually no longer a code monkey. Its hard to bang out 40 hours a week AND manage other people.
Admin
Great timing! I have an interview on Friday.
Note to self: Scrap the powder blue leisure suit... and ask about Fridays!
Admin
I guess the 2^92 comes from that being the maximum number of 8-element permutations of 100 elements (at least I think that is how it works out). However, that doesn't seem relevant to the question.
The question is about 8-bit values, and no matter how we try to compose different combinations out of those original 100 bits, or in which order we read them, we can never have more than 256 different 8-bit values.
If, on the other hand, the question is about (albeit not mentioned) how many 8-bit bytes that can be stored in 100 bits, my answer would be that i depends on the platforms way of handling alignment but no more than 12.
I guess there really is more than one way to skin a cat...
Really, the question feels rather underspecified and I still think my initial response feels closest to the mark: WTF?! Come again?!
But that probably wouldn't land me the job...
Admin
"communication skills" I believe is the phrase you were looking for.
Admin
Isn't the real answer to that "what language are we using?
For example, in SQL you never use an interim variable to swap numbers.
update schema.table set col2 = col1, col1=col2;
B
Admin
Admin
Ditto python:
>>> a = 5
>>> b = 7
>>> (a, b) = (b, a)
>>> a, b
(7, 5)
Admin
I once ran into an odd situation like that... Did an interview, and two weeks later the interviewer calls me to tell me the "good news" that they want to hire me. At this point we had not talked about money and any other benefits, so I kindly ask when the second interview is. "No no, we want to set up the contract and get you started right away". - "Very nice, but uh, we haven't talked finances yet..." - "Oh, we work with predefined wages based on age and degree." As a highschool dropout I would make seriously less than a college degree. I went for the other company who paid experience instead of studies.
Admin
Dont call me Shirley.
Admin
Word.
I agree fully with you.
Admin
You are aware that any interviewee that you would want to hire is also interviewing you?
Showing such annoying behavior, especially if you are to be my supervisor, is a sure way to make me never accept an offer from your company.
Admin
A Nice New Pair of Kicks
The real WTF is actually why anyone would want to buy B&O stuff...
Admin
My sister was an actuary (not fully qualified - she didn't make it through all the exams); being an actuary not similar to a software engineering position / Armani suit at all. For instance, just a few years ago there was only 3 fully qualified actuaries in India; there was only one fully qualified actuary in New Zealand.
The full set of US exams (the easier exam set) takes 10 years to complete - my sister was saying that one of the guys she was studying with quit on his final exam, it was so difficult.
And one needs top marks at Uni to get anywhere, so just MHO but it's *nothing* similar to your analogy - looks do count, as it is such a demanding and sought after position.
Just MHO of course.
Admin
Admin
Ah, well we're working with two different specs. I pretty much consider anyone who still writes production code a "codemonkey." Regardless, even using your definition this guy still fit the label. Inexperienced, and got the "supervisor" title because, well, it was a small company and that's what happens when it starts to grow.
Admin
No - 6 seconds: the slowest and second to slowest cross simultaneously, then shine the light back over the bridge, and the 1 second guy crosses. The bridge simply can't be that large if a human can cross it in one second, even if he runs very very fast.
Admin
Here is the 4 person problem in detail and solution below:
Mr. Slow, Mr. Medium, Mr. Fast, and Mr. Speed must cross a rickety rope bridge in 17 minutes. The bridge can carry at most two people at a time. Furthermore, it's dark, and there is only one flashlight; any single person or pair of people crossing the bridge must have the flashlight with them. (The bridge is too wide for the flashlight to be thrown; it must be carried across.)
Each man walks at a different speed. A pair travelling together must walk at the rate of the slower man. Mr. Slow can cross the bridge in at most 10 minutes; Mr. Medium can cross in 5 minutes; Mr. Fast can cross in 2 minutes; Mr. Speed can cross in 1 minute. How do all four men get across in the bridge in 17 minutes?
Solution:
Mr. Fast and Mr. Speed cross first, taking two minutes.
Mr. Fast returns with the flashlight, taking two minutes.
Mr. Slow and Mr. Medium cross, taking ten minutes.
Mr. Speed returns with the flashlight, taking one minute.
Mr. Fast and Mr. Speed cross again, taking two minutes.
Admin
Dead easy in Z80 assembler - swapping two registers:
LD HL,1234
LD DE,2345
EX HL,DE
Admin
Finally, a detailed explanation of this problem. Now of course it's obvious. The crucial point is that slow and medium cross _together_ so only slow "counts". In the naive solution - where Speed ferries them over one by one - you have to count _both_ Slow and Medium.
The problem would be much more obvious if instead of slow and medium you had two "Mr. Snail"s each of whom takes 2 hours to cross.
Admin
I dunno. I had thought about IA-32's XCHG, but the doco mentions the use of TEMP storage. Couldn't find a good Z80 manual, but I would not be surprised if it was similar. If that's an acceptible solution, then so would be calling a simple function that used a temp variable internally.
Admin
No, the XOR answer is superior; addition might cause an overflow, the XOR answer will always work.
Chris
Admin
I was part of the interview team for a new developer at the last job. The lead dev did such a great job interviewing that by the time it came to me I really had nothing further to ask technically so I asked questions to see if they would fit in our group. "Do you like gladiator movies" was one of the questions I asked. Only one person got the reference, and he got the job. :) Most of the responses were "Well, I like the movie gladiator." then uncomfortable silence and stifled laughs.
Admin
"You think this is abuse? You think this is abuse, you cocksucker? You can't take this, how can you take the abuse you get on a sit? You don't like it, leave."
Admin
That's when you immediately follow up with, "Surely, you've seen the movie 'Airplane,' right?" If your candidate responds with "Of course I've seen 'Airplane'! And stop calling me Shirley!" then you've got yourself a winner.
Nathan
Admin
Please note that I said that I will react that way if the interviewer ARGUES the point with me, as opposed to THOUGHTFULLY DISCUSSING it with me; there's a difference!
There's a big difference between helping / correcting a customer who has incorrect information and arguing with someone who might [not] offer you a job.
Admin
Are these the guys producing Duke Nuke'm Forever?
Admin
Amen to that!
Admin
It works even if the candidate hasn't seen the movie, but still knows the "don't call me Shirley" line (which I'm sure is a greater number). Alternatively, the candidate might be a literal sonofabitch who thinks (s)he's funny creating a coincidence...
TBH if someone asked me "Do you like gladiator movies?" I wouldn't immediately think of Airplane!, but of a sword-and-sandal epic, probably with Chuck or Kirk in the lead role, or de Mille at the helm. Then I'd think "strange question".
Admin
Oh my! A misogynist in our midst!
Must have displayed his...shortcomings...during an interview with a woman interviewer.... ;-)
Admin
Professional developers know two things. First, they know how to spell 'developer'. Second, they know to call their handler (recruiter, HR contact, hiring manager, etc) and ask what the appropriate dress code is for an interview. If dress code is an issue, the prepared developer might also ask about the expected day-to-day attire. Armed with this knowledge, the professional developer is then able to determine if they will under-, or, over-dress for the interview. They can also determine if the dress code they'll be expected to meet aligns with their desires.
I've never interviewed with a company where suits are expected. However, I've always at least had the brains to ask. It sounds like you'd be stupid enough to waste your time by showing up in jeans at a company where a suit is expected, only to get huffy over the dress code and leave; thus wasting everyone's time.
Admin
It's even more of a trick question than that. First of all, there aren't 2^92 8-bit numbers. There are only 2^8. Second of all, you can store all of them in 100 bits. The question does not specify how many at once, it just says how many. I dare you to find me any 8-bit number that cannot be stored in 100 bits.
Admin
Q: How do you do XYZ in [Linux|Windows|Unix|Whatever]?
The correct answer is "Google".
:-p
Admin
I think you're all missing the point. Sometimes, an interviewer will ask an intentionally vague question, to which there are numerous possible solutions, in the hopes of seeing if you are astute enough to respond: the specifications are vague - there are multiple solutions; please be more specific!
Captcha, appropriately anough: wtf
Admin
grrrr - enough
Admin
What "reference"? What has this got to do with the person's ability to do a good job? It's up to the team to make the person feel part of the team, not for the developer to have to try hard to "fit in". These people have their careers and their livelihoods on the line and you start using stupid irrelevancies to disqualify them?
Admin
Just a note, certain distro's can still experience problems with this command even if set up properly (me and my friends have had great fun with this command). This command must be used with caution, ls`yes` on the other hand can be used freely.
Tanta