listen Questions

3

Objective: When a new record is inserted into a specific PostgreSQL table, I would like PostgreSQL to notify my node.js web application so that it can initiate an API call to an external service. I...
Scrunch asked 11/8, 2022 at 15:59

19

Solved

On Linux, I can use netstat -pntl | grep $PORT or fuser -n tcp $PORT to find out which process (PID) is listening on the specified TCP port. How do I get the same information on Mac OS X?
Investment asked 12/12, 2010 at 12:30

14

Solved

I know how to listen to volume buttons in an activity. But can I do that in a background service? If yes, how to do that?
Aeri asked 14/4, 2012 at 13:44

2

Solved

I heard that for TCP connection, server will listen on 1 port, and use another port for sending data. For example, web server listen on port 80. Whenever client connects to it, this server will us...
Bowler asked 2/4, 2013 at 10:27

1

I have checked the documentation (for my version 9.3): http://www.postgresql.org/docs/9.3/static/sql-notify.html http://www.postgresql.org/docs/9.3/static/sql-listen.html I have read multiple di...
Cloninger asked 23/2, 2015 at 16:4

2

Solved

I have a DownloadsService class that handles downloading of file using dio package. I want to listen to the download progress from my ViewModel class that implements the downloadFile method inside ...
Gains asked 14/6, 2020 at 21:17

11

Solved

I've got an API mode Rails 5 app that won't let me run rake routes or rails s. The error I get is: $ rake routes rake aborted! LoadError: Could not load the 'listen' gem. Add `gem 'listen'` to the...
Whitacre asked 29/7, 2016 at 16:41

5

Solved

I am trying to create a web server stream. Here is the code: import 'dart:io'; main() async { HttpServer requestServer = await HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 8000); requestServ...
Hexagon asked 5/3, 2017 at 17:54

1

Stream listen is not called when limit is added in Firestore query in Dart / Flutter final _startAtTimestamp = Timestamp.fromMillisecondsSinceEpoch(DateTime.parse('2000-01-01 01:01:01.001').millise...
Badillo asked 20/6, 2021 at 5:7

2

Solved

I installed Ruby 3.0.0p0 on my Macbook pro (2020 M1) and rails 6.1.3. However, whenever attempting to start up the rails server on my machine, I get the following error: listen-3.2.1 requires ruby ...
Priedieu asked 12/3, 2021 at 22:57

1

Solved

I want to create LISTE/NOTIFY pipeline with trigger_function that sent NOTIFY. In my NOTIFY i want to get message with row id for any create/delete/update with row in table. How can i write such no...
Antibes asked 11/9, 2020 at 4:20

4

Solved

Is there a way for Node.js to listen to a change in a particular data in a collection of MongoDB, and fire an event if a change happens?
Raneeraney asked 28/9, 2011 at 18:27

4

Solved

I am running tomcat 6 on Centos 6.4 and have started it sucessfully. There were no errors on start. catalina.log reads: 2012-08-11 14:23:42,941 | INFO | main | o.a.c.http11.Http11NioProtocol | Sta...
Emulsify asked 12/8, 2012 at 2:59

1

Solved

I have a question about nodeJS (specifically with regards to version 9). Using this project -- https://github.com/howardchung/jsminer, I'm running a nodeJS server, if that is the right word. I spin...
Terminus asked 6/3, 2018 at 22:42

4

Solved

I have a program that uses content from sd-card. I want to listen to different states like sd-card mounted or sd-card removed unexpectedly. How can I do so. An example would be of a great help. Th...
Kilt asked 7/8, 2011 at 15:43

3

Solved

I am having trouble trying to figure out how to listen to events fired in one View Controller from another ViewController. My grid component defines a Listener selModel: { listeners: { select...
Humbertohumble asked 14/5, 2014 at 19:4

2

I am planning to use postgres LISTEN/NOTIFY aproach to get insert time(actual transaction commit time) of records in a table. To achieve this, I plan to do the following. I issue a notification dur...
Tracheotomy asked 2/10, 2015 at 19:12

3

Ok here's my problem. Whenever I press the HOME button nothing happens. If i'm in an app and press it i'm not sent to the home screen like I should be. However, if the screen is locked and i press...
Byelorussian asked 30/7, 2011 at 22:3

0

I can't get Guard to run any action. I'm using: Gentoo x64 (3.14.14) rbx-2.5.2 guard 2.11.1 listen 2.8.5 Guardfile is just catch-it-all from Understanding guard guard :rspec, cmd: "bundle exe...
Janycejanyte asked 4/2, 2015 at 7:19

4

Solved

I've been trying to find a way to stop a listening server in Go gracefully. Because listen.Accept blocks it is necessary to close the listening socket to signal the end, but I can't tell that error...
Simply asked 16/11, 2012 at 12:57

1

Solved

I am new to node and express. I have come across two ways of creating an express app that listens on a specific TCP port which, as far as I can tell, yield the same result. Could someone please she...
Roede asked 4/6, 2014 at 18:50

2

Solved

PostgreSQL has a good listen/notify system. Documentation says: There is a queue that holds notifications that have been sent but not yet processed by all listening sessions. If this queue beco...
Beirut asked 15/4, 2014 at 14:54

2

Solved

I need to develop a service which listen for every activity start. Must I do something like this? ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); List<Activit...
Castled asked 29/9, 2011 at 11:11

4

Solved

This might be a very dumb question but, is there a way to fire a trigger whenever something is printed to the console in Java and listen for it somewhere else? I have very little understanding of ...
Arched asked 9/2, 2012 at 21:53

2

I was recently asked how/if possible that one could do this. I am not sure if it is even possible, and I have been searching on it for a while now. Basically let's take Windows for example there i...
Uncomfortable asked 18/3, 2013 at 13:21

© 2022 - 2024 — McMap. All rights reserved.