Search Results

Showing results 1 to 40 of 1000
Search took 0.10 seconds.
Search: Posts Made By: Rashakil Fol
Forum: Computer Science 1 Day Ago
Replies: 9
Views: 147
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 2 Days Ago
Replies: 9
Views: 147
Posted By Rashakil Fol
Learn Clojure.
Forum: C++ 2 Days Ago
Replies: 7
Views: 180
Posted By Rashakil Fol
Your problem is that you're writing very complicated and redundant code and thus it's hard to think about what your code is doing. Use a simpler algorithm to find and remove the largest and smallest...
Forum: Computer Science 3 Days Ago
Replies: 1
Views: 124
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 4 Days Ago
Replies: 1
Views: 149
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 4 Days Ago
Replies: 2
Views: 172
Posted By Rashakil Fol
I don't know.
Forum: Computer Science 4 Days Ago
Replies: 3
Views: 158
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 5 Days Ago
Replies: 1
Views: 152
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 5 Days Ago
Replies: 6
Views: 286
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 7 Days Ago
Replies: 6
Views: 286
Posted By Rashakil Fol
Let's say I can do it with no variables.
Forum: Computer Science 8 Days Ago
Replies: 1
Views: 233
Posted By Rashakil Fol
What is your definition of "tree"?
Forum: Computer Science 11 Days Ago
Replies: 5
Views: 335
Posted By Rashakil Fol
I have never heard the term "fabricated software." Sorry, I don't speak moron.
Forum: Computer Science 14 Days Ago
Replies: 4
Views: 294
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 14 Days Ago
Replies: 4
Views: 294
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++ 15 Days Ago
Replies: 6
Views: 212
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 15 Days Ago
Replies: 9
Views: 566
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# 15 Days Ago
Replies: 5
Views: 217
Posted By Rashakil Fol
Obviously I wasn't talking about his code example because the methods there were not marked abstract.
Forum: C# 15 Days Ago
Replies: 5
Views: 217
Posted By Rashakil Fol
Either that or the methods were abstract.
Forum: Computer Science 15 Days Ago
Replies: 6
Views: 309
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++ 15 Days Ago
Replies: 1
sql
Views: 105
Posted By Rashakil Fol
http://lmgtfy.com/?q=sql
Forum: IT Professionals' Lounge 15 Days Ago
Replies: 17
Views: 695
Posted By Rashakil Fol
Don't listen to this troglodyte.
Forum: IT Professionals' Lounge 16 Days Ago
Replies: 17
Views: 695
Posted By Rashakil Fol
It depends on location, but yeah, it's competitive. Do you want to work there?
Forum: Computer Science 16 Days Ago
Replies: 4
Views: 432
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++ 16 Days Ago
Replies: 4
Views: 158
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 17 Days Ago
Replies: 2
Views: 363
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++ 17 Days Ago
Replies: 8
Views: 280
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++ 17 Days Ago
Replies: 8
Views: 280
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 17 Days Ago
Replies: 36
Views: 2,825
Posted By Rashakil Fol
What do you care what other people think?
Forum: C++ 17 Days Ago
Replies: 4
Views: 265
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# 18 Days Ago
Replies: 9
Views: 364
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 18 Days Ago
Replies: 2
Views: 285
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 18 Days Ago
Replies: 8
Views: 355
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# 19 Days Ago
Replies: 5
Views: 308
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# 19 Days Ago
Replies: 7
Views: 230
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 19 Days Ago
Replies: 6
Views: 299
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# 19 Days Ago
Replies: 7
Views: 230
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# 19 Days Ago
Replies: 7
Views: 230
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 19 Days Ago
Replies: 58
Views: 2,939
Posted By Rashakil Fol
Scala rules, Java drools.
Forum: Computer Science 20 Days Ago
Replies: 8
Views: 355
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 20 Days Ago
Replies: 6
Views: 299
Posted By Rashakil Fol
No -- mainly because we don't know what problem you're having, other than that you find it hard.
Showing results 1 to 40 of 1000

 


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

©2003 - 2009 DaniWeb® LLC