Search results

  1. ephemera

    3D framework / game engine related resources

    Yeah, that was a cool game. :-)
  2. ephemera

    Programming environment in FreeBSD

    gvim although not a typical IDE works great for C/C++.
  3. ephemera

    C newbie question

    Here's an i386 optimised version of strlen() from Solaris: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/i386/gen/strlen.s Haven't benchmarked it but looking at the code it's obvious that it won't give anything like the 10000x speed improvement you mentioned - more...
  4. ephemera

    Linux vs. BSD = No real difference?

    Wow, I didn't know VBox is already in ports. Thanks.
  5. ephemera

    Linux vs. BSD = No real difference?

    I heard a rumor too but a long time back, I hope it's for real this time.
  6. ephemera

    Linux vs. BSD = No real difference?

    I do have to reboot for playing games :) But for everything else Vmware is perfect for me. I have been dual booting since the time i started using fbsd (4.8 i think) but for me rebooting is not a practical option anymore. Besides, it's not just Windows i also have Solaris installed to try out...
  7. ephemera

    Linux vs. BSD = No real difference?

    The most important one for me is Vmware for running Windows XP.
  8. ephemera

    Linux vs. BSD = No real difference?

    I use Linux as my primary desktop OS (due to non-availability of some apps.). If you are running a desktop env. there is practically no difference b/w Linux & BSD. Most of the apps. are available for both Linux and BSD and they look & work the same way. But every time I open a terminal window...
  9. ephemera

    C newbie question

    Sure, but we don't want to overwhelm a newbie who is struggling to understand pointers. :)
  10. ephemera

    C newbie question

    Memory is made up of bytes and is numbered from 0 to whatever amount you have available on your m/c. strlen() is called with str pointing to the string (say) "hello" already stored in memory starting at address (say) 756, like shown below: --------------------------- ... |h |e |l |l |o...
  11. ephemera

    C newbie question

    Yup you are right. :)
  12. ephemera

    C newbie question

    return strchr(str,0)-str;
  13. ephemera

    Parallel Port (inb, outb, /sys/io.h)

    Try: --- eeprom.orig.c 2009-09-01 15:05:06.000000000 +0530 +++ eeprom.c 2009-09-01 15:08:19.000000000 +0530 @@ -31,7 +31,7 @@ // scheduler prioriety #include <sched.h> -#include <sys/io.h> +#include <machine/cpufunc.h> // stat #include <sys/types.h> @@ -56,8 +56,8 @@ #define C3...
  14. ephemera

    How old are you?

    +1 ;)
  15. ephemera

    awk's rand() not really random?

    I think the problem is that srand() is being called for every call to rand(). When srand(3) is initialized with the same value the psuedo random number sequence is repeated (awk's srand() is probably implemented as srand(time(0)).). Try: awk 'BEGIN {srand()} {print rand()}'
  16. ephemera

    UNIX Turns 40

    Amazing! I wonder if there is any other software that has survived (still relevant) this long? :beergrin
  17. ephemera

    Good books to learn programming in C++

    http://www.amazon.com/Primer-Plus-5th-Stephen-Prata/dp/0672326973 Its a good book for beginners.
  18. ephemera

    What calculator app do you use?

    ports/math/speedcrunch (I am also impressed with the code: very clean & well written)
  19. ephemera

    window(1)?

    Frenzy is awesome, it's my favorite live-cd. Unfortunately, it looks the lead dev. has left the project and development has been discontinued.
  20. ephemera

    Filesystem is full ( /: )

    I once had a similiar problem, found out later that the FS snapshots I had made (in /.snap) were using up the extra space. :P
Back
Top