Questions tagged [message]

For questions regarding Facebook messages, JavaScript messages, mobile messages (Android, iOS, windows-phone), etc. Not for use for error messages. Include additional tags to indicate messaging platform, programming language, etc.

Questions about sending and receiving messages of any kind. As this tag is vague, use a more specific tag instead if possible. For example, most questions about Facebook messages should have the tag for the programming language, , and possibly a tag for the API or framework you're using. If your question is about a , an , a window, a , an , … then use the appropriate tag instead. Do not use this tag (or any tag) to indicate that you tried something and got an error message.

4541 questions
17
votes
6 answers

Rails Notification Message plugin?

I am about to code something for a Rails app of mine and didn't want to reinvent the wheel, hence my question: Do you guys know any Rails Plugin that would allow an application to display notification messages that could be user specific and also…
kolrie
  • 12,562
  • 14
  • 64
  • 98
17
votes
9 answers

Why would you use a message based system?

What are the motivations for using a message based system? I'm seeing a lot about service buses such as NServiceBus and Mass Transit and I'm wondering what the benefits of the underlying methodology are.
Garry Shutler
  • 32,260
  • 12
  • 84
  • 119
17
votes
1 answer

R print table using message

I have a dataframe which I want to print as a warning to show NA values. The reason I can't use print alone is that I am running an RMarkdown document which I want to run without adding this dataframe to the pdf but separately print the dataframe…
Anon.user111
  • 468
  • 1
  • 5
  • 16
17
votes
5 answers

What can I use to implement Telegram messages in my website?

After searching all over the web, I am forced to ask: What can I use to send messages using the Telegram API? JavaScript or PHP preferably. I have a group of friends that I wish I could tell through certain events on the website. Here's an…
naoxink
  • 595
  • 1
  • 12
  • 19
17
votes
5 answers

Message Design Patterns

For message based passing systems, what are your "message design patterns" e.g. Limit directed messages (i.e. specific destination) Avoid long cascade chains (i.e. react to MsgA with MsgB, MsgC etc.) Have a system "heartbeat" message Other…
jldupont
  • 93,734
  • 56
  • 203
  • 318
17
votes
5 answers

WCF message security without certificate and windows auth

I have a WCF service and client which is going to be deployed to several companies (hundreds). Some companies will run the software in their network and some will run it over the Internet (WCF server at on office, WCF client at another). We want to…
Martin
  • 171
  • 1
  • 1
  • 3
17
votes
3 answers

Send or post a message to a Windows Forms message loop

I have a thread that reads messages from a named pipe. It is a blocking read, which is why it's in its own thread. When this thread reads a message, I want it to notify the Windows Forms message loop running in the main thread that a message is…
dan-gph
  • 16,301
  • 12
  • 61
  • 79
17
votes
3 answers

How to change boilerplate "Sent from my iPhone" text in MFMailViewController message body?

I'm using the MFMailComposeViewController to send an email from within an iPhone v3.0 application. I programmatically create the message body text and display it before showing the picker. At the bottom of my message body text is the string "Sent…
billmaya
  • 1,311
  • 3
  • 15
  • 34
17
votes
1 answer

Custom Messages in Non-Windowed Classes - need a default handler?

With a class (TObject) I have : private FHwnd : HWND; procedure HandleMyMessage(var Message : TMessage); message TH_MYMESSAGE; where TH_MYMESSAGE = WM_USER + 1 In the class constructor: FHwnd := AllocateHWND(HandleMyMessage); The only object…
J...
  • 30,968
  • 6
  • 66
  • 143
16
votes
3 answers

Smalltalk-style Messages vs. C-style Functions

When should I use messages versus C-style functions?
Jake
  • 15,007
  • 22
  • 70
  • 86
16
votes
5 answers

How to programmatically replace Spring's NumberFormatException with a user-friendly text?

I am working on a Spring web app and i have an entity that has an Integer property which the user can fill in when creating a new entity using a JSP form. The controller method called by this form is below : @RequestMapping(value =…
Martin
  • 1,977
  • 5
  • 30
  • 67
16
votes
3 answers

How do I output messages to the Visual Studio output window, from MSBuild?

I have tried adding elements to tasks in a Visual Studio project file, in order to debug the build process. However, the elements have no effect on the text that is written to the Visual Studio output window. Is there a way to write…
mackenir
  • 10,801
  • 16
  • 68
  • 100
16
votes
1 answer

How to define private base Application messages?

I'm was using private messages in my application for year like this: UM_APP_BASE = WM_APP; // WM_APP is declared as WM_APP = $8000; in "Controls" unit. and then defined my private messages: UM_EXPLORER_MSG = UM_APP_BASE + 1; UM_LICENSE_CHANGE_MSG =…
kobik
  • 21,001
  • 4
  • 61
  • 121
16
votes
1 answer

Best Way to send message to thread

What is the most efficient and fastest way to send message to a thread (not process) that run in while(1) loop in c#/.net: Using a synchronized queue (such in Blocking Queues & Thread’s Communication in C#) Running a message loop Using…
Eyalk
  • 465
  • 1
  • 5
  • 15
16
votes
3 answers

How to write a method/message with multiple parameters?

How do you write a method/message with multiple parameters? EDIT: Like multiple parameters for a single method/message, I mean.
Devoted
  • 177,705
  • 43
  • 90
  • 110