Search results

  1. R

    Unix/Linux command to display time

    BTW, the usual solution to time skew problems such as you describe is to have the machines in question run NTP.
  2. R

    my E: drive has gone missing !!???

    Back up the data on that drive immediately, if you haven't done so yet.
  3. R

    What's a good free FTP client?

    Use putty instead. Free for everyone.
  4. R

    Longest OS install you kept?

    My server has been running NetBSD 1.6.X since Oct 2002. We'll be replacing it with new hardware running 3.0 one of these days . . . .
  5. R

    Is it OK to use openNIC's DNS servers?

    Install a dns resolver like djb's dnscache on a unix machine on your LAN. The ping time will be great. :)
  6. R

    which OS

    For nethack, NetBSD is great.
  7. R

    logging aim conversations?

    gaim. :)
  8. R

    C++ vs. Java

    This is the sort of sloppy thinking that results from using sloppy terms like "C/C++". Once again: there is no language "C/C++". There is C, and there is C++, each of which have variations.
  9. R

    _gvimrc

    set modelines=0 set timeoutlen=100 set showmatch set report=1 set showcmd set ttyscroll=0 set backspace=2 set incsearch set laststatus=2 set statusline=\ %n\ %t%m%r%=L%l\ C%c%V\ \ %P\ ... and then map and imap to your heart's content. Edit: I use a superset of these setting...
  10. R

    The C Programming Language (2nd Edition)

    Another great C++ book ( not intro level, though ) is "C++ Strategies and Tactics" by Robert Murray.
  11. R

    The C Programming Language (2nd Edition)

    C/C++ is not a language. C is a language (with many variants). C++ is a language (with even more variants), which is mostly backward compatible with C. The book above is a book on C. It's a fine book, as long as you already know how to program.
  12. R

    C++ vs. Java

    For sure. C++ is very complicated, and would make a very poor choice for a first language. Java is not as complicated, but is pretty brain-dead. Python would be fine. After getting comfortable with Python, when you're ready to start learning more about what the computer is actually...
  13. R

    games to kill time

    How about a deck of cards?
  14. R

    "Collaborative editing"

    A shared screen session. You can even split your view vertically so that each person has their own window, but can switch to others at will. The great thing about screen is that you get a shared terminal, which you can use to edit files, run other programs, etc...
  15. R

    Difference between these two programs?

    http://cr.yp.to/daemontools.html is pretty strange. And DJB's licensing is really unfriendly.
  16. R

    perl: script isn't printing to a file

    BTW: if you want die() to not include the line number, end the die message with a newline.
  17. R

    need help with SSH

    No, writing the shell scripts would be straightforward. And I think I misunderstood your needs, too -- if you just want to manually copy some files over every once in a while, you wouldn't need to do any scripting at all, just run rsync over ssh. The best part of learning cygwin tools is...
  18. R

    need help with SSH

    install cygwin, then set up a "scheduled task" within windows that kicks off a cygwin shell script that does an rsync over ssh.
  19. R

    Winzip 10 Released

    cygwin comes with zipping and unzipping tools.
  20. R

    FTP programming in C for linux...

    libcurl
  21. R

    sshd Cygwin service won't start properly

    cygwin sshd works fine for me.
  22. R

    64-bit linux anyone?

    NetBSD/amd64 works fine, though driver support for nvidia chipsets is poor because nvidia is evil. I'm happily running NetBSD/amd64 on an Asus A8V-D.
  23. R

    Programmers needing help

    Holy cow it's NACHOS! It's been a while (1998?) since I had that class, but it was super educational. Good luck, and I hope you enjoy spending 40 hours a week on a single class! Edit: Oh, and about the network programming. You can either use a portable library (like ACE or netxx) or the...
  24. R

    ssh question

    In conjunction with the rest of cygwin, sshd is very useful. My day job involves coding for Windows and Solaris, and I do my Windows development under zsh via openssh from my Solaris screen session. I very rarely need to use terminal server.
  25. R

    Just reformatted, which apps do I need?

    winamp, gaim, skype, and cygwin
  26. R

    Perl: Help debug my script!

    Actually, there's no real need to close either file, as they'll get closed automatically at the end of the program. Also, to the OP: congrats on starting in on learning Perl! It's super duper useful. I most often use it as a sort of ueber-sed. Check out what `perl -ple` and `perl -nle`...
  27. R

    Perl: Help debug my script!

    As for grep: The following works for me with NetBSD grep: `grep -Fx -f file1 file2 | sort | uniq -c` BTW: the Perl Cookbook is great for learning by example. "use strict" requires you to declare variables, rather than having undeclared variable default to global. Also, as oog said...
  28. R

    My clock is running too fast....what would cause that?

    Look up NTP. Even if you manage to reduce the drift you're seeing now, your PC will still keep lousy time compared to a quartz watch.
  29. R

    I'm seting up an older computer.

    Any free unix will be fine, just disable all the servers you don't need, and run a lightweight GUI setup (not GNOME or KDE). It would be a dog with Windows XP; the CPU isn't fast enough for it.
  30. R

    What do you think of the P180 w/ ninja?

    The top result from a google search for P180 ninja: http://www.silentpcreview.com/article251-page5.html
  31. R

    Perl: Help debug my script!

    I can't tell exactly what problem you're trying to solve (the above code looks rather strange), but it sounds like grep and/or sort would do it. BTW: when using variables in Perl code you don't have to put quotes around them, unless you're trying to build a bigger string by interpolating...
  32. R

    What browser do you use?

    Galeon 1.2
  33. R

    skype any good?

    skype is fine. I use it for PC to phone ("skypeout") and for PC to PC (free!). I haven't tried the phone to PC ("skypein") service. Sound quality and lag are better than a phone card.
  34. R

    GAIM Annoyance...

    I use gaim on NetBSD/amd64 and on MicroSoft Windows XP Professional all the time, and have never encountered this bug. And as far as gaim security problems go -- gaim has them all the time, what with all the various sloppily coded protocol libraries. Over the last several years that I've...
  35. R

    Synchronization software...

    rsync. If you're on MicroSoft, use the cygwin version. Or, if you need a GUI, you could use unison: http://www.cis.upenn.edu/~bcpierce/unison/
  36. R

    Recommendation for Simple in-office email App !!

    Using a real mail server on your LAN doesn't imply that the "outer world" will be able to actually send mail to you.
  37. R

    Recommendation for Simple in-office email App !!

    You might as well use a real mail server. You could set up cygwin with exim and uw-imap-imapd.
  38. R

    Backup methods.

    If you want to protect against house fires, store the backup drive in a closet at a friend's house, or in a safe deposit box or something.