Search:

Type: Posts; User: babyhuey; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    13,564

    [ubuntu] Re: KVM Spice performance

    Make sure you are using the QXL video adapter in virt-manager. Performance will be pretty terrible with any of the others. With QXL 2D performance should be comparable to virtualbox or vmware....
  2. Replies
    0
    Views
    2,210

    force architecture with apt-get/aptitude

    Is there a way to force apt-get or aptitude to install a specific architecture? For instance, I prefer to run a 32bit browser on my 64 bit Ubuntu install. However, I currently have to find a debian...
  3. Replies
    891
    Views
    143,935

    Re: ATi Open drivers are coming of age... :)

    I can't for the life of me get KMS running on my 10.04 installation.
    I have installed the lastest mainline drm-next from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/
    And I have...
  4. Re: What Android Applications do you have installed on your Android Phone?

    A couple of apps I haven't seen anyone mention that I couldn't live without are:
    Home++ - A homescreen replacement that is faster and much smoother than the default(Nexus One). It also has scroll...
  5. Replies
    11
    Views
    8,124

    [ubuntu] Re: HP Envy 15 - too new for Ubuntu

    akos.maroy posted a bug on launchpad for the 2nd Gen Envy 15 users who can't shutdown or suspend their system:
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/557072

    If you suffer from this...
  6. Replies
    11
    Views
    8,124

    [ubuntu] Re: HP Envy 15 - too new for Ubuntu

    I'm not really sure where to report the bug since there are no errors. On tip of that, the only difference between the 1st gen, which has working suspend/shutdown, is Arrandale and the ATI 5830.
    As...
  7. Replies
    11
    Views
    8,124

    [ubuntu] Re: HP Envy 15 - too new for Ubuntu

    I have the same problems as already mentioned with my 2nd gen Envy 15. I have no suspend/resume and the laptop will not shutdown.
    I've tried the OSS ATI driver with/without KMS, fglrx, and vesa...
  8. Replies
    2
    Views
    303

    Re: Patch driver in kernel

    Thanks for the quick reply!
  9. Replies
    2
    Views
    303

    Patch driver in kernel

    I have a Synaptics Clickpad that is not well supported in the current kernel. However, there exists a patch to get a few things working in the interim. I originally planned to grab the latest kernel...
  10. Re: C++ how does sizeof now how big a char string[14] is?

    An automatic array such as char string[14] can be easily calculated because both number of and the size of characters on your platform are known.
    However, if the array was dynamic it would be a...
  11. Replies
    10
    Views
    30,180

    Re: How to use kernel-ppa?

    Do those kernels in the ppa have standard Ubuntu patches applied or are they vanilla?
  12. Re: converting beetween char* strings and integers (c++)

    Off topic but...by convention you want to return 1 if there is an error and 0 if everything ran okay. I would also recommend using the " exit(1) " function to end the program with an error instead of...
  13. Thread: C++ Vector

    by babyhuey
    Replies
    6
    Views
    594

    Re: C++ Vector

    As his code is now it would put cin into a fail state if he entered more than one char at a time. Since the vector can only store 1 char at a given index the remaining characters would go to the...
  14. Thread: C++ Vector

    by babyhuey
    Replies
    6
    Views
    594

    Re: C++ Vector

    Wouldn't "vector<char>(max)" just create single character "arrays"?


    My suggestion would be to make vectors of type string


    #include<iostream>
    #include<vector>
    #include<string>
  15. Replies
    11
    Views
    1,463

    Resource for understanding recursion

    Anyone know of a good resource to learn recursion? I can't seem to fully get my head around it. I can follow the flow of execution of say...recursively printing binary search tree nodes in order but...
  16. Re: [SOLVED] [Python] Divide numbers without rounding them automatically?

    I don't really see the problem here. I would think the majority of the time people want to use floating point division. Seems logical that the default ' / ' operator would perform floating point and...
  17. Replies
    59
    Views
    6,351

    [ubuntu] Re: New Serval Performance?

    For me its gaming. Honestly the 9300m is good for pretty much everything else.
  18. Replies
    59
    Views
    6,351

    [ubuntu] Re: New Serval Performance?

    Bah, great computer but not what I was looking for.
    I really want something in between Pangolin and Serval. Pangolin would be perfect if it had a 9600 GT.
  19. Replies
    11
    Views
    14,413

    Re: [C++] Flushing cin buffer

    Well, after coming back today it worked just fine. Apparently something was being wonky until I did a reboot. I ended up making a generic function sense it was going to be called many times.

    ...
  20. Replies
    11
    Views
    14,413

    Re: [C++] Flushing cin buffer

    In an attempt to streamline this process I tried this:


    int number = 0;
    cin >> number;
    while(cin.fail()){
    cin.clear();
    cin.ignore(1024, '\n');
    cin >> number;
    }
  21. Replies
    11
    Views
    14,413

    Re: [C++] Flushing cin buffer

    Just found this out myself and came back here to post it :lolflag:
  22. Replies
    11
    Views
    14,413

    Re: [C++] Flushing cin buffer

    Thanks, that last one works. Though I swear I tried that almost exactly. :)
  23. Replies
    11
    Views
    14,413

    Re: [C++] Flushing cin buffer

    I don't think its that simple.(though it should be)
    cin.flush() only flushes the failed state flag, and returns it to true.

    Nevermind, I had cin.flush() and cin.clear() mixed up.
    cin.flush()...
  24. Replies
    11
    Views
    14,413

    [C++] Flushing cin buffer

    What is the best way to flush cin after it fails?

    For example:


    int variable;
    cin >> variable;
    ...
  25. Replies
    16
    Views
    6,956

    Re: Need a native C# compiler

    I looked at Singularity a while back. It is definitely intriguing.
Results 1 to 25 of 57
Page 1 of 3 1 2 3