• Hi, how to keep myself buzy?

    8 answers · 4 days ago
  • Java Project?

    Best answer: Here's a cute Fibonacci trick you can try. It might give you an alternative way to get the answer, or a way to test your results after you've got the simple, boring approach working: double r5 = Math.sqrt(5.0); // square root of 5, used more than once double phi = (1.0 + r5) / 2.0; // the famous... show more
    Best answer: Here's a cute Fibonacci trick you can try. It might give you an alternative way to get the answer, or a way to test your results after you've got the simple, boring approach working:

    double r5 = Math.sqrt(5.0); // square root of 5, used more than once
    double phi = (1.0 + r5) / 2.0; // the famous "golden ratio"

    for (int i=0; i<=20; ++i) {
        System.out.println(i + " : " + (long)( Math,pow(phi, i) / r5 + 0.5 ));
    }

    As you should see, the nth Fibonacci number is (φⁿ / √5) rounded to the nearest whole number, where φ=(1+√5)/2 is the Golden Ratio.

    Another coding trick, less "mathy" this time, is to code the regular loop using:

    int f0=0, f1=1; // Fib(n-1) and Fib(n) values when n=1

    Then in the loop use:

    f1 = f0 + f1;
    f0 = f1 - f0;

    ...to advance f1 to become Fib(n+1) and f0 now be Fib(n). Cuts down on variables and eliminates the "shift" that you need to do using the "obvious" approach.
    4 answers · 1 week ago
  • I have masters in chemistry, and I have found a job posting for a position called "Cloud Engineer", what is this supposed to mean?!?!?

    It says, cloud computing, design and planning. Is this related to meteorological experimentation? or precipitation forecast?
    It says, cloud computing, design and planning. Is this related to meteorological experimentation? or precipitation forecast?
    5 answers · 7 days ago
  • How do you work with people you don't get along with?

    I was put into an group that I make awkward because I'm like the newbie. If I dont contribute, then I fail. Neither of them talk to or try to include me in the project. There's nobody else to work with so I'm stuck here.
    I was put into an group that I make awkward because I'm like the newbie. If I dont contribute, then I fail. Neither of them talk to or try to include me in the project. There's nobody else to work with so I'm stuck here.
    7 answers · 1 week ago
  • Should I clear the browser s cache ?

    I m not worried, but just curious. I know a browser s cache stores more or less the skeleton if a web page so it takes less data and time to load. My question is, however, does the cache also store whatyou do on the website to an extent ? I know technically the cookie is responsible for saving your password,... show more
    I m not worried, but just curious. I know a browser s cache stores more or less the skeleton if a web page so it takes less data and time to load. My question is, however, does the cache also store whatyou do on the website to an extent ? I know technically the cookie is responsible for saving your password, etc., but are your entries stored in the cache ? Does it keep some sort of trace ? For example, if you make a transaction, does your browser store your info in some way ? I d just like toget a vulgarized answer ! :)
    3 answers · 1 week ago
  • ONE HALLYU: why can t i post and reply to topics on One Hallyu?

    there is this kpop forum that i came across a long time ago, but only recently i felt like opening an account. i m having problems since i m not familiar with the interface and the rules, i don t know how to make posts, it seems like they won t validate my profile. it s been months already, and i can only read and... show more
    there is this kpop forum that i came across a long time ago, but only recently i felt like opening an account. i m having problems since i m not familiar with the interface and the rules, i don t know how to make posts, it seems like they won t validate my profile. it s been months already, and i can only read and follow topics, but i can t reply to them. please, help. lmao.
    5 answers · 1 week ago
  • Computer: Can you create a dynamic web site use HTML5 and css only?

    Best answer: Nope, how "dynamic" content is going to come from? That always involve some server-side.
    Best answer: Nope, how "dynamic" content is going to come from? That always involve some server-side.
    4 answers · 1 week ago
  • Which study should i take of those ? pls help?

    im planing to start study new thing so which is better and more effective in work market ? 1- Java Android Mobile Development : 2- MCSA Web Applications (ASP.net MVC) 3- Oracle ADF 12c - JDeveloper Diploma 4- full stack Web Design & Web Development 5-Linux Administration
    im planing to start study new thing so which is better and more effective in work market ? 1- Java Android Mobile Development : 2- MCSA Web Applications (ASP.net MVC) 3- Oracle ADF 12c - JDeveloper Diploma 4- full stack Web Design & Web Development 5-Linux Administration
    2 answers · 1 week ago
  • I identify as an aircraft carrier. Am I an aircraft carrier or a human being?

    Best answer: from here on in, I will call you an 'aircraft carrier American' ...........................
    Best answer: from here on in, I will call you an 'aircraft carrier American' ...........................
    12 answers · 2 weeks ago
  • What is JVM (Java Virtual Machine) and how it works?
  • Need some advice with web programming?

    Am i wasting my time mastering basic and procedural css,javascript,php? I know basics of these languages but i feel i need to master them even more, would i be better off mastering libraries and frameworks instead?
    Am i wasting my time mastering basic and procedural css,javascript,php? I know basics of these languages but i feel i need to master them even more, would i be better off mastering libraries and frameworks instead?
    2 answers · 1 week ago
  • Are browser plugins processes or threads?

    Best answer: Chrome and Firefox use separate processes for tabs, but I'm pretty sure plugins are threads, since they need to access the same memory space as the tab itself.
    Best answer: Chrome and Firefox use separate processes for tabs, but I'm pretty sure plugins are threads, since they need to access the same memory space as the tab itself.
    3 answers · 1 week ago
  • Why do they call a search site an "engine", when it aint no engine?

    An engine is in my car. And a spare in the trunk. And I guess I should count the one under the hood too.
    An engine is in my car. And a spare in the trunk. And I guess I should count the one under the hood too.
    6 answers · 2 weeks ago