Find the answer to your Linux question:

Search:

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

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    7,613

    I wasn't entirely clear on your situation: you...

    I wasn't entirely clear on your situation: you are trying to run GUI programs on a server, which is headless, yes?

    I assume you're logging into your server via SSH; if so, search for "X...
  2. Thread: Threading

    by Javasnob
    Replies
    7
    Views
    1,194

    You need to provide the compiler option -lpthread...

    You need to provide the compiler option -lpthread to let the compiler know where to find the pthread object code.
  3. Replies
    1
    Views
    996

    Could you post your program source, please?

    Could you post your program source, please?
  4. Replies
    5
    Views
    996

    Hello there, A lot of people would recommend...

    Hello there,

    A lot of people would recommend against learning Perl, and even though I like Perl and use it regularly, I will agree with them. Again, I like Perl, but I don't believe it's a good...
  5. Replies
    1
    Views
    10,018

    .mo files are sort of a 'compiled' version of .po...

    .mo files are sort of a 'compiled' version of .po files, so you need to get your hands on those. I assume they're available in the source distribution; try grabbing it and looking for them.
  6. That shouldn't be a problem, but just a point of...

    That shouldn't be a problem, but just a point of style: You shouldn't use the diamond glob operator; it's much better/clearer to use glob().
  7. Replies
    2
    Views
    811

    While I think Mono with an appropriately...

    While I think Mono with an appropriately configured HTTP server can host ASP.Net applications, I'm pretty sure there's no VB.Net compiler for Mono, so any code you used would have to be compiled on...
  8. You could do this: my $pat =...

    You could do this:




    my $pat = qr/\Q$string\E/;
    my $fh;
    open $fh, $pathToFile or die "Unable to open $pathToFile: $!\n";

    while(<$fh>) {
  9. Replies
    10
    Views
    1,434

    It is unnecessary. $row->[0] is the preferred...

    It is unnecessary. $row->[0] is the preferred syntax.
  10. Replies
    10
    Views
    1,434

    $row is an array reference. $row[0] would refer...

    $row is an array reference. $row[0] would refer to the first element of @row, which we are not considering here. @$row[0] refers to a slice of one element (the first element) of the array...
  11. Replies
    10
    Views
    1,434

    $var is a hash reference, and this code assigns...

    $var is a hash reference, and this code assigns "" to the reference with the key set to the contents of the first column of the returned row from the database. So if your table looks like this:
    ...
  12. Replies
    1
    Views
    3,642

    Have you tried debugging with the --sync option...

    Have you tried debugging with the --sync option on, as suggested by the message? Also, seeing some source would really help us help you.

    Thanks!
  13. Replies
    1
    Views
    664

    If you like graphical toolkits, check out GTK or...

    If you like graphical toolkits, check out GTK or Qt, and if you're just writing a GUI frontend for a C program already written, I'd recommend writing it in a high-level language like Perl, Python,...
  14. Replies
    2
    Views
    894

    Xlib Programming Manual (O'Reilly & Associates,...

    Xlib Programming Manual (O'Reilly & Associates, Inc.) is what I've been using.

    Just curious, what novel features do you plan to offer with your WM? There are already a lot of other window...
  15. Replies
    2
    Views
    9,425

    Much obliged. The sigaction hint was exactly...

    Much obliged. The sigaction hint was exactly what I needed. I guess I'll have to read up on that...
  16. Replies
    2
    Views
    9,425

    Interrupting a blocking read()

    Hello everyone,

    I was wondering if anyone knows of a way to get a process to stopping blocking on a read() or similar call. Here's my example:



    #include <signal.h>
    #include <stdio.h>...
  17. Did you provide the -lpthread option on the...

    Did you provide the -lpthread option on the command line?
  18. Replies
    29
    Views
    2,775

    Poll: I liked apt the minute I started using it, but...

    I liked apt the minute I started using it, but Debian didn't appeal to me. Then I switched to Gentoo, and discovered Portage. Portage, I think, is really well done. It's clean and it's...
  19. Replies
    5
    Views
    1,019

    Your SERVERDB.* is enclosed by a ", then a '. ...

    Your SERVERDB.* is enclosed by a ", then a '. You probably meant to do this:



    find . -name "$SERVERDB.*" +atime -100 ...


    Here's a problem, though...$SERVERDB.* will expand to all files...
  20. Replies
    2
    Views
    1,674

    The .xsession file doesn't exist until you create...

    The .xsession file doesn't exist until you create it. You should create it in your home directory.
  21. Replies
    1
    Views
    692

    Nevermind; I think I figured out an efficient,...

    Nevermind; I think I figured out an efficient, non-confusing way to accomplish my goal.
  22. Replies
    1
    Views
    692

    Achieving internationalization

    Hello everyone,

    A couple of friends and I are working on a program, and we're in the planning stages right now. We've decided that we'd like the program to be able to use multiple languages, and...
  23. I believe ifplugd is what you're looking for. ...

    I believe ifplugd is what you're looking for. It's a daemon that configures a device on cable plug in.
  24. Replies
    4
    Views
    52,408

    sleep is defined in stdlib.h. Correct me if I'm...

    sleep is defined in stdlib.h. Correct me if I'm wrong, but gcc (and other C compilers) automatically includes certain headers like stdio and stdlib, whereas C++ compilers don't. Try adding...
  25. Replies
    10
    Views
    1,424

    Excellent. What server are you using? Apache? ...

    Excellent. What server are you using? Apache? Lighttpd?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4