Is this problem NP-hard?930 (4/25/2009 10:00:20 AM) comp.theory Hello, I'm facing a network problem and, before to spend days and days looking for a can-be-impossible solution, I like to know if the problem is NP-hard. The problem is: Given a set of boolean variables x1.... tmp123
extract single file without read all tar4732 (5/24/2007 12:47:16 PM) comp.unix.solaris Hello, Thanks for your time, If a single file is extracted from a .tar file (by example, with "tar - xvf foo.tar bar.txt") the full .tar file is read, independent if the file is at start, middle or end of fil... tmp123
Execute commands from file1613 (5/16/2007 1:06:22 PM) comp.lang.python Hello, Thanks for your time. We have very big files with python commands (more or less, 500000 commands each file). It is possible to execute them command by command, like if the commands was typed one after... tmp123
newbie: copy base class fields516 (5/3/2007 2:14:04 PM) comp.lang.python Hello, Thanks for your time. The following small program gives an error: #!/usr/bin/python # class A: def __init__(self): self.v1=1 def __repr__(self): return "v1=%d\n" % self.v1 class B(A): ... tmp123
pack/unpack zero terminated string518 (5/2/2007 1:56:31 PM) comp.lang.python Hello, Thanks for your time. After review the "struct" documentation, it seems there are no option to pack/unpack zero terminated strings. By example, if the packed data contains: byte + zero terminated stri... tmp123
ifconfig ce1 up: no answer2455 (4/3/2007 1:02:04 PM) comp.unix.solaris Hello, Thanks for your time. A ethernet link, called "ce1", has not the flag UP in the answer to "ifconfig -a". Moreover, ping to own address fails. "kstat" reports the link is up (link_up=1), and ifconfig g... tmp123
sar -g ppgout3472 (3/27/2007 9:59:10 AM) comp.unix.solaris Hello, We have some machines where the command "sar -g" gives values greater than 20 for fields "ppgout" and "pgfree". "pgscan" is always zero. I've found a lot of references thay says high values of pgscan m... tmp123
netstat Send-Q3293 (3/13/2007 5:02:02 PM) comp.unix.solaris Hello, Thanks for your time. I'm facing a problem in the TCP communications between two processes inside the same machine. According to "truss" output, the time from the "write" call in the sender process to... tmp123
Problem with NEC USB floppy UF0002259 (2/25/2007 12:29:46 PM) comp.os.linux.hardware Hello, Some troubles trying to use an external NEC USB floppy, model UF0002. After connect it, driver seems to recognize it: Feb 25 12:46:43 kernel: usb 2-1: new full speed USB device using ohci_hcd and ad... tmp123
translate a file handle into a file name from an NFS error0261 (11/22/2006 9:57:09 AM) comp.unix.solaris Hello, yes, the subject of this post is the same than another one 5 years old. The problem is: how to translate the numbers that appears after a "stale nfs file handle" error to the related mountpoint and in... tmp123
quick question on using bsearch() on an array of structs241 (4/15/2006 12:08:10 PM) comp.lang.c I am hacking some legacy code and have put together a simple test to test some hashing funcs I've written. I now want to do a simplistic timing between the various structs. Here's a snippet: struct item_{ ch... takashi_949(7)
help getting substring853 (7/16/2006 9:04:50 AM) comp.lang.c Hi there, I need a program to extract a substring from the following pattern xxxxxxxx therer, x and X are any character and the string between is what I need. I use the following program to extract the sub... gmclee
How to Convert 1998 morse.c to 2006344 (7/16/2006 4:02:41 PM) comp.lang.c I stumbled across morse.c located at http://c2.com/ward/morse/teach/morse.c When I attempted to compile it with gcc 4.1.0 I get the following errors: morse.c:208: error: conflicting types for 'send' morse.c:20... humanmutantman(13)
strace one child process741 (10/20/2006 9:54:00 AM) comp.os.linux.misc Hello, Thanks for your time. In the sytem I'm working, one server process creates one child process for each client request. I like to "strace" one of these child process. strace without specific options only... tmp123(184)
Problem with NEC USB floppy UF0002259 (2/25/2007 12:29:46 PM) comp.os.linux.hardware Hello, Some troubles trying to use an external NEC USB floppy, model UF0002. After connect it, driver seems to recognize it: Feb 25 12:46:43 kernel: usb 2-1: new full speed USB device using ohci_hcd and ad... tmp123(184)
pack/unpack zero terminated string518 (5/2/2007 1:56:31 PM) comp.lang.python Hello, Thanks for your time. After review the "struct" documentation, it seems there are no option to pack/unpack zero terminated strings. By example, if the packed data contains: byte + zero terminated stri... tmp123(184)
newbie: copy base class fields516 (5/3/2007 2:14:04 PM) comp.lang.python Hello, Thanks for your time. The following small program gives an error: #!/usr/bin/python # class A: def __init__(self): self.v1=1 def __repr__(self): return "v1=%d\n" % self.v1 class B(A): ... tmp123(184)
Is this problem NP-hard?930 (4/25/2009 10:00:20 AM) comp.theory Hello, I'm facing a network problem and, before to spend days and days looking for a can-be-impossible solution, I like to know if the problem is NP-hard. The problem is: Given a set of boolean variables x1.... tmp123(184)