Search results

  1. I

    Need IDE recommendations

    unless your company's willing to pay thousands to tens of thousands (assuming a small team), myeclipse is your best bet. you can also try checking out bea workshop for jsp.
  2. I

    Need IDE recommendations

    given that you're not using any frameworks (i.e., struts or jsf), there's no point in spending money on any software. use wtp and aptana (http://www.aptana.com).. that should satisfy all your needs.
  3. I

    STARCRAFT 2 *POLL*

    as hamburgerboy said, their next game is gonna be starcraft 2. http://au.pc.ign.com/articles/788/788627p1.html
  4. I

    microsoft visual c++ error - roxio

    next time, try using google. http://kb.roxio.com/content/kb/Creator/000115CR
  5. I

    Random VIN generator (C++)

    the rand() function is located in cstdlib (stdlib.h for c). that and std::string are pretty much the only things you'll need. to get a digit do rand() % 10 + '0'. to get a letter do rand() % 26 + 'A'. obviously you'll need to cast the result to char. as for generating the actual string...
  6. I

    Ac3 software encoder?

    you can't. the only way to derive 5.1 channels from 2.0 channels is by using a matrix decoder of some type (i.e., dolby pro-logic ii) and using the output as the input to the ac3 encoder. if your main speakers can't handle the lower frequency range, then set them to "small" or something...
  7. I

    Ac3 software encoder?

    that's not going to change when you encode to ac3. if the source material is 2 channels, the ac3 stream will be 2 channels (not 2.1). what kind of receiver do you have?
  8. I

    Ac3 software encoder?

    why..? you'll still have the same number of channels as is encoded in the mp3.. only now you've gone from one lossy format to another. is there any particular reason you can't use pcm?
  9. I

    Audio Program?

    mixing/editing -- wavelab creation -- cubase, protools, and logic (mac only) none of these are by any means cheap and offer a lot more features than is needed by an amateur. for mixing/editing.. if you want a multi-track editor, a cheaper alternative is audition.. if you don't, there's...
  10. I

    Opamp with diode and capacitor

    the purpose of the diode, from what i can understand, is to reset the integrator, as mark stated. when the diode is "off", the circuit acts as an integrator.. when it's "on", the output will be proportional to the log of the input.. the output will then be less than the input, causing the...
  11. I

    Anyone using Xbox 360 on their PC montior?

    the image would actually be compressed, not stretched.. a non-widescreen monitor is typically 4:3 (the traditional tv screen aspect ratio), not 16:10. hence, resolutions that are multiples of that ratio (i.e., 640x480, 800x600, 1280x960, etc...).
  12. I

    What DivX decoder do you use?

    check out xvid.. it's the open source equivalent of divx and is the library used by ffdshow to decode divx files.
  13. I

    Eclipse users: I have simple questions

    you can also have it refresh automatically, so you don't need to refresh on every change.. go to preferences -> general -> workspace and check "Refresh automatically"
  14. I

    C++ linker error help

    post the code.. also, what arguments are you passing to the compiler? edit: you are including sample.h in sample.cpp, right?
  15. I

    Java question from programming novice

    oh god i feel sorry for you.. weiss' books on algorithms are quite possibly the worst books to learn from. if i were you, i'd seriously consider buying a different book.
  16. I

    do you guys normalize your mp3s?

    not really.. it's what happens when the amplitude of a wave is greater than the limitations of the system. take, for instance, a sine wave.. if the entire signal can't be reproduced, the peaks will be flattened (clipped). they're both the same essentially.. the latter occurs when a sample...
  17. I

    MSXML 4.0 Not Installing Extent of Files

    msxml4a.dll isn't installed on windows 2000/xp systems. what program is giving you the error message? do you get any errors during the installation?
  18. I

    Total fog ducking from Sun

    it's already in the process.. they've open sourced the jvm (hotspot) and the compiler. http://openjdk.dev.java.net
  19. I

    How to delete a service?

    in command prompt: sc delete <service_name>
  20. I

    Arrggh... Issues installed Jakarta Tomcat

    it works fine for me.. my guess is that it's a problem with the windows scm. if you haven't already, try starting it manually.. the archived version includes the startup and shutdown scripts.
  21. I

    Issue with Firefox 1.5.0.9 and Myspace

    so? how does that help solve his problem? try disabling adblock.
  22. I

    C Programmers, please HELP with small program

    'if(fabs(PI - i/j) < 1.0e-7)' is wrong.. he needs to compare the ratio of the fraction and pi such that it's 1 +/- 1.0e-7. otherwise, he won't get a result until the limits are in the billions. do.. 'if(fabs(1.0 - (PI / (i / j))) < 1.0e-7)' instead. also, start the loops at 1, not 0...
  23. I

    Would like to learn more about cryptography

    if you want to learn about the kinds of cryptographic algorithms (symmetric/asymmetric), public key cryptography, and things of that nature.. get schneier's book. if you want to learn about the fundamental concepts of cryptography (zero-knowledge proof systems, pseudo-random number...
  24. I

    what is the difference between IBM JVM and Sun JVM?

    judging from your posts, i think it's safe to say that you may know a little bit more about java than i do.. and by little i mean a lot.
  25. I

    C++ problem

    Vector :: print has a const specifier, DataStructure :: print doesn't. btw.. mutators should be the only methods that don't have a const specifier. accessors should be const.
  26. I

    what is the difference between IBM JVM and Sun JVM?

    ibm has a license for the specification, not the jvm itself.. same goes for bea. and they (ibm) have an anti-competition clause with sun for certain OS', including windows.. which is why you can download a standalone jre/jdk for nix variants, but not windows. in terms of performance, most...
  27. I

    x86 asm -> inline C++ asm?

    void bs(void * array, unsigned int len) { __asm { ; insert assembly here } } the code only allows sorting unsigned integers.. if you want to sort integers, change the "jb @@" instruction to "jl @@" anyways, it doesn't really seem like you're trying to learn assembly, and if...
  28. I

    C++ help needed

    where's BTNode declared? if it's declared in Tree.. you have to do BTNode::Tree * Tree::contains(BTNode * node, int k) edit: whoops.. i meant Tree::BTNode * not BTNode::Tree *..
  29. I

    Text Editor(s) &mdash; which one do you use?

    ..but nobody mentioned scite. anyways, if u like scite u should also try out notepad++.. it uses the same editor component (scintilla). only thing i don't like about either of them is the regex support, which is too weak for my likings.
  30. I

    Text Editor(s) &mdash; which one do you use?

    i use several editors depending on what i'm editing.. emacs (code), notepad++ (text), and xvi (hex).
  31. I

    why does ff take 118mb of my ram?

    it's a simple and honest question, why does it use so much? 43st pretty much answered that. it's funny how once 43st made the personal attack, everybody else jumped in assuming that it was anything other than a question of why. if one day notepad ends up taking 100 mb of ram, i doubt many of...
  32. I

    C++ Programmers...

    can you give some examples where you feel composition is used incorrectly? most of what i've seen is having a class inherit from another simply because they provide similar functionality.. not because the tighter coupling benefited the design. the concept is simple, but using them opens up...
  33. I

    Calling a windows DLL from linux

    you can write a pe to elf converter or use a kernel pe loader. the first one would be a pain in the ... to write and would modify the contents of the binary. the latter would require each node in the cluster have the loader and may require the kernel be rebuilt, which probably won't sit well...
  34. I

    C++ Programmers...

    polymorphism without function overloading is polymorphism. it has nothing to do with inheritance, where a virtual method is overriden by a subclass. thats the kind of mentality that has led to its overuse. composition can be a more practical solution. if you're gonna complain about C++'s...
  35. I

    java noob question: Is it possible to actually compile a java program?

    i wouldn't say less advanced optimizations.. rather a lack of. gcj is slow at runtime checks (array boundary, dynamic type, etc...). it doesn't compile everything.. with an adaptive compiler, it runs the code through the interpreter, and profiles the code, looking for execution hotspots...
  36. I

    java noob question: Is it possible to actually compile a java program?

    no it doesn't. but it's significantly slower than running with the JVM. if you're willing to pay, there's excelsior jet.. which costs $1200 for the standard edition, but they also have an academic license for $100, if you qualify. you have to understand the jvm and it's heap to be able to...
  37. I

    Tracing/Profiling in Java?

    there's also eclipse tptp, netbeans, quantify, devpartner, and yourkit. tptp and netbeans are both open source.. netbeans has a much more user-friendly profiler. quantify and devpartner are expensive. yourkit and jprofiler target the same marktet and, for the most part, have the same...
  38. I

    Character conversion in .NET

    why are you encoding it if it's not a part of the url? i'm guessing Server.UrlDecode perform uri decoding.. uri's are encoded in utf-8, characters that take up 2 bytes can't be encoded/decoded. Server.HtmlDecode should only decode html escape characters (i.e., & = &amp;). have u tried...
  39. I

    XP Pro SP2 Zip file size limit

    yea.. zipfldr.dll uses a 32-bit signed value for size.. limiting it to a max of 2.0 gb. you can't increase it.. use winrar, winzip, or 7-zip instead.
  40. I

    PHP or other web langs...

    doesn't have to be div.. with tables, you can do.. var table = document.getElementById("table"); if(table.style.display == 'none') table.style.display = "inline"; else table.style.display = "none"; with div, you use style.visiblity instead with 'hidden' and 'visible'