cppman Posted July 13, 2006 Author Posted July 13, 2006 (edited) Do you actually understand why changing the name is the right thing to do or are you just doing it because it is the path of least resistance?Both actually.I understand what your trying to say but still don't agree. this is getting very frustrating... so thats lso why i changed it.back to square one buddy...GUID can be anything because of its broad description! Globally Unique Indentifier. Thus, anything that is a Globally Unique string/number/characters is then considered a GUID. for the 50th time. My Function fulfills that description and does just that. Nothing more, nothing less. I understand MICROSOFT's GUIDs have a specific format. Well, im not microsoft am i? Im not using ms's algos am i?err, back to square one.... AGAIN. Edited July 13, 2006 by CHRIS95219 Miva OS Project
Valik Posted July 13, 2006 Posted July 13, 2006 GUID can be anything because of its broad description! Globally Unique Indentifier. Thus, anything that is a Globally Unique string/number/characters is then considered a GUID.No, it can't, at least, it can but you're going to confuse everybody but yourself. There is a difference, as I have tried to explain, between GUID as a noun and guid as an adjective. You are trying to use it as a noun but you want to use it as an adjective. Your algorithm makes a globally unique identifier based on your own design, adjective. It does not create a Globally Unique Identifier which in programming circles is a noun referring specifically to the result of an algorithm commonly used by Microsoft.When somebody says, "create me a GUID", they don't mean "create me a globally unique identifier using whatever method you find". They mean "create me a GUID using a tool like guidgen.exe."
cppman Posted July 13, 2006 Author Posted July 13, 2006 No, it can't, at least, it can but you're going to confuse everybody but yourself. There is a difference, as I have tried to explain, between GUID as a noun and guid as an adjective. You are trying to use it as a noun but you want to use it as an adjective. Your algorithm makes a globally unique identifier based on your own design, adjective. It does not create a Globally Unique Identifier which in programming circles is a noun referring specifically to the result of an algorithm commonly used by Microsoft.When somebody says, "create me a GUID", they don't mean "create me a globally unique identifier using whatever method you find". They mean "create me a GUID using a tool like guidgen.exe."GUID is an Acronym! It stands for Globally Unique Identifier. Whether it is used as a noun or adjective, it is still a Globally Unique Identifier, whithin itself. This guid DOES NOT go by any standards, it simply generates a Globally unique identifier. Whether it is used as a noun or adjective it is still the same thing. It does the same task, and fulfills its duty to generate a random "unique" string that will not be generated again. Miva OS Project
Valik Posted July 13, 2006 Posted July 13, 2006 Whether it is used as a noun or adjective it is still the same thing.You couldn't possibly be more wrong. That is the crux of the entire argument. It is not the same thing and it's your insistence that it is which is the root of the problem.
cppman Posted July 13, 2006 Author Posted July 13, 2006 (edited) okay. well im tired of arguing now... so, im done. lol 1 - I understand what your saying. 2 - I Disagree with it. 3 - Your most likely not going to change my mind. 4 - Circular Reasoning... 5 - Im tired, and im done arguing. no offense but i could care less about what you post next, it is the same thing over and over... (circular reasoning). we are getting nowhere. Edited July 13, 2006 by CHRIS95219 Miva OS Project
nfwu Posted July 14, 2006 Posted July 14, 2006 *Sticks a comment in* A Globally Unique Identifier or GUID is a pseudo-random number used in software applications. There is one standrad that is specified by the Open Software Foundation called the UUID (Universally unique identification number) The GUID is a 16-byte (128-bit) number, written in hexadecimal form. While a GUID strictly has no formal substructure, they may be written in text in varying ways depending on the implementation. Algorithm The OSF-specified algorithm used by Microsoft for generating new GUIDs has been widely criticized. In these (V1) GUIDs, the user's network card MAC address was used as a base for the last group of GUID digits, which meant, for example, that a document could be tracked back to the computer that created it. This privacy hole was used when locating the creator of the Melissa worm. V1 GUIDs which contain a MAC address can be identified by the digit "1" in the first position of the third group of digits, for example {2f1e4fc0-81fd-11da-9156-00036a0f876a}. GUIDs using the later algorithm, which has a random suffix have a "4" in the same position, for example {38a52be4-9352-453e-af97-5c3b448652f0}. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
jonesy Posted September 7, 2006 Posted September 7, 2006 (edited) This is the first of 2 results that pop-up when searching for "GUIDGEN", and while the discussion is interesting even if it gets rather heated at times, it doesn't answer my question - How can I mimic GUIDGEN.EXE in AutoIT.The second result doesn't have a promising title, but in the discussion thread is the answer to my question.PTREX posted the solution here -> http://www.autoitscript.com/forum/index.ph...st&p=115862Here is a reduced copy of the code for those that don't want to follow the link to the original posting:Dim $strGUIDDim $TypeLib$TypeLib = ObjCreate("Scriptlet.TypeLib")$strGUID = $TypeLib.GuidMsgBox(0,"Create GUID",$strGUID,5) Edited September 7, 2006 by jonesy
blademonkey Posted September 8, 2006 Posted September 8, 2006 If i did the math correctly the chances of the same string being chosen again, is:1 out of 1.408e+082 depending on the date, and computer. (only for Nums and Characters, not sure about just 1, but i guess u'd just devide the number by two...)so i guess its somewhat uniue, lol. (it should be impossible to generate 2 of the same id's at any time on different computers.)what happens if you schedule a task to run your script at a specific time, roll the clock back and schedule it again for the same time. Same number? ---"Educate the Mind, Make Savage the Body" -Mao Tse Tung
cppman Posted September 8, 2006 Author Posted September 8, 2006 (edited) wow, this is old. lol I doubt it. There are random numbers & char's thrown in there too. well if you do it long enough of course it can occur.. just like any other "unique string". Edited September 8, 2006 by CHRIS95219 Miva OS Project
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now