DO NOT USE! This tag is being burninated: https://meta.stackoverflow.com/q/418968/6296561
Questions tagged [connect]
800 questions
2
votes
3 answers
Connect without object
I want to connect some function as slot without class, can I do this:
void update() { }
int main()
{
QTimer timer = ...;
QObject::connect(timer, SIGNAL(timeout()), SLOT(update()));
return 0;
}
The compiler says, that without object it's…

Max Frai
- 61,946
- 78
- 197
- 306
2
votes
1 answer
Switching connect dynamically in Modellica.mechanics
I tried to simulate a "special" pendulum with the Modelica library.
The pendulum got one revolute at the first end and a secound revolute on the other end. At time < t the first pendulum should rotate around the axis of the first revolute. At time >…

A.Schneider
- 49
- 4
2
votes
1 answer
How to connect the disconnected-points in image with Matlab?
This is a more specific problem with complex settings. I have calculated the distance of all 1-pixels to its nearest 0-pixels of raw image and transformed to an image with local maxima shown as below:
I used the following code to extract the local…

Orangeblue
- 229
- 1
- 5
- 15
2
votes
1 answer
Use dns server error
I have a remote desktop project, need to connect using DNS server
I have an error saying that the format of ip and invalid
private static void ConnectToServer()
{
int attempts = 0;
while (!clientSocket.Connected)
…

Natanael Nicolas
- 35
- 1
- 8
2
votes
2 answers
Visual Studio Remote Debugging on XP Embedded - tried everything, please help!
I need to debug some C# code on a remote machine running XP Embedded. I did remote debugging on several occasions on different Windows operating systems and all worked well, but I think that the XP Embedded OS is missing something.
I'm popping my…

Vic
- 21
- 1
2
votes
1 answer
React-redux rerenders when creating arrays
I have a connected component where I would like to retrieve an array of objects. In my store, there is an array of ids, and an object where I keep the items like this:
const state = {
items: [0, 1, 2],
itemsById: {
0: {},
1: {},
2:…

Anthony Dugois
- 2,042
- 13
- 17
2
votes
2 answers
How to manipulate complex data structures made of lists?
I am trying to represent a 3D Connect 4 board game:
For example, I have the following list of lists structure:
(
(
(NIL NIL NIL NIL)
(NIL NIL NIL NIL)
(NIL NIL NIL NIL)
(NIL NIL NIL NIL)
)
(1 1 1 1 1 1 1 1 1 1 1 1 10 10 10 10 10 10 10 10 10 10 10…

Joao Costa
- 21
- 2
2
votes
1 answer
Jsoup. How to multiple web query without multiple connection?
I'm making Android App with Jsoup. My code is as below.
String URL = “http://www.example.com/queryDFSRSS.jsp?zone=“
String zone_1 = “001”;
String zone_2 = “002”;
String zone_3 = “003”;
Document doc = Jsoup.connect(URL+zone_1).get();
. . . .
doc =…

Taejin. Mun
- 23
- 3
2
votes
2 answers
Reopen connected datagram socket
I have a connection protocol that has been defined by our customer. Data are sent between two linux computers using UDP and TCP protocols. The IP addresses and ports are fixed on startup.
We are sending messages at 200 Hz and I have been using…

DanS
- 1,677
- 20
- 30
2
votes
3 answers
Magento connect manager renders blank page
I just installed Magento 1.4.1.1 on my Ubuntu Apache server and everything is working just fine aside from one thing:
The Magento Connect Manager simply brings up a blank page. In Firebug it is just . I read that it might…

F_C
- 1,011
- 3
- 11
- 16
2
votes
1 answer
How to react to a button click in pyqt5
So, I am new to python programming. I have started to implement a UI in pyqt5 and there I have a button and I want to react when the user clicks it.
According to this Link I should simply write btn.clicked.connect(self.buton_pressed) however I get…

findusl
- 2,454
- 8
- 32
- 51
2
votes
1 answer
SystemModeler Connector Weight
I'm looking for "where to start" - I expect that this problem is a bit involved for this forum, but I need a start point, and my search has not been successful as of yet :( any input would be appreciated...
I need to create a Weighted Graph using…

Chris Ruhl
- 41
- 4
2
votes
1 answer
Test if password provided to the "su" command succeded with JSch library
I am trying to execute commands remotely on a server under su. Specifically, I am remotely executing:
su -c '[command]'
This works when I am logged into the remote server. My code to connect a session and run the command remotely looks something…

andor kesselman
- 1,089
- 2
- 15
- 26
2
votes
1 answer
Unable to connect to the remote server from Windows service
When I try to connect to remote server from a .Net windows service installed on the local machine, it is working correctly, but when install the windows service in the same server where the web application is installed, it gives this error:
"Unable…

BK Komal
- 59
- 1
- 3
2
votes
1 answer
How to retrieve POST request body before proxying it
Using connect library on Node, I tried to retrieve request body before proxying it with node-http-proxy.
Since Node v4, we have to use some middleware like bodyParser (or just data/end events on request) to retrieve POST request body.
Problem is, it…

Blackus
- 6,883
- 5
- 40
- 51