communication

Need assistance with serial port communications in Ruby

I need to do some communications over a serial port in Ruby. From my research, it appears that there aren't many modern libraries for serial communications and the newest material I can find is from 2006. Are there any gems that I'm not aware of? I ultimately need to maintain communications with a serial device attached to USB (I can ...

Best .NET comm component or protocol for very low bandwidth communication?

What's the best .NET communication component or protocol for very low bandwidth and intermittently connected communication (i.e.: < 10 kilobits/sec)? ...

How do you get non-technical folks to appreciate a non-UI problem?

Suppose you're working on an enterprise project in which you have to get management signoff in order for you to develop a new feature set. Usually your management has no problem signing off on some bright shiny new UI feature. Unfortunately they have a hard time appreciating some behind-the-scenes issues that are crucial to the applicati...

Effective sayings that relate something complex to a layperson?

For example: Updating the code for that legacy system is like fixing the plumbing in an old house. Sometimes it is as easy as changing a faucet, but sometimes you spend hours working around rotting wood only to find crap flying everywhere. ...

What are good references for .Net development with Office Communications Server?

Is is possible to intergrate VOIP capabilities, particularly phone dialing, with Office Communications Server 2007 and .Net? If so, are there any good references for this? I would be especially interested if this could be hosted within an ASP.Net or Silverlight application. ...

java: what are the best techniques for communicating with a batch server?

Hi all, I've a WEB application (with pure Java servlet) that have some heavy computational work, with database access, that can be done in asynchronous mode. I'm planning to use a dedicated server to execute such batch jobs and I'm wondering which tools/techniques/protocols to use for communication between servlets in the WEB server and ...

Intensive programming reduces communication skills?

This is one of those meta-programming questions that may or may not belong on SO, but here goes... Have any other programmers out there noticed that their ability to communicate with people (technical or otherwise) almost disappears during and after a period of intense programming? I normally think of myself as a relatively good commun...

RS232 Communication - Can I use it to create a steady state signal?

In all honesty, I think the answer is "no;" however, I want to get a second opinion. Basically, I need one micro-controller device to send a steady signal to another one, but the communicate between them is using RS232. So I think that I have to create/update the communication messages to get it to do what I want. What do you think? ...

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 a child object and pass it my root Tkinter.Tk() and then try to call a method of that root window from the child object my app locks up. The best I can come up with is to use the .after method and...

Start Bit vs Start Byte

I know in a lot of asynchronous communication, the packet begins starts with a start bit. But a start bit is just a 1 or 0. How do you differentiate a start bit from the end bit from the last packet? Ex. If I choose my start bit to be 0 and my end bit to be 1. and I receive 0 (data stream A) 1 0 (data stream B) 1, what's there to stop...

Best way to communicate with a programmer to define a project?

What are the best set of details to give to a programmer to define a project? Simply put, I know what I want done, but I know nothing about programming and so what is the best way to define my project to a programmer so he/she gives me what I need. i.e project summary, design brief, flow charts? ...

Choosing buffer size for FTP and HTTP transfers

Hello, How to choose the size of buffer (bytes that I read from or write to socket) for the maximum throughput when I'm implementing a low-level HTTP and FTP transfer? My application should transfer data with HTTP or FTP on connections varying from 130 Kbps to 3 Mbps (I know expected speed beforehand). Sometimes it's one way transfer, s...

How do you communicate between eclipse declarative services and Views (ContentProviders)

Say you have an eclipse plugin with various views, these views should display data from some OSGi bundle that pushes data to the Views. Rather than have every view communicate with the OSGi bundle, I have an intermediate Facade class that acts as a blackboard for the views and manages communications between the views and the other OSGi ...

Best way to transfer data between smart phone and a website?

I want to transfer data between a smart phone app and a website. What are the conventional and not-so-conventional ways of doing it? Here's what I have thought of so far: Simple HTTP GET/POST with data being represented as JSON array string, variations of this being encrypted/compressed string as parameter. Webservice calls ( I am no...

What do you do when you're faced with an "I have no idea how to do this" programming project?

Let's say, for example, that a marketing group in your company asks you, a sole web developer, to build a widget (some type of web application, web feature, etc.) in 2 weeks. Given the following hypothetical facts: Your normal work duties involve building web pages in HTML and CSS and with a very limited knowledge of JavaScript. Buil...

Project Explanation, A True Tragedy

Guys, I need your help. In our company, we are to discuss every detail of a finished project with our project manager, phase by phase, code by code, output by output. He is brilliant, arrogant, and a complete asshole. Every time I am done with my module/task it has been approved by QA pain-makers, it's the "time" to meet the manager. I...

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 have a direct line of communication, so my explanation needs to be in written form. I have...

Best way to relate code smells to a non technical audience?

I have been asked to present examples of code issues that were found during a code review. My audience is mostly non-technical and I want to try to express the issues in such a way that I convey the importance of "good code" versus "bad code". But as I review my presentation it seems to me I've glossed over the reasons why it is impor...

SMS Communication Through The Internet

If I am to send a message to a mobile device from a website and viceversa, how can that be done? What I know: A couple of years ago I developed a simple enrollment system on J2ME platform(just for trying J2ME out). I had a mysql database that I setup in a pc/server, and for the communication I used the static IP of that server. I had a ...

need to explain why checkboxes look funky in Safari

Everyone in my office uses Macs and therefore most use Safari. We have a page that has 30 checkboxes on it, I didn't even do the HTML myself but no matter if I use the html input checkbox with a label or an asp:Checkbox usig the text property for the label my boss is irritated because the checkbox is a little below center on the label....