Questions tagged [data-sharing]
249 questions
0
votes
1 answer
data sharing dropWhile function in scala using pattern matching
Suppose you have the following functions available for reference
sealed trait List[+A]
case object Nil extends List[Nothing]
case class Cons[+A](head: A, tail: List[A]) extends List[A]
Now consider the following dropWhile function which…

Kid Charlamagne
- 558
- 1
- 10
- 27
0
votes
0 answers
How can I share local database of an existing app with a new app and make both work on it simultaneously?
One of my client's inventory management project supports online as well as offline mode to manage huge inventory data and is built using Xamarin.Forms & sqlite-net. Now, the client wants to create another similar kind of app and wants us to use the…

Nidhi Sood
- 125
- 1
- 1
- 7
0
votes
0 answers
Thread data sharing
I have a thread(A) that produces an object every few seconds,and I have two or more threads(B) that only need to read this object and copy it.
I can not use a Queue, because only one object is created and must be read by all the threads(B) , if I…

rufy94s
- 1
0
votes
0 answers
Data Sharing between client and server?
I am new at programming. I am building a basic layout of a project where i got this problem. i have a scenario where i have several clients and a server. clients will be using a desktop C# application and on server sql database will be installed and…
0
votes
1 answer
Sharing database data for plug-ins in python
I'm writing a program to run certain tests involving data from two databases. The idea is that such tests be implemented as plug-ins (I'm currently using the Yapsy plug-in framework). One test can be, for example, to check if some fields in one…

Sergio
- 4,537
- 4
- 33
- 41
0
votes
1 answer
C++/QT: Using constant pointer to private member as read-only data-sharing
I am writing a program in QT, which currently has a GameEngine class and a MainWindow class.
GameEngine.h:
#include "Player.h"
class GameEngine : public QObject
{
Q_OBJECT
public:
void test();
signals:
void newPlayerDataReady(const…

Jesperten
- 15
- 6
0
votes
1 answer
Share complex objects between two independent angular (>=5) components
I have a components which displays a list of users (UserListComponent)
The model bound model is a list of user objects received by a userService using httpclient.
When user clicks on item (user) in the list a component (UserDetailsComponent) should…

Steven
- 61
- 1
- 3
- 10
0
votes
1 answer
Best way of sharing key value pairs in C++
When I tried passing a map of string pairs I felt like too much of my code was hard coded (strings used as keys) and not really elegant.
That's why I'd like to ask if there is a best practice when wishing to share a map.
What I've tried
Map with…

S. Jung
- 98
- 1
- 8
0
votes
1 answer
Angular 2~6: What is the most efficient way to communicate with "Components"?
These are the only methods I know so far:
@Input/@Output | This is to communicate a child with its parent and vice versa
@ViewChild | This is to communicate with the child component
@Injectable Service | share data with any…

Aerial
- 1,185
- 4
- 20
- 42
0
votes
1 answer
"Share" a sqlite table with another smartphone
Maybe I'm going to ask a stupid question, but I can't find anything on the internet about this (explained in a simple way).
Here is the issue: I've got an app, in which the user organize data in SQLite Tables (you create a table so you can insert…

Eugenio Anselmino
- 135
- 8
0
votes
2 answers
How two agents communicate undirectly through a memory sharing in multi agent systeme
Communication between agents in multi agent system MAS can be done directly with messages changing ( send and receive ), or indirectly throug a memory sharing so agents can write and read informations from the memory.
I have to implement the second…
0
votes
0 answers
Share data between users in a MEAN app
I am creating a MEAN app with flashcards and I want to implement sharing functionality: User A can share one or more flashcards set, and user B can add them to his own sets and learn.
How can this be achieved, is there some library for this? What…

Tom
- 171
- 1
- 3
- 14
0
votes
1 answer
Manipulating service data in component in Angular
In my angular application, I have stored categories in a service.
In my component I'm removing the first categories from the array and displaying it. The first category is "ALL", and I don't want to display that.
So when I edit the createCategories…

Shruti Nair
- 1,982
- 8
- 30
- 57
0
votes
2 answers
How many ways to sharing data between Eclipse RCP plugins?
I have a RCP app and a RCP plugin (A) that contributed a Part. There is a TreeViewer (with many items) in the Part. I also defined a popup menu with some menu items (in a file .e4xmi) then registered this menu to the TreeViewer.
I'm writing…

aviit
- 1,957
- 1
- 27
- 50
0
votes
1 answer
How to share application level data between pages in Angular 2+
Like many, I have involved in quite a few Angular projects, both the older 1.x and new 2+ (currently it is version 4). One of the issues I frequently deal with in those projects is that the sharing of the application level data between different…

omt66
- 4,765
- 1
- 23
- 21