multi-user

How to specify a unique java.io.tmpdir for each user of a multi-user Eclipse installation?

纵然是瞬间 提交于 2019-12-02 00:36:24
I have an Eclipse installation on a multi-user Linux system at /opt/eclipse/ . Unfortunately, because of a defect in m2eclipse-mavenarchiver , this plugin uses a folder in a system temporary directory that is common for all users (this manifests as a "permission denied" message for a pom.xml file). I planned to specify a unique value for java.io.tmpdir in a common eclipse.ini based on a user name, but it turned out that it is not possible . One option is to have a per-user installation of Eclipse where each eclipse.ini would have its own value of java.io.tmpdir (e.g., -Djava.io.tmpdir=/tmp

Adding participants to XMPP chat rooms

ⅰ亾dé卋堺 提交于 2019-12-01 14:54:17
问题 I want to implement Group Chat in my application, for that purpose i am using MUC chat rooms to implement the same. Here I want to add a list of members( i have the JID's) to the room. I want to add them internally to all the members in the list. How can i add them without inviting them. And after adding the members i want to implement a functionality that whenever a user of the chat room messages or chat, it should be delivered to all the other users. The main problem is how to add members

How to see who is using my Access database over the network?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 05:37:15
I actually have 2 questions: 1. How might I see who is using my Access database? E.g: There is someone with an Access database opened and it created the .ldb file, I would like to see a list of who opened that database (it could be more than one person). 2. How might I see who is using a linked table? E.g: I have 10 different Access databases, and all of them are using a same linked table. I would like to see who is using that linked table. I don't even know if it's really possible, but I really appreciate your help! For you information: The main problem is that lots of people use the same

Entity Framework data updates in a multi-user environment with central database

我只是一个虾纸丫 提交于 2019-12-01 03:40:01
Let me explain the title. I'm using Entity Framework Code First in an application (TestApp) . For debugging purposes the TestApp connects to an SQLExpress database (central database server). To keep things simple here, the database contains one table "Products" and the TestApp shows all "Products" from the database in a datagrid and TestApp can add/delete a "Product" or modify the ProductName. public class Product { public int ProductId { get; set; } public string ProductName { get; set; } } public DbSet<Product> Products { get; set; } I have for example 3 pc's where TestApp is installed and

Is there an intent for uninstallation of an app for ALL users?

不羁岁月 提交于 2019-11-29 19:15:27
问题 Background The normal way to call for the uninstallation an app is simply by using the "ACTION_DELETE" intent : startActivity(new Intent(Intent.ACTION_DELETE, Uri.parse("package:" +packageName))); The problem starting with some Android version (don't remember which) , apps can be installed for multiple users on the same device. This means there is a new way to uninstall an app, one which will uninstall it for all users (image taken from Lollipop - Android 5.0 ) : The question I've searched in

Thread safety of MySql's Select Last_Insert_ID

我们两清 提交于 2019-11-28 19:27:01
I'm trying to make some MSSQL code also run on MYSQL and I just hit this land mine. Google says the normal approach is to simply do your insert and then select last_insert_ID() to find out what got written. This does not strike me as safe in a multi-user environment, though. There's a narrow window there where another user could insert something and cause a bad return value. How do I safely insert and obtain the key of the inserted record? https://dev.mysql.com/doc/refman/5.5/en/information-functions.html#function_last-insert-id : The ID that was generated is maintained in the server on a per

Does In App Billing support multiple accounts?

谁说胖子不能爱 提交于 2019-11-28 11:12:18
Does InApp billing (V2 or V3) works for a user who uses several accounts and makes the purchase with an account that isn't the primary one? PD: Some explanation required, no simple Yes/No In App Billing support multiple accounts reported as a bug in code.google , have a look at it According to Mr.Sergej (posted in G+ android dev community) in-app products purchased with the first account won't be active anymore while using multiple user accounts!. InApp billing just charges the user and tells your app whether it was successful or not. It is up to you to figure out how to give the user what

Pessimistic versus Optimistic Concurrency (Locking versus Feedback)

不打扰是莪最后的温柔 提交于 2019-11-27 18:28:36
问题 I'm building an application with the following criteria: work items: items that need to be manually worked via the web by users (short one page form) Multiple users working 'work items' Each user has a queue of 'work items' There is a search that allows users to view 'work items' and assign 'work items' to their queues Users can take 'work items' out of other people's queues by assigning them to themselves Note: 'work items' are worked only once. This is not a wiki page, it's more of a

Thread safety of MySql's Select Last_Insert_ID

早过忘川 提交于 2019-11-27 11:39:52
问题 I'm trying to make some MSSQL code also run on MYSQL and I just hit this land mine. Google says the normal approach is to simply do your insert and then select last_insert_ID() to find out what got written. This does not strike me as safe in a multi-user environment, though. There's a narrow window there where another user could insert something and cause a bad return value. How do I safely insert and obtain the key of the inserted record? 回答1: https://dev.mysql.com/doc/refman/5.5/en

Implications of Android multiple user support (new in 4.2) for server side data model (e.g. android_id)

懵懂的女人 提交于 2019-11-27 08:13:07
Google has just released Android 4.2, which includes support for multiple user profiles on a single device: http://developer.android.com/about/versions/android-4.2.html#MultipleUsers . Google says that this will be transparent to apps, but I think it could have an impact on the data model used to identify devices, users, and installations. One issue is the use of android_id. The advice on the linked page above suggests identifying a device by one of the methods other then android_id, but I believe that android_id is very widely used for this purpose. My main question is - does each user