communication

Compromising with non-programmers

The data for the SQL db used in my PHP code comes from an excel file made by non-programmers. When I can't manage to explain an issue that I am having with their excel file, I usually just try to code around it. This has lead to some pretty patchy code on my part. Does anyone else have experience with this? Is it generally better to ...

What is the best way for "Polling"?

Hi, This question is related with Microcontroller programming but anyone may suggest a good algorithm to handle this situation. I have a one central console and set of remote sensors. The central console has a receiver and the each sensor has a transmitter operates on same frequency. So we can only implement Simplex communication. Si...

implementaion independent communication within a process

is there any way two threads within the same process can communicate without knowing anything about each other's interface ? basically, one thread is a STOMP server, the other is a client. they're supposed to communicate in a direct manner (not via a socket) and it should be independent of the implementation so i can't assume either of ...

How do I communicate between devices connected to a WiFi Access Point?

I have got a couple of phones and another couple of PC's connected to a Wifi access point and need to send and receive messages between either of these, I mean anyone can send a message to anyone and receive a message from anyone. I am willing to write apps on the phones(Symbian OS, S60 platform) or PC(Windows), but what I can't understa...

Are there any patterns or is there any standard terminology for inheriting data/objects?

I have a class A that has a collection of objects of Class B. Class A can also 'inherit' (for lack of a better term) the collection of objects of Class B from other instances of Class A. To model this, instances of Class A point to other instances of Class A (I control for circular references). A simplified concrete example might be th...

flex 3 passing data from modules to parent application to switch views in the viewstack

Hello Fellow stackoverflowers, I´m stuck writing a piece of code. I have application with a viewstack witch load 5 modules. each module is loaded via the moduleLoader tag and they all have an id. Every loaded module has a context menu. the context menu has 5 menuItems. one menuItem for each view for the viewstack. The context menu is ...

Any simple interpretation about 3G

Can anyone explain 3G technology from a programmer's perspective? I am a little bit confused. For instance, if I develop a mobile application with Android or IPhone SDK. Shall I concern about the network I used? Or the SDK has a same interface for all those different network(3G,GPRS,CDMA). Moreover, is 3G a specific technology or a set o...

How to ensure project management questions get answered

Background: On a new project I've found myself 3 levels removed from my actual source of information. I report to my PM, who reports to our contractor, who reports to the actual client. Getting answers to questions has become something of a problem and I'm curious to know what people recommend. Needs: I'm trying to find a technology or...

How can a WCF service listen the same port as IIS?

I could run a Windows Service hosted WCF service listening http://localhost:80/MyService while IIS was serving pages on http://localhost:80 and both works. But many places in the internet (like this and this) say that only a single process can listen each port simultaneoulsy. Are they wrong? ...

Communication between C# applications - the easy way

Hi. I have two C# programs and I want to send some data back and forth between them. (And check if the data arrived to the other application.) The two programs will always run on the same computer, so no networking capability is required. I've already read some questions with similar topics here, but I'm not entirely sure which is the ...

Suggestion for getting data from a web server?

I have a web server which contains a list of "interesting locations". These are "hard coded" on the web server, and maintained from an administrator on the server-side. Users can't add or remove anything. From within my app, I want to make a button "fetch locations", and the app should then contact the web server and ask for that "inter...

What's the proper name for this sort of thing?

I feel the term "webserver communication" is not right when it comes to just accessing an server to retrieve information. Example: iPhone connects to http://foobar.foo/bar.php?foo=bar&bar=foo and receives an XML. XML is parsed on the iPhone. iPhone connects to some server and sends some instructions + data to store some stuff ther...

How to set baud rate to 10400

Is it possible to set the baud rate to 10400? (Using .Net) ...

F/OSS (or just free-as-in-beer) Visual Studio communication add-ins?

Our team is growing, but we're also growing specialized. We've already been using ticketing/bug tracking/case management software for years--as well as IM clients informally--but as another engineer and I were discussing, it'd be nice to have an IRC-like communication system. Basically, it'd be nice to have logs of discussions, as well a...

Ways to improve communication between members on a software team.

As the team I am on works to formalize and establish more development practices, I find that communication seems to fail at the following points: During an informal conversation about a project a brain spark moment becomes a new feature/requirement. These "add-ons" seem to fail through the cracks or the detail become fuzzy after some ...

Design pattern for file based communication?

Hi all! I have to extend an existing program (Java-based, but this shouldn't count). This program should communicate with another program X. This program X is .. uhm.. a little bit older and supports only file based communication. This means I have to put my file into some specific folder. The "answer" is placed in another folder where...

Parent App access vs Events in Flex Modules

Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling. Thoughts? ...

How to communicate with .net processes when there are multiple instances of them

I have multiple instances of the same Windows Forms .net 3.5 SP1 C# application running on the same machine. Now I'd like to be able to communicate with them from .net, one instance at a time. What's the most simplest way to do this? I read a bit about WCF, but I have only found examples working with one server and one client. But in ...

Pass data from a ASP.NET page to ASCX user controls loaded dynamically.

Hello. I'm developing an ASP.NET application with C# and Ajax. I have a page that holds user controls loaded dynamically. I need to pass some data (integer values and some strings) to the user control that has been loaded dynamically. Now I use Session to pass these values, but I think I can use another way; something like VIEWSTATE o...

Delphi routine which retrieve the current time and date from a time server

I am looking for a Delphi 7 routine which connects to a time server to retrieve the correct time and date, and a routine to update the time and date of the pc. The routine should of course take into account the time zone the pc is using. If possible using the ICS component suite from Overbyte (because I use this set of free components ...