DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
2
votes
2 answers
Node.js, Session with infinite loop
I'm using expressjs and connect-mongo@0.1.7 as the MongoStore for session.
What happen is, the session code was working. but after I upgrade node and npm to the latest version, and Mongo to 2.0.2, then if I put express.session ( store:new…

murvinlai
- 48,919
- 52
- 129
- 177
2
votes
1 answer
moving magento database to separate server
I'm trying to move the database from a magento store to a separate server, but i have problems connection to it. I know I've got to edit the local.xml in /app/etc, but i am not sure about the syntax.
Can you give…

user1230718
- 21
- 1
- 2
2
votes
1 answer
What's the best way to access one Connect middleware from another?
I've written a Connect middleware where I'd like to re-use the "send" method of the "static" Connect middleware if it's installed. What's the best way to get a hold of that code in my middleware? Currently I'm passing the express object use "use"ing…

Kevin Dente
- 25,430
- 7
- 43
- 47
2
votes
1 answer
unable to connect to api.heroku.com
I am working with heroku from the site http://devcenter.heroku.com/articles/java.
My OS is windows7.
When I am typing the command heroku in command prompt I am getting the following:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft…

evsandeep
- 21
- 3
2
votes
1 answer
QErrorMessage and QValidator
I'm a student programmer and I'm trying to use some of the widgets provided in Qt to control my user input. I want the error message to display exactly whats wrong with the user input so I thought that using a switch statement would be best. I may…

Wylie Coyote SG.
- 1,009
- 6
- 22
- 37
2
votes
1 answer
createRfcommSocketToServiceRecord pairing bluetooth
I am trying to connect to an embedded device and the bluetooth pin is 1234, when I connect to to the embedded board it is asking me to enter 000000 on the embedded board and not asking me to enter the correct pin from my device. I am not sure what I…

user1022306
- 41
- 1
- 6
2
votes
1 answer
how do I pass in arguments for connect logger?
This is a basic question but I'm not sure what the syntax is for passing in the stream option to the arguments in connect logger middleware.
http://senchalabs.github.com/connect/middleware-logger.html
Is it?:
connect.logger('default', myLogger)
And…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
2
votes
2 answers
node.js benchmark not smooth
I write a simple page like this
var connect = require('connect');
connect.createServer(
connect.router(function(app){
app.get('/no-db', function(req, res, next){
res.end(JSON.stringify({/* object here*/}));
});
…

guilin 桂林
- 17,050
- 29
- 92
- 146
2
votes
1 answer
Bluetooth: program stuck at connect() method
I'm programming a simple Bluetooth client to send and receive text messages throught RFCOMM as a serial port. I had a look at the Android SDK tutorials and did it in the same way: an Activity which calls a thread to make the connection, and once…

Roman Rdgz
- 12,836
- 41
- 131
- 207
2
votes
1 answer
How to solve Python Sockets/SocketServer Connection [Errno 10048] & [Errno 10049]?
I'm trying to make an online FPS game and so far it works on my local network. What I'm trying to do is make it work globally
I've tried making other Python projects work globally in the past but so far I haven't been able to get it to work. I get…

H4rtland
- 21
- 1
- 2
2
votes
3 answers
Node.js connect-mongo database connection problem
This is a very weird problem with "connect-mongo"
In my server, I have two scripts.
1) create the express server with session with Mongo DataStore: It has no problem for connection or creating the session.
MongoStore =…

murvinlai
- 48,919
- 52
- 129
- 177
2
votes
6 answers
Oracle SQL hiding duplicate values
I have a query with these results:
A | 1
A | 2
B | 1
B | 2
B | 3
How do I get the results to be like this:
A | 1
| 2
B | 1
| 2
| 3

Michael
- 21
- 1
- 2
2
votes
1 answer
Invalid argument errno on connect()
I'm writing a program that basically perform server-client relationship.
When i run my client (with the relevant params, when the server is already running), i get the following errno message:
Invalid argument
Here's a part of the relevant code: …

Zach
- 537
- 4
- 9
- 19
2
votes
1 answer
Get IP from URL (C++)
How can I get the IP-address from a domain name with the top level domain name?
In this example get the IP of google.com.
And if possible in IPv6 in the correct format.
This is what I've tried so far:
#include
using namespace std;
int…

UnhandledException321
- 133
- 1
- 1
- 11
2
votes
2 answers
BLE (Bluetooth low energy) on android, create and reconnect to device which is not always present
Well I want to connect to an OBD2 dongle with BLE, which switches on/off according to the car state. The Android device itself will be running all the time, as far as planned now.
AFAIK I have two options for reconnecting:
a) set the connectGatt…

chksr
- 192
- 3
- 13