Search Results - JustLinux Forums


Search:

Type: Posts; User: grady

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    278
    Views
    444,374

    Sticky: It's OK to use vector instructions. The...

    It's OK to use vector instructions. The challenge is: can you do the multiply by "issuing only 3 arithmetic instructions" - as in machine instructions. It's very likely that the computer in front...
  2. Replies
    278
    Views
    444,374

    Sticky: You've all had three years to strengthen your...

    You've all had three years to strengthen your Kung Fu by pondering the reduction of the complex multiply from four multplications to three. Many have either moved up to management or lost their...
  3. Replies
    3
    Views
    844

    bwkaz, that was the problem. That website has...

    bwkaz, that was the problem. That website has some really great stuff and I'm going to bookmark it. Thanks for the reply.
  4. Replies
    3
    Views
    844

    C++ templated return type error

    I've boiled my problem down to this:

    template<typename T>
    class cls
    {
    public:
    class nest
    {
    public:
    T item;
  5. Replies
    7
    Views
    1,679

    Your video card needs to support it. That...

    Your video card needs to support it. That extension is implemented in the latest nvidia driver and would show up if you had a newer card. You can still write GLSL vertex programs but fragment...
  6. Replies
    7
    Views
    1,679

    Does it actually say "you are missing the...

    Does it actually say "you are missing the extensions" before it segfaults? What is the error message exactly? Is it an error message coded into the program? If so, can you post the section of the...
  7. Replies
    5
    Views
    716

    You can look on sourceforge.net particularly at...

    You can look on sourceforge.net particularly at the help wanted section http://sourceforge.net/people/ .
  8. Replies
    7
    Views
    1,679

    Are you trying to compile a source or run an...

    Are you trying to compile a source or run an executable? What exactly is the error message? If you are compiling you might need a more recent glext.h which you can get here...
  9. Replies
    13
    Views
    1,606

    You could store the data in a file, or multiple...

    You could store the data in a file, or multiple files, and write a class that acts like an array by overloading operator[]. The class could manage fetching chunks of data from disk when you query...
  10. dhcp unable to grab address. suse 9.0 installation

    I am trying to install Suse 9.0 pro. I am on Cox cable modem service which is/was an @home network. My network card is identified correctly by the installation tool but when it tries to test the...
  11. Replies
    45
    Views
    5,540

    This page shows many unusual...

    This page shows many unusual representationsmathworld.
  12. Replies
    278
    Views
    444,374

    Sticky: Press 'g' to turn off gravity. press 'esc' to...

    Press 'g' to turn off gravity. press 'esc' to exit. you lose 50 points if you don't click a duck by the time it goes off the screen. You get points proportional to the horizontal speed of the duck...
  13. Replies
    5
    Views
    840

    check out my chemistry program

    I just uploaded a project to sourceforge. I got the idea from a windows program that I used in the lab this semester. The program is simple, but it still does more than the windows program I had to...
  14. Replies
    1
    Views
    610

    man strncpy, man strncat. But here it looks like...

    man strncpy, man strncat. But here it looks like you can just check with strlen to make sure argt[1] isn't going to overflow your array of length BUFFERSIZE.
  15. Thread: gcc and -o -c

    by grady
    Replies
    4
    Views
    834

    It doesn't matter if "one c file needs another"...

    It doesn't matter if "one c file needs another" because -c means you compile without linking. Everywhere in the str_move.o file where a function needs to call a function in str_insert.o is basically...
  16. Replies
    11
    Views
    1,102

    vim, g++, gdb, gcov and make. All of these...

    vim, g++, gdb, gcov and make. All of these should already be on your computer so you don't have to install anything.
  17. Replies
    8
    Views
    975

    If you already know C then the "linux programming...

    If you already know C then the "linux programming bible" book shows you how to do things like shared memory and TCP/IP.
  18. Replies
    278
    Views
    444,374

    Sticky: The phenomena with the speed is a result of a...

    The phenomena with the speed is a result of a possible solution to this challenge: Find the primes without factoring any numbers.
  19. Replies
    278
    Views
    444,374

    Sticky: Write a program that reads in an integer from the...

    Write a program that reads in an integer from the console and finds all positive prime numbers between 2 and the number. Challenge:Code the routine so that as your program progresses it becomes...
  20. Replies
    278
    Views
    444,374

    Sticky: Design a binary code and write an encoder and...

    Design a binary code and write an encoder and decoder such that if as many as 3 bits of a codeword are encoded with errors, the decoder can correct the codeword. Obviously the only purpose of the...
  21. Replies
    278
    Views
    444,374

    Sticky: The latter, I didn't realize my example was an...

    The latter, I didn't realize my example was an xor too.
  22. Replies
    278
    Views
    444,374

    Sticky: Challenge: Write a function that reverses the...

    Challenge: Write a function that reverses the bits of an integer, i.e. 100110 -> 011001. The shorter the function the better. This is an essential procedure when coding a fast fourier transform.
  23. Replies
    278
    Views
    444,374

    Sticky: Hey strogian g/j, you got all my challenges. :) ...

    Hey strogian g/j, you got all my challenges. :)

    Here's another challenge:
    rand( ) in C generates a flat distribution of numbers; you are equally likely to get any given number the generator is...
  24. Replies
    278
    Views
    444,374

    Sticky: They might not factor but you could do it this...

    They might not factor but you could do it this way by calculating all of the roots to the desired precision, however this isn't the best way to solve the problem
    ...
  25. Replies
    278
    Views
    444,374

    Sticky: The summer must be turning me into an imbicile. ...

    The summer must be turning me into an imbicile. The n is correct. You can evaluate the polynomial with n products.

    Here's another challenge: Write a function using only bit operations that can...
Results 1 to 25 of 28
Page 1 of 2 1 2