Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

463 Neutral

About tHiSiSbOb

  • Rank
  1. tHiSiSbOb

    McCain takes lead over Obama?

    Quote:Original post by programmermattc I don't fully understand the positions of either candidate on all these policies they've spoken about, but I've been pretty dedicated to anyone who talks about alternate energy. Maybe Obama has the same stance, but I figured I'd be with Obama since McCain had a commerical where he was pushing legally drilling more in the US as his 'new energy'. From what I understand drilling == using up natural resources which is kind of a limited amount. Anyways, I think it's pretty obvious how Obama is quite more targetted towards the younger crowds and McCain the older crowds for the most part. Some magazine just asked the two about what they listened to on their iPods, McCain had generally older artists while Obama had also older but also a number of more recent artists. Obama: "Hey McCain, what do you think about the new Jay-Z cd?" McCain: "What's a Jay-Z?"* *Note: Joke biased. Alternative energy is obviously a very hot idea that could fix some thing. Unfortunately, I think that whenever a candidate discusses the issue, the "alternative energy" discussed is some largely infeasible "solution." Example, everyone discusses biofuels as a solution to oil prices/dependencies but it is rare that anyone even hints at the true cause of the problem: the inherent inefficiencies of the modern automobile. Actually, Obama was the only person in the running for the presidency (when parties were still battling it out) that said the country needs to drive less and in other ways cut back. I think this is a great step in the right direction. Props to Obama on that one.
  2. tHiSiSbOb

    If you are in Harbin, China...

    Not sure if there are many strip joints around here. Though in Beijing I did find some similar stuff. I will be in Beijing in a few days again so we could rendezvous there. And that place is a bar, so the beer is a go. Also, Estoy pensando en viajar a Argentina el proximo verano. Si lo hago, podemos hacer lo que tu quieras.
  3. tHiSiSbOb

    If you are in Harbin, China...

    So am I and we should get together for a cup of coffee to discuss the finer points of programming in general or anything else, I guess.
  4. Hello, Recently, a professor approached me about compiling a program written in 1973 in what seems to be some fortran version or fortran variant. I was told that this program was last compiled successfully on a VAX system. My task is to get this thing running on an x86 machine. Given the date of the program, the pool of fortrans to choose from is limited a bit. Despite this, I cannot get this thing to compile because I do not know what version of fortran it is. I have tried g77 and gfortran, the GNU fortran compilers, as well as Intel's commercial fortran compiler. All fail and all appear to give me the same errors. I fear this may be some strange fortran variant for which I won't be able to find a compiler (I don't want to have to convert this thing to a modern fortran). My question to you, the GD community, is what pointers you have for me given this situation. Unfortunately, I am not supposed to reveal the code. From the date, I thought that fortran 66 could be a possibility, but I cannot seem to find a free fortran 66 compiler for linux. One clue that may be significant is that the PROGRAM statement (the statement which begins all fortran programs by declaring the program's name) has an argument passed to it. This argument is a pointer to a character array. The statement is as follows: PROGRAM prog (fm) What is interesting is that all of the compilers complain about this--all of them reject the presence of an argument to the main function. Removing the argument list fixes this complaint: PROGRAM prog This works fine. So, any ideas?
  5. Yeah, that sounds like a good idea. My problem now is that when I try to register the callback: RegisterCallback(...,&Foo::callbackFunction, this); I get an error that tells me that I can't convert the return type of the callback function to the required type even though I know that the callback I defined is of the right type. When I use a free function, I can get around this by type-casting the free function to the type they want. When I try type casting the member function in the same way, I get another error. I am using, by the way, Visual C++ 2008 Express Edition. The callback is defined as BOOL CALLBACK function(...,void* user); Any ideas?
  6. Hello, I am programming something in C++ after not having touched C++ in years (I have not dropped programming, I have been using Java) and I have the following problem. I am using a library that relies on callback functions defined thusly: BOOL CALLBACK function(paramaters...){ ... } This is a sound recording app. The function that start the recording takes a function pointer to a callback function defined by me. I have a class in which a callback function is defined and the startRecord function is called. How do I pass a function pointer to that callback defined in the same class?
  7. tHiSiSbOb

    Library for sound analysis

    Nevermind, I found some useful libs. CLAM seems promising.
  8. Hi. I just got an idea for a little program that requires me to analyze sounds so as to be able to detect certain frequencies (and their overtones). Does anyone know of any library that would facilitate this for me?
  9. tHiSiSbOb

    Dell = Devil?

    Quote:Original post by Jarrod1937 Quote:Original post by Avatar God I think they're great. They've also replaced something like $10,000-15,000 worth of broken stuff for me, hassle-free, and money-free, so you won't hear me complain about them. This is a dumb question, yes, and I the only direct answer I can give you is 'I don't know.' Quote:Basically, if you can build your own computer, you're better off doing so.I disagree. Given the risk of any parts failing, especially catastrophically, it's absolutely worth it for me to buy Dell's stuff, their cheap fix-everything warranty, and rely on them to handle things. Like I said above, this has saved me a lot of money. Also, the 'generic' parts... the only thing I've had fail on Dell computers are high-end, name-brand stuff that got unluck. A WD HDD failing after being moved around? Well, okay, that's not that surprising. Everything going kablooey after a legitimate power supply fails? Okay, that shit happens. Never really lost data or been out of service for more than 20 hours, either. Just saying, after all the years of building my own computers, i've only had a single hardware failure. It was a simple psu failure, of which i was back up and running the same day. However, out of all of the dells i've had to repair its been numerous psu failures, motherboard failures, ram failures...ect. Once again, this is with their average generic computers, i will admit their gaming rigs are more on par, but then they inflate the price so much its hardly worth it if you know how to build computers. However, i recently experienced their gold customer support and will happily say they were great! I was only on the phone for 10 minutes, then had the replacement parts being sent, very simple and efficient. But once again, if you know how to build computers, repairing them yourself, also is not that big of a deal. Yeah...Together, my friend and I have built quite a few computers and have experienced no hardware failures at all. I would say that buying a lower end PC, one is better off going with one of the big names like Dell, HP, and the like. But when buying high end stuff, building saves a ton. I built a workstation a year ago and saved a few hundred dollars at least on a fairly cheap machine (cost me 1600 USD). At my school, they have a lab for the animation guys where they have brand new Dell precision with very nice specs. Even after the bulk discounts that I think the school got, they cost about 9000 USD each. I looked up parts on newegg (going with really good stuff, not bargain off brand stuff) and the cost was only about 6000 USD. 33% savings isn't bad at all.
  10. tHiSiSbOb

    Scientific citation standards

    I thought maybe my query was a little ambiguous. Sorry about that. I mean, of the standard styles (like MLA, APA, and Chicago), which is most commonly used in scientific research papers.
  11. tHiSiSbOb

    Scientific citation standards

    Would anyone know what the citation standard is for scientific publications?
  12. tHiSiSbOb

    Ah...the joys of debugging.

    Maybe not. Unit testing doesn't lend itself well to every class/function creatable.
  13. tHiSiSbOb

    Ah...the joys of debugging.

    Quote:Original post by Trandafira Ditto that. However your missing the good part. How good did it feel when you did finally find it? =P Ah, yes...Of course. I feel relieved, but I am sorry that I wasted that much of my life on one stupid line of code...
  14. tHiSiSbOb

    Should I leave my laptop plugged in?

    I always turned off my computer and unplugged it with bad lightning storms. Now I have a good UPS, so I tend not to worry about it. If these things concern you, you could look into one. For a laptop, they wouldn't be too expensive. Mine cost 200 USD, but it is supporting a 700 (Maybe 750...?) Watt PSU.
  15. tHiSiSbOb

    Ah...the joys of debugging.

    I just spent the last 3 or 4 hours trying to spot a single bug. Finally, I got it. Of course, as is most often the case, the problem was resolved with a single line of code. Programming can be so frustrating sometimes...Comment!
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!