|
An interesting topic came up recently at work – one of my colleagues asked me – what is the worst programming interview question that you’ve faced? And no mention of the manhole cover
|
|
|
|
|
|
While you can figure it out, the point is, should you have to work it out in an interview. If the whole question is as reported, then a loop is an acceptable solution. I wouldn't expect someone looking for an intern position to start off from the point of "is this the optimal solution" unless I actually bounded the question. The problem really does lie with the interviewer not being prepared to accept answers that deviated from his script.
This space for rent
|
|
|
|
|
I do agree with you that a loop should not be a showstopper. But I could in fact ask a question like that just to see the reaction.
My reaction was towards the attitude of the article that was "oh-my-elephanting-God what an atrocity to even consider posing such a question". That I disagree with.
... such stuff as dreams are made on
|
|
|
|
|
Any question that I can google the answer for is a bad interview question. And the last time I interviewed (a couple years ago), I told the interviewer just that. He smiled and said, "good answer".
Marc
|
|
|
|
|
A computer cracks the Boolean Pythagorean triples problem — but is it really maths? When elegance fails, just brute force it
|
|
|
|
|
Ingredients crucial for the origin of life on Earth, including the simple amino acid glycine and phosphorus, key components of DNA and cell membranes, have been discovered at Comet 67P/Churyumov-Gerasimenko. Gin and donuts? (and bacon?!)
|
|
|
|
|
The dream of virtual reality has become a tangible development over the past few years. All that's missing is high quality VR
|
|
|
|
|
It may be brilliant, but it’s not all that trustworthy. That appears to be the opinion Americans hold when it comes to Artificial Intelligence systems. "Let every eye negotiate for itself, And trust no agent."
|
|
|
|
|
|
Much has been written about feature leads in agile teams. They are the team members whose job it is to be the customer proxy for a feature, defining what is important to the customer and owning implementation end-to-end. It's not like they have anything else to do, right?
|
|
|
|
|
Some Windows 7 and 8 users would rather chance a malware infection than an involuntary Windows 10 upgrade. You get your choice of malware, or malware
|
|
|
|
|
And it works, no W10 and no malware until now
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
modified 30-May-16 18:44pm.
|
|
|
|
|
ppolymorphe wrote: And it works, no W10 and no malware until now
At least none that have been detected
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Still better than getting MS malware
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Critical Updates - breaking things since their invention.
I ALWAYS keep them disabled since they only created problems, instabilities and loss of time.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
|
|
|
|
|
I set Windows Crapdate to NOT "give me recommended updates like I get important updates". This way, I can essentially ignore the important ones (which are essentially the security updates), and check the recommended updates one at a time to make sure they're not Win10-related. It's a pain, but even though I mark them as hidden, they keep coming back.
Beyond all that, I thought MS was going to stop doing that at the end of May (or was it June?).
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I think the next stage will be that Microsoft break into your house in the middle of the night and force you to upgrade at gun point.
|
|
|
|
|
I've had no problem with Windows 10 except on my home system. It's possible it was the hard drive, which I've since replaced with an SSD, but I have suspicions that there may be other issues (due to overheating issues that have since been resolved, which which may have left damage.) I'm waiting for Kaby Lake to build a new system, which will have Windows 10 on it.
|
|
|
|
|
European countries are the most affected, but detections have also been recorded in the United States and Canada At least the loss of Flash got them to learn a new language
|
|
|
|
|
Dupe-the-user tactic that changed the click-the-Close-button behavior may be at root of activity gains. Amazing what a few forced installs can do
|
|
|
|
|
Do they know that 1 is a thousand time larger than 0.001?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I've got another theory, all the deviations from the mean update rate on that graph are just noise caused by trying to sample at too narrow of data bins. (The same is true of the clickbait techpress's hyperventilating over data from the same source claiming that Browser X's market share gaining 0.4% this month when it only gained 0.1% last month, and wondering what magical event happened to drive the larger shift.)
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Tumors usually start out small.
|
|
|
|
|
Have you ever seen a team perform so great that you wanted to join it? If you examine the values of such a team, you may discover a perfect balance of orientation on people and results. Definitely yoga. And maybe a little aquacise.
|
|
|
|