- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
yes!
Admin
Read SICP.
Admin
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.
Admin
BOR-ING
Admin
The GUID idea is more common than we think.
Admin
yawn
Admin
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.
Admin
Why?
Admin
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).
Admin
TRWTF is that the GIDs are not U.
Admin
These are not GUIDs! GUIDs are hexadecimal and do not contain Q, O, T etc.
Admin
Admin
MOR-ON.
Go away.
Admin
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.
Admin
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)...?
Admin
brillant!
Admin
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
Admin
Yes, but how do you explain the non-hex characters at the end of these so-called "GUID"s?
Admin
I'm not sure if this is exactly the way hashing works.
Admin
I dunno, I think I'd be willing to risk my sanity to see those extra 25 levels of indentation in all their glory.
Admin
The timestamp isn't hashed - only the Mac address.
Admin
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!
Admin
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 ..
Admin
That's what makes these ones globally unique, duh.
Admin
KillTheChildren? Pshaw!
I wrote a function last week called "GetOwnedByData()". I did wind up renaming it though.
Admin
Admin
I Agree, surely its just creating and destroying references to objects and not actually doing anything.
The children live!
Admin
And we must abide by your ID conventions because?
Admin
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.
Admin
Admin
Admin
Because GUIDs are a standard and there are many functions that parse GUIDs that will barf on these.
Or were you simply being facetious?
Admin
Admin
These stories are pants.
Admin
Admin
I remember my Operating Systems instructor was always careful when he spoke about Unix. "Forking Children" was a particularly difficult subject.
Admin
Admin
TRWTF is that the "GUIDs" have letters higher in the alphabet than F at the end - methinks those "GUIDs" were handwritten
Admin
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.
Admin
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.
Admin
What really mystify me is that GUID 1 and 7 are the same...
Shouldn't it be a Key??
Admin
Yea I noticed that too.. makes them not quite so unique eh? :-)
Yours Yazeran.
Plan: To go to Mars one day with a hammer.
Admin
Admin
Admin
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?
Admin
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
Admin
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).
Admin
I use the function of Kilkenny in plenty of my personal projects too.
Admin
A function named KillKenny is probably better than a function named RootRachelle.
Admin