Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

08-01-2018 , 01:44 PM
I wouldn't work at any place that asked me to do a coding "assignment", ie work for free.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:46 PM
Hope you know the **** out of your javascript array methods.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:52 PM
Guaranteed to be at least one class-based vs. prototype-based inheritance question.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:53 PM
Quote:
Originally Posted by KatoKrazy
I wouldn't work at any place that asked me to do a coding "assignment", ie work for free.
Eh at this point I'll gladly take it over an in-person test - because I can take my time and it will help me much more to shake the rust off.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 01:58 PM
Quote:
Originally Posted by KatoKrazy
I wouldn't work at any place that asked me to do a coding "assignment", ie work for free.
At a place I used to work we would hire candidates who made it past the first couple rounds of interviews (I forget exactly, but late in the process) for a 20 hour project as a test, but it wasn't as much of a coding test as a problem solving test, I would say. We would ask them to document how they worked through the problem given as well as the code, and they would work in a copy of one of our repos.

There were NDAs and all that, so there's a lot of overhead, but as far as feeling confident in someone's technical ability I really liked that approach. Although I would, since it was my idea and I put together the test projects :P And I didn't have to deal with the overhead or the potential problems. It solves your "working for free" issue though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 02:01 PM
Yeah this is a great solution imo - tests the thing you're actually gonna do on the job. Although I can see how you might lose great candidates who refuse to play ball.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 02:08 PM
I don't think we ever noticed anyone balking at that request specifically, but there's obviously some real costs to doing it that way. I have no idea if it's at all realistic for most companies. It worked for that one team at that one company for several years, and I liked it. I think I would also prefer it as a candidate over some of the alternatives, but that's just me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 02:29 PM
The problem with the 20 hour paid project approach is that I don't think I would be allowed to complete that project by my current employer.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 04:29 PM


I'm really enjoying this talk about premature optimization. Interesting take on data structures starting about minute 12.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 04:45 PM
I'm not sure that I agree that data structures are only about optimization. I agree that the choice of data structure will be profoundly important to performance, but I also think that data structures are equally about conceptual clarity, which I think is pretty important.

Although I think I would agree that there's often more flexibility to use different data structures with similar conceptual clarity than there is when you're choosing data structures for performance.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 05:27 PM
It's funny though, one of the things I like a lot about javascript is that it makes it easy to just use arrays and hashes for everything, and think about the organization of data more than the algorithmic complexity or performance. I think that's to his point, and I think it's a valid point.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 06:54 PM
Quote:
Originally Posted by well named
It's funny though, one of the things I like a lot about javascript is that it makes it easy to just use arrays and hashes for everything, and think about the organization of data more than the algorithmic complexity or performance. I think that's to his point, and I think it's a valid point.
Yeah, python has a bunch of other special data structures, like deques and namedtuples and stuff. The only thing I really find myself using much are defaultdicts, which are basically hashmaps that have definable default values. So instead of

Code:
a = {}
for x in foo:
    if x not in a:
        a[x] = 0

    a[x] += 1
you can do

Code:
a = defaultdict(int)
for x in foo:
    a[x] += 1
and so forth.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 08:28 PM
Stacks come in handy sometimes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-01-2018 , 10:31 PM
Quote:
Originally Posted by suzzer99
Stacks come in handy sometimes.
Sure but most list/array types natively support push and pop, so are already stacks
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 12:12 AM
I used a stack recently

Spoiler:
For a CS class project
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 12:27 AM
Quote:
Originally Posted by RustyBrooks
Sure but most list/array types natively support push and pop, so are already stacks
Maybe I'm thinking of when I was still doing Java. There was something where I needed LIFO.

I remember now, it was a stack of views in an MVC framework (Sencha Touch). The max stack size was set to 10, so if the user starts going back->back->back, the framework would pop the top one of the stack and be able to instantly load up to 10 views which were sitting in resident memory. After that it would have to reload the views from the url.

I think.

We did a similar thing with our channel guide in angular. It's 2 weeks (14 * 48 thirty minute blocks) by 600 channels - so there's no way you could load it all in resident memory. We would "light up" blocks near what the user was surfing - then drop the oldest blocks out of the memory structure if it got too full. The # of blocks to stay in memory was configurable and varied by device.

Last edited by suzzer99; 08-02-2018 at 12:35 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 12:47 AM
Quote:
Originally Posted by suzzer99
I have a round 2 that was going to be a take home assignment. Yay, I finally get some time to think things through and show my mad skillz.

BUT then it turned into this:

Ugh. Apparently they're also going to send the "test" (recruiter's words probably) 30 minutes ahead of time. That's almost worse.
I don't really care about this job anyway. So tomorrow as soon as I get the questions I will post them here and we'll have fun with it. Should be about 3pm PDT.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 05:49 AM
Quote:
Originally Posted by suzzer99
I don't really care about this job anyway. So tomorrow as soon as I get the questions I will post them here and we'll have fun with it. Should be about 3pm PDT.
Use it as a practice/training activity, prepare anyway, do your best. I would ask them when they are planning to make a decision before I went though. Posting the coding challenges could get you some some valuable feedback, kind of a team effort. Shows your willingness to work in a team environment.

FWIW it is still amazing to me how some places can let projects go on and on where obviously the projects are way late and way over budget while not changing anything in their development processes. The development processes thst brought about the disaster. To me it provides a lot of insight into the hiring processes companies use and their reluctance to adapt.

Last edited by adios; 08-02-2018 at 06:06 AM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 10:12 AM
it seems like performance is closely tied with understanding databases. the changes i have seen where something gets instantly 5-20x faster, is from a database optimization.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 10:29 AM
Quote:
Hi suzzer, I recently viewed your resume and was looking for strong Java Developer for one of my clients, IBM. Let me know if you would be interested in discussing this role. It is contract long term. Looking for Java, and EJB experience. This is for the Honda account and we have direct manager contact.
Holy **** someone is still using EBJs?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 10:34 AM
Oh good - now I have a Netflix coderpad session from 2 to 2:45. Should be a fun afternoon.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 10:45 AM
GL.

In other exciting news I have to go to Bangalore for 2 weeks in September. Wonderful.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 10:58 AM
I didn't go to Bangalore but I went all around there. The coolest/hottest chicks seemed to be from Bangalore FWIW. Also loosest - as in you might get some making out and maybe even heavy petting in before marriage.

From what they said it sounds like it actually has a pretty modern vibe and decent nightlife compared to the rest of the area.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 11:43 AM
I'll be sure to let the wife know how far indian girls will let me get.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-02-2018 , 12:23 PM
Do you have any time for sightseeing? There’s some cool stuff around there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m