IT Certifications and Careers (Official Discussion Thread)

kevm3

follower of Jesus
Supporter
Joined
May 2, 2012
Messages
16,288
Reputation
5,551
Daps
83,474
i'll make one up from memory

var a = {x:1,y:2,z:3};
var b = {x:2,y1:2,z1:3};

function combine(a,b) {
for(prop in a) {
b[prop] = a[prop] ;
}
return b;
}

console.log(a,b);

is the result, see how b's x property is gone?

After using that combine function in your original code, this is the output:

{ x: 1, y: 2, z: 3 } { x: 1, y1: 2, z1: 3, y: 2, z: 3 }

With that code, what ended up happening is the combine function overwrote the x property in b since that's what your function told it to do if you don't want to overwrite an already existing property, you have to use an if statement that checks to see if the property is undefined before assigning a's property to b.

Code:
var a = { x:1,y:2,z:3};
var b = {x:2,y1:2,z1:3};

function combine(a,b)
{  
     for(prop in a)
    {
        if(b[prop] == undefined)
       {
           b[prop] = a[prop];
       }
    }
   return b;
}

combine(a,b);
console.log(a,b);

This is the output:
{ x: 1, y: 2, z: 3 } { x: 2, y1: 2, z1: 3, y: 2, z: 3 }
 

ryda518

Randy Orton=Legend Killer
Joined
Apr 30, 2012
Messages
4,052
Reputation
310
Daps
5,405
Reppin
bx all day
After using that combine function in your original code, this is the output:

{ x: 1, y: 2, z: 3 } { x: 1, y1: 2, z1: 3, y: 2, z: 3 }

With that code, what ended up happening is the combine function overwrote the x property in b since that's what your function told it to do if you don't want to overwrite an already existing property, you have to use an if statement that checks to see if the property is undefined before assigning a's property to b.

Code:
var a = { x:1,y:2,z:3};
var b = {x:2,y1:2,z1:3};

function combine(a,b)
{ 
     for(prop in a)
    {
        if(b[prop] == undefined)
       {
           b[prop] = a[prop];
       }
    }
   return b;
}

combine(a,b);
console.log(a,b);

This is the output:
{ x: 1, y: 2, z: 3 } { x: 2, y1: 2, z1: 3, y: 2, z: 3 }

YES:ohhh:
 

Tony D'Amato

It's all about the inches
Joined
May 1, 2012
Messages
61,301
Reputation
-10,956
Daps
146,317
Reppin
Inches
After using that combine function in your original code, this is the output:

{ x: 1, y: 2, z: 3 } { x: 1, y1: 2, z1: 3, y: 2, z: 3 }

With that code, what ended up happening is the combine function overwrote the x property in b since that's what your function told it to do if you don't want to overwrite an already existing property, you have to use an if statement that checks to see if the property is undefined before assigning a's property to b.

Code:
var a = { x:1,y:2,z:3};
var b = {x:2,y1:2,z1:3};

function combine(a,b)
{
     for(prop in a)
    {
        if(b[prop] == undefined)
       {
           b[prop] = a[prop];
       }
    }
   return b;
}

combine(a,b);
console.log(a,b);

This is the output:
{ x: 1, y: 2, z: 3 } { x: 2, y1: 2, z1: 3, y: 2, z: 3 }

This n1gga a genius :mindblown:
 

Panther

Byrdgang
Supporter
Joined
May 1, 2012
Messages
19,410
Reputation
3,291
Daps
36,448
Reppin
ByrdGang
Question for anyone who's worked helpdesk before:

I want to see how you would explain a simple task to someone over the phone or thru email in the "helpdesk" way.
So someone detail one of the following questions.

I cant login to my gmail account, how i fix it?

or

Explain to me how i make a pb&j sandwich
 

King Sun

Big Boss
Supporter
Joined
May 11, 2012
Messages
30,112
Reputation
2,957
Daps
71,585
Reppin
323,904,480,817,614
Question for anyone who's worked helpdesk before:

I want to see how you would explain a simple task to someone over the phone or thru email in the "helpdesk" way.
So someone detail one of the following questions.

I cant login to my gmail account, how i fix it?

or

Explain to me how i make a pb&j sandwich
Netop :troll:
 

FastEddie215

Rookie
Joined
May 6, 2012
Messages
191
Reputation
30
Daps
128
Reppin
Philly
hey brehs ive been working help desk since last august and im currently tryna leave by the end of the year early next year

im more interested in the network/server side of things and recently started studying to take the MCSA - WS2012...my question is would I be cheating myself by going for the MCSA instead of struggling it out and going for the MCSE WS2012?

Also what are some good study materials for the MCSA? I have two books so far and i am going to setup a lab as well as virtual labs. Any link to practice exams so i can get an idea of how their questions are formatted? what are some good study materials did you guys who took it use?
Which two books are you using to study for the MCSA Server 2012? I'm using cbt nuggets videos and I plan on using a book after watching the videos
 

GollyImGully

Too many wavy women, gotta log outta IG
Joined
May 4, 2012
Messages
10,517
Reputation
2,324
Daps
34,383
Reppin
Brooklyn
Which two books are you using to study for the MCSA Server 2012? I'm using cbt nuggets videos and I plan on using a book after watching the videos
MasteringWinServer2012R2_thumbnail.jpg


that pretty much covers everything been reading this along with the CB videos

i have this one too
9781118859919.jpg
but from reviews ive read they say it leaves alot out...

anybody with any info on books for the MCSA ms server 2012?
 

acri1

The Chosen 1
Supporter
Joined
May 2, 2012
Messages
23,533
Reputation
3,700
Daps
102,366
Reppin
Detroit
Question for anyone who's worked helpdesk before:

I want to see how you would explain a simple task to someone over the phone or thru email in the "helpdesk" way.
So someone detail one of the following questions.

I cant login to my gmail account, how i fix it?

or

Explain to me how i make a pb&j sandwich

...is that some sort of interview question you have? :what:
 

Panther

Byrdgang
Supporter
Joined
May 1, 2012
Messages
19,410
Reputation
3,291
Daps
36,448
Reppin
ByrdGang
...is that some sort of interview question you have? :what:
Question i had while doing job applications... I want to see someone with helpdesk experience explain one of those 2 simple tasks, like they were interacting with a real user
 

acri1

The Chosen 1
Supporter
Joined
May 2, 2012
Messages
23,533
Reputation
3,700
Daps
102,366
Reppin
Detroit
Question i had while doing job applications... I want to see someone with helpdesk experience explain one of those 2 simple tasks, like they were interacting with a real user

Well the important thing is to get as many details as possible.

So for the gmail question, probably have the user walk you through exactly what they are clicking on/typing/going to and have them give you the exact error message they're receiving.

You need to determine the nature of the problem (for example, if it's an incorrect username/password, some sort of browser issue, their Internet isn't working, they're clicking the wrong icon, etc.). So have the user walk you through it and make sure they're actually going to the right place, determine what error they're getting, and go from there. For example, if they get a " page cannot be displayed" message then you might want to see if they're able to get any webpages. If not then their Internet might be down. If it's just Gmail they can't get to, make sure they're using the right address. If it's the password, make sure they're using the correct username and have them reset the password. Etc.

It's kind of a process of elimination, but at least half the time something like that is user error.
 

Sonny Bonds

Superstar
Supporter
Joined
Apr 24, 2014
Messages
4,555
Reputation
916
Daps
13,059
I applied for a job on Craigslist. They hit me back with an NDA and a bunch of prescreen questions.

What's got me so messed up is that the recruiter didn't say what company the client is. But they told me their location and what they're famous for. If I'm right about this... it's a company people would kill to work at.
 
Last edited:
Top