CompGuy101 wrote:What can F# do that I cannot do in VB / C#?
Nothing, it's the ease and clarity of implementation that's different.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
The problem is that Microsoft does not emulate the S3 Trio properly. The hardware S3 Trio supports 24-bit color, VPC tells Linux it has an S3 Trio, so Linux assumes it has 24-bit support, and you're blaming this problem on Linux? If you don't or can't emulate a video card properly, just make your own. VMware uses their own SVGA adapter that doesn't exist in any hardware form, yet Linux supports it out of the box.
Shining Arcanine wrote:Perhaps I am going a bit far, but I would really like the ability to buy a copy of Unix for my home PC for $15.75 at my university's store like I can with Windows Vista Ultimate, so I tried to make the best case I could for why Microsoft should buy SCO.
I got my code working and noticed it was only running at about 108% CPU out of a potential "400%" on a quad processor machine. It seems that the overhead in thread creation and joining outweighs the benefit. Just to make sure, I added a CPU intensive loop
to each function call and achieved 400% utilization on the machine. It seems like dispatching larger amounts of work would be more efficient.
void prime(int low, int high)
/* do the calculation high-low times */
Thread 1: prime(0, 511)
Thread 2: prime(512, 1023)
Thread 3: prime(1024, 1535)
Thread 4: prime(1536, 2047)
I have a basic (on paper) understanding of pthreads, but it seems like you could do something like this.
int numThreads = 4;
int bigPrime = 2048; /* largest value of 2^bigPrime you're looking for */
for(int i = 0; i < bigPrime; i += numThreads)
for(int j = 0; j < numThreads; j++)
pthread_create(yourFunction, (i + j));
I made up the pthread function arguments, but those functions do exist and would seem to be the ones you need. For each pass of the outer loop, it creates numThreads threads and waits for them to finish, then bumps up the next base number to look for another numThreads number of primes.
Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error. File Name: \Device\HarddiskVolume1\Windows\System32\l3codeca.acm c:\Windows\System32>sha1sum l3codeca.acm
Logged in over remote desktop, I just saw this error. Obviously it's slightly concerning to see that an "unauthorized change was made to Windows" since this error message showed up while the computer was in a screensaver.
Some event log digging yielded this:
Running Vista Ultimate x64. Can someone MD5 that file and tell me what they get?
I haven't installed anything in weeks either. Slightly annoyed and concerned. I initially couldn't access the control panel either. I rebooted and didn't see any follow-up errors and the control panel worked again.
I would be very appreciative if someone could shed some light on what's happening. I see that some programs apparently trigger this, but I don't have any of the listed culprits.
Code integrity determined that the image hash of a file is not valid. The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.
File Name: \Device\HarddiskVolume1\Windows\System32\l3codeca.acm