Search Results

Showing results 1 to 40 of 1000
Search took 0.11 seconds.
Search: Posts Made By: Rashakil Fol
Forum: Computer Science 17 Hours Ago
Replies: 1
Views: 86
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 18 Hours Ago
Replies: 2
Views: 111
Posted By Rashakil Fol
I don't know.
Forum: Computer Science 18 Hours Ago
Replies: 2
Views: 88
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 1 Day Ago
Replies: 1
Views: 82
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 1 Day Ago
Replies: 6
Views: 220
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 3 Days Ago
Replies: 6
Views: 220
Posted By Rashakil Fol
Let's say I can do it with no variables.
Forum: Computer Science 4 Days Ago
Replies: 1
Views: 186
Posted By Rashakil Fol
What is your definition of "tree"?
Forum: Computer Science 8 Days Ago
Replies: 5
Views: 284
Posted By Rashakil Fol
I have never heard the term "fabricated software." Sorry, I don't speak moron.
Forum: Computer Science 10 Days Ago
Replies: 4
Views: 271
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 11 Days Ago
Replies: 4
Views: 271
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: C++ 11 Days Ago
Replies: 6
Views: 190
Posted By Rashakil Fol
It doesn't matter. Do what you enjoy. It's not like it's hard to learn a new language later. Realize that you'll have to mostly teach yourself C++ if you really want to learn it, because your...
Forum: IT Professionals' Lounge 11 Days Ago
Replies: 7
Views: 461
Posted By Rashakil Fol
Don't listen to him, his complaint is logically inconsistent with the fact that you made this thread and using colors isn't going to draw extra attention to the first post of the thread.
Forum: C# 11 Days Ago
Replies: 5
Views: 200
Posted By Rashakil Fol
Obviously I wasn't talking about his code example because the methods there were not marked abstract.
Forum: C# 11 Days Ago
Replies: 5
Views: 200
Posted By Rashakil Fol
Either that or the methods were abstract.
Forum: Computer Science 11 Days Ago
Replies: 6
Views: 295
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: C++ 11 Days Ago
Replies: 1
sql
Views: 93
Posted By Rashakil Fol
http://lmgtfy.com/?q=sql
Forum: IT Professionals' Lounge 11 Days Ago
Replies: 17
Views: 604
Posted By Rashakil Fol
Don't listen to this troglodyte.
Forum: IT Professionals' Lounge 12 Days Ago
Replies: 17
Views: 604
Posted By Rashakil Fol
It depends on location, but yeah, it's competitive. Do you want to work there?
Forum: Computer Science 12 Days Ago
Replies: 4
Views: 353
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: C++ 12 Days Ago
Replies: 4
Views: 147
Posted By Rashakil Fol
No, next_permutation won't work because his desired output is out of order :)

Hope this helps :)

#include <stdio.h>
int main(void) {
puts("123");
puts("132");
puts("213");
...
Forum: Computer Science 13 Days Ago
Replies: 2
Views: 336
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...
Forum: C++ 13 Days Ago
Replies: 8
Views: 252
Posted By Rashakil Fol
The U means that it's an unsigned integer literal. size_t is an unsigned integer type that's guaranteed to be able to hold the size of an array. But not a std::string. If you're paranoid you...
Forum: C++ 13 Days Ago
Replies: 8
Views: 252
Posted By Rashakil Fol
Is your call to .length() getting called every time or are you assuming that will get optimized away?
Forum: DaniWeb Community Feedback 13 Days Ago
Replies: 36
Views: 2,617
Posted By Rashakil Fol
What do you care what other people think?
Forum: C++ 13 Days Ago
Replies: 3
Views: 211
Posted By Rashakil Fol
Don't use any globals (i.e. static variables) and have your function that calculates the answer be separate from the function that prints the answer.
Forum: C# 14 Days Ago
Replies: 9
Views: 333
Posted By Rashakil Fol
Bah, I meant to uprep this post with "complete win" while downrepping the first, but forgot you could only rep somebody once per day. :(
Forum: Computer Science 15 Days Ago
Replies: 2
Views: 274
Posted By Rashakil Fol
That's just saying it takes n-1 comparisons on the first pass, n-2 on the second, n-3 on the third, ... and 1 on the n-1'th pass -- so there are a total of n-1 passes.

So, ask yourself: why? What...
Forum: Computer Science 15 Days Ago
Replies: 8
Views: 348
Posted By Rashakil Fol
When you run a Theta(n) operation n times, it takes Theta(n^2) time to do. I mean in general if you run an operation that takes n seconds n times, it's going to take n*n seconds.
Forum: C# 15 Days Ago
Replies: 5
Views: 288
Posted By Rashakil Fol
Static methods are just global functions that could very well have nothing to do with the class you've put them in. Methods that are not static are merely functions that, in their definition,...
Forum: C# 15 Days Ago
Replies: 7
Views: 224
Posted By Rashakil Fol
There's no such thing as a 'blank space.' An array with 64 elements will contain 64 elements. Some of them will be null, because that's what they were initialized with -- but that's no different...
Forum: Computer Science 15 Days Ago
Replies: 6
Views: 291
Posted By Rashakil Fol
It basically goes something like this:

1. Read the problem.
2. Think.
3. Write down the answer.

It might help if you ask a specific question, so that we might tell you how we'd go about...
Forum: C# 15 Days Ago
Replies: 7
Views: 224
Posted By Rashakil Fol
The "second" file from the list? Are you saying you're expecting Sort to look at the elements of the list in some particular order?
Forum: C# 16 Days Ago
Replies: 7
Views: 224
Posted By Rashakil Fol
If File y is null, what do you expect to happen? What is y.fsPos supposed to do when y is null? (Hint: it throws an exception.)

Apologies for the snark.

You should modify your Compare method...
Forum: Geeks' Lounge 16 Days Ago
Replies: 58
Views: 2,903
Posted By Rashakil Fol
Scala rules, Java drools.
Forum: Computer Science 16 Days Ago
Replies: 8
Views: 348
Posted By Rashakil Fol
No, when n is the size of the array, resizing takes Theta(n) time because you have to copy all the elements.
Forum: Computer Science 16 Days Ago
Replies: 6
Views: 291
Posted By Rashakil Fol
No -- mainly because we don't know what problem you're having, other than that you find it hard.
Forum: Computer Science 17 Days Ago
Replies: 6
Views: 291
Posted By Rashakil Fol
That's a pretty vague question.
Forum: Computer Science 17 Days Ago
Replies: 8
Views: 348
Posted By Rashakil Fol
You would just write that each push and pop wolud take Theta(n) time. (And so the average time per operation is Theta(n) which is bad because we'd like it to be O(1).)
Forum: Computer Science 18 Days Ago
Replies: 1
Views: 260
Posted By Rashakil Fol
Describe all the interesting projects you've worked on outside of class.
Forum: Computer Science 20 Days Ago
Replies: 74
Views: 100,882
Posted By Rashakil Fol
No, you're doing the proof backwards! You don't "know" that c1, c2, and n0 exist such that c1 <= 1 - 2/n + 1/n^2 <= c2 forall n >= n0 unless you prove it! You have to _show_ that values exist, that...
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC