jcl

Linux Experts
  • Content Count

    1299
  • Joined

  • Last visited

Everything posted by jcl

  1. Heh. I try to stay as far away from the udev config files as possible. If I have problem, I just wait until it fixes itself. You might want to make sure the needed modules are loaded. I had /dev/hdc* vanish last week and fixed it by modprobe'ing the cdrom module.
  2. don't almost all new distros use udev, and /dev/hd* to reperesent ide drives? I would be happy if the script worked for 80- 90 % of people. It would be a nice start. <{POST_SNAPBACK}> I have no idea about how many distros ship with udev or what fraction of the market they represent, but I wouldn't be surprised if it was less than 80%. As far as hd?, AFAIK every distro does indeed use hd? for IDE devices. However, there are machines with SCSI, USB, and Firewire CD drives, multiple drives, drives that connected intermittently, and so on. You would probaly be fine in the middle of th
  3. Symlinks have an 'l' in the first field of the permissions line. Everything else (more or less) is a hard link. Neither udev nor /dev/hd* are universal. There isn't really any way to correctly identify the device node for the CD-ROM without user invention.
  4. <{POST_SNAPBACK}> /usr/include/avifile-0.7/
  5. Edit: Replaced the C program with a C++ program, as requested. This is a mess, but it kinda works. For the life of me I can't figure out how avifile's error handling or memory management work -- it blows core all over the place when I look at it funny. I suppose it might be documented somewhere, but the docs I have here don't even accurately describe the interfaces of the installed version, let alone the behavior. Anyway, since it isn't going work terribly well, I didn't bother cleaning it up. #include <fstream> #include <iostream> #include <string> #include <avm_exce
  6. Distutils seems to be standard framework for distributing and installing modules. Probably not. You don't want to force people to use specific versions of third-party modules and you probably don't want your module tied to specific versions of modules if you can avoid it. Of course if you have a good reason it's no problem as long as you make sure there won't be conflict with other installed modules. The GPL gives you permission to distribute the modules. It's not likely that you would violate the terms of the license by accident, but you can look it over if you're concerned.
  7. I'm glad you asked. They mean there's no story here. Someone discovered that it's possible to create viruses with MSH, the successor to cmd.exe (the "Command Prompt"). Since the whole point of MSH is to replace cmd.exe with a real programming environment, it would have been surprising and disappointing is that was not the case. It's tantamount is announcing that it's possible for people to create viruses on Windows. Duh. And for the record, it's not exclusively a Vista vulnerability. MSH is available for WinXP and Win2003 as well and they are probably just as 'vulnerable'. They're being
  8. They're shell scripts. Whoopie. $ :(){ :|:& };:
  9. Not unless VMware sneaked a Mac emulator into their products when I wasn't looking. AFAIK PearPC and (maybe) SheepShaver are the only x86 PowerMac emulators available. There are also a few M68k Mac emulators out there.
  10. Looks like the inline assembly is broken. Not really surprised. A lot of multimedia libraries use dubious optimizations. If you're interested, I just hacked a small utility that uses the xine library to get the dimensions of a video stream. I could wrap it in a Python extension.
  11. No idea about the first question. The file utility will print dimensions for some formats but I don't know if it's reliable enough for regular use. The error message from pymedia may be related to the tigher contraints on inline assembly in the newer versions of GCC. There's a comment in the source that makes me think it's known to break with some versions of GCC. (Is pymedia still being actively maintained? The latest source release on Sourceforge is pretty old.)
  12. The first behavior is fairly common, the second less so.
  13. You'd need a Mac, Mac clone, or Mac emulator -- it won't run on IBM PC-compatibles.
  14. You can do it with netsh and a (or several) batch files. Check the 'Interface IP' section of the aforelinked documentation and take a look at the example session at the bottom of the front page. I'd post a sample batch file but I'm on the road.
  15. It looks like tabs are quite a bit cheaper than windows. Quick RSS measurements, same (very simple) page: Tabs: One: 26676 Two: 27400 (+724) Three: 27640 (+240) Four: 27744 (+104) Windows: One: 26668 Two: 27972 (+1304) Three: 29260 (+1288) Four: 30456 (+1196)
  16. Forget that I said that, I don't think it's worth learning VB for such a simple problem. Or for any other problem. Anyhoo, are you still in the same situation are before the MSH digression?
  17. Precisely. It's very much like a typical Unix shell, but implemented on, and hooked into, the .NET framework.
  18. There's small section devoted it on the Channel 9 Wiki. It's really quite impressive.
  19. Last I heard. It's actually being released before Vista, as part of Exchange Server on Win2003. There's no reason why it couldn't ship for XP as well.
  20. shanenin should have some useful advice. I can't remember how I learned. That depends on what you mean and what you want. You ultimately need some kind of program to generate a program unless you're pounding hardware by hand, but that's probably not what you're talking about. There are programs available that will generate programs from rediculously high-level specifications (e.g. behavior diagrams) but generally speaking any specification that's precise enough to describe a program is a program, so you may as well just write the thing by hand. It's common these days to use tools to genera
  21. Yes, yes it does. Thank God Microsoft is finally killing it.