• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Recent content by generelz

  1. G

    YMMV $70 PNY 9800GT at BB B&M

    I was able to get this deal at my local BB in Atlanta. The card was marked as $89.99 on the shelf and in the computers. I took it up to the register and said I had seen online other BB stores in the area selling it for $69.99. The cashier called the manager over to confirm and after a short...
  2. G

    Euler Problem 234 Help - SPOILER ALERT

    How big of a hint would you like?
  3. G

    C++, help with coding chess

    You already have classes for Game and each piece, but not a class for the Board itself. Why not? I would solve this by making the Board a class and then having it be a shared member of all the pieces and the game.
  4. G

    Java Prime Number help

    launch your program in a debugger; you'll quickly see where you're going wrong.
  5. G

    VS 2005 + MSSQL question

    The error seems pretty self-explanatory to me. MS SQL will not run a database where the main data file is on a network share. Why? Probably because this would lead to absolutely horrible performance.
  6. G

    MySQL question, is it possible to count+get the result+limit all in 1 shot?

    before doing anything else you need to learn what SQL Injection is and the proper way to avoid attacks that leverage it. go go google
  7. G

    Euler Problem 234 Help - SPOILER ALERT

    you should be able to cut down on the modulus division by keeping an intermediate result as the lps and ups numbers will not change as often - so just find the lps and ups once, calculate the modulus result then and then iterate all values by one. then you only have to do an equality check...
  8. G

    Euler Problem 234 Help - SPOILER ALERT

    Why not instead of doing sqrt (which is very expensive as mikeblas has pointed out), you refactor lps to find the largest prime which when multiplied by itself is smaller than the target number. ups is the smallest prime which when multiplied by itself is larger than the target number...
  9. G

    Java Homework Help (v. Teacher is a little stumped)

    In a non-void method, all control paths must return a value. What happens when I pass a value that is not 1, 2, 3, or 4 to the getOctet method? Of course *you* may know that it is not valid to call that method with these values, but you have to write the code to tell the program that. How...
  10. G

    So Many Questions . . .

    fork() is a system call which allows a programmer to spawn an entirely new process, based on the POSIX standard. Threads are a general computing concept which are implemented in a variety of ways, depending on the language / operating system. So, really, comparing them doesn't make much...
  11. G

    mySQL table(s) structure

    I will echo what the people above are saying - the requirement that the ids in the URLs be sequential for the reasons you've given is not a very compelling argument, especially in the face of the facts Mikeblas has given that it makes your database model much harder to maintain. It seems...
  12. G

    Java class produces no ouput when ran

    You have some issues with your equals() method. If you're trying to override Object#equals(), your signature needs to be modified. I am not sure of the specifications of the assignment, but I would suspect the instructor wants you to implement this method rather than the "proprietary" equals...
  13. G

    Interesting Problem in Visual Basic 2005

    More to the point, isn't it the case that in general (or by default in VS 2005) building for debug would eschew the sorts of optimizations a release build would typically have?
  14. G

    Interesting Problem in Visual Basic 2005

    Since you are using an iterative solving technique in conjunction with floating point arithmetic, it sounds like you could be running into some rounding errors - however a discrepancy that large seems quite strange indeed. I would point to possibly the compiler also optimizing out some of the...
  15. G

    Binary Search Tree height

    Think about it for a little while. Your comparison this == null assumes that "this" could be null at some point. My argument is that situation is 100% impossible. The reason why is a very fundamental concept in OO programming, and it's something you need begin to grasp very quickly in order to...
Back
Top