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

02-13-2018 , 04:02 AM
Quote:
Originally Posted by gaming_mouse
No. If they were syntactic sugar for ordinary function wrapping
Will this not come in the future?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 04:29 AM
Quote:
Originally Posted by Larry Legend
I think it depends on the manager, but I tend towards iversonian. Nothing wrong with being direct that you want more money or you'll look elsewhere if you are an A player.
Will probably end up looking elsewhere anyway. Maybe stick around until August, since then I'll pick up my bonus and it will be around 1.25 years.

Would like to consider New York, albeit tech opportunities aren't as great there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 05:03 AM
If you mean NYC, there is plenty. Even the burbs are starting to boom there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 08:55 PM
Wow, I got invited to an on site interview with the company where I thought I bombed the take home.

It's 5 hours long, wtf? What should I brush up on? Gonna review every sorting algorithm and data structure but those are all pretty fresh in my head. Gonna review some C++ basics and java I'm so familiar with I don't even think I need to go over that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 10:55 PM
Quote:
Originally Posted by just_grindin
Right but that just shows your familiarity with python, right? It doesn't really show how well you either reason about unknown problems or demonstrate your exposure/familiarity with well known problems.
Right, was more my feeling that there is a whole family of contrived string manipulation questions that don't really exist outside of interview contexts.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 11:37 PM
Quote:
Originally Posted by jmakin
Wow, I got invited to an on site interview with the company where I thought I bombed the take home.

It's 5 hours long, wtf? What should I brush up on? Gonna review every sorting algorithm and data structure but those are all pretty fresh in my head. Gonna review some C++ basics and java I'm so familiar with I don't even think I need to go over that.
This has basically been the standard interview for me for the last 10 years at least. 5 hours would be short - I've had 8-9 hour interview days.

There will probably be at least one cultural fit interview, probably some whiteboard algorithm stuff, maybe some broader concept stuff. Usually there's a "design this high level system while I make the parameters narrower and narrower" Maybe trivia about programming languages, or maybe sort of design principles etc. Very rarely a long interview like this will be *all* algorithm type stuff but it happens.

I usually find these to be harder than an actual day of work.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-13-2018 , 11:52 PM
They’re gonna tear me apart

5 ****ing hours jesus.

if i do well, there better be a job offer on the other side of it and not a second interview. 5 hours is crazy.

Last edited by jmakin; 02-13-2018 at 11:58 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:01 AM
Quote:
Originally Posted by jmakin
They’re gonna tear me apart

5 ****ing hours jesus.

if i do well, there better be a job offer on the other side of it and not a second interview. 5 hours is crazy.
My last one was four hours and it was a different crew every hour and we pretty much always ran out of time. A lot of it is standard talking about what you like, look for, what you wanna ask them etc. It's not just white boarding horrible **** 5 hours straight. Don't sweat it
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:01 AM
Just remember what your background is. If you Bork a question don’t be afraid to say you didn’t know that or you misremembered it. Show them you aren’t terrified of making a mistake but want to learn from them. It’s your first time for one of these, let yourself have fun with it, the worst thing that happens is you’re in the same place you are today.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:07 AM
I dont think they expect me to know a whole lot - it’s a 30-ish person company owned by my professor and from my research it seems like he pretty much just hires fresh grads from his classes. Almost everyone there is a UCI alum. I can’t find any job openings on any sites for this company so I think he’s pretty much just asking people in his classes for resumes.

Everyone’s pretty young and they do pretty cool work so it’d be a neat place to work. Honestly amazed i got an invite, i thought i flubbed the takehome.

Still my anxiety was pretty bad in the white board i had the other week so my goal is just to not embarrass myself.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:23 AM
My job of the last 7 years started as contract, and with exactly one technical question: "What is a factory?". I gave close enough to a satisfactory answer apparently.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:26 AM
Quote:
Originally Posted by Larry Legend
Will this not come in the future?
I can't recall if it's on the roadmap or not.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 02:37 AM
5 hours interview sounds about right. As a new grad, I expect a lot of it will be white-boarding and/or system design questions revolving standard concurrency stuff that you learned in Operating System class.

My job that I'm currently at was the shortest. It was pretty straightforward 2 1-hour interviews focused mainly on technical white-boarding followed with resume background. The 3rd hour was talk with the director for company fit which was really awkward since we both are kind of introverts.

But you'll do fine, just have fun and be yourself.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 12:06 PM
Quote:
Originally Posted by suzzer99
My job of the last 7 years started as contract, and with exactly one technical question: "What is a factory?". I gave close enough to a satisfactory answer apparently.
Like, a factory that makes air conditioners or something, or a factory that produces like programming language objects?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 01:43 PM
Well you know I worked at a programming job the last 7 years. So...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 01:51 PM
Quote:
Originally Posted by suzzer99
Well you know I worked at a programming job the last 7 years. So...
You would not believe the dumb ass questions I have been asked about things that are not about programming, for a programming job.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 02:01 PM
Well he asked me - what is a factory. So I assumed he meant the programming construct. I got the job so I'm guessing he wasn't looking for "a place where they build air conditioners".

I think I said something like "it's a way to pick different implementations of an interface at run time". Which wasn't the answer he was looking for but close enough.

I really suck at verbalizing design patterns. Either turning words into understanding or turning my understanding into words. It's all visual and tactile for me. I have to work through a few of them as a solution to an actual problem I'm facing. Then once I get it they just feel like common sense. But until that light-bulb goes on I'm baffled.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 02:50 PM
Hah i hate the factory design pattern.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 03:26 PM
Javascript and algorithm gurus...

Say I have 2 lists with a matching field and I want to use one list to get all the objects in the other list that match.

List1[
{
number: 1,
other stuff we dont care about
},
{
number: 2,
stuff
},
{
number: 3,
stuff
}
]

List2[
{
number: 1
},
{
number :2
}
]

so I want to feed in both lists and return a List3 that has the first 2 objects of List1 (since the number field matches the number fields of List2)

I can do it with a for loop like this, but theres gotta be a way to do it with javascript methods.


Code:
  let matchedThings: Thing[] = [];
  let matchedThing: Thing;
  for (let i = 0; i < list2.length; i++) {
    matchedThing= list1.find(list1thing=> list1thing.number===list2[i].number);
    matchedThings.push(matchedThing);
}
  return matchedThings;
  }
Any idea how to do this with javascript methods? I tried combing filter, find and forEach but couldnt get it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 03:26 PM
So finally got my comp numbers and bonus. Got a bigger raise (22%) than I originally expected which landed me in the middle of the range of the next level. Along with that got a fat bonus.

Going to be hard to find reasons to leave this company now
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 04:03 PM
Quote:
Originally Posted by Victor
stuff
concat + filter?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 04:29 PM
First we pull out all of those values we want to match against and they are stored in an array. Then filter list1 if the `number`'s value is inside that array.

Probably better, more efficient ways but it seems clean and understandable to me.

Code:
const l2Nums = list2.map(t => t.number) //#=> [1, 2]

list1.filter(t => l2Nums.includes(t.number))
https://repl.it/repls/JubilantTechnologicalAccounting
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 05:16 PM
ya that works. tyty.

I kept trying to use a .foreach and couldnt get it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 05:44 PM
So this SourceForge database migration is ruining our java builds. I spent an hour trying to hack a workaround for a single dependency before realizing tons of them are failing in the chain.

14 hrs since they last updated that it should be back shortly, fun.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-14-2018 , 06:24 PM
Quote:
Originally Posted by jmakin
Hah i hate the factory design pattern.
Yeah I’ve never once felt the need to use it out of the blue. I go trough these 3rd party things that have factory factories and I want to strangle someone.

But each class is only a few lines of code! Yes but you have to create 8 classes to create a simple component.

Composition ftw.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m