9
голосов
2ответов
2985 просмотров

Efficient way to implement LinkedIn like "How you are connected to" feature?

LinkedIn has this cool feature in which while visiting some user's profile, LinkedIn prompts how you are connecting to that user through the network. Assuming that the visitor and the profile owner are two nodes of a graph where the nodes represent users and edge represents friendship, a simple...

2
голосов
2ответов
326 просмотров

hardware environment for compilation performance

This is a rather general question .. What hardware setup is best for large C/C++ compile jobs, like a Linux kernel or Applications ? I remember reading a post by Joel Spolsky on experiments with solid state disks and stuff like that. Do I have to have rather more CPU power or more RAM or a f...

4
голосов
2ответов
6173 просмотров

How can I write a Delphi program to control the CPU fan speed and monitor the temperature?

I want to use Delphi to create a program that controls the fan speed of my computer and monitors the temperature. What API calls are involved in doing that? Are there any good code samples that you can share?

0
голосов
3ответов
3164 просмотров

Most significant bit

I haven't dealt with programming against hardware devices in a long while and have forgotten pretty much all the basics. I have a spec of what I should send in a byte and each bit is defined from the most significant bit (bit7) to the least significant (bit 0). How do i build this byte? From M...

8
голосов
10ответов
5461 просмотров

Is the recent trend toward widescreen (16:9) computer monitors a plus or minus for programmers?

It's almost gotten to the point where you can't buy a conventional (4:3) monitor anymore. Pretty much everything is widescreen. This is fine for watching movies or TV, but is it good or bad for programming? My initial thoughts on the issue are that widescreens are a net negative for programmers....

31
голосов
14ответов
38434 просмотров

Tool for drawing timing diagrams

Recently I am working with a hardware design group developing an ASIC. And I am drawing a lot of timing diagrams for which I am using Microsoft Excel, as it is easy to import into Word document. But, things are getting more and more difficult with Excel. What can be used to draw timing diagrams?...

0
голосов
5ответов
2012 просмотров

How to calculate computer speed

I have a high-speed ADC data capture/analysis program which performs poorly on older computers. This was discovered in beta testing in my customer's lab when one test engineer reported the application was hanging. It turns out that she had an old computer in her lab (single core P4), and the 'han...

0
голосов
4ответов
1106 просмотров

Ethernet - USB communication

I have a piece of hardware that sends USB data over ethernet (only the data stored in the package will be send). On a remote PC the data is recieved via ethernet. How can I send this data to the USB driver so it translates the data into commands applications can use?

1
голосов
5ответов
5925 просмотров

Arm Board Bring Up

Can anybody tell me where I can find information related to How to Bringup any arm board? I am looking for an overview as I am novice in ARM related stuffs. Any link/document will do ...It will be gr8 help if i can look for a case-study any arm based board can be considered..I am looking for jus...

2
голосов
3ответов
2611 просмотров

Programmable stand alone Button (hardware+software)

I need to have a physical button that when pressed will be noticed by my program. There are many types of usb-buttons that are preprogrammed to open a website, shutdown the computer and so on. And I have seen some projects using buttons and serial port. But none of them "have it all", an easy de...

1
голосов
4ответов
2410 просмотров

Which easy programming language to use for parallel port programming under Linux?

My father would like to use Ubuntu for LPT programming (via a relay card). He is used to QBasic and PowerBasic but willing to learn a new (simple) language for his goals. What recommendations can you give me for this task? Python would be my favourite if the module pyParallel worked. If there a...

0
голосов
1ответов
361 просмотров

What is the benifit of ATCA besides reliability?

We are a small team going to build a Video Manager System. It get videos from IP camera and store them on storage. It also distribute live video and video record on user demand. It's not a very complicated system but we are trying to make it support more than 500 IP camera. One of my colleagu...

4
голосов
3ответов
307 просмотров

Hardware recognition in user space Linux

I want to be able to inspect my Linux machine hardware in C. How do I get the information that appear in dmesg in C ? For example, for keyboard the message is input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 I want to get in my program the label, AT Translated Se...

0
голосов
1ответов
710 просмотров

Is there a way to trigger a hardware refresh (aka Device Manager) using .NET?

I don't mind if it's only possible in the latest version of Windows, but I am wondering if there is a way to trigger this using .NET: Device Manager Hardware Refresh http://imgbag.com/josh/joshx/StackOverflow/devicemanager.png?p=Rectangle(130,430,270,100,10,Yellow)

2
голосов
4ответов
3089 просмотров

How to read an intermittent hard drive consistently?

I have a faulty hard drive that works intermittently. After cold booting, I can access it for about 30-60 seconds, then the hard drive fails. I'm willing to write a software to backup this drive to a new and bigger disk. I can develop it under GNU/Linux or Windows, I don't care. The problem is: ...

21
голосов
5ответов
39167 просмотров

What's the difference/relationship between AVR and Arduino?

I've been interested in hardware programming recently, but I have not started yet. I did some searching working, and have a vague idea: Arduino is a combination of both chip and breadboard. AVR is a single chip, and need to buy a breadboard to get started. Is that statement true o...

16
голосов
12ответов
4336 просмотров

Why aren't Floating-Point Decimal numbers hardware accelerated like Floating-Point Binary numbers?

Is it worth it to implement it in hardware? If yes why? If not why not? Sorry I thought it is clear that I am talking about Decimal Rational Numbers! Ok something like decNumber++ for C++, decimal for .NET... Hope it is clear now :)

2
голосов
5ответов
1673 просмотров

How to use PHP to control on or off of light and air conditioner?

Is it possible even to do this kind of things? EDIT Can someone provide a "hello world" demo to try out?

8
голосов
6ответов
4481 просмотров

High scalability technology stack

I'm building a webservice that is going to be under ridiculous load (thousands to ten-thousands of queries per second). My normal stack of apache, PHP, memcache and some DB will be able to handle it with a nice load balancer infront and lots of machines, but I'm wondering if there are better solu...

3
голосов
3ответов
4337 просмотров

Is it possible to reprogram a keyboard?

I mean the real USB keyboard, not a software keyboard driver. I know that keybords differ, but in general is it easy/possible to reprogram / rewire it? Maybe there are models that are easier to do that? And yes, I can use soldering iron / hardware flash reprogrammer.

1
голосов
1ответов
169 просмотров

In Blend 3 how do I design a user interface for external hardware running in real time?

How do I design a user interface for external hardware which is running in real time? Is this possible with Blend 3? I need to design a two way interface for a piece of external hardware and it would be great if I could twiddle it's knobs while designing as opposed to continually building, runni...

0
голосов
2ответов
329 просмотров

Determining failing sectors on portable flash memory

I'm trying to write a program that will detect signs of failure for portable flash memory devices (thumb drives, etc). I have seen tools in the past that are able to detect failing sectors and other kinds of trouble on conventional mechanical hard drives, but I fear that flash memory does not ha...

2
голосов
13ответов
330 просмотров

how to decide between a rewrite or a hardware upgrade?

If you had a working product that was slow and memory hungry. What would decide to do between these 2 options and why? The product would work perfectly if you buy "the" good server which would be high in the 5 digits and maybe in the 6 digits. You have the sources and the resources to change ...

3
голосов
5ответов
6520 просмотров

How to turn on a single Arduino port using C#?

I have an Arduino Duemilanove USB. I have just a single LED wired up to a single port on it. I want to use C# to turn on this LED. Is there a simple example of how to do this? Just the most basic on/off code is what I'm looking for. On a side note, I know there are some libraries written for .NE...

3
голосов
2ответов
708 просмотров

Circuit Design book for programmers

I need a book that teaches circuit design that will be useful when programming microcontrollers. Usually when I join a project, before I can start programming any logic into the microcontroller, it needs to be integrated into a circuit with a power supply, transducer, etc. I find that I'm lacking...

3
голосов
1ответов
126 просмотров

RDBMS data-relation burden

Our in-house system is built on SQL Server 2008 with a 40-table 6NF schema. Most of the tables FK to 3 others, a key few as many as 7. The system will ultimately support 100s of employees working with 10s of 1000s of customers and store 100s of 1000s of transactional records -- prime-time acces...

8
голосов
5ответов
361 просмотров

Programming experiments

I frequently code numerous experiments to test various algorithms, libraries, or hardware. All code, dependencies, and output of these experiments need to be annotated and saved, so that I can return to them later. Are there good common approaches to this problem? What do you do with your experim...

5
голосов
4ответов
182 просмотров

Associating s/w programming with h/w programming

I've been in s/w programming for years. Thru out the years i also had interest in h/w programming (circuits + robotics + etc). Please advice from where i can start h/w programming. my aim is to combine both s/w & h/w to work together.

3
голосов
1ответов
3037 просмотров

Set Fan Speed on Windows in C++

I have this copied code from Example: Calling a Provider Method, it modified it now should it change CPU fan speed: #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") int main(int iArgCn...

6
голосов
6ответов
13571 просмотров

RS 232 Break Signal

I got a RS232 signal capture device. and it working great. I need some help making sense of the data. Basically we bought it because we are dealing a late 80's machine controller that uses serial communication. We had little luck despite knowing the port parameters. From the data I dumped mach...