Search Results

Showing results 1 to 40 of 423
Search took 0.03 seconds.
Search: Posts Made By: Rashakil Fol ; Forum: Computer Science and child forums
Forum: Computer Science 4 Days Ago
Replies: 6
Views: 345
Posted By Rashakil Fol
That's the same kind of minus as the minus key on your calculator. Just put n - 1 into Mr. Calculator and you'll calculate running time.

That's the same thing as n รท 2.

Yeah, it can get...
Forum: Computer Science 4 Days Ago
Replies: 6
Views: 300
Posted By Rashakil Fol
An API is a list of function declarations, or something in that spirit.
Forum: Computer Science 6 Days Ago
Replies: 10
Views: 4,637
Posted By Rashakil Fol
To heck with SAS. It is software that deserves to die.
Forum: Computer Science 6 Days Ago
Replies: 11
Views: 708
Posted By Rashakil Fol
Take Japanese and then you can get really freaking tired of all the otakus in your class.
Forum: Computer Science 6 Days Ago
Replies: 1
Views: 233
Posted By Rashakil Fol
Edit what? A string? What does editing a string have to do with measuring the distance of two strings? What are you trying to do? Why do you want to compute the distance?
Forum: Computer Science 14 Days Ago
Replies: 2
Views: 407
Posted By Rashakil Fol
http://en.wikipedia.org/wiki/Fibonacci_search_technique
Forum: Computer Science 14 Days Ago
Replies: 1
Views: 314
Posted By Rashakil Fol
What kind of Lisp? Common Lisp? Use SLIME. Emacs Lisp? I guess not, because then you wouldn't need to ask.
Forum: Computer Science 19 Days Ago
Replies: 7
Views: 463
Posted By Rashakil Fol
If there are 32-bit instructions, that means there are 2^32 total values these instructions could have. If addresses are 12 bits, each 2-address instruction has 2^24 values it could have. So...
Forum: Computer Science 20 Days Ago
Replies: 8
Views: 692
Posted By Rashakil Fol
For example, suppose you have a function
int f(int n) {
if (n == 0) {
return 1;
}
else {
return n * f(n-1);
}
}
We want to measure its cost. But before we do so, we'll...
Forum: Computer Science 21 Days Ago
Replies: 8
Views: 692
Posted By Rashakil Fol
Create a recursive formula for the time complexity and figure it out from there.
Forum: Computer Science 22 Days Ago
Replies: 7
Views: 463
Posted By Rashakil Fol
To represent an N-bit value whose value could be anything, you need.... N bits. Which eats up 2^N possible numbers. You have 2^20 available numbers.
Forum: Computer Science 22 Days Ago
Replies: 5
Views: 517
Posted By Rashakil Fol
It apparently does, if he's considering it.

I also think the probability of the linear algebra class sucking is higher than the intro to mathematical proofs class sucking. Math department tend to...
Forum: Computer Science 22 Days Ago
Replies: 7
Views: 463
Posted By Rashakil Fol
Why don't you just count? Each two-address instruction eats up enough of the available instruction space to represent 2 addresses. Each one-address instruction eats up enough of the available...
Forum: Computer Science 23 Days Ago
Replies: 1
Views: 317
Posted By Rashakil Fol
I think this sort of thing should just be... intuitively straightforward. The only part that might not be is the question of how to deal with different operator precedences.

What is a program? ...
Forum: Computer Science 23 Days Ago
Replies: 2
Views: 466
Posted By Rashakil Fol
You need to explain your problem better. What is a subdomain? Why are "keys"? What about the binary tree lets you search efficiently? If it's just a binary tree, and not the more specific case of...
Forum: Computer Science 23 Days Ago
Replies: 4
Views: 507
Posted By Rashakil Fol
Hey, you're right, it is easy for me.
Forum: Computer Science 24 Days Ago
Replies: 8
Views: 692
Posted By Rashakil Fol
Let's look at this one. I'm going to ignore the swap for now.
Iteration2:
public static long dominoes(long x, long y){
long temp;
double koeficient = 0, faktor;
for(long i=0; i<=x+y;...
Forum: Computer Science 24 Days Ago
Replies: 5
Views: 517
Posted By Rashakil Fol
Take Introduction to mathematical proof. It will make you a better, smarter programmer.

Another reason is that if you find yourself interested in graphics, it wouldn't be that hard to pick up the...
Forum: Computer Science 24 Days Ago
Replies: 8
Views: 692
Posted By Rashakil Fol
Addition is O(n) where n is the number of bits in the BigInteger, and multiplication depends on the algorithm used: http://en.wikipedia.org/wiki/Multiplication_algorithm . That depends on the Java...
Forum: Computer Science 25 Days Ago
Replies: 1
Views: 329
Posted By Rashakil Fol
First, start working on it. Then, after you've shown some progress, you'll have an easier time convincing somebody to help you.
Forum: Computer Science 25 Days Ago
Replies: 11
Views: 21,773
Posted By Rashakil Fol
yeah

Why would you pay for something stupid? Maybe you are stupid :P
Forum: Computer Science 25 Days Ago
Replies: 80
Views: 106,373
Posted By Rashakil Fol
your brain
Forum: Computer Science 26 Days Ago
Replies: 4
Views: 414
Posted By Rashakil Fol
If you're writing production software, you should use openssl or gpg or whatever -- you shouldn't be calling cryptography routines yourself, and especially you shouldn't be writing them, unless you...
Forum: Computer Science 26 Days Ago
Replies: 4
Views: 414
Posted By Rashakil Fol
openssl is open source.

Uh... what do you want this for?
Forum: Computer Science 29 Days Ago
Replies: 9
Views: 428
Posted By Rashakil Fol
Search for it on Google. It's a nice language that has access to all the Java libraries.
Forum: Computer Science 30 Days Ago
Replies: 9
Views: 428
Posted By Rashakil Fol
Learn Clojure.
Forum: Computer Science 31 Days Ago
Replies: 1
Views: 377
Posted By Rashakil Fol
Um, yes you can. For example, you can make a very rough bound: if you have a sum of j values that are each less than or equal to k, then their sum is less than or equal to j*k. You might be able to...
Forum: Computer Science 32 Days Ago
Replies: 1
Views: 367
Posted By Rashakil Fol
Is this where an instruction contains its addresses? For example, an instruction "0000 0001 0010" might mean "copy the value from register 1 into register 2", because "0000" means "copy", and "0001"...
Forum: Computer Science 32 Days Ago
Replies: 2
Views: 371
Posted By Rashakil Fol
I don't know.
Forum: Computer Science 32 Days Ago
Replies: 3
Views: 422
Posted By Rashakil Fol
The Akra-Bazzi theorem ( http://en.wikipedia.org/wiki/Akra-Bazzi_method ) applies in this case because sqrt(n) is O(n/log(n)^2) so you can just use the Master theorem. So BestJewSinceJC's intuition...
Forum: Computer Science 33 Days Ago
Replies: 1
Views: 440
Posted By Rashakil Fol
It depends on what field you're in. If you even have a desire to ask the question, that's trouble for you.
Forum: Computer Science 33 Days Ago
Replies: 6
Views: 484
Posted By Rashakil Fol
At the very minimum, if this is an array of N-bit integers, we'll need 2N bits of state, because there's no way to represent two arbitrary N-bit integers with fewer than that amount of information. ...
Forum: Computer Science Oct 31st, 2009
Replies: 6
Views: 484
Posted By Rashakil Fol
Let's say I can do it with no variables.
Forum: Computer Science Oct 30th, 2009
Replies: 1
Views: 336
Posted By Rashakil Fol
What is your definition of "tree"?
Forum: Computer Science Oct 27th, 2009
Replies: 5
Views: 489
Posted By Rashakil Fol
I have never heard the term "fabricated software." Sorry, I don't speak moron.
Forum: Computer Science Oct 24th, 2009
Replies: 4
Views: 418
Posted By Rashakil Fol
Especially I would recommend the comp.graphics.algorithms faq. There's a book section in there. I have no idea whether the recommendations are good or not, but if you look at the reviews on Amazon...
Forum: Computer Science Oct 24th, 2009
Replies: 4
Views: 418
Posted By Rashakil Fol
Generally speaking you use a graphics card for that... But if you want to implement them yourself, much of the good information is in textbooks. In general, search Google for "graphics algorithms"...
Forum: Computer Science Oct 23rd, 2009
Replies: 6
Views: 403
Posted By Rashakil Fol
You just need a bunch of pictures of eyes with cataracts and without. Then write a classifier to classify the images.
Forum: Computer Science Oct 22nd, 2009
Replies: 4
Views: 544
Posted By Rashakil Fol
Psh, Strong is nothing -- check out the names of Alan Grayson's children: http://grayson.house.gov/about/



I'm not in computer engineering. This is a computer science forum, which is a...
Forum: Computer Science Oct 21st, 2009
Replies: 2
Views: 498
Posted By Rashakil Fol
Just write your "codes" in Python, test it that way, and tweak your syntax in arbitrary directions so that your code suddenly becomes "pseudo" code.

Thank you, and stop bothering me with your...
Showing results 1 to 40 of 423

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC