Questions tagged [shared-data]

63 questions
26
votes
8 answers

How to pass data between two components in Angular 2

I am looking for solution to pass data to another component and similarly access methods of another component in other (both are parallel components). For example i have two components home.ts and map.ts. I get some data into map.ts and need to pass…
Ajay Dubey
  • 272
  • 1
  • 3
  • 6
22
votes
3 answers

Shared Database vs. Messaging Architecture

I was down the pub with a friend of mine yesterday and we started discussing the architecture in use at the company he works at. The conversation basically surrounded the pros/cons of a shared database architecture against a distributed independent…
user2294382
  • 871
  • 3
  • 11
  • 25
14
votes
2 answers

Laravel Jetstream Inertia Shared Global App Data

I want to share something I figured out since there's not much info out there (that I couldn't find). Laravel 8 with Jetstream Inertia has a few shared objects, like user, current route... You can access them in your components using the $page…
phoenix
  • 1,629
  • 20
  • 11
5
votes
1 answer

.xccheckout had a tree conflict

Using Xcode 5.x and Git, we did a commit on this file: MyProjectName.xccheckout. We then pushed this commit to our central repo. Now, when someone else on the team does a Pull we get the error: "MyProjectName.xccheckout had a tree conflict." There…
timonroe
  • 101
  • 2
  • 6
5
votes
2 answers

SSRS Error: "One or more parameters required to run the report have not been specified. (rsParametersNotSpecified)"

Okay there are similar questions to this but this is NOT a duplicate. This error seems to come up when you have parameters referencing a dataset which is shared. Deleting the report from the server and redeploying does not fix in my case. So I am…
djangojazz
  • 14,131
  • 10
  • 56
  • 94
5
votes
1 answer

Should I implement all my data classes as QSharedData and use it with QSharedDataPointer?

I am a Qt beginner and need to write some data classes. Would it be a good approach to write all these classes as in the QSharedDataPointer example (here), or is this too much overhead (besides the fact it is more work)? My classes in nature a very…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
4
votes
4 answers

Best approach storing and accessing Java application data

I'm in the middle of a massive refactoring project, the code has a 5000 line main class which was injected into everything, stored everything and had all of the common code. I'm no expert on analysis and design but I've separated out things to the…
LiamRyan
  • 1,892
  • 4
  • 32
  • 61
4
votes
2 answers

Strategy to sharing data across an object tree without using static members

I am in a situation where I need to share data across many instances of a polymorphic object tree, but then again, I need the shared data to be "per-tree" so using static class members in the base class is no really an option. I don't want to…
user3735658
3
votes
1 answer

One or more AppDomains created server-side when multiple clients call a WCF service?

The question is pretty much in the title, but I will elaborate. I have a Silverlight application that acts as a slightly extended user interface. The main part of my program will run on a server to keep the shared database coherent. This is where my…
Martin Clemens Bloch
  • 1,047
  • 1
  • 12
  • 28
3
votes
0 answers

Pytorch: Send same batch of data to multiple GPUs, and perform ops on each GPU individually

I have the same dataloader to feed data to 4 models, each with a different hyperparameter loaded on a separate GPU. I want to reduce the bottleneck caused by data-loading, so I intend to load the same batch prepared by the dataloader on all GPUs for…
Saravanabalagi Ramachandran
  • 8,551
  • 11
  • 53
  • 102
3
votes
1 answer

What strategy to use with xUnit for integration tests when knowing they run in parallel?

I use dotnet core with xUnit for my unit tests and also for my integration tests. I have a base abstract class for all my tests following the Given-Then-When philosophy in this way: namespace ToolBelt.TestSupport { public abstract class…
diegosasw
  • 13,734
  • 16
  • 95
  • 159
3
votes
1 answer

Where to store user data?

I'm developing an Android application, and I want to restore user settings, when my application will be installed on another phone by the same user. I don't want to use Dropbox or Google drive, because not all the users have account in these…
a3dsfcv
  • 1,146
  • 2
  • 20
  • 35
3
votes
1 answer

Why would an SSRS report produce different data when run from SQL Server Reporting Services than when run using the Preview tab?

I've got a report running the data I want - from the Preview tab, that is, or when run using F5 in VS 2010. But when I upload the report (.rdl file) to SQL Server Reporting Services, and run the updated report from there, it still shows the old…
3
votes
5 answers

Domain compatibility: where should shared data be written?

We've written an application that works fairly well in XP, but is having serious migration issues to Vista and Windows 7, probably due to where user data is being written. The use case is this: Individual users need to log in to the machine and use…
mmr
  • 14,781
  • 29
  • 95
  • 145
2
votes
2 answers

multiprocessing.Pool map multiple arguments with shared value (Resolved)

I am practicing on using shared values for multiprocessing. I have an existing Process function that is working using shared value: def run_procs_with_loop(lock): # this is my shared value shared_number = Value('i', 0) …
punsoca
  • 459
  • 1
  • 7
  • 15
1
2 3 4 5