rippingcorpse

Members
  • Content count

    104
  • Joined

  • Last visited

Community Reputation

142 Neutral

About rippingcorpse

  • Rank
    Member
  1. I'm making a simple multiple choice using words from a MySQL database. I would like to display the words, each as a link back to the same page. If a word is clicked, I would like it to be compared with the answer. How can I do this? I already made the database, I know how to randomly select rows, I know how to display the words and make them clickable... but I'm having troubles getting what the user clicked and comparing it to a variable. Thanks in advance to anyone who helps. If that didn't make sense, ask me and I'll straighten it out. [Edited by - rippingcorpse on April 26, 2008 6:02:43 PM]
  2. From this example:http://www.php-mysql-tutorial.com/mysql-tutorial/insert-data-mysql.php "mysql> LOAD DATA LOCAL INFILE "insert.txt" INTO TABLE species;" I tried doing this but I received an error stating that insert.txt wasn't found. Where am I supposed to place this file? If it makes a difference, I am using WAMP in its standard configuration. Any help is greatly appreciated
  3. Question regarding "click fraud"

    OK, here's another question: If a website doesn't SAY to click/view the ads, but merely pays users for doing so, is it considered click fraud? In this case nothing tells the user to click the ads and it is entirely out of their own will. Whether the user does anything after the he/she clicks the ad is entirely his or her choice.
  4. Question regarding "click fraud"

    Quote:Original post by Mithrandir Yeah. But companies like Google have very little incentive to stop click-fraud, as they make money off of it. The entire internet advertising industry is overvalued in my opinion; it's only a matter of time before advertisers become savvy to that fact. So, if someone were to pay users for clicking ads, such as AdSense, Google wouldn't care? Or is it just excused in this case because it goes to starving kids?
  5. Question regarding "click fraud"

    Is giving someone part of your revenue for their ad clicks considered "click fraud"? If so, then isn't FreeRice (http://www.freerice.com/) "click fraud"? It generates money by getting users to view/click ads without interest in the ads. The only difference that I see is that third-world people are receiving the money rather than the webmaster or the viewers. [Edited by - rippingcorpse on April 13, 2008 2:28:28 PM]
  6. Understanding FFT

    I'm interested in pitch detection of human voice or instrumentation. I would like to do this in real-time, so speed is more important than accuracy. I read into the Fast Fourier transform (FFT), which I understand detects a pitch by calculating the maximum and minimum frequencies at certain intervals. Unfortunately, that's all I understand! I've never done sound recording, never mind played with real-time recording, so I feel lost. I'm afraid that this might be far above my level of understanding, but I badly want to learn! I found some sources on the FFT, but they assume a lot of preexisting knowledge and don't teach. Thanks, plus points for anyone who helps! If you think this topic is too advanced for me, may you suggest a progression so I may build up to this topic in the future?
  7. I'm convinced to live fast and die young. If I have to do the ol' 9-5 at a job that isn't enjoyable, life isn't worth living. Do whatever you want; people seem to forget that they're going to end up decaying in dirt. I'd rather die on my feet than live on my knees.
  8. C-style strings VS. C++ style strings

    OK, I understand how * is used for "dereferencing". I understand its use when & is present, but what about when its by itself? How can it be dereferencing something that hasn't been referenced? I've been seeing this around arrays.
  9. C-style strings VS. C++ style strings

    When is it beneficial to use C-style strings in favor of C++ style strings? Is it just a matter of performance? If so, how drastic is the performance difference? Also, another simple question: I'm having a little bit of trouble understanding the * operator. I understand what it means regarding pointers (ex. int *cheese = &pizza), but I often see it by itself. Someone else mentioned that it is used to "dereference". What is meant by this?
  10. Expelled - Explosive? What do you think?

    If a "creator" made us, then what made the creator? Humans constantly look for patterns in everything and the concept of infinity fucks us up. How could the physical world have always existed, surely it was created? Well, how could "the creator" have always existed then? It doesn't make any sense. Guys, you cannot beat the hardcore religious, they are the ancient trolls. The Western modern-religious are slowly being reduced to pacifism. Most of the "Christians" I know, below the age of 50, seem to think that Christianity is synonymous with pacifism; in other words, its slowly fizzling out. Some nice satire: http://www.truechristian.com/
  11. [C++] A few seperate questions

    1. Are bitsets important to a beginner in any way? I'm learning from the book C++ Primer: Fourth Edition and it has a section on bitsets early in the book. I don't see how this is practical at my skill level, and I think I would forget it since I wouldn't use it, so is it OK to skip? 2. I thought using the * operator before a variable denotes a pointer and using the & operator before a variable denotes an address location (ex. int *foo = &bar) . If this is true (which it might not be) how come I often see the * operator before a variable in code snippets without the & operator appearing? How can there be a pointer without it referring to anything else? 3. As previously mentioned, I'm mainly learning from the book C++ Primer: Fourth Edition. Given the size of the book, which is nearly 900 pages, should I skim through it and go back if I need more information or should I just suck it up and spend a month learning it? 4. If you recommend that I skim through my book (question 3.), what knowledge MUST I know? Thanks
  12. Sound APIs?

    Should I use FMOD 3 or FMOD Ex?
  13. understanding data

    I'm having a bit (heh, no pun intended) of trouble understanding data. Right now I'm viewing data types in code abstractly, in such a way where I am ignorant of what the computer is really doing. I would like to understand how data is handled by the computer. Also, sort of a bizarre question that I've been wondering, what is data in physical terms? I'm so ignorant that my questions may be illogical, so forgive me if they are.
  14. using namespace std is frowned upon?

    Why is "using namespace std" generally considered a newbie way of programming? I read this online and I've been wondering. I hope I'm not too much of an annoyance with all these questions, you've all been a real help!
  15. Guitar Tabluature Software

    Ah, I just found out an open source project called TuxGuitar. Its written in Java, but it should help... http://www.tuxguitar.com.ar/