hello.
This is not hundred percent programming related question, but I was not able to find answer on the net.
Is there some kind of detector to record frequency/intensity of light radiation source? something like spectroscopy detector, but instead of actual machine, just the module which can be integrated in project. I have tried se...
Hey guys
Basically I'm working on a model of an automated vacuum cleaner. I currently have made software simulation of the same. How do I figure out which SOC or SDK board to use for the hardware implementation? My code is mostly written in C. Will this be compatible with the sdk provided by board manufacturers? How do i know what clock...
I, like most people, don't use the numeric keypad on my keyboard much and they seem to me to be a complete waste of otherwise perfectly good eighteen keys.
I was wondering if there was something cool that could be done with them - I've heard of some people controlling their mouse pointer using the 2, 4, 6 and 8 keys, but that does seem ...
Dear all,
I am using win32 api with C++.
I would like to know how I can get the volume GUID using a "device path".
My device looks like this:
\\?\usb#vid_04f2&pid_0111#5&39fe81e&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Thanks.
...
Hi..
To get the volume GUID i tried the code like below
int len = wcslen( pDetData->DevicePath);
pDetData->DevicePath[len] = '\\';
pDetData->DevicePath[len+1] = 0;
#define BUFFER_SIZE MAX_PATH
WCHAR volume[BUFFER_SIZE];
BOOL bFlag;
bFlag = GetVolumeNameForVolumeMountPoint( pDetData->DevicePath, volume, BUFFER_SIZE );
int loginErrCode...
Dear all,
when i include #include to use the IOCTL_MOUNTMGR_QUERY_POINTS
i get the below error
fatal error C1083: Cannot open include file: Mountmgr.h: No such file or directory
How can i solve this error.
Please guide me
...
Hi,
I'm designing a system where some of the commands require multiple key presses (in order to avoid accidental execution of certain commands).
However, in order to do that in a way that will avoid keyboard jamming, I want to select the key combination according to the matrix layout of the keyboard (All the systems will have the same k...
I have a few quick questions about the iPhone software development. I did some research about the topic, but there are a few specific things I would like to ask here, because I will have to estimate the cost of the required hardware and software, before I am allowed to buy anything. I never did any Mac development nor have I ever owned a...
i have a hardware device I developed and made an SDK for it. I'd now like to get open source developers involved, to help with application development so we can together explore the possibilities of this new device. What would be the best way to do this?
...
We like to think that a memory access is fast and constant, but on modern architectures/OSes, that's not necessarily true.
Consider the following C code:
int i = 34;
int *p = &i;
// do something that may or may not involve i and p
{...}
// 3 days later:
*p = 643;
What is the estimated cost of this last assignment in CPU instructi...
I'm working on a DIY google streetview for mountain biking. I was wondering if anyone had any ideas on how I might best get decent results? I'm looking for help with everything from what kind of cameras to use to get as much imagery as possible and how I might stitch images together.
Thanks!
...
I'm studying in high school, and we have an electronics project.
We have an output from our computer which is 4 bit, output address is 37Ah
and my teacher did this:
outportb(0x37A,0x80);
so what will appear in the output? 0h or 8h?
...
This question was in my job interview.. I just to see whether I gave all the details...
...
Virtual memory is well-supported by modern hardware, but application-level memory allocation is still all implemented software, be it manual heap memory management a-la C and C++, or VM-level garbage collection.
Going further than the classic manual memory management vs garbage collection debate, why aren't there hardware-based primitiv...
My MySql server currently has 235 databases. Should I worry?
They all have same structure with MyISAM tables.
The hardware is a virtual machine with 2 GB RAM running on a Quad-Core AMD Opteron 2.2GHz.
Recently cPanel sent me an email saying that MySql has failed and a restart has been made.
New databases are being expected to be creat...
Perhaps this is a total noob question, but:
I thought the point of a multi-core computer is that it could run multiple threads simultaneously. In that case, if you have a quad-core machine, what's the point of having more than 4 threads running at a time? Wouldn't they just be stealing time from each other?
...
Taking Peter Norvig's advice, I am pondering on the question:
How much time does it take to fetch one word from memory, with and without a cache miss?
(Assume standard hardware and architecture. To simplify calculations assume 1Ghz clock)
...
My college's lecturer gaves me an assignment and there's a question as follow
A DRAM has 11 multiplexed address pin and one data input/output pin. 14-non multiplexed address pin and 4 data input/output pin Determine the organization of the DRAM
I'm currently stuck on this question,I've been googling for an hour trying to know what is...
As Far as I can tell no one has actually solved this debacle.
How do you get a mac mini to power on every time the UPS it is connected to restores power?
It is easy enough to have the UPS communicate that power is about to turn off so have the mac run the command halt -u, or shutdown -h -u, etc, and many solutions such as powerchute from...
My app needs to go to sleep and wake up after a user specified time interval. Using
[UIApplication sharedApplication].idleTimerDisabled = YES;
I'm ignoring the idle timer. For the "sleep-mode" I'm turning the view to all black and hide the status bar. Still there's the device's background-light. Is there a way to turn it off or hit a ...