u/gotchaha

1 post karma · 881 comment karma · joined Feb 2012

gotchaha

You should have some equations given by your professor that can help you with this. Find your bond payments. Then, solve for your rate using 833 as a present value. For the expected gain or loss: First, you have valued the bond at 5 years. Assume then that one year later you sell that bond. Find that price. Basically find the PV with 4 years left, utilizing the bond payments and yield you already calculated. Then you should be able to determine your gain or loss.

gotchaha

Ok. Try some of the other suggestions in this thread and see if those are helpful. Otherwise I think you might have some type of hardware issue.

gotchaha

Sounds good. I'll try to keep an eye on this post.

gotchaha

Haha, yeah that can happen. Have a good one!

gotchaha

Can you submit a breakdown of your current hardware specifications and also a list of your current running processes? And you can control startup programs by going to msconfig.exe from your run menu. Be careful though, and do not deselect any programs from the startup menu if you don't know what they are.

gotchaha

How does it display the warning? Is it in the browser itself? A pop-up? And what browsers are you experiencing this on?

gotchaha

Have you added any new programs recently? Specifically ones that might be monitoring your system (like an anti-virus, anti-malware, or resource monitor)? Otherwise, have you made any other system changes recently?

gotchaha

Like scvbari suggested, are you seeing anything in task manager that's using a lot of resources? Also, you said you were using beta drivers; you might want to roll back to an older stable driver release and see if that helps.

gotchaha

What temps are you running? You could be experiencing some throttling if other's suggestions don't prove fruitful.

gotchaha

Oh, I figured your example was the problem you were looking to solve. Well depending on exactly what you're trying to do with it, you could use ultrasonic distance detectors. Or possibly use radio frequencies (like a beacon and receiver).

gotchaha

Here ya go: Range Finders

gotchaha

I have the 770 version of this card and run around 50C under load. I'd check the airflow in your case, and your fan profiles like /u/I_Will_be_Nice suggested. Is the rest of your system running hot?

gotchaha

It's easier to mask undesirable flavor in hops heavy beers like IPAs.

gotchaha

This is a known bug: Link to Aptana bug tracker

gotchaha

Ok, you have a couple issues. The first one being your array declarations. In javascript you declare arrays like this:

var myArray = []; //use this way
 or 
var myArray = new Array();

Also, you don't have to set a size to the array (which I presume you're doing) as javascript will modify the array dynamically. And if you do pre-set the size with new Array, the values will be set to undefined, which may or may not be what you want.

I will point out that the inputs aren't safe, so you could be writing to indexes higher than 12, which your loops that are set to only detect indexes 0-11 would not alert. For example, in your capturaUno function, you ask for a month, but the months 1-12 won't correspond to the array indexes which are numbered from 0 - 11. So, you'll need to subtract 1 from that answer, then write an if statement to make sure it falls within the indexes you want.

Finally, when using parseInt(), you should specify a radix of 10. Otherwise, you could have unpredictable behavior.

If you want your current code to just function as is, just change your top to lines from this:

var arreglo[12];
var arreglo2[12];

to

var arreglo = [];
var arreglo2 = [];
gotchaha

I'm guessing it's in your scripts then. So, double check those. If you can't find it, just post the code and someone else might be able to.

gotchaha

Can't you pull up the element in Dev Tools and examine it? It should provide you with the info it's using to create the header.

gotchaha

Dear Google,

I will pay you more than I pay Comcast now, for shittier service because I hate Comcast with the hatred of a thousand burning demon suns.

gotchaha

Apparently codecademy doesn't teach anything outside of their stupid little sandbox. What a useless site.

They do discuss linking resources (JS/CSS) into HTML, but the lessons are a bit out of order. A lot of questions people have come before they've completed the courses. I believe it's to hook people right away by instant gratification--a quick and demonstrable feedback before filling in the whole picture.

gotchaha

I just figured that a good time to make a completely unique site would be a portfolio site.

gotchaha

Can you describe what you mean by the footer is too high? As in, the height is really high, or it's too high up on the page? Also, link the mark-up for it.

gotchaha

Why not hard code it as a demonstration of your knowledge?

gotchaha

It really depends on what you're trying to accomplish. In javascript, everything is an object, so your function doSomethingCool is a function object with the name doSomethingCool. Because functions are objects, they can be stored in a variable. When you assign doSomethingCool to makeSomeNoise, you are telling javascript that the variable makeSomeNoise now holds a function object by the name of doSomethingCool.

So, now with your example, both makeSomeNoise(); and doSomethingCool(); will both log the string 'I do something cool'.

If you were to instead declare:

var makeSomeNoise = doSomethingCool();

Then when Javascript goes to assign a value to makeSomeNoise it now sees a function invocation (the parenthesis say run this function). So, the function will be executed instead, and the result of the function will be returned. In this case, because you don't have a return statement, it should return undefined.

So, with the new example, the statement:

var makeSomeNoise = doSomethingCool();

Will invoke doSomethingCool--meaning the string 'I do something cool' will be logged and undefined will be assigned to makeSomeNoise.

gotchaha

It's a simple character counter. So as long as a character isn't the EOF(end of file) or a newline (\n) then the loop continues. If it's a new line, it increments the counter n. When the while loop is ended via EOF, then it will print out n, the number of newlines it encountered.

EDIT: I just pulled out K&R and quick ran the program and it works as I stated. And 1.5.1 states:

 *read a character*
 while( *character is not end-of-file indicator* )
        *output the character just read*
        *read a character*

So it appears to be doing what it's supposed to be doing.

gotchaha

No problem. Let me know if you need anything else.