COMPGROUPS.NET | Post Question | About | Groups | Contact | Register | Login



comp soft-sys matlab (18489)

comp os linux advocacy (5155)

comp soft-sys sas (3803)

comp soft-sys math mathematica (2916)

comp lang python (2903)

comp lang ruby (2550)

comp text tex (1729)

comp sys mac advocacy (1658)

comp lang c++ (1415)

comp lang javascript (1219)

comp lang c (1196)

comp lang perl misc (1191)

comp lang java programmer (925)

comp dsp (908)

comp sys mac system (890)

comp lang tcl (872)

comp databases ms-access (760)

comp arch fpga (749)

comp lang idl-pvwave (726)

comp software shareware announce (702)

comp lang php (697)

comp lang lisp (682)

comp sys sun announce (659)

comp arch embedded (626)

comp sys mac apps (609)

comp sys ibm ps2 hardware (545)

comp lang c++ moderated (524)

comp lang fortran (524)

comp unix shell (521)

comp os plan9 (514)

comp os linux misc (513)

comp unix solaris (500)

comp databases oracle server (494)

comp sys ibm pc games war-historical (485)

comp lang python announce (483)

comp os ms-windows programmer win32 (476)

comp databases mysql (412)

comp sys cbm (408)

comp dcom sys cisco (407)

comp arch (306)

comp sys ibm pc games action (301)

comp databases informix (274)

comp lang clipper visual-objects (267)

comp os vms (263)

comp lang perl announce (238)

comp lang xharbour (229)

comp graphics apps gnuplot (224)

comp realtime (216)

comp soft-sys ace (215)

comp lang ada (213)

comp protocols nfs (207)

comp protocols snmp (204)

comp parallel (202)

comp sys acorn announce (196)

comp protocols tcp-ip domains (193)

comp sys ibm pc hardware systems (191)

comp unix internals (187)

comp infosystems www browsers misc (184)

comp misc (182)

comp publish cdrom software (182)

comp dcom cabling (174)

comp mail mime (169)

comp std announce (169)

comp ai fuzzy (168)

comp ai edu (166)

comp soft-sys stat spss (156)

comp protocols kerberos (155)

comp databases filemaker (155)

comp sys apple2 (153)

comp admin policy (151)

comp databases postgresql committers (150)

comp databases ibm-db2 (149)

comp databases ms-sqlserver (131)

comp protocols dicom (129)

comp unix programmer (128)

comp security misc (123)

comp unix bsd freebsd misc (120)

comp graphics visualization (117)

comp cad cadence (117)

comp databases olap (116)

comp apps spreadsheets (114)

comp databases postgresql general (114)

comp lang vhdl (113)

comp lang java help (113)

comp ai neural-nets (112)

comp ai (111)

comp ai games (110)

comp dcom telecom (109)

comp client-server (108)

comp os linux announce (105)

comp cad microstation (105)

comp databases oracle marketplace (105)

comp soft-sys math scilab (102)

comp databases progress (102)

comp os linux networking (101)

comp database oracle (100)

comp graphics api opengl (99)

comp ai genetic (98)

comp protocols dns bind (97)

comp compilers (97)


comp.programming Post New
Items(78) /2 Next >> Last >|
Subject Posted Replies From
About Threadpool...

Hello, As you have noticed my Threadpool, see: http://pages.videotron.com/aminer/ use something like procedure TThreadPoolThread.Execute; begin while not Terminated do begin end; end; Next step i will enhance my Threadpool to use an event object to not consume any CPU if there is no objects in the queue. And also i will add another enhancement , you will be able to call any method with the execute(pointer(obj),method); and also threadpool will use ParallelQueue (a lockfree mpmc). Also, look carefully inside the lockfree_spmc zipfile at: http://pages.videotron.com/

3/1/2010 5:46:21 PM 0 aminer <ami...@videotron.ca>
ParallelHashList version 1.0 ...

Hello, Description A parallel HashList with O(1) (best case) and O(log(n))(worst case) access that use a hash based method with an array of MREWs. This will allow to parallelize the writes and reads in separate chains , and also to parallelize the reads in the same chain. Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/ Operating Systems: Win , Linux and Mac (x86). For benchmarks and a capacity planning example look here: http://pages.videotron.com/aminer/parallelhashlist/queue.htm You will find the zipfile in: Welcome: http://pages.videotron

3/1/2010 4:22:51 PM 0 aminer <ami...@videotron.ca>
What is "the hacker ethos"?

http://spinoza1111.wordpress.com/2010/02/27/what-is-the-hacker-ethos/

2/27/2010 12:05:43 PM 0 spinoza1111 <spinoza1...@yahoo.com>
A code of indexing permutations with repeated elements

In an earlier thread "Q: Indexing a special kind of permutations" I asked for code of indexing permutations with 2 kinds of elements that are equal in number. A follow-up kindly provided code for the general case of arbitrary number of kinds of elements without restrictions. However, the part of the code for computing the index from a given permutation was missing. Later I did the coding myself for the special case that I needed. I have just done a (complete) coding for the general case with a test program attached below. M. K. Shen ---------------------------------------------

2/26/2010 6:33:09 PM 0 Mok-Kong Shen <mok-kong.s...@t-online.de>
changing to C code

I have this C++ code and I was wondering if anyone has any ideas on how I might change this to C. /* chunks.cpp * * List the majors chunks of a RIFF file * */ #include <stdio.h> typedef unsigned char BYTE; typedef unsigned int DWORD; int GetLong(char *buf); void show_list(FILE *in, int length); int depth = 0; void indent() { int i; for (i=0; i<depth; i++) printf(" "); } class FourCC { public: DWORD code; int read(FILE *in); bool Equals(char *str) { return (*(DWORD *)str == code); } void show(); }; class Chunk { public: FourCC type;

2/25/2010 8:23:35 PM 0 "Bill Cunningham" <nos...@nspam.invalid>
Min and Max in Logn

Could some one please tell me what is wrong with algorithm. I am looking for algorithm which can find min or max in unsorted array in log n time so here is my thought of divide and conquer algorithm. Divide the array in two half and keep dividing it recursively until we have two elements. return the min of those two element. As my complexity comes T(n)=2*T(n/2)+O(1) So it solution is logn if i am correct. Here is my psudo code. int fun(int l,int h) { if(l+1==h) return min(A[l],A[h]) if(l==h) return A[l] return min(fun(l,l+h/2),fun(l+h/2+1,h)) } Am i correct or wrong ?

2/25/2010 3:46:41 PM 0 mukesh tiwari <mukeshtiwari.ii...@gmail.com>
Max Flow

Hello Everyone. I am try to solve this problem on spoj (https:// www.spoj.pl/problems/POTHOLE/)using max flow but getting WA.Coud some one please tell me what is wrong with this code. Thank you #include<cstdio> #include<iostream> #include<cstring> #include<vector> #include<queue> using namespace std; int v[210][210]; int N,vis[210],p[210],s,d; int flow() { memset(p,-1,sizeof p); memset(vis,0,sizeof vis); p[s]=-1; queue<int> Q; Q.push(s); vis[s]=1; bool f=0; while(!Q.empty() && !f) { int tmp=Q.front(); Q.pop(); //cout<<"tmp= "<<tmp<

2/23/2010 8:50:14 PM 0 mukesh tiwari <mukeshtiwari.ii...@gmail.com>
avi and assembly

Does anyone know where I can get the file format info for RIFF and AVI? I received some info using google but no development info. I am using nasm to disassemble the binarys and I do get assembly. GAS (GNU assembler) can't handle it. Does a hexdump in linux display all binary information that consits of the "file" or program? I'd like to be able to view section and segments and their tables and headers but alas the BFD is win32/PE and not ELF. Bill

2/23/2010 8:28:02 PM 0 "Bill Cunningham" <nos...@nspam.invalid>
Earth4Energy Blueprints for $27

Full Access To All Earth4Energy Videos And Tutorials For Only $27. http://earth-4energy-review.123probiz.com Go Green :) Kahayan Supervisor http://www.gogonai.info/?id:kahayan

2/23/2010 5:52:35 AM 0 kahayan <kahaya...@gmail.com>
[CfP] 2nd International Workshop on Context-oriented Programming

Call for Papers =============== 2nd International Workshop on Context-oriented Programming (COP'10) at ECOOP 2010, Maribor, Slovenia, June 21 or 22, 2010 http://soft.vub.ac.be/cop10/ Important Dates =============== - Paper submission: April 19, 2010 - Paper notification: May 5, 2010 - Early registration: May 10, 2010 Background ========== Context information plays an increasingly important role in our information centric world. Software systems must adapt to changing contexts over time, and must change even while they are running. Unfortunately, mainstream programmi

2/22/2010 12:59:43 PM 0 Pascal Costanza <pascal.costa...@gmail.com>
Type-ins

Hi, Does anyone remember the good old days of 'type-in' programs that you used to get in magazines in the 80's? I used to love typing these programs into the various computers that I had as a kid back then. My kids are now at a similar age as myself in that era and I thought I may see if they are interested in programming by getting them started with something similar. I have unfortunately been unable to locate any BASIC source on the internet that may have been taken from these magazines and posted somewhere. Does anybody know where I may find a library of BASIC sou

2/19/2010 10:52:33 PM 0 Robbo <robbo_b...@hotmail.com>
UML Survey

I am currently conducting a study that focuses primarily on how programmers work with UML specifications. I would like to invite members to participate. I also encourage members to distribute the link to this survey to anyone (in your organization or others in the field) that has some familiarity with UML and would be able to complete the survey. http://www.surveymonkey.com/s/UML Thanks for your support. If you have any questions or would like to receive the results of this research, let me know by sending me an email. If you don't wish to be involved in any future research, just

2/19/2010 7:24:10 PM 0 Dwayne Anius <anius.dwa...@gmail.com>
Andrew Joseph Stack died for your sins?

It turns out that one of the many "issues" today's (19 Feb) Austin suicide aviator had was the provision in 1987 tax law that made data processing "independent contractors" into employees under the law, causing many companies to be reluctant to hire "independent contractors" for fear of tax liability. Well, boo hoo. In my experience in Chicago, "consultants" were if anything even less independent and professional than full time programmers. Most of them were so desparate for work that they did subprofessional jobs such as modifying great masses of "job control language" for mainfra

2/19/2010 3:27:51 AM 0 spinoza1111 <spinoza1...@yahoo.com>
Algorithms for linear inequalities

Apologies if the solution to the following is well known, but I haven't managed to find anything. Given k linear inequalities in n real variables, i.e. a^i_1 x_1 + a^i_2 x_2 + ... + a^i_n x_n >= 0 (1 <= i <= k) (where the coefficients a^i_j are integers), how can I: 1. decide whether they are consistent (i.e. there is a solution other than the zero one) 2. more generally, write them in a canonical form (e.g., if the solution space is n-dimensional, then have one inequality for each hyperplane in its boundary) In the examples I'm interested in, n is typically around 10 or 20

2/2/2010 9:12:30 PM 0 Toby <t.h...@liv.ac.uk>
Code and Creation 64511

This is a free and informational site I created for application development and application development source on the net. Enjoy, and it's free, nothing to register oir sign up for just an informational site. http://codeandcreation.com cCoF<.U,tk.CdJnF(bXU$H.kT

1/31/2010 5:38:52 PM 0 Virgina Hernandez<gh...@yahoo.com>
Indicating truncation to the calling process

Hi, I understand that the msgrcv() function would read a message from the queue associated with the message queue id and place it in the buffer(userdefined). Further, it has an argument of type size_t that indicates the maximum size(in bytes) of the message that can be received or truncated incase of larger message. Incase of large messages, the truncated part of the message shall be lost . But is there a mechanism to indicate the calling process about truncation ? Or is there an alternate API that has an feature of indicating the calling thread of the truncation ? Any

1/31/2010 5:28:21 PM 0 karthikbalaguru <karthikbalagur...@gmail.com>
Help: Visual Basic Setup Problems

I picked up a book to learn Visual basic but cannot install it on my system after I download it from this site: http://www.microsoft.com/express/Windows/. I'm assuming my pc is the problem, but have no idea where to start. It seems to stat installing, but then I get a pop-up that says: "Microsoft Visual Basic 2008 Express Edition with SP1 - ENU has encountered a problem during setup. Setup did not complete correctly." Any help would be appreciated. Thanks. Darren

1/30/2010 5:12:30 AM 0 Searcher7 <Search...@mail.con2.com>
Is there a newsgroup for algorithmic research?

Hi Subject says it all: Is there a newsgroup for algorithmic research? Or something similar? I would expect : Sorting, searching, merging, partitioning, threading, queing, memory management, virtual machine implementations, hashing, NP problems, heuristics, all kinds of data structures discussed and just about anything where some problem needs attacking. Thanks Stephen Howe

1/28/2010 11:27:05 PM 0 Stephen Howe <sjhoweATdialDOTpipexDOTcom>
RMI Question

I am designing an RMI kind of framework - this is just for learning, not a real project. This is in C++. I have Marshalling & Unmarshalling classes in Place for function params. I am using Boost Message_Queue to transmit the function call & Marshalled Params from Client to Server. Currently, there can be only 1 Client Process & 1 Server process at a time. And currently, the client is single threaded. Marshal returns a void * buffer, which I can pass through the message_queue. I generate a struct which has the following members - the function id to call - all the params to be p

1/28/2010 5:17:06 AM 0 "Newbie" <...@p.com>
Overlay InputOnly window and XSetInputFocus

Hi, I have an overlay input-only window created as following: .... screen = DefaultScreen(dpy); width = DisplayWidth(dpy, screen); height = DisplayHeight(dpy, screen); root = RootWindow(dpy, screen); vmask |= CWDontPropagate; attrib.do_not_propagate_mask = KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask; window = XCreateWindow(dpy, root, 0, 0, width, height, 0, CopyFromParent, InputOnly, CopyFromParent, vmask, &attrib); /* Put the wait cursor into the window */ XDefineCursor(dpy, window, 0); .... Now, when this

1/22/2010 3:38:55 PM 0 Sun <sunm...@gmail.com>
oh well, partial VM spec...

I wrote a partial VM spec not too long ago, but to my memory had not yet announced it... well, partial specs are is here: http://cr88192.dyndns.org/SilvVMSpec/2009-12-28_SilverfishVM.html for anyone wanting to look at the source: http://cr88192.dyndns.org/2010-01-20_bscc.zip be warned, it is 66 MB and filled with Win64 build files, and currently only really builds with MSVC + GNU Make. if anyone really wants, I can make a "cleaner" version. I will make no claim that the code necessarily actually works... newer features in-progress (hopefully I can get some of this wor

1/21/2010 4:46:52 AM 0 "BGB / cr88192" <cr88...@hotmail.com>
Online Coding/Programming competition

Literati(National Institute of Technology, Kurukshetra(INDIA)) with Codechef presents the online coding competition on january,24 2010 (2:00 PM to 10:00 PM IST which means 8:30 AM to 4:30 PM GMT). Go fast and register yourself for this coding match and win good amount of cash prizes. relevant sites: http://www.literati.net.in/2010/encoder.php for information about the event. http://www.regonline.com/encoder_2010 for registering with encoder http://www.codechef.com/user/register for registering with codechef A team can be of atmost 2 participants. Y

1/20/2010 3:25:01 PM 0 vicky <mehta...@gmail.com>
JOIN THIS GROUP AND MAKE CONTACT WITH OTHERS AND DISCUSS WAYS TO WIN PEOPLE TO GOD !!PARTICIPATE!!--->http://groups.yahoo.com/group/letswinpeopletogod

JOIN THIS GROUP AND MAKE CONTACT WITH OTHERS AND DISCUSS WAYS TO WIN PEOPLE TO GOD !!PARTICIPATE!!--->http://groups.yahoo.com/group/ letswinpeopletogod

1/19/2010 8:14:54 AM 0 members <matthew...@yahoo.com>
OT/misc: maths (software vs traditional...).

observation: the math I know and use as a programmer is VERY different from the math used in math classes, physics classes, ... I had re-discovered this a few months back, after doing terribly at a math-related class I had, this being the first real re-exposure to traditional math in my case for ~5 years (I did well at this one, but bombed another class ~2 years earlier). (actually, me and academics in general is very "hit-or-miss", sometimes because of being rather confused, but more often had been due to being either depressed or apathetic and blowing stuff off, or sometime

1/19/2010 12:27:12 AM 3 "BGB / cr88192" <cr88...@hotmail.com>
The minimum value of a binary tree question

At the following url... http://cslibrary.stanford.edu/110/BinaryTrees.html They have the following as a solution to finding the min value of a binary tree... 4. minValue() Solution (C/C++) /* Given a non-empty binary search tree, return the minimum data value found in that tree. Note that the entire tree does not need to be searched. */ int minValue(struct node* node) { struct node* current = node; // loop down to find the leftmost leaf while (current->left != NULL) { current = current->left; } return(current->data); } Why do they do 'current->left !

1/18/2010 4:52:57 PM 1 Chad <cdal...@gmail.com>
AES and algebra

Is there a way one can come to understand encryption such as AES without having to study finate math? I am familiar with algebra is that possilby the only requirement one might need for basic encryption? Bill

1/17/2010 9:39:53 PM 0 "Bill Cunningham" <nos...@nspam.invalid>
Batch malloc

Anyone know of a memory allocator that allows blocks to be allocated in batches? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?u

1/17/2010 4:33:22 PM 16 Jon Harrop <...@ffconsultancy.com>
How get percentage of use of cpu

Hello, How I can get percentage of CPU usage and temperature of every single core of my quad core? With GetSystemInfo API I can get only the number of cores. I need also get the percentage of used RAM. I tried: SYSTEM_INFO SysInfo; GetSystemInfo(&SysInfo); int nCpu = SysInfo.dwNumberOfProcessors; // Error. SYSTEM_INFORMATION_CLASS don't exist. SYSTEM_INFORMATION_CLASS SystemInformationClass = SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION; PVOID SystemInformation; ULONG SystemInformationLength; PULONG ReturnLength; //

1/17/2010 4:25:10 PM 1 "Noixe" <no...@TOGLIMIemail.it>
C-Sharp Question about using (namespaces)

maybe i am OT and if so, please tell me which group is suitable for C# I am new to this programming language but already have the first confusion - it concearns the using statement for namespace usage. As far as it goes i understood the following: The statement using System; would indicate that - when referencing methods in this namespace - i don't always have to include the preceder System So i can use Console.WriteLine instead of System.Console.WriteLine So far so good - but what will actually happen if i were to use many using statements to include several n

1/16/2010 9:02:10 PM 1 "Roland Schweiger" <roland_schwei...@web.de>
A question about subtracting numbers on a 2 complements machine

This question is from another forum that I sometimes hang out on.. "Assuming 8-bit 2's complement notation, what is the result of subtracting 00001011 from 00001101? (i.e. 00001101 - 00001011)" Person A says "0000 0010 with a signed carry flag" But Person B says "The question IS subtracting the larger number from the smaller number: 1101 - 1011 = 11111110 [-2]." His reasoning goes to person A goes "Your answer would be correct for unsigned but 2's complement is signed." So who would be right in this case?

1/16/2010 7:55:12 PM 0 Chad <cdal...@gmail.com>
Code and Creation 75090

This is a free and informational site I created for application development and application development source on the net. Enjoy, and it's free, nothing to register oir sign up for just an informational site. http://codeandcreation.com /N(g^ivH!NRoBqh!QDPn,+Jrk

1/15/2010 6:23:57 PM 0 Virgina Hernandez<gh...@yahoo.com>
Code and Creation 77046

This is a free and informational site I created for application development and application development source on the net. Enjoy, and it's free, nothing to register oir sign up for just an informational site. http://codeandcreation.com #j!dENIJr&tl*L(gk.Y$b>eFF

1/15/2010 6:10:40 PM 0 Virgina Hernandez<gh...@yahoo.com>
How to ascertain the type of files being read

My app accepts several types of files on input: TIFF, PDF, XML, etc. Instead of deferring to the backend libraries the scrutiny -and potential exception- of each file, I would like to make a quick check of the argvs: "The input file does not have a valid TIFF format". Followed by a quick exit. I figure that the Unix utility "file" would be perfect for this; is there any way I can use it programmatically? TIA, -Ramon

1/12/2010 11:12:18 PM 3 Ramon F Herrera <ra...@conexus.net>
A tool that suggests optimized logic for a piece of code/module/function

Hi, There are certain editors that highlight the syntax/color for datatypes/variables or comments etc. Similarly, Is there a tool for C language that could suggest an optimized/alternate programming logic for the function that is written ? The optimized/alternate logic can be suggested as soon as we finish coding for one function or it can be suggested as soon as the code is compiled/parsed by that tool. It will be even more helpful if that tool also provides the cycle counts, cache usage, cache misses and lines of code also. It would be better if that tool has an op

1/11/2010 8:07:15 PM 89 karthikbalaguru <karthikbalagur...@gmail.com>
All Permutations of 10 Things taken 7 at a Time?

Can you guys direct me to some code that contains a way of finding all permutations of n things taken k at a time? I am particularly interestd in all permutations of the numbers 0,1,2,...,9 taken 7 at a time. What this amounts to is: pick all combinations of 7 numbers out of 10, and then all permutations of them. I know how many they are. However, I do need all the 7-tuples for a project I am involved in. Some resursion should do this. I did it once with LISP, but I don't remember it anymore. Thank you! sherman

1/11/2010 6:55:07 AM 13 sherman
glibc for win32 a long time waiting?

Dear all Will that be a source code that can be compiled on win32/gywgin? would gnulib-tool help? if not which files needs changing etc? not a straight forward change I guess! thanks i advance

1/10/2010 8:16:03 PM 0 Neil Morris <neil.morr...@googlemail.com>
Best way to learn ... need some help

Hi all, Small programming assignments whose difficulty levels are gradually increased OR programming assignments that test the knowledge of various aspects of the language are good for students and probably for those who want to learn programming in general BUT there's also another category of people like me who don't really want to learn programming because they've done a lot of it ( i know no one can do 'enough' programming but I am getting at something else here. I dont want to learn programming in general since I do a lot of it in my office and I've done a lot of it in the pas

1/10/2010 8:02:53 PM 12 vaib <vaibhavpang...@gmail.com>
Why QUARKS have assymptotic freedom:

Why QUARKS have assymptotic freedom: To find out why QUARKS have assymptotic freedom click link below: http://www.amperefitz.com/assymfree.htm Cheers Fitz

1/8/2010 6:53:39 PM 0 fitz <zeus...@yahoo.com>
A new high-performance virtual machine

I just published some new benchmark results showing that my HLVM project is now providing C++-like performance from a safe high-level garbage collected language: http://flyingfrogblog.blogspot.com/2010/01/hlvm-on-ray-tracer-language-comparison.html -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?u

1/8/2010 1:32:08 PM 13 Jon Harrop <...@ffconsultancy.com>
open all blocked sites in your country now

open all blocked sites in your country now Browse the internet securely using Your Proxy You can unblock popular social networking sites such as myspace, bebo, facebook and many other sites. http://alagmyproxy.zxq.net/proxy/index.php

1/6/2010 7:23:37 PM 0 alagmy <englishtranslator2...@yahoo.com>
[ANN] Winter 2009 issue of Methods & Tools

Methods & Tools is a free e-magazine for software developers, testers and project managers. Winter 2009 issue has just been published with the following articles: * Refactoring Large Software Systems * An Introduction to Domain Driven Design * Agile Coaching Tips * Are Enterprise AJAX Applications Doomed=85Or Are We? * Does Process Improvement Really Pay Off? * SQuirreL SQL Client 60 pages of software development knowledge that you can download from http://www.methodsandtools.com/mt/download.php?winter09

1/6/2010 2:13:33 PM 0 Franck <edi...@methodsandtools.com>
Create empty files?

An application uses files with IDs. What of the following two variants is preferred? 1. To create empty IDs files at setup script. 2. If an IDs file is missing, treat it as if it would exist but empty. Why?

1/5/2010 6:20:36 PM 11 Victor Porton <por...@narod.ru>
anit-virus programming

Hey folks Anyone know a good book or papers on anti-virus programming? A theory type book, not a how to install McAfee... Barry

1/5/2010 5:41:01 AM 1 "Barry" <barr...@peoplepc.com>
Q: Indexing a special kind of permutations

Permutations of n different objects can be ordered and thus mapped to numbers. There are good algorithms for doing the conversions. See http://stackoverflow.com/questions/1506078/fast-permutation-number-permutation-mapping-algorithms If there are only two kinds of objects (say, black and white), with n even and n/2 objects of each kind, are there good algorithms of doing the same? Thanks, M. K. Shen

1/3/2010 11:46:47 AM 10 Mok-Kong Shen <mok-kong.s...@t-online.de>
modifying a file while preserving links

Suppose I have a series of linked files: a->b->c->....->endfile So that endfile is a real file and a,b,c.. are links to one another. I would like to enter the list at any point, modify the file, and preserve the links. For example, I might modify b, without regard for the fact that b is only a link. The modification would apply to endfile, but I have to then set the links b->c... to now preserve that destination endfile. Assume that I have opened, as a file, somepoint along the chain, modified the data and written it to a temporary file tempname. Without regard to the l

12/28/2009 6:13:06 PM 3 root <NoEM...@home.org>
Help required in programing the legal move generation of Connect-4 game.

I have programed a connect four in java using GUI. I have already coded a snippet that uses 2-d array(My board representation) for evaluation the winning conditions. i have declared a 2d array named board[width][height], where width is 7 and height is 6. and initialized all the elements to 0. Now I am planning to program an AI for it, for which I am planning to break the entire process into small parts(methods.) The first part will be consisting of all the legal moves which are allowed for the current position. In a position there are maximum 7 possible moves(towards the end there

12/25/2009 4:23:20 PM 3 mandar <mandar9...@gmail.com>
in-demand theoretical CS knowledge

To anyone generous enough to offer some advice, I am currently (back) in the job market, and trying to find a programming project to work on while I search for jobs that will improve my skills and increase how "in-demand" I am in the industry. I don't know what sort of project to undertake, however. My C++ skills are good, or at least good enough to get by for now; what I am missing is an understanding of what sorts of advanced CS knowledge is "in-demand" in the industry. I want to learn new things, but I am afraid that I will delve into some new subject and waste a lot of time

12/22/2009 9:28:41 PM 4 cplxphil <cplxp...@gmail.com>
"Unscrollable" features in window?

I have a question about scrolling. I put a detailed question into comp.os.ms-windows.programmer.win32 but it hasn=92t gathered any replies yet. So I=92m posting a more general question here, in the hope that someone will be able to give me a nudge in the right direction. I=92m using Windows. As you probably know, if a window is displayed on the screen, and another window covers part or all of it and is then removed, Windows sends a WM_PAINT message to the window to tell it to re-draw the missing part. It is possible to scroll a window, and one way of doing this is to use a function c

12/21/2009 7:23:45 PM 2 Paul N <gw7...@aol.com>
Water plant design | Design Build | Water plant construction

Water plant design | Design Build | Water plant construction The idea for H2find is an online exchange where water and wastewater vendors can search for utility contract opportunities around the world. Now that H2bid makes it possible for vendors to find relevant contract opportunities anywhere in the world, vendors were telling us that they needed a way to find subcontractors in the areas where the contract opportunities were located. Conversely, subcontractors told us that they needed a way to make themselves known to contractors looking to form a team. With H2find, there is now a

12/19/2009 10:09:43 AM 0 H2 Find <h2findi...@gmail.com>
Solaris 2.6 boot errors

Hi, I often see this message while booting Solaris2.6 running on a ultra 440 Mhz CPU. Run fsck manually (fsck filesystem......). Exit the shell when done to continue the boot process. Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance): The system was shutdown properly using init 5. My question is under what circumstances Solaris displays "Type Ctrl-d to proceed with normal startup" message?

12/17/2009 4:16:03 PM 1 Sun <sunm...@gmail.com>

Pages: 2









Newest Articles

Virtual Inheritance
8 min. 51 sec. ago

Simulating a Very Low IF (VLIF) receiver
11 min. 22 sec. ago

How do I insert the coordinates (centroid) of detected moving objects onto the object?
18 min. 19 sec. ago

Hardup Quark on Who Wants To Be A Millionaire
19 min. 42 sec. ago

Randsample (leave-one-out)
29 min. 20 sec. ago