I just want to transfer (send or receive) a hash from client to server.
Can you tell me which is a preferable way in Perl or can you suggest any CPAN modules?
As you might know katmouse enables scrolling over non active windows. Which would be especially great in vs 2010 because now you can take source code windows to other monitors. But of course it does not work. Is there a trick to make WPF receive the right message?
Hi all
I am a newbie to the python. Can I unhash, or rather how can I unhash a value. I am using std hash() function. What I would like to do is to first hash a value send it somewhere and then unhash it as such:
#process X
hashedVal = hash(someVal)
#send n receive in process Y
someVal = unhash(hashedVal)
#for example print it
print someVal
Thx in advance
On my form onbutton submit following events takes place:
1) CGI is called which uploads the file
2) Javascript/Ajax function is called which opens a request for another CGI and is supposed to receive updated values from there. However, it seems that the CGI with which Ajax is communicating is not responding to Ajax requests.
My question is that is it possible to run two CGIs simultaneously?
I'm writing a multi-tenant app that will receive requests like http://www.tenant1.com/content/images/logo.gif and http://www.anothertenant.com/content/images/logo.gif. I want the requests to actually map to the folder location /content/tenant1/images/logo.gif and /content/anothertenant/images/logo.gif
I'm using asp.net Mvc 2 so I'm sure there's probably a way to setup a route to handle this or a custom route handler? Any suggestions?
Thanks!
Hello All,
I'm new in MPI programming world and i'm wondering if there is some variables shared between MPI processees and accessible from any process without having to send/receive them ?
Thanks
I am using the jQuery sortable() feature to re-order a list of items. After an item is drug to a new location, I kick off an AJAX form post to the server to save the new order. How can I undo the sort (e.g. return the drug item to its original position in the list) if I receive an error message from the server?
Basically, I only want the re-order to "stick" if the server confirms that the changes were saved.
We have an existing PHP page (from an earlier project) which could be described as cryptic and ancient. It basically displays a form, catches the input and runs an external application to process the input and then pipes the output to the user.
I would really like not to modify this file any more than is required. Would there be an easy way to just make this file magically work by copying it to some location in the CakePHP's directory and have it receive $POST etc. as usual?
Hi,
I have application where I read/receive data all the time (text) and I need to display this data into datagridview, what is the best way to do that in real time, so the data will be changed all the time.
I thought about multi threading, if this is a good idea can you guide me with link to explain how to implement it.
Thanks
In .NET, both array and list have Enumerable as ancestor, so a method that accept Enumerable as an argument can receive both array and list as its argument.
I wonder if there is a similar thing in Java?
Hi,
I am writing a chrome plugin in which I would like to receive events such as "load", "unload" of window and page. However, I'm not getting any concrete clue to start with.
Can anyone tell me how to capture DOM event in plugin?
Does Chrome support this feature?
Thank you.
I am currently following along with http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/accessing-your-model's-data-from-a-controller to get a grasp of MVC 4.
I am trying to add the MoviesController, but whenever I do I receive an error that says...
"Unable to retrieve metadata for 'MvcMovie.Models.Movie'
unrecognized configuration section entityFramework
(C:\Users\User\AppData\Local\Temp\tmp4FFB.tmp line 76)"
The last thing I did before this was change the Web.config file from the end of the previous page in the tutorial.
I am writing a web service that will receive uploads from mobile clients. The data will have 4 or more text fields followed by a large binary field. What is the best standard technology to use for this, as I may make the API public in the future and want to use something that everyone likes. XML? SOAP? Just HTTP and a completely customized payload?
Thanks.
I'm trying to parse various info from log files, some of which is placed within square brackets. For example:
Tue, 06 Nov 2007 10:04:11 INFO processor:receive: [someuserid], [somemessage] msgtype=[T]
What's an elegant way to grab 'someuserid' from these lines, using sed, awk, or other unix utility?
I write my handler for server errors and define it at root urls.py:
handler500 = 'myhandler'
And I want to write unittest for testing how it works. For testing I write view with error and define it in test URLs configuration, when I make request to this view in browser I see my handler and receive status code 500, but when I launch test that make request to this view I see stack trace and my test failed. Have you some ideas for testing handler500 by unittests?
I have this snippet of the code
char *str = “123”;
if(str[0] == 1) printf("Hello\n");
why I can't receive my Hello thanks in advance!
how exactly compiler does this comparison if(str[0] == 1)?
Hi All.
I need to implement push notification in my application.
Actually i have to receive messages from the server.
Kindly guide me how i can implement push notifications in my iphone application.
I'm using the method described at http://stackoverflow.com/questions/805872/how-do-i-draw-a-shadow-under-a-uiview to draw shadow behind a view's content. The shadow is clipped to the view's bounds, although I disabled "Clip Subviews" in Interface Builder for the view. Is it possible to draw a shadow around a view and not only in a view?
I don't want to draw the shadow inside the view because the view would receive touch events for the shadow area, which really belongs to the background.
Hi i am displaying an icon in status bar.Now i want to remove that icon immediately when i open that content , after some time if we receive any alert ,that icon will be displayed again.For this what can i do?Thanks in advance
I have something like a blog with posts and tags. I want to add email notification functionality - users can subscribe to one or more tags and receive email notifications when new posts are added.
Currently I have a Tag model.
There will be a Subscriber model (containing the user's email)
Do you think I also need a Subscription table where Subscriber and Tag are joined?
.. or I can skip it and directly link Subscriber with Tag?
i have a file of this format:
3.334 1
2.345 1
1.453 1
3.343 1
and so on
but in middle at times in file there are few number which are not in float format and i receive type msg when i run them performation some operation..
I want to give a condition that:
if(not in float format):
continue
else:
perform operation
please tell me how to put the condtion
I want to translate English texts to different languages from my iPad App. These texts are generated dynamically from the front end website so I can use static mapping between English and other language. Basically I will receive line of text in English from the server and I want to convert it to iPad's Locale language settings and display it. Is there anyone I can achieve this? Can I use Google translator? Thanks.
I need to fetch only first record (because I need last date) of resultset, at the moment I have this resultset from this sql tring:
SELECT BCACC,FLDAT
FROM ANAGEFLF
ORDER BY FLDAT DESC
and I see this record:
A.M.T. AUTOTRASPORTI SRL 20080220
A.M.T. AUTOTRASPORTI SRL 20080123
A.M.T. AUTOTRASPORTI SRL 20070731
APOFRUIT ITALIA 20080414
APOFRUIT ITALIA 20080205
APOFRUIT ITALIA 20071210
APOFRUIT ITALIA 20070917
APOFRUIT ITALIA 20070907
now I need to take only one record (first) for every BCACC, I would take this resultset:
A.M.T. AUTOTRASPORTI SRL 20080220
APOFRUIT ITALIA 20080414
I've just try group it for BCACC but I receive an sql error, I'm workin on DB2 ibmI
I'm trying to read first row from the file
> source ./rank file
using this script
set line = ($<)
but when I enter
echo $line I receive nothing, how can I change it? thanks in advance
Let's say I have this list:
my @list = qw(one two three four five);
and I want to grab all the elements containing o. I'd have this:
my @containing_o = grep { /o/ } @list;
But what would I have to do to also receive an index, or to be able to access the index in grep's body?