Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    13
    Views
    681

    Re: Multi-threading change in 9.10?

    Ah, legacy code. I understand now (only too well).
  2. Replies
    26
    Views
    1,398

    [SOLVED] Re: Is Java really faster than gcc?

    What's sauce for the goose is sauce for the gander. There are good instruction sets and bad instruction sets. All well-written compilers and interpreters will benefit from them equally.

    Not that...
  3. Replies
    13
    Views
    681

    Re: Multi-threading change in 9.10?

    The queue is locked while a request is being processed? The traditional design is to lock the queue while an item is being added or removed. As soon as an item is removed, the lock is released and...
  4. Replies
    2
    Views
    857

    Re: Ubuntu C++ ogg sound

    The quick 'n' dirty way is to fork and exec a program like /usr/bin/paplay to play the file for you.

    If you prefer to do it the hard way (and have more control), take a look at:
    ...
  5. Replies
    1
    Views
    498

    Re: variable size larger than 2gb in gfortran

    The following page says that gfortran accepts all the gcc command line options. So if you found a command line option to enable large addresses in gcc, chances are it should also work for gfortran....
  6. Replies
    3
    Views
    1,206

    Re: Good Python 3 intermediate book suggestions?

    Personally, I just use the Python documentation web site (yeah, I know it's not a book):

    http://docs.python.org/py3k/

    But over on the left there is a link to a list of books which includes this...
  7. Replies
    13
    Views
    777

    Re: Python: Bizarre Pet Tricks with XP.

    My hunch is it's a problem with the computer, not Python or its IDE. If you can compile a C or C++ program (not C#), try calling this function to see if it crashes the computer:
    ...
  8. Replies
    6
    Views
    1,500

    [ubuntu] Re: Updated nVidia drivers cause sound issues.

    Hmmmm. I hadn't played any music since installing 10.04 a couple days ago. Saw your post, gave it a try. I don't think my issues are as severe as yours but I'm getting occasional skips which I...
  9. Replies
    3
    Views
    4,815

    Re: python export/import file

    The most basic way to read and write files is introduced in the tutorial. Click the link corresponding to the version of Python you are using.

    2.x: http://docs.python.org/tutorial/inputoutput.html...
  10. [ubuntu] Re: rhythmbox: editing track name changes file size drastically

    I installed the vorbis-tools package and ran ogginfo on the original and first edit copies of the file. The results suggest to me that the audio was lossily reencoded when I changed the track name:
    ...
  11. [ubuntu] rhythmbox: editing track name changes file size drastically

    I changed the case of one letter ('N' to 'n') in a track name using Rhythmbox and the result is a file which is 7727 bytes smaller than the original (I saved a copy of the original file before...
  12. Replies
    7
    Views
    3,548

    Re: getClass() vs. Instanceof in equals()

    In my humble, non-academic opinion, having an instance of a superclass decide whether or not it is equal to an instance of a subclass is disgusting beyond belief. If you are going to do that kind of...
  13. Re: Improve NetBeans performance OR alternative IDE?

    Wow, the default mx for mine is 401m. I wonder why it was set so low for yours. Garbage collection thrash-o-rama!

    To change this "permanently", you can edit etc/netbeans.conf in the NetBeans...
  14. Re: Improve NetBeans performance OR alternative IDE?

    Works fine on my notebook (2 years old, 2 GB RAM). Be sure to close projects you are no longer working on (right click on them in the projects list and click close). Every project you have there is...
  15. Replies
    9
    Views
    470

    [SOLVED] Re: Need Help With Java

    I need more detail to help you. What are you trying to do? Which JRE and JDK did you install, Sun or OpenJDK?
  16. Re: Python input statements from the command line...

    Still works. Someone with more experience than I have with Python will probably know what's wrong.


    $ cat intest.py
    import re

    path = input("Enter the path to the file")
    expr = input("Enter...
  17. Re: Python input statements from the command line...

    I cannot reproduce the problem. Here's what I tried:



    $ python3.1 intest.py
    Enter the path to the file:/var/log/daemon.log
    /var/log/daemon.log
    $ cat intest.py
    path = input("Enter the path...
  18. Replies
    8
    Views
    2,780

    Re: Java Timestamp Question

    EDIT: I've deleted my original post because I realized I was too wrapped up with the meaning of combining the milliseconds and nanoseconds. In reality (which is not where I was), all that is needed...
  19. Replies
    8
    Views
    2,780

    Re: Java Timestamp Question

    What doesn't make sense is that that nanoseconds are greater than 999,999. That's what tipped me off that they weren't correlated with the milliseconds. If the nanoseconds were in the range of 0 to...
  20. Replies
    12
    Views
    784

    Re: Choosing a new language

    Definitely Python. The only question is version 2 or 3. Personally, I use 3 but I think I'm the only person who does. :D
  21. Replies
    8
    Views
    2,780

    Re: Java Timestamp Question

    How are you getting the nanoseconds? If you are getting them from System.nanoTime(), they are not in any way whatsoever correlated with System.currentTimeMillis(). Adding them together is completely...
  22. [SOLVED] Re: [Java] code error, correct code but don't work.

    You cannot do anything time-consuming (whether doing a large amount of computation, blocking on I/O, or simply sleeping) on the event dispatch thread. Each time Swing lets you know an event has...
  23. Replies
    4
    Views
    384

    Re: [c++] writing permissions?

    This may be a stupid question but does the directory "Dump" exist?
  24. [SOLVED] Re: [Java] code error, correct code but don't work.

    OK, about setVar, please explain what's not working. Is the text on the window not being updated?

    In a GUI program (whether it's Java Swing or any other GUI programming environment), your code...
  25. [SOLVED] Re: [Java] code error, correct code but don't work.

    One problem is with this line:



    if( error.toString()!="" ){


    That compares references, not the contents of the strings. To compare the contents of the strings, you need to change the line...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4