Testing candidate's mettle S02E02
-
-
@japonicus said in Testing candidate's mettle S02E02:
But why only spaces, CSV is so much more flexible . Throw in some text with escaped commas and line-feeds within quoted text fields.
Because they aren't using a real programming language.
-
@cartman82 said in Testing candidate's mettle S02E02:
The candidate entered my VM and doesn't know how to exit.
... Seriously?
I mean, the toolbar is meant to look like Microsoft Remote Desktop's when in full-screen-mode like that, so if he's at all familiar....
-
@masonwheeler said in Testing candidate's mettle S02E02:
@Gąska said in Testing candidate's mettle S02E02:
@HardwareGeek I've once tickled my then-4-years-old cousin to his tears. Like, he was then crying for the next 15 minutes. Apparently, too much tickling hurts children.
Best part? I didn't even touch him.
My little sister is long-distance ticklish. Literally. I can stand 5 feet away from her, hold up my hands at waist-height and wiggle my fingers, and she'll squirm and giggle and go "No! Stop!"
She's in her 20s.
... Well, Engine just took that to a whole new level...
How does she react to ogling?
-
-
@Maciejasjmj said in Testing candidate's mettle S02E02:
Give them the spec, then bend the data as much as you can while still conforming to it.
Es-poo-shilly if they're intending on being a JS/HTML person. If they can't handle shitty, barely-conforming input that has be handled a dozen different ways depending on the phase of the moon (and even then), then they'll never survive in a JS environment.
-
@Lorne-Kates said in Testing candidate's mettle S02E02:
If they can't handle shitty, barely-conforming input
Oh, and make one of the records have a product name of
<script>alert("Thank you for your time, the security will see you away now");</script>
.
-
@Tsaukpaetra Not funny
-
@masonwheeler said in Testing candidate's mettle S02E02:
@Tsaukpaetra Not funny
This isn't the Funny Stuff thread. I'm quite fearful she would call rape on people for gazing at her wrongly.
-
@masonwheeler said in Testing candidate's mettle S02E02:
wiggle my fingers, and she'll squirm and giggle and go "No! Stop!"
Look, you did ask for it.
-
@masonwheeler said in Testing candidate's mettle S02E02:
@Tsaukpaetra Not funny
I disagree. I would have posted, his his engine is faster.
-
@Lorne-Kates said in Testing candidate's mettle S02E02:
@masonwheeler said in Testing candidate's mettle S02E02:
@Tsaukpaetra Not funny
I disagree. I would have posted, his his engine is faster.
I've been meaning to spawn a new version that's more female oriented, but I lack the knowledge on how to seed it.
Wait, consarndit!
-
@Dreikin said in Testing candidate's mettle S02E02:
Hm, couple of feature requests, should @cartman82 ever get enough good candidates at a time for it to be worthwhile:
Another idea: pagination is always fun.
- Have the dataset return some 25 rows, and ask them to show only 10 at a time, with "Previous 10 records" and "Next 10 records".
- See if they fetch the ever-changing dataset only once, or on every page change.
- Make the "10" customizable.
- Instead of "Prev"/"Next", ask for a "Load more" button, infiniscrolling style.
@Onyx said in Testing candidate's mettle S02E02:
@cartman82 even in PHP, I find that shit ugly as hell:
$product_data_array = array( 'product' => $product, 'unit_price' => $unit_price, 'amount' => $amount );
Of course, there's probably a prettier way to do this using
explode
andarray_map
or something, but this is at least not ugly as hell.In PHP, you can do this:
$product_data = compact('product', 'unit_price', 'amount');
(although in my opinion this is nasty, because those variable names are not highlighted as variable usages).
And in ES6, you can do this:
let product_data = { product, unit_price, amount };
- Have the dataset return some 25 rows, and ask them to show only 10 at a time, with "Previous 10 records" and "Next 10 records".
-
@DCoder said in Testing candidate's mettle S02E02:
Have the dataset return some 25 rows
Have the dataset be 100k rows. Paging is part of the solution they need to think of.
-
@Dreikin said in Testing candidate's mettle S02E02:
Hm, couple of feature requests, should @cartman82 ever get enough good candidates at a time for it to be worthwhile:
Therein lies the rub.
-
@DCoder said in Testing candidate's mettle S02E02:
In PHP, you can do this:
Huh. TIL. Shows you how often I actually did something like that. 99% of the time I deal with stuff like that it's moving shit from one array to another, so it's mostly
array_filter
andarray_map
doing my bidding.
-
@dkf said in Testing candidate's mettle S02E02:
@DCoder said in Testing candidate's mettle S02E02:
Have the dataset return some 25 rows
Have the dataset be 100k rows. Paging is part of the solution they need to think of.
I think paging may put it out of scope for an interview. It'll simply take too much time.
-
@Maciejasjmj said in Testing candidate's mettle S02E02:
@dkf said in Testing candidate's mettle S02E02:
@DCoder said in Testing candidate's mettle S02E02:
Have the dataset return some 25 rows
Have the dataset be 100k rows. Paging is part of the solution they need to think of.
I think paging may put it out of scope for an interview. It'll simply take too much time.
Nah, if it's infiniscroll-style it just has to not work to pass.
-
@Maciejasjmj said in Testing candidate's mettle S02E02:
I think paging may put it out of scope for an interview. It'll simply take too much time.
That depends on whether it is for a junior or a senior role. It'll definitely take too much time to implement well unless you're already pulling the data from a source that supports pagination, so not something to expect a junior to write. However, I'd expect a senior to think of it as a potential problem and to come up with a plan for dealing with it (e.g., “server-side pagination where the problem of how to pick the range is forced down to the DB layer”) even if not to write it in a couple of hours.
-
@dkf said in Testing candidate's mettle S02E02:
However, I'd expect a senior to think of it as a potential problem and to come up with a plan for dealing with it (e.g., “server-side pagination where the problem of how to pick the range is forced down to the DB layer”) even if not to write it in a couple of hours.
Well, as a followup question, fine. But for the task, it should be completable in the alloted time - I can sweet-talk my way out of architecture questions just fine, but it doesn't say much on whether I'm able to actually code.
-
@cartman82 said in Testing candidate's mettle S02E02:
He said he started reading about React
If his next sentence was "and I stopped again immediately, because the whole concept is utter bullshit", I would hire him in a heartbeat.
a mediocre coder [...] for a javascript heavy position
Looks good to me.
It's just that, after 10 years of experience, he should do more than just get the job done.
Or, after 10 years of experience, he knows that "getting the job done" is all you will have time for in the real world.
-
@TimeBandit said in Testing candidate's mettle S02E02:
@Gąska said in Testing candidate's mettle S02E02:
Now I wonder if French say CV or résumé.
Definitely CV. Résumé has no special meaning in relation to job experience or such.
They probably prononce "sivi", trying to sound english but failing hard at it.
Nope, they go for the French pronounciation "sévé". As far as I can tell, there are relatively few acronyms that are pronounced the (pseudo-)English way.They keep that for normal words (with a preference for words where a perfect French equivalent exists).
-
@HardwareGeek said in Testing candidate's mettle S02E02:
We don't use CVs, but my understanding is that they are very detailed and can be nearly the length of a short book if one has a long and distinguished career.
When I hear CV I think of a doctor or a professor or something like that. More of an academic thing than a job hunting thing.
-
@Maciejasjmj said in Testing candidate's mettle S02E02:
Having them generate three or so tables instead of one might be fine too, pushes them gently towards refactoring the solution into reusable parts instead of plopping it all in JS' equivalent of main().
I really like this because it gives you a legitimate motivation for the refactor.
-
@Tsaukpaetra said in Testing candidate's mettle S02E02:
I've been meaning to spawn a new version that's more female oriented, but I lack the knowledge on how to seed it.
You see, when the male really loves the female ...