Search results

  1. davidbrit2

    The trackpad hack

    As a matter of fact, yes. http://apple.slashdot.org/comments.pl?sid=139139&cid=11648479
  2. davidbrit2

    The trackpad hack

    Oh man, this is really handy. Here's my suggestion, since the default scrolling speed is a bit slow for my tastes. • Open the source project in XCode. • Edit the AppleADBMouse.h file. • Near the beginning of the file are a bunch of #define statements. If you want only vertical scrolling...
  3. davidbrit2

    Semaphores (and alternatives)

    Too late. ;-) You just have to include mach/task.h and mach/semaphore.h, and then the semaphore system calls seem to be almost identical to POSIX ones (but with different symbols, of course). So this will do for now, since it's all experimental junk I'm messing with anyway.
  4. davidbrit2

    Semaphores (and alternatives)

    Okay, I guess that explains the presence of the SysV/POSIX semaphore headers. Still kind of weird though. I dug around the Apple Developer site a bit and found some API details for Mach kernel semaphores. (Here, if anybody wants it.) It works, but kind of uglies up the source code with a...
  5. davidbrit2

    Semaphores (and alternatives)

    So apparently OS X doesn't support semaphores, despite providing fully formed header files for the API. Yeah, okay, whatever, that makes a hell of a lot of sense. I do so love mysterious run-time errors instead of straight-forward compiler errors. Anyway, what's the simplest way of getting a...
  6. davidbrit2

    !! Apple website defaced !!

    This isn't the IDN spoof. Check the page source, and try entering the supposed URL by hand in the address bar. If apple.pt really is in fact Apple's Portugal site and not a mockup, then yes, it would appear the page was defaced. I'm not getting any useful whois information on the domain name...
  7. davidbrit2

    Linking against libX11

    There we go, that worked perfectly. But strangely enough, the -I path is optional, but -L is required. Weird. In any case, thanks. Now I can resume testing utterly useless X11 sample code. ;-)
  8. davidbrit2

    Linking against libX11

    Alright, so I'm trying to build some simple X11 programs. It compiles just fine, but when it hits linking stage, it's can't find the symbols that would be in xlib. However, I see quite a few libX11 files in /usr/X11R6/lib, so I suspect it's not including that in the search path. I also tried...
  9. davidbrit2

    System Administrator Apple Default Password

    Yeah, Fryke's got it. Open up System Preferences, and check the Accounts section. Any of the accounts labeled "Admin" under the username are System Administrator accounts. In the Security tab, you can grant or revoke administrator privileges for each account.
  10. davidbrit2

    RedHat + Compaq Modem = 0 ?

    The stuff I'm seeing seems to indicate that this particular model comes with a Winmodem (software modem). Your chance of getting these working well under anything but Windows is slim to none. Save yourself the headache and buy a proper 56k modem.
  11. davidbrit2

    Apple Sightings -- Why is the Apple logo usually covered up ???

    You're exactly right. It's the same reason you'll see brand name logos and such blurred out on other live filming TV shows (Cops, etc).
  12. davidbrit2

    Perl multi-process

    Well, with named pipes, you stuff a special "file" into a directory (mkfifo? I think that's the command). After that, you can read and write to it like a file, but with the functionality of an anonymous pipe on the command line. I'm not sure if contents are preserved between reboots, or if it's...
  13. davidbrit2

    Perl multi-process

    Sounds like what you want is a "named pipe". Do a little google research. They're kind of like a combination between a file and a piped queue.
  14. davidbrit2

    Help finding the right palm pilot

    You should probably know beforehand that the Tungsten C does NOT HAVE STEREO OUTPUT, EVEN FROM THE HEADPHONE JACK. That's the only real shortcoming, but since you mentioned you want to play mp3s on it, it may be an important one. Other than that, though, it looks very nice.
  15. davidbrit2

    How can I write a webs ervice in php?

    First, install PHP 5. http://www2.entropy.ch/ Get the 5.0.2-1 binary package (not the Apache 2 version, unless you've specifically installed Apache 2 on your machine). After it's installed, start Apache, and try accessing a .php file through a web browser. The server should automatically...
  16. davidbrit2

    Converting a pc game to a mac?

    Yeah, Radnor is basically just DOSBox wrapped up in a nice OS X frontend.
  17. davidbrit2

    Converting a pc game to a mac?

    Unless you have the source code to the game, your chances of porting it to Mac OS are pretty much nil. You can try using a PC emulator to run it, though. If it's an old DOS game, try something like Radnor.
  18. davidbrit2

    Can I use my Powerbook as a bluetooth access point ?

    Try these Applescripts. They work great with my Palm Zire 72 and generic OEM USB Bluetooth adapter on my iBook.
  19. davidbrit2

    airport extreme mac spoffing..

    Yeah, this sort of thing is kind of like asking "How do I make a pipe bomb?" because you "just want to know how".
  20. davidbrit2

    Unable to eject CDRs/thumbdrive

    Nah, it shouldn't directly produce any side effects, though the same issue requiring you to force quit may end up causing other troubles later. But force quitting rarely (almost never) causes any damage itself.
Back
Top