Eat. Sleep. Code: The Computer Programming Thread, Ver. 010

It depends on your location. I think its one of the best industries right now in terms of employees having power and one where a competent developer isn’t easily replaced. But its also possible to just be a cog in a machine. It varies job to job. I get about 10 offers a week for interviews for a resume I havent updated in 3 years. If I was looking to leave I’d feel good

Strange, because i graduated like 6 years ago and no job offers, not even entry level lol…

I wish I had Pimp Willy’s problem.

Sounds like a lack of jobs isn’t your problem…

Where do yo guys live?

Chicago. I’m still in school lol.

SF Bay Area is where you want to be. Lots of jobs.

I think Pimp Willy means head hunters/HR contacting him. I get just as many every week, but it’s not “We’re really interested in you, here is an offer” but more like “We’re looking for X… and you seem to fit”.

Most of the time I don’t even come close to being qualified if they even glanced at my Resume, Linkedin, Whitetruffle, etc.

Is there any danger of being put on blacklists if you bomb an interview? Since I’ve been laid off, I’ve bumped up into an issue with the experience I claim on my resume, and changed it. What I originally had down was technically true, but I felt my current knowledge didn’t live up to that hype*. So, I changed it. I changed it everywhere I could think of. Except Monster.

Now a company wants to interview me for a software engineer position after seeing my resume on Monster. The interview is already set up, and I didn’t realize the old resume was unchanged on Monster until just now. This company called me, and never shared explicit details about the position. I also can’t find out the details from their website.**

My current worry is that even though this is a small company, I’ll end up bombing this interview, and land on one of these unofficial HR blacklists I’m starting to hear about. Where they don’t consider you after finding out you’re on them. I heard HR people spread these lists around. I know the chances of this are slim, but it’s a very real fear I have. Have any of you experienced blacklisting, or know someone who has been through it?

*I originally claimed I had over 4 years experience (academic and practical) with a plethora of languages, with over 100 small applications coded in them cumulatively. However, most of that experience is college, and those apps could best be summed up as code snippets. I got lucky with my first interview post layoff (they weren’t looking for heavy experience), but changed my resume after that.

**Yeah, that seems shady to me too, but I researched this company and found nothing wrong from a fraud standpoint. They do have a bad glassdoor review from what appears to be a programmer (anonymous) claiming long working hours. That was from last year though.

That’s a good point, I never looked super closely at them, but a lot are from head hunters, which definitely isn’t the same thing as a valid job interview/offer. But the jobs are out there. Bay area is a great place to be for tech jobs, but expensive if you don’t have one yet. I’m in LA, and there are still lots of opportunities out here. I worked for a local SoCal company, that got bought by a Bay area company (DemandTec), who got bought by IBM. So I work mostly with people in the bay area, but I work from home in So Cal. I miss the office scene a lot of times, but having the freedom of working from home is great.

I don’t know much about HR blacklists, personally I think HR has enough of a problem with in house communication to believe that there is some global HR mailing list with bad interviewees on it, but who knows.

Thanks for the input. Im currently taking SQL / PL-SQL / DBA classes, and my teacher wants me to get into programming, either Python or Java. But i suppose that that`s something for next year, as i am really busy right now-

SQL has a kind of programming language that you can learn.

Lol.
I got contacted by [impressive company] by different people in hiring and they didn’t even know. Trust me, you’d think this particular company would have that locked down. They may have even solved it since then though…

This is more job inquiry stuff, so sorry. Something’s weird here. The main guy behind that position I interview for Thursday sent me a word doc describing the position yesterday. My resume basically mentions .Net stuff: the biggest “highlights” are proficiency in C++ and Visual Basic. However, the job document doesn’t mention any .Net stuff. It’s web stuff. Java, Javascript, HTML, CSS and the like. I don’t mention that stuff at all in my resume (not even the old one they picked up from Monster), though I have a little experience in them.
I’m trying to narrow down exactly what I should research. Java, or the stuff in my resume? I’ve been on a kick researching and programming in Java ever since seeing the document, but now I’m wondering why they asked me for an interview off a resume that doesn’t mention Java at all. Is this a red flag or something? Have any of you experienced this?

The simple answer is, HR people are dumb. Computer guys are computer guys.

Also, a lot of smart people look for good programmers, not people that know a specific language. Java, C++, Perl, Python, so long as you understand the concepts the language shouldn’t matter

That’s the issue I have with looking for jobs and/or getting contacted by HR.
Most first level contact, "Oh you know Python! We need a Python programmer. Are you teh interest?"
It’s this silly game.

I had a great interview with a start up because all of my contact was with the co-founder, who is an engineer. He was straight up trying to figure out what type of engineer I am. Mostly the difference between, “Get shit done” versus “Thinking long term”. I’m the latter.

I wish Nvidia would get back to me. I’d have a blast programming CUDA algorithms for science.

So I actually spent about 5+ minutes looking for a Man in the Middle attack meme, but I couldn’t find it. Did it even exist before?
I don’t know if it did, but I made it just now because it’s so obvious but I couldn’t fucking find it.

Image search “Man in the middle” and you’ll mostly find engineering stuff, and certainly nothing like the below.

Quick hands question. If I wanted to use the random method from the math class to determine a coin flip and an array to site whether they are heads/tails, how many statements should my for loop have? So far I am thinking:

[spoiler=]for (double i=Math.random ()){
if(flip[i}<=.5) { side=“tails”; } return side; } [/spoiler]
But I get a few errors for ; and ) being expected. Is random () supposed to have parameters?

Three: intiailization, exit test, and end-of-loop action. Having a return in the middle of a for loop also makes little sense here? I’m not sure what you’re trying to do with the array.


for (int i = 0; i < TIMES_TO_LOOP; ++i)
{
    double r = Math.random();
    // Whatever you're doing with the random number . . . .
}


Yeah a for loop has to have 3 parts to its declaration as Icy said.

the way you have it set up, it doesn’t actually do anything (because it won’t compile). But lets say it did compile. Then what?

You hit a for loop, and say i = math.random(). Ok, so I is a random variable.

Next step… you’re hitting an array and checking if the value of the array at that random value is < 0.5.

That’s wrong on a couple of different levels.

firstly, accessing an array is done with an integer. But you’ve declared i as a double. You’re also accessing this array – which doesn’t exist in the code above and thus we have no idea what it does – with random values, which is a big error.

Then, if it is <= 0.5, you assign a variable side – which isn’t declared anywhere in the code you showed – to the string “tails.” If its >= 0.5… what happens then? I’m assuming you’re defaulting to heads elsewhere.

Then, your function is “returning” this variable side to whatever function called it.

the end result, you’re programming a for loop when you’re only intending for the underlying code to be called once. the for loop is meaningless.

I get what you’re going for, a stand alone function that is called, that returns “heads” or “tails” depending on a random number. Only you’re stuck in this weird hybrid land between code that would exist in the main, and code that would exist in the function. This tells me you don’t actually understand what you’re writing here.

You have elements that you should know – array accessing, for loops, calling math.random, returns – but you’re kind of just throwing them together without any actual thought behind it.

there’s really 2 ways to do this – as a separate function and all in the main – and I suggest figuring out which you are trying to do before proceeding.

Side is declared I’m sorry I was just showing an excerpt. This isn’t in my main either. I have some other code I just didn’t show because my trouble lies here with the array and for loop. I seemed to have confused myself as double should be used for 2d arrays correct? I also wasn’t sure whether to put the #of loops in the for loop or to put what to loop until. I’ll work on it a bit and bring it back later.

a double is a decimal number. 0.2, 3.4, etc

An array is always accessed by an integer.

saying array[5] means give me the 6th item in the list (because it’s 0 based, so 0 = item 1, 1 = item 2, etc).

If you say array[0.5] what would that actually mean? You want the 0.5th item in the list? It just logically doesn’t make sense.

a for loop and a while loop are the same thing, only a for loop lets you declare less code to accomplish a task.



for(int i = 0; i < 100; i++)
{
  flip* = Math.random();  
}

and

int i = 0;
while(i < 100)
{
 flip* = Math.random();
 i++;
}

and

int i = 0;
do{
 flip* = Math.random();
 i++;
}while(i < 100)


they all do the same thing. But the for loop, at a glance, you just kind of get what it means. “Oh, I’m going to start at 0 and loop to 100, increasing by 1 at a time”. With the while loops, you have to parse the entire block of code to understand what it’s doing. That’s the advantage of for loops.

As for your code, if it’s not in the main (so it’s a separate function), it shouldn’t have an array or a for loop in it anyway. Your array and for loop would be in your main, and you’d store in the array the results from your function above, which is called and returns just 1 value. You’re close you’re just kind of not thinking it through logically.