Search:

Type: Posts; User: MK27

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    7
    Views
    947

    Hi James, When you cross-post a question...

    Hi James,

    When you cross-post a question (i.e., post it to multiple forums), say so and include links to the other posts. Otherwise (and I promise there are multiple users here that also...
  2. Replies
    22
    Views
    3,455

    Yes, I realize my premise is not very startling. ...

    Yes, I realize my premise is not very startling. But: while I also know practically no one will bother to read this, millions will still sit and watch the same uncritical tripe over and over again...
  3. Replies
    5
    Views
    1,015

    I'm not a PHP fan, but I've done some work with a...

    I'm not a PHP fan, but I've done some work with a mediawiki based site (the software that runs Wikipedia), which mediawiki/Wikipedia is written in PHP and uses MySQL, and that involves quite a bit...
  4. Replies
    22
    Views
    3,455

    Whew! Just finished my SE exam :) And thot I'd...

    Whew! Just finished my SE exam :)

    And thot I'd take a few minutes to return to this, lol, since this is a great example of something I thought most people around here were too smart to fall for...
  5. Replies
    5
    Views
    7,591

    I think that will be a little awkward, actually. ...

    I think that will be a little awkward, actually. What you have now is very clear; if it works, just leave it that way. Why do you think using the return value would represent an improvement?
  6. Replies
    1
    Views
    1,075

    It shouldn't take you that long; all you need is...

    It shouldn't take you that long; all you need is something that takes an address and port on the command line, then reads from stdin so you can pipe data into it. In C, that's <50 lines, and it...
  7. Replies
    5
    Views
    1,789

    Presuming there are no pointers in the struct,...

    Presuming there are no pointers in the struct, there are two issues:

    1) The size of types such as int, which can vary. If you want to make sure the struct is portable, you need to use fixed size...
  8. Replies
    33
    Views
    5,052

    Don't get too excited! WM: fvwm 2.6.2, custom...

    Don't get too excited!
    WM: fvwm 2.6.2, custom theme and config
    DE: none
    Xfce Terminal 0.4.8
    GKrellM 2.3.5

    The distro is gentoo but that doesn't make any visible difference -- it looks exactly...
  9. Replies
    9
    Views
    1,331

    Right, because: If every line contains the...

    Right, because:



    If every line contains the pattern, grep will just output the entire file. Of course, you would notice this if you simply tried it on the command line ;). Fortunately:


    ...
  10. Replies
    9
    Views
    1,331

    It is in the sense that perl is standard most...

    It is in the sense that perl is standard most (but not all) places bash is standard. It isn't in the sense that some people might call it heavy-handed.

    This is a fairly easy thing to do if you...
  11. Replies
    1
    Views
    1,188

    You know, there is an (extremely active) kernel...

    You know, there is an (extremely active) kernel mailing list, and there is a very very good chance someone there knows the answer to this question.

    The linux-kernel mailing list FAQ

    Just...
  12. Replies
    9
    Views
    1,183

    Since you're interested in stuff like that, maybe...

    Since you're interested in stuff like that, maybe the question you should be asking is "how can I benchmark small sections of code"?

    WRT this particular issue though, I think unless you find some...
  13. Replies
    22
    Views
    3,455

    Now that is nuts. Don't feel sorry for the...

    Now that is nuts. Don't feel sorry for the monster's friends, feel sorry for the guy who got his face chewed off. Think about who he gets to walk around as for the rest of his life.

    You are...
  14. Replies
    22
    Views
    3,455

    Boo. Absolute worst kind of limpid mumbo-jumbo...

    Boo. Absolute worst kind of limpid mumbo-jumbo BS. Anyone who takes this kind of analysis seriously must be on drugs ;)

    There are some very bad people in the world, and they occasionally do very...
  15. Replies
    31
    Views
    2,996

    I think that was pretty clear, maybe using...

    I think that was pretty clear, maybe using something like "currently recognizable quantum mechanical matter" might have been a better term than atomic.

    The point in the big bang I am referring to...
  16. Replies
    17
    Views
    10,737

    The problem is that in the reader, you are...

    The problem is that in the reader, you are calling getline(), which clears the pipe that echo was waiting on, and then there is a basic "race condition" between the proceses: if the bash script...
  17. Replies
    17
    Views
    10,737

    Is it necessary to put the echo in the while loop...

    Is it necessary to put the echo in the while loop or could you concatenate all the data there instead then and echo it all at once afterward?
  18. Replies
    17
    Views
    10,737

    mkfifo myfifo.fifo # you don't have to do that if...

    mkfifo myfifo.fifo # you don't have to do that if it exists already
    echo "hello world" > myfifo.fifo


    The last line blocks, however; it won't return until another process reads from the pipe. ...
  19. Replies
    17
    Views
    10,737

    A path to a binary is a file path; a binary is a...

    A path to a binary is a file path; a binary is a file. These are the same thing (note, the script must have a shebang indicating the interpreter and be marked as an executable, which shell scripts...
  20. Replies
    17
    Views
    10,737

    Hey gang: #!/bin/bash Shebang. ...

    Hey gang:



    #!/bin/bash


    Shebang. Presuming the script starts with that (they usually do), you do not need to invoke "bash script.sh"; the shebang is not interpreted by the shell, it's...
  21. Replies
    31
    Views
    2,996

    My point was that it's atomic matter that is...

    Maybe I'm missing your point, but matter is quite commonly considered as waves, in duality with particles.[/quote]

    My point was that it's atomic matter that is considered as waves and particles...
  22. Replies
    15
    Views
    5,979

    Hmm, I built gcc 4.7 a while ago on a dual core...

    Hmm, I built gcc 4.7 a while ago on a dual core laptop and it couldn't have taken much more than an hour, I think, if that, including the standard libraries. For sure kernel builds on a contemporary...
  23. Replies
    31
    Views
    2,996

    :D What multi-disciplinary madness have I been...

    :D What multi-disciplinary madness have I been missing?!??



    I agree that the "existence of everything" is not observability, but it also does not define the present any more than a warehouse...
  24. Replies
    4
    Views
    1,592

    I am a big perl user, and I'll admit right off...

    I am a big perl user, and I'll admit right off there is very little chance I'd be interested because I'm already mostly happy with perl OOP, but I'll try to comment without just completely poo-pooing...
  25. Replies
    6
    Views
    1,308

    There's a few things you don't understand here. ...

    There's a few things you don't understand here.

    Strings are mutable in C, and while strcat() does return a pointer to the "new" string, it also adds a to b:



    char a[256] = "hello ",
    b[]...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4