Questions tagged [uid]

uid refers to a string used for record keeping which is not guaranteed to be unique, but should be in the large majority of use cases.

uid stands for one of the following:

  • user identifier
  • unique identifier

References

368 questions
4
votes
1 answer

java mail api, imap folder UIDNEXT is always -1

hi i fetch mails using java api from imap folder, i can get headers etc but the UIDNEXT is always -1, but the next coming mail has a value like 100. Is UIDNEXT not supported by ail mail servers? UIDFolder ufolder = (UIDFolder)…
benchpresser
  • 2,171
  • 2
  • 23
  • 41
4
votes
0 answers

Android CalendarContract.Events.UID_2445 not populated

I am working an app that read Events of a given calendar. public static final String[] EVENT_PROJECTION = new String[] { Events._ID, // 0 Events.UID_2445, //1 Events.DTSTART, // 2 Events.DTEND }; // 3 // The indices for…
4
votes
1 answer

Intent to get the UID of application uninstalled

i've a receiver that is fired on any application uninstall. I want to get the UID of the application . Currently i got the package name that was uninstalled but when i'm trying to get the UID, its returning null. Currently, i'm getting the UID of…
Neji
  • 6,591
  • 5
  • 43
  • 66
4
votes
1 answer

What do values mean in inode column (proc/net/tcp(6))?

This is a piece of /proc/net/tcp file: sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode 6: 1904A8C0:AC35 9603020A:1ED0 01 00000000:00000000 00:00000000 00000000 10055 0 8506 2 c1624900 129 0 0 10 -1 7:…
user1627760
4
votes
2 answers

Ruby IMAP "changes" since last check

I'm working on an IMAP client using Ruby and Rails. I can successfully import messages, mailboxes, and more... However, after the initial import, how can I detect any changes that have occurred since my last sync? Currently I am storing the UIDs and…
sethvargo
  • 26,739
  • 10
  • 86
  • 156
3
votes
1 answer

portal_catalog unique ids for both Archetypes and Dexterity content

I am querying portal_catalog to populate a vocabulary with (UID, Title) tuples. The site has both Archetypes and Dexterity content. brains = portal_catalog.searchResults(path={ "query": site_physical_path + "/" + folder_name }, …
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
3
votes
2 answers

How do I generate a unique ID in Expression Engine 2?

Is there an EE2 tag that produces a unique ID? Or would I need to embed a PHP uniqid() call to get the desired unique ID? Thanks.
3
votes
1 answer

Problem with the User and Group inside a container

Preliminary First, a preliminary. When running a docker container with a volume mapped to some part of the host, the user inside the docker container is usually root, so for files generated by the container, the Host cannot edit, modify or delete…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
3
votes
1 answer

Make ULID lexicographic ordering more sensitive to time

I used this ULID example in a project where I not only needed the uniqueness offered by ULID but also its lexicographic sortability. I discovered, however, that no matter how much I tried, I could not just get the ids generated in a loop…
gbenroscience
  • 994
  • 2
  • 10
  • 33
3
votes
1 answer

How to preserve UID while saving DICOM file using SimpleITK?

I am trying to read one single DICOM file using SimpleITK and save it somewhere else. I noticed that Series Instance UID changes regardless of the fact that I am explicitly setting it. How do I preserve the original UID? from pathlib import…
alex
  • 10,900
  • 15
  • 70
  • 100
3
votes
2 answers

How to properly handle the changing of email uids over previous sessions?

I have a simple server which listen for incoming email messages from one or more folders and from one or more mailboxes. Downloaded messages (quite all except their bodies and attachments) are persisted in a database, so even their UID and they can…
Gamby
  • 585
  • 1
  • 6
  • 22
3
votes
3 answers

How to get 32 bits unique number in Java?

I need to generate an unique number of 32 bits in Java. I need to return the number as Java int, which is required by the interface. Can you please share some ideas on this? The number will be used as MySQL PK and several threads could be…
X.M.
  • 941
  • 3
  • 14
  • 22
3
votes
1 answer

How to get owner:group name of a file/directory with perl?

There is a great method to output permissions on Linux and AIX: 0:root@SERVER:/root # perl -e 'printf "chmod %04o %s\n", (stat)[2] & 07777, $_ for @ARGV' /home chmod 0755 /home 0:root@SERVER:/root # But how to output owner:group? ex.:…
pepite
  • 137
  • 1
  • 5
3
votes
2 answers

How to handle a UID of an ics calednar that will change every time I access it?

I want to insert a memo on an Airbnb calendar on my PHP program. I wrote a program to get and synchronize iCal data of Airbnb in PHP.
wildworks
  • 31
  • 2
3
votes
2 answers

Firebase swift retrieve email with uid

Hello i have just started playing with firebase. My problem here is that i want to only print the current users email. Not everything that comes with it.... This is what the print block looks like: [email: test@gmail.com, isTemporaryPassword: 0,…