| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
Yeah. KillTheChildren is awesome.
However a friend of mine has a favorite functionnam ehe uses in many projects he supports. The name is KillKenny. It usually dows something similar to the KillTheChidren in this example. |
|
The GUID idea is more common than we think.
|
|
I have used phrases about killing the children a few times while solving mathematical problems in graph theory about trees. I stopped do so when my friend noticed that we are talking quite loudly about this on the street and others can hear us.
|
Why? |
|
Try getting new GUIDs using SQL server 2000 - they will be that close together. It uses the MAC address followed by the timestamp (or something like that).
|
|
TRWTF is that the GIDs are not U.
|
|
These are not GUIDs! GUIDs are hexadecimal and do not contain Q, O, T etc.
|
Re: One In 3.4*10^38
2008-10-31 08:35
•
by
augue
(unregistered)
|
When you run the KillKenny function does it throw a non-blocking exception with the message of "You bastard!" ??? |
MOR-ON. Go away. |
Re: One In 3.4*10^38
2008-10-31 08:38
•
by
Daniel Von Fange
(unregistered)
|
|
Yes, that's totally normal. Version 1 GUID's are basically HASH(MAC address) + timestamp, so if you generate a bunch at once, they look really close together. This also means that you can look at a GUI'd and find out when it was created.
|
|
I don't think the loop inside KillTheChildren actually does anything, since objIntegrationAccount is just a local variable (i.e., a copy of the reference inside the enumeration)...?
|
|
Back in school, we had a big real world project to build from scratch in the last year. The students that graduated the year before mine had to build something about babies birth management... you guess it, to remove a baby from a list, they asked for confirmation with a message which went something like that : "Do you really want to kill the baby?". When the clients (elderly women) tried the system, they kind of started freaking :P
|
Yes, but how do you explain the non-hex characters at the end of these so-called "GUID"s? |
Re: One In 3.4*10^38
2008-10-31 08:44
•
by
Vroomfundel
(unregistered)
|
I'm not sure if this is exactly the way hashing works. |
|
I dunno, I think I'd be willing to risk my sanity to see those extra 25 levels of indentation in all their glory.
|
Re: One In 3.4*10^38
2008-10-31 08:51
•
by
Daniel Von Fange
(unregistered)
|
|
The timestamp isn't hashed - only the Mac address.
|
Re: One In 3.4*10^38
2008-10-31 08:52
•
by
London Contractor Mart
(unregistered)
|
First thing I spotted too!! Thought i was insane but did just look on GuidGen as to be honest I don't pay attention to the contents of my guids! I think they have created their own Hex-a-betic guids! I guess they are a bit like alpha-spaghettis (the well known hybrid of the alphabet and that famous Italian dish, Spaghetti) Captcha: acsi - which is a bit like the ASCII version of Hex-a-betic! |
|
If you think a function name like KillAllChildren is pathetic, look in any photography forum where portrait photography is discussed. You'll find threads with titles: "How do I shoot babies?", "I want to shoot my children", ... these posts mean "photograph" whenever they write "shoot". It still makes me sick when I read such head lines but people in these forums rarely have an issue with this ..
|
Re: One In 3.4*10^38
2008-10-31 08:57
•
by
Karl von L.
(unregistered)
|
That's what makes these ones globally unique, duh. |
|
KillTheChildren? Pshaw!
I wrote a function last week called "GetOwnedByData()". I did wind up renaming it though. |
throw new Exception("You bastard!"); |
Re: One In 3.4*10^38
2008-10-31 09:06
•
by
VB6 Coder
(unregistered)
|
I Agree, surely its just creating and destroying references to objects and not actually doing anything. The children live! |
And we must abide by your ID conventions because? |
|
Either they're using a heavy load of global variables or this is a huge class.
Look, 10 methods are called without any arguments passed in. |
Because they're Globally Unique ID conventions. If everyone did their own thing, then the conventions might not be GU... |
|
Re: One In 3.4*10^38
2008-10-31 09:20
•
by
Jim (not the dumb Jim)
(unregistered)
|
|
Because GUIDs are a standard and there are many functions that parse GUIDs that will barf on these.
Or were you simply being facetious? |
Maybe you should actually test your theories before posting them. |
|
These stories are pants.
|
That has happened before, but it didn't catch on. |
|
I remember my Operating Systems instructor was always careful when he spoke about Unix. "Forking Children" was a particularly difficult subject.
|
Re: One In 3.4*10^38
2008-10-31 09:31
•
by
Steve
(unregistered)
|
Does it have a return value of three cats? |
|
TRWTF is that the "GUIDs" have letters higher in the alphabet than F at the end - methinks those "GUIDs" were handwritten
|
|
KillTheChildren? Minor league stuff.
A section of my code as a DestroyAllOrphans method. And no, I'm not kidding. I'm quite proud of that method name. |
You and your inside-the-box thinking is what makes innovation stagnate! I use a GUID that is a hash of my SSN + timestamp / pi-1. This way I always know that I generated them and they can be used to measure the curvature of myself in any space-time. I also salt them twice. |
|
What really mystify me is that GUID 1 and 7 are the same...
Shouldn't it be a Key?? |
Re: One In 3.4*10^38
2008-10-31 09:55
•
by
Yazeran
(unregistered)
|
Yea I noticed that too.. makes them not quite so unique eh? :-) Yours Yazeran. Plan: To go to Mars one day with a hammer. |
No, you should definitely continue this. It will help to keep punk ass kids in check if they ever cross your path! |
Do you pepper them too? |
Re: One In 3.4*10^38
2008-10-31 10:06
•
by
Mike Dimmick
(unregistered)
|
Up until Windows 2000, the UuidCreate API used the GUID v1 as specified in RFC 4122. That has a timestamp and uses one of the computer's network card's MAC address. There were privacy concerns surrounding the use of this MAC address. From Windows 2000 onward they changed to use the random number generation system (version 4 GUID) in section 4.4. The old algorithm is still available by calling UuidCreateSequential. Perhaps xorsyst is running SQL Server 2000 on NT 4.0? |
Re: One In 3.4*10^38
2008-10-31 10:09
•
by
Richard
(unregistered)
|
We had a process in our logistics product, years ago, that was called "Batch order maintenance." The second part of it became "Batch Order Maintenance - B" or "The Bomb." Tons of fun until our CEO got detained in an airport (pre 9/11) for discussing it over the phone, and one of our services guys left a voicemail on an old woman's phone (mis-dialed and skipped the outgoing message) about "... getting the bomb queued up to go in Orlando." Actually brought us a visit from the FBI. After that, we all agreed to stop using the term. Still makes me chuckle, though. Captcha: laoreet |
|
These definitely aren't properly-generated GUIDs. What tips you off is the third group starts with a 4. In GUIDs that digit indicates the UUID version being used.
Version 4 GUIDs are meant to be generated using random numbers (not MAC addresses etc. like previous comments have indicated) so the odds of them being that close together are indeed astronomical. The real WTF is why someone would make up their own alphanumeric IDs and then format them the same as GUIDs (and not keep them unique). |
Re: One In 3.4*10^38
2008-10-31 10:18
•
by
Irish I weren't drunk
(unregistered)
|
I use the function of Kilkenny in plenty of my personal projects too. |
|
A function named KillKenny is probably better than a function named RootRachelle.
|
Re: One In 3.4*10^38
2008-10-31 10:42
•
by
drach
(unregistered)
|
The saddest part to me is seeing just how far down I had to read to find someone else spotted it also. Perhaps these are records related to employees from some other table besides the master employee lookup table? |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |