push

PubSubHubBub Hubs

Hi, I'm currently building a live web application based upon the PubSubHubBub protocol. However, I encountered several issues. First, I'm in search of a hub application that I can run on my server. There are several applications, but most of them are not mature yet, or they don't support the 0.3 spec. The official google hub runs on th...

Is there an open source cross-platform push server?

I'm currently in need of a (preferably open-source) free push server, that supports both linux and windows. I need something similar to the Ajax Push Engine, but that project unfortunatelly does not work on windows (I could use a virtual machine, but that's not what I'm looking for). I need to be able to push information to/from a pytho...

Mercurial client error 255 and HTTP error 404 when attempting to push large files to server

Problem: 19/06/10 Update: More evidence problem is server-side. Receiving this error on Windows 7 command line (see below for full traceback): URLError: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host> abort: error: An existing connection was forcibly closed by the remote host When attem...

In PHP how would I push the values of an array on to the end of itself

Say I have an array: $myArray = array("foo", "bar"); What is a good way to repeat the values in the array onto the end of the array so that: $myArray = array("foo", "bar", "foo", "bar"); I thought maybe array_push would work like this: array_push($myArray, $myArray); but that actually pushes the array object and not the values o...

validate iphone push notification token?

I've not yet implemented push notifications in my app. My understanding is that the app running on the device must request a token, then send this token to my server, and that my server must pass this token to Apple whenever I want to push a message to the device / app. Is a requested push token specific to the app, or do all apps on t...

Iphone Push php or certificate error ?

Hi all ! I have made an app using remote notifications, i've used the Apns certificate and his private key to create my cert-production.pem removing the passphrase. An another guy of my team works on php side. We have managed to use it during developpement, get the token and send a push using a payload. But after submission t the a...

iPhone: Push Notification Error, Unable to Connect to Gateway

Hi all, I'm trying to use push notification but I get this error: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 i've made my cert.pem using the Apns production certificate and his private key. I've made my cert.pem using the Apps production certificate and its priva...

iphone Push unable to connect to gateway...

Hi all ! I'm trying to push my app not in developpement, and i get the following error : stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 To push i use : $serverId=1; $name="NameOfMyApp"; $apnsHost = 'gateway.push.apple.com'; $apnsPort = 2195; $apnsCert = 'ck.p...

What disables #pragma pack(push)?

Hi All, I have a code that uses #pragma pack(push,8) but it does not seem to take effect somehow but I can't figure out what's causing this problem. For example, look at the following code. #include <windows.h> #include <stdio.h> #pragma pack(push, 8) typedef struct _MY_DATA { LARGE_INTEGER a; LARGE_INTEGER b; ULONG count; } MY_D...

How can I get hg to prompt for my HTTP auth username / password on cygwin / windows?

At home, this works perfectly. I'm on another computer now (using cygwin) and hg push will not prompt for a username / password: user@localhost /cygdrive/d/repos/upthescala/viewprotect $ hg push https://viewprotect.googlecode.com/hg/ pushing to https://viewprotect.googlecode.com/hg/ searching for changes abort: http authorization requir...

custom code to run on server on every silverlight poll. (polling duplex)

Hi, Is it possible to run custom code when the silverlight client polls everytime to the server to keep the connection alive. My application is a implementation of the comet style polling duplex communication which is available from silverlight3. I found that it sends the following Soap message on every poll. <s:Envelope xmlns:s="http:...

push notification not launch app

i can receive the push notification. But the iphone is in lock screen. if the new push notification receive. at that time, i unlock the screen, the app will launch automatically. if i want the app not to launch when i unlock the screen. how to do? Thank you. ...

error while trying to push database to heroku

I am trying to do a $heroku db:push this is the error I get C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union': can't convert Array into String (TypeError) from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138 from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in ...

How to implement push notification for multiple Android apps?

Our products still target OS 1.5+, so C2DM in Froyo is not an option. I think wrap a persistent TCP connection in a service would be feasible. But I'm still wondering how to use one service to receive notifications for multiple applications. I don't want to create service and connection for each of my apps. Should I try to register the...

PHP to apple push notifications on production problem

Hi guys, i used an example to build an push notification service....it worked greate on the development version, but now that my application is in production, i can not get it to work....i have rebuild my .pem file with production certificates, but by now...,nothing....heres my code in PHP to push: <?php $token = '504e06eeeeee26b82c084a...

iOS - UIRemoteNotificationTypeBadge & Push

Hello, If my application is started and only started. I implemented application:didReceiveRemoteNotification: to receive the payload. If a message is sent to my iPhone, is this method called for every registration type, such as the following one? [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificatio...

Push Notification Error: "Unable to set local cert chain file"

I wrote a test php page that just sends out a generic push notification and it works intermittently. Sometimes it delivers the message and other times I get this error: "Message: stream_socket_client() [function.stream-socket-client]: Unable to set local cert chain file `/var/www/ninerobot.com/public/mlb/certs/mlbtr-push-dev.pem'; Chec...

iPhone Navigation Stack Pushing and a Popping

I have an Application. I wish to push View controllers A, B, C, D and E in various arbitrary orders. A is the Home page, so you could say it is the root, Super VC. But any scenario could occur: A->B->C->B->C->D->A->B->C ... etc. Is the UINavigationController the existing answer to my problems? Keep in mind, my View controllers are c...

git - pushing specific commit

I have made several commits on different files, but so far I would like to push to my remote repository only a specific commit. Is that possible? Thanks ...

Multiple IF's and ELSE IF's in javascript

Hey guys, So what's getting pushed to this array is dependant on a few radio boxes. I've got this for standard and wheelchair seats: if(document.getElementById('standardseat').checked) { //Standard seat is checked seatsArray.push(e.posX, e.posY); } else if(document.getElementById('wheelchairseat').checked) { //Wheelchair seat is ch...