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

Try PW’s suggestion: .printStackTrace() won’t be null.

That’s because the exception gets thrown at the first .getColourValue() call so the 2nd if statement gets skipped on the way to the catch()

It’s an Integer

I tried removing the catch but causes the game to crash with nullpointerexception error.

I tried changing the if statement so that it checks first to see if the array is empty, and I’ve kept the two if statements within the for loop but again same errors.

Okay I’ve figured it out thanks to Hecatom’s question


System.out.print(String.valueOf(blockArray[row][col].getColourValue()) + "	")

Just need to figure out how to invert the way the result are displayed because the the rows are printed from top to bottom.

Nice. I think I have a way for you to invert your results but I think you can figure it out :wink:

VB uses a single equals sign as the equality operator.

:grin:



{
    if (eng.leverAngle* >= 1.3)
	{
        eng.ITT_degc* -= 00.0 * (1.5 - engr.leverAngle*)/0.2;
    }
	else
	{
        eng.ITT_degc* -= 00.0;
    }
}


This is code that I came across trying to work an engine model into our system.

Uhh… what? lol

My reaction exactly ¯_(ツ)_/¯

That reminds me about something on another job that i had, i worked on as a datawarehousing analyst there.
There was some reports that were done via a group of vies that needed to be updated so when we started to dig what were the sources of said views/queries, etc we found that everything just turned out to be a circular reference between everything, like wow, it didn’t make any sense at all yet somehow it worked, i don’t need to say that until this day, since those reports are really important on daily basis, said source remains untouched.

I’m planning to work towards a degree in CS. What do you guys think of tech colleges like Ivy Tech as far quality of classes? I’m assuming they aren’t ABET and if not is that a deal breaker?

So I had to come into work at 3 am… I’m a java programmer. This is my first job out of college.

Are most developer jobs like this? This supposedly happens once a month for our releases.

If this is common throughout the industry I may consider a career change

Did you read the contract you signed?

I didn’t sign a contract

That’s very strange, where are you from??

I guess it depends on timezones. For my old job we stayed late until it was clear by qa (usually to midnight), but that was installed software.

For my new project, I work 1 Saturday every 3 months in case of issues with deployment (cloud solution), but the testing is more rigorous so there’s not usually issues

If you don’t work on server side stuff it probably wouldn’t happen.

No contract is very strange though. Any company should want you to sign something like an NDA and an IP assignment. What about W2 paperwork?

It looks like a community college, right?

It’s a transfer program:
http://ivytech.edu/computer-science/index.html

If so that’s always the correct path right now, because university is expensive.
Spend the first two or three years there learning for cheap, then transfer to university when you know for sure you’ll do it.

That was my educational path too. I have a bachelors in Computer Information Systems that I got by knocking out as much in Community College as I could before going to Uni. If the CC you attend has a good transfer rate with a University, then look into it.

Some personal advice based on my meager experiences: try to network and get your hands on some internships while in school. I didn’t, and it’s been hell for me finding work post college. A significant reason for that is my own pitfalls, TBH, but not developing relationships with people in college certainly didn’t help.

Same here, couldnt afford college, so I did Community College -> Transfer to university, definitely a great choice. That school looks like a fairly standard community college, at first I thought it was going to be an ITT Tech or Devry bullshit lol

Anyone know if there is a formula that’s used in calculating relocation compensation? I think once my project is done at my job I want to look else where for work. I’m the youngest person on the team, but I’ve had the most experience on the project since I interned + converted to full time while they brought in contractors/transfers over lol