Search:

Type: Posts; User: jeffcobb

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,162

    I thought it might have something to do with...

    I thought it might have something to do with network shares like //mybox but it is more-likely a bug in bash. Hurts nothing, just made me curious....thanks for the braincells on this guys...
  2. Replies
    4
    Views
    1,162

    Where is '//'?

    This is a dumb question that I thought of when working whilst tired and more than once when meaning to 'cd ..' (go up one directory) did a 'cd //'. Where exactly does that leave you? pwd just gives...
  3. Replies
    22
    Views
    2,451

    Some folks I work with would argue that the...

    Some folks I work with would argue that the 'maybe' is superfluous and adds nothing to the code; I know this b/c I am always doing that (boiling down large, complex (IMHO needlessly so) if()...
  4. Replies
    3
    Views
    1,154

    actually if you are on a non-Microsoft platform,...

    actually if you are on a non-Microsoft platform, optarg is part of getopt as exemplified here. In any event you can't just assign it to a string and go for it. Here is how to use it (notice some bits...
  5. Huh? You want to open a port....what what? a...

    Huh? You want to open a port....what what? a program? If so, you have to change the program to do it. Since you are on windows I don't know how else to do it. On linux you can treat sockets like...
  6. Replies
    10
    Views
    4,495

    I hate interview coding tests where you have to...

    I hate interview coding tests where you have to code in pencil. Ugh. You have my sympathies.
  7. Replies
    4
    Views
    1,139

    You do know this is the Linux subforum right??...

    You do know this is the Linux subforum right?? Like VB doesn't run here....so how did you expect it to work?
  8. Replies
    18
    Views
    1,801

    I only have two problems with C#: 1. It is one...

    I only have two problems with C#:
    1. It is one platform only (for all practical purposes; mono is not even close to being useful) and
    2. It is not a standard language. Yes MS BS-ed their way...
  9. Replies
    18
    Views
    1,801

    Actually in the interest of accuracy, the "linux...

    Actually in the interest of accuracy, the "linux desktop" is a misnomer; it would be fairer to say the GNOME desktop is C/GTK; KDE and others are all C++ oriented and that is not whining, just the...
  10. Replies
    18
    Views
    1,801

    BTW I would like to share one way that console...

    BTW I would like to share one way that console apps can be better than GUI versions of the same thing. As noted in another thread I am in the process of restoring some 5 years of ripped DVDs to a...
  11. Replies
    18
    Views
    1,801

    Look into wxWidgets; I have used it to make GUI...

    Look into wxWidgets; I have used it to make GUI apps on Linux that also ran on Mac, Winders and a few others. It is C++ though. If you want C and want cross-platform, I think GTK is going to be your...
  12. Thread: D'oh

    by jeffcobb
    Replies
    4
    Views
    1,160

    Well it might have been a longer blink;it was one...

    Well it might have been a longer blink;it was one of those US Robotics NAS units that sports a web interface.I was in the process of adding a new user to the access list and decided that it was time...
  13. On Linux, Umbrello does a wonderful job of that...

    On Linux, Umbrello does a wonderful job of that bidirectionally (UML to code and code to UML.Umbrello UML Modeller Screen Shots
  14. Replies
    17
    Views
    7,805

    Just to avoid the copy when passing a string to a...

    Just to avoid the copy when passing a string to a function, generally we create everything as a std::string and then set up functions to take it by reference:


    void...
  15. Thread: D'oh

    by jeffcobb
    Replies
    4
    Views
    1,160

    D'oh

    Rule #1: never admin a NAS when overtired.

    I just wiped out 2 terabytes of data in the blink of an eye. Took 5 years to accumulate. Since I had to put off getting backup storage for this until I...
  16. Replies
    8
    Views
    2,988

    This: Semaphores in Linux - O'Reilly Media...

    This: Semaphores in Linux - O'Reilly Media might help.
  17. Replies
    93
    Views
    7,889

    This will probably tick off the purists and the...

    This will probably tick off the purists and the OP but the simple truth is this: folks who think that "using such and such dangerous routine because (pick one of "its just a throw-away project", "its...
  18. Replies
    10
    Views
    5,793

    Depending on your needs mate, check out Htop...

    Depending on your needs mate, check out Htop which I like a lot more than Top....
  19. OK...the answer is...42.42 (number) - Wikipedia,...

    OK...the answer is...42.42 (number) - Wikipedia, the free encyclopedia
  20. Yeah what MK said is correct: most of the time I...

    Yeah what MK said is correct: most of the time I just run cmake . (in the directory of the source/CMakeLists.txt file). Read the docs; there is also a decent book available for it from Amazon amongst...
  21. Replies
    17
    Views
    9,250

    Still not seeing any real solution for the...

    Still not seeing any real solution for the original question; everyone keeps falling back on the one thing I cannot do (which I have made abundantly clear). So there is no way to catch this...
  22. CMake works pretty well across platforms,...

    CMake works pretty well across platforms, Bakefile *can* as long as you are using a supported platform. Regular make, VS projects et all are just good on the platforms they come on. For example...
  23. Not to go all George Carlin on ya but you have...

    Not to go all George Carlin on ya but you have not tried *everything* because you know there is an answer out there that you have not tried yet so...
  24. Replies
    25
    Views
    15,966

    Actually we all screwed the pooch on this one,...

    Actually we all screwed the pooch on this one, including you Quzah. Before you hit the reply button in indignation, reread what the OP wrote:


    IOW he wanted a second array, not a shifted version...
  25. Sure, never meant to imply otherwise; just that...

    Sure, never meant to imply otherwise; just that using overloaded functions on a struct allowed for code like:


    CVariant A, B, C;
    A = 42;
    B = "Hello";
    C = MyClass;
    // etc
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4