Questions tagged [communication]

Communication is the activity of conveying information.

Communication (from Latin "communis", meaning to share) is the activity of conveying information through the exchange of thoughts, messages, or information, as by speech, visuals, signals, writing, or behavior.

Source: http://en.wikipedia.org/wiki/Communication

2464 questions
29
votes
6 answers

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

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…
VansFannel
  • 45,055
  • 107
  • 359
  • 626
28
votes
4 answers

is assignment operator '=' atomic?

I'm implementing Inter-Thread Communication using global variable. //global var volatile bool is_true = true; //thread 1 void thread_1() { while(1){ int rint = rand() % 10; if(is_true) { cout << "thread_1: "<< rint…
Alcott
  • 17,905
  • 32
  • 116
  • 173
28
votes
4 answers

Peer-to-Peer communication options

can anybody confirm what are the currently allowed methods for peer-to-peer communications within the Android framework? I need to transfer json strings and I'm currently using SMS which works ok but the problem is that the data also ends up as lots…
John J Smith
  • 11,435
  • 9
  • 53
  • 72
26
votes
2 answers

Performance discrepancy between OSX and Linux for communication using Python multiprocessing

I have been trying to learn more about Python's multiprocessing module and to evaluate different techniques for communication between processes. I wrote a benchmark that compares the performance of Pipe, Queue, and Array (all from multiprocessing)…
ddavella
  • 595
  • 6
  • 12
24
votes
8 answers

How do you communicate effectively in a small development team?

I work in a small team (4-5 developers) on a single project. Every member of our team is developing a different functionality from our project and they are highly independent. In fact, some members use technologies that other member doesn't know…
anthares
  • 11,070
  • 4
  • 41
  • 61
23
votes
1 answer

android communication between two applications

I need some help in how to start developing two android applications (on one phone) which communicate with each other. Application A sends a string to application B. Application B receives the string for example "startClassOne", app B using a…
androidTesting
  • 231
  • 1
  • 2
  • 3
23
votes
3 answers

iPhone TCP/IP Socket Server/Client Program

I have read a lot of questions regarding this subject on this website however they didn't quiet answer my question. If you can't be ### about my goal or background skip to the question. My Goal Is to build a server that can run on Mac OS X 10.4+…
Mark
  • 16,906
  • 20
  • 84
  • 117
22
votes
1 answer

Tools to measure MPI communication costs

I'm using MPI and I want to measure the communication costs, so that I can then compare them to the 'processing' costs, e.g., how much time do I need to scatter a list through n processes and then compare it to how much time I need to sort it. Does…
dx_mrt
  • 707
  • 7
  • 13
21
votes
1 answer

Proper error handling on the Node.js ws package

I'm working on replacing a REST-based data pipe with a Websocket-based one, and I'm having trouble finding all the places things can go wrong. The system is production, so very bad things happen if it fails and doesn't recover. Here's what I've got…
21
votes
18 answers

Explaining race conditions to a non-technical audience

Recently, I found myself having to write up some concerns I have about race conditions in an application that is in development (not by me). This will likely be brought to the attention of stakeholders who are non-technical and with whom I do not…
Joel Wietelmann
  • 1,447
  • 1
  • 9
  • 16
21
votes
1 answer

Communication between Windows Store app and native desktop application

! For the sake of simplifying things I will refer to Windows Store applications (also known as Metro or Modern UI) as "app" and to common desktop applications as "application" ! I believe this is still one of the most unclear yet important questions…
CodeX
  • 717
  • 7
  • 23
20
votes
3 answers

Communicate with Activity from Service (LocalService) - Android Best Practices

Common scenario - Activity with a background Service to poll server. The Service will run periodically via AlarmManager and also perform tasks for the Activity (user hits a button, go fetch something from server). I'd like to know the best practices…
20
votes
2 answers

Tkinter: invoke event in main loop

How do you invoke a tkinter event from a separate object? I'm looking for something like wxWidgets wx.CallAfter. For example, If I create an object, and pass to it my Tk root instance, and then try to call a method of that root window from my…
Mark
  • 106,305
  • 20
  • 172
  • 230
19
votes
9 answers

How to explain Open-Source to your boss?

My boss was in the past not really interested in Open-Source. He always was fine, if we developers used a library or framework, that came at no cost. But he was never interested in details. But some customers talked about Open-Source and so he got…
Mnementh
  • 50,487
  • 48
  • 148
  • 202
19
votes
8 answers

using serial port RS-232 in android?

I want to send signals via serial port using the JavaComm API classes on an Android device, and here is how I imagine it: 1- the Android device would be: Archos 3.2 which has android 2.2 and USB host mode. 2- include RxTx lib package with my Android…
rami
  • 341
  • 2
  • 4
  • 8