Search results

  1. L

    I Have Been Forced To Buy A Pc

    $ uptime 12:04PM up 74 days, 19:44, 1 user, load averages: 0.00, 0.00, 0.00 $ Okay, so it is only my NAT/router/firewall, 24/7 on hostile cable internet, serving my home network and making sure nobody comes in. Obviously, no data is present nor is any work actually done on that...
  2. L

    Changing swapfile location to separate disk in 10.1

    There is already a mount -a hfs command in /etc/rc, executed before starting swap subsystem. This command mounts all hfs volumes listed in /etc/fstab. Therefore, there is no need to add another one. For extra points, make a SWAPLOCATION knob in /etc/hostconfig, or use the swap filesystem...
  3. L

    AdmiralAK!!!!!!!

    I don't think we are corresponding with a physical person here; AdmiralAK's full name is /usr/bin/admiralak.pl, closely related to /home/jkh/bin/jordan.pl Please note that irrespective to their AI origins, both persons vastly transcended their script nature, and indeed have become real...
  4. L

    Open a port in OSX

    is in the range available to everyone (it is above 1024). So, any user should be able to bind() his socket() to that port, as long as it is not already in use. However, the firewall is still capable of dropping all packets going to/from that port; if this is the case, you have to modify the...
  5. L

    Compiling wu-ftpd (no -lresolv ?)

    BIND parts are integrated into libc; it is a BSD system, after all. Just delete -lresolv part from the makefile, and it should "just work".
  6. L

    Forbid APPS in home directory

    Depending whether your users should be able to create executables (i.e. have access to compiler) you may have some options. If they are not supposed to create their own executables (i.e. must use only software supplied by admin), you can mount their home directories noexec. You should do the...
  7. L

    PDA to buy ?!

    at least, if you don't live in mobile telco backwoods without GSM (PCS need not apply (for those of you not familiar with the abbrev, PCS is just like GSM, except that it isn't due to some minor protocol differences, and runs on 1900, rather than normal 900 or 1800 MHz :) Same application set...
  8. L

    Whot a bloody idiot....

    Been there. Javascript locked IE. Shot it down with task mangler. Came back. NT is fragile, but it is not that fragile.
  9. L

    cout and cin

    Seems to be fixed in 10.1, albeit wrongly (the same overzealous autoflush as in FreeBSD iostream implementation; i.e. cout.flush() is not needed, ever)
  10. L

    UINX question

    man pages are reference material; they are not tutorials. You will find tutorials and papers in /usr/share/doc/papers; you might need to get access to 4.4BSD based distributions
  11. L

    OS X compatible

    I've been using LaCie FW hard drive since this February, on all available versions of OS X; worked fine, even on hot plug in. One thing I could not easily do is to unmount it, but I never really looked into fighting with volume manager.
  12. L

    help on finding a process by name...

    The good ole way was reading /dev/kmem, and following proc structs. Now, there might be a libkmem to do that for you. However, the process digging through /dev/kmem has to execute with effective gid of kmem! A more modern way is to represent the running processes as directories of proc...
  13. L

    Help! Cin killed Cout ...

    That would seem to be a cout tty flush bug, present in gcc or libiostream. From C on practically any UNIX, fprintf is autoflushing if you are writing to a tty; it is block-flushing otherwise. To deal with that, one uses: fprintf( file, format, ... ); fflush( file ); The same should be...
  14. L

    MAC OS X on Intel platform!!!

    Heh, my place used to be a pure x86 shop (running FreeBSD, though). With OS X and actually working MS Office (our clients send us Word documents, even though they don't mind our PDF--generated from LaTeX--documents) in a native environment, on something which is basically UNIX (and not some...
  15. L

    session transcript - LOL

    why everything has been so f*cked up ever since creation: the Universe is running DOS :(
  16. L

    serial number

    Answers in the order of questions. I can. Yes. Just before the CD starts to spin. You have to time it just right. The Windows XP version of MacOS X. You have to hold the keys to make it show its real face (otherwise you get the flying window instead of apple, and the bespoke dialog...
  17. L

    UNIX Family Tree

    GPV at work. They do have a compiler, destroying the market for a decent one, I would pay for if anyone were to sell one.
  18. L

    What OS for my work PC ???

    weren't available for the commercial use at that time (it was 3.4 I was running), and I did not command the budget in order to pay Kirk. I ended up using FreeBSD because of the disk speed (what I did was mostly correlating data from several sources--read: massive sorting) and its mature...
  19. L

    What OS for my work PC ???

    my own measurements, on a loaded system, showed (about a year ago) that the FreeBSD Linuxulator is faster than Linux, if the filesystems are configured for the same semantics (i.e. async on FreeBSD, which is fast and dangerous). FreeBSD VM was making a difference there, but this might have...
  20. L

    Help!!!

    whether you need it is a completely different matter. BTW, MS Windows serial numbers are not; they are results of a one way hash with an embedded salt; your /etc/passwd second fields, if you wish :)
Back
Top