Questions tagged [publisher]

325 questions
0
votes
1 answer

C# Event system

I'm using MVC in a c# project, my controller knows about the model but i want the model to be unaware of the controller. So, to notify the controller about a changement, the model fires an event that the controller is subscribed to. This way i…
0
votes
1 answer

How to build a variable to reuse text settings?

I am working on drawing a series of text boxes into a publisher file (via Publisher shapes) from an Excel sub (sample code below). The problem I am running into is that I can't seem to declare a Font and reuse it for later, so I have to change the…
Path
  • 37
  • 7
0
votes
1 answer

VBA Draw shape in Publisher from Excel sub

I have a sub in Xcel that I want to draw a formatted textbox into an existing publisher document. However, it keeps giving me a type mismatch when I try to draw the shape in. (This works perfectly when written as a sub on the publisher document, but…
Path
  • 37
  • 7
0
votes
1 answer

Publish on topic for a certain period of time

I have a ROS Node where i subscribe to a Topic and then publish to another topic on the following way : #include ... //Ros Nodehandle + Publisher //Callback Function definition int main (int argc, char** argv){ //Initialisation // Pub …
theone
  • 1
  • 1
0
votes
0 answers

Async call not getting updated using publisher in SwiftUI

I am trying to load HealthKit data and display a total distance and last workout date in a SwiftUI view (for a Widget). I am getting the data in the print statement but it's not getting updated in the HTWidgetView below: class WidgetViewModel:…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
0
votes
1 answer

How to create sign own exe/ps1 files to use with applocker

Since 2 days I try to create a VisualStudio application, which should be trusted inside of applocker rule. Unfortunatelly if I sign my exe with own created signature, it cannot be used within applocker wizard, there is a error message that the…
borecki
  • 1
  • 2
0
votes
1 answer

Convert Subject/Publisher to another Publisher

Given an existing CurrentValueSubject instance, the goal is to create a new Publisher that will take the subject's stream of Strings, and in turn will output Ints. My approach is to map the subject to AnyPublisher: let subject:…
Womble
  • 4,607
  • 2
  • 31
  • 45
0
votes
1 answer

Storing and retrieving object in ray.io

I have a ray cluster running on a machine as below: ray start --head --redis-port=6379 I have two files that need to run on the cluster. Producer p_ray.py: import ray ray.init(address='auto', redis_password='5241590000000000') @ray.remote class…
0
votes
1 answer

Using VBA in Microsoft Publisher, is it possible to set the image of a "Picture Placeholder"

I created a template in Microsoft Publisher, which has a few "Picture Placeholders" on it. I have read through the documentation, but cannot figure out how to programmatically set the image of my placeholders. Private Sub Document_Open() Dim…
ziggy
  • 13
  • 3
0
votes
2 answers

Transform callback approach to reactive with Combine

This is what I am doing: -> Login/Signup to Firebase using FirebaseAuthentification -> Listining to AuthStateDidChangeListenerHandle -> I store extra user information in Firestore, therefore I check if the user exists in Firestore -> If the user…
PaFi
  • 888
  • 1
  • 9
  • 24
0
votes
1 answer

Future Combine sink does not recieve any values

I want to add a value to Firestore. When finished I want to return the added value. The value does get added to Firestore successfully. However, the value does not go through sink. This is the function that does not work: func createPremium(user id:…
PaFi
  • 888
  • 1
  • 9
  • 24
0
votes
1 answer

Vb.Net MS Publisher Strings Array To TextBox Problem

I am creating a Simple Publisher Application in which I need to insert texts in different textbox from an array of strings .I have coded it like this . Dim texts(40) As String 'Array of strings to be inserted shpTextBox =…
Sandeep Pathak
  • 10,567
  • 8
  • 45
  • 57
0
votes
3 answers

Why this produces compiler error in Combine?

just trying to implement SwiftUI and Combine in my new project. But stuck in this: func task() -> AnyPublisher { return AnyPublisher { subscriber in subscriber.receive(Int(arc4random())) …
Alex
  • 111
  • 1
  • 5
0
votes
1 answer

Microsoft Outlook 2019 Add-in Unknown Publisher

I'm developing a Outlook add-in for reporting email and use Advanced Installer to build the package. I added a proper certificate key into Registry when building the EXE file but our client got certificate issue when opening the Outlook below: I…
0
votes
1 answer

Why is the turtlebot not moving continously?

if __name__ == '__main__': rospy.init_node('gray') settings = termios.tcgetattr(sys.stdin) pub = rospy.Publisher('cmd_vel', Twist, queue_size=1) x = 0 th = 0 node = Gray() node.main() We make the publisher(cmd_vel) in…