Copy-on-Write memory management733 (4/25/2009 10:26:44 PM) comp.programming Let's say I wanted to implement a memory management system where I can allocate a block of memory, write some data to it, and then clone it in such a way that two separate pieces of code could own a copy of the... Michael
Confining std::map to a region in memory427 (1/7/2009 5:54:54 AM) comp.lang.c++ What would be involved if one wanted to confine all of the data associated with std::map to a specific region in memory? The specific example I had in mind when I pondered this earlier today was as a way of or... Michael
mod_rewrite madness327 (2/7/2007 11:16:14 PM) comp.os.linux.misc I'm trying to enable the use of the + character in article titles in MediaWiki while retaining the use of clean URLS provided by mod_rewrite. For clean URLs, one needs to rewrite a URL of /wiki/(articlenam... Michael
Rosetta Code129 (2/2/2007 9:05:35 PM) comp.programming I've been sitting on the fence for a week about posting this. I don't mean to spam, but people who enjoy programming might find my site entertaining, while people learning a new programming language might f... Michael
Source of delay when reading bad sectors444 (1/15/2007 1:20:37 PM) comp.os.linux.misc Hey, all...It's been a while. I find myself frequently in need of performing disk-to-disk copies from a bad hard disk to a good hard disk, for system recovery purposes. Normally, I would use dd for disk-to-dis... Michael
find -regex vs egrep228 (4/27/2005 7:40:32 PM) comp.os.linux.misc Could someone clue me in why these two commands give different results? $ find ../libperl -regex ".*\.(pod|pm)$" $ find ../libperl| egrep ".*\.(pod|pm)$" .../libperl/Citygen/Settlement.pm .../libperl/Citygen/C... Mike
Khmer Linux Resources2948 (4/18/2005 8:24:13 PM) comp.os.linux.misc I've got a student I tutor in UNIX (well, Linux...but the class is titled "UNIX System Adminstration") who barely speaks English. I've learned that he's from Cambodia, and his native language is Khmer. I want... Mike
Different I/O rates when copying file.337 (4/2/2005 6:54:36 PM) comp.os.linux.misc I'm trying to use dd to image the partitions on an old drive, using the command: dd if=/dev/hdd4 of=~/tmp/hdd4 The process has been running since about 1:30AM this morning. According to gkrellm, /dev/hdd is g... Mike
Reliably boot XP from Primary Slave disk?748 (3/10/2005 1:53:59 AM) comp.os.linux.misc I've got a machine that originally ran Windows XP, installed on the primary master disk. (I'm using IDE, obviously.) I moved that disk to the primary slave position, inserted another disk as the primary master... Mike
No interpereters for files on a specific partition?1031 (2/28/2005 12:30:15 PM) comp.os.linux.misc When I run scripts that require a shebang to run, where the scripts are on a specific partition, bash says something analogous to: -bash: ./error.sh: /home/shortcircuit/sh: bad interpreter: Permission denied ... Mike
possible typo in multithreading website921 (4/12/2009 11:28:47 AM) comp.lang.c++ I have read the above from a multithreading in c++ tutorial: BEGINNING OF QUOTE Now imagine that we start a number of threads, all executing workerThread(). If we have just one thread, doSomeWork() is going t... Comp1597(41)
Copy-on-Write memory management733 (4/25/2009 10:26:44 PM) comp.programming Let's say I wanted to implement a memory management system where I can allocate a block of memory, write some data to it, and then clone it in such a way that two separate pieces of code could own a copy of the... mikemol(370)
what can be used to uniquely identify a unix box?3535 (4/29/2009 5:05:59 PM) comp.unix.programmer Is there a uuid assigned to every UNIX the OS installation? Or we have to rely on hardware serial numbers? * MAC addr - can be faked or changed. * hard disk serial number - sometimes hdparm fails to get it. an... cong818(41)
table generation with recursive templates247 (4/30/2009 6:49:13 PM) comp.lang.c++ I wrote this code to generate an intialized array of 256 32-bit words: typedef unsigned char u_int8; typedef unsigned long u_int32; template struct TG { typedef TG Sub_start1; typedef TG Sub_start2... wkaras(191)
forth in forth4730 (5/2/2009 4:38:27 AM) comp.lang.forth I came across this in the archives: >The widely shared belief (among both Forthies >and outsiders) that every "real" Forth programmer hacks together >his own compiler/interpreter/programming environment als... ember(47)
[Resurrected thread] Alf P. Steinbach's pointer tutorial1533 (4/1/2009 1:48:48 PM) comp.lang.c++ * Bob R, on Aug 16 2007: > arnuld wrote in message... >> there is a tutorial written by Alf P. Steinbach titled something like >> "Pointers in C++". i even Googled for that but was not able to find it. >> can ... alfps(7389)
opinion of my open source function wiki idea?128 (4/7/2009 8:56:32 PM) comp.programming I have started a project that I have always felt would be very interesting. It has been going very slowly until recently when my company pitched in some money to help it along. This forum seems like a great pla... jason.lillywhite(184)
Tcl-URL! - weekly Tcl news and links (Apr 8)1416 (4/8/2009 2:26:18 PM) comp.lang.tcl QOTW: "[I know] no better definition for 'TEA' than 'configures, makes, and installs on aku's machine'." - Kevin Kenny Debugging versions, optimized versions, ...: the combinatorics are more recondi... tcl-url(309)
Scrabble828 (4/11/2009 6:12:42 PM) comp.programming What is the best way to make a computer determine the optimal Scrabble move? ... bob136(381)