guid Questions

12

Solved

How safe is it to use UUID to uniquely identify something (I'm using it for files uploaded to the server)? As I understand it, it is based off random numbers. However, it seems to me that given eno...
Jobbery asked 20/7, 2009 at 18:6

6

Is there a command line tool for Unix and Windows that uses the same algorithm to create GUIDs for both platforms?
Maddie asked 20/2, 2009 at 15:2

11

Solved

How can I generate a GUID in a batch file running using the commandline in Windows?
Valenciavalenciennes asked 30/11, 2010 at 11:54

9

Solved

I have an application that uses GUID as the Primary Key in almost all tables and I have read that there are issues about performance when using GUID as Primary Key. Honestly, I haven't seen a...

7

Solved

I know there is a minute possibility of a clash but if I generated a batch of 1000 GUIDs (for example), would it be safe to assume they're all unique to save testing each one? Bonus question An o...
Scholz asked 4/6, 2010 at 20:30

2

Solved

I am using Swashbuckle to generate Swagger in my .Net Core WebAPI project. As you can see below, it generates a GUID of type string. I would like to generate a random Guid and replace "string" with...
Yuma asked 16/8, 2019 at 17:3

9

Solved

We use GUIDs extensively in our database design; Business Object properties provide Guid.Empty GUIDs for DB null values and null is always saved to the database if the value is Guid.Empty. Apart f...
Bankable asked 28/1, 2010 at 15:25

3

I have a table with an auto-increment ID field as shown below. +------------+-------------------------------------+ | company_id | name | +------------+-------------------------------------+ | 1 ...
Sarmentose asked 8/3, 2011 at 9:33

7

Solved

Is there a built in function equivalent to .NET's Guid.NewGuid(); in Cocoa? My desire is to produce a string along the lines of 550e8400-e29b-41d4-a716-446655440000 which represents a unique id...
Arcograph asked 15/11, 2008 at 0:30

6

Solved

I am faced with the dilemma of changing my primary keys from int identities to Guid. I'll put my problem straight up. It's a typical Retail management app, with POS and back office functionality. H...
Tildi asked 8/6, 2010 at 9:12

6

Solved

I want to create a cryptographically secure GUID (v4) in .NET. .NET's Guid.NewGuid() function is not cryptographically secure, but .NET does provide the System.Security.Cryptography.RNGCryptoServi...
Gunplay asked 11/5, 2016 at 18:13

7

Solved

I need to create a GUID in an unmanaged windows C++ project. I'm used to C#, where I'd use Guid.NewGuid(). What's the (unmanaged windows) C++ version?
Vitrification asked 25/8, 2009 at 9:38

10

Solved

Is it possible to auto-generate a GUID into an Insert statement? Also, what type of field should I use to store this GUID?
Intermix asked 14/6, 2010 at 13:13

7

Solved

Vim doesn't have a built-in GUID generator. For the project I'm working on, I can rely on Powershell being available, so the following gives me a GUID string: [guid]::NewGuid().ToString() I cal...
Elodea asked 10/9, 2012 at 10:55

4

Solved

What is the difference between these two ways of converting a string to System.Guid? Is there a reason to choose one over the other? var myguid = Guid.Parse("9546482E-887A-4CAB-A403-AD9C326FFDA5")...
Accommodative asked 2/8, 2011 at 17:23

3

Solved

I am looking for the easiest way to compare two GUIDs for equality in C++. Surely there is a predefined function for that. The solution needs to work with Visual C++ 2010. I am talking of GUID as d...
Selfesteem asked 6/8, 2012 at 20:10

13

Solved

I've been looking at the code in this tutorial, and I found that it uses My.Computer.Name to save settings that shouldn't roam between computers. It's entirely possible, however, for a user to have...
Artur asked 9/8, 2010 at 18:41

3

Solved

I am building an application to transfer data from an SQL server to an offsite location via ftp and XML files. I am building the XML data for each file via a query with FOR XML PATH('path'), TYPE....
Vaud asked 19/6, 2013 at 21:19

2

Solved

I have developed a performance critical and CPU intensive application in Python. To reach acceptable performance I'm using PyPy and multiple processes generated with os.fork. Overall I'm now satisf...
Admirable asked 12/8, 2018 at 17:29

3

I don't understand the meaning of "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" in RFC 6455. Why does the server need this magic string? And why does the WebSocket protocol need this mechanism? ...
Rh asked 19/11, 2012 at 14:38

1

Solved

I created a console application which just generated random GUIDs, but it came to my attention that it keeps having a 4 at the same location... Why is that? Here's my code: Sub Main() Dim gener...
Preponderant asked 18/5, 2020 at 13:20

4

Solved

A while ago I worked on a web application where users could buy tickets. Due to the way our client's processes worked, what you effectively got as a result of your purchase was a URL with the ticke...
Omsk asked 6/9, 2010 at 16:31

1

Solved

Mysql offers a UUID() function, which returns an rfc 4122 version 1 guid. This is an easily guessed timestamp + node_id bit string. How may we insert randomized version 4 guids? (Defining a new fun...
Bluet asked 8/4, 2020 at 21:20

5

Solved

I'm trying to convert a string to GUID with sscanf: GUID guid; sscanf( "11111111-2222-3333-4455-667788995511", "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", &guid.Data1, &guid...
Feebleminded asked 13/5, 2010 at 4:43

1

Solved

Edit: Added plugins configuration for more clarity I am using uuid package in a rollup project. At first I was getting a warning for external dependency crypto. So I added external and output.gl...
Farrar asked 27/1, 2020 at 19:27

© 2022 - 2024 — McMap. All rights reserved.