I'm going to agree with viraptor here. If you want a data set that doesn't change, but you don't care what the numbers are, hire a monkey to hit some keys. Relying on the side effects of Random Number Generators (RNG) is equivalent to relying on a bug. A RNG is not designed to give you a sequence of numbers that will be the same across runs. The fact that you can make it do that is a side effect. Think of it as using a screwdriver to carve wood. You can certainly do it, but since the screwdriver was not designed to carve wood, you will never make anything worth my money. And if someone swaps your flat head for a phillips, things get worse. What happens if someone puts in a different RNG that has a different sequence from the same seed? Things become inconsistent and you'll have a horrible time debugging it. What happens if someone puts in a new RNG that doesn't have that side effect (like a RNG that determines the next value by heat on the processor, the phase of the moon, and the direction of the wind)? Bottom line: This is definitely a WTF.
Cotillion
@Cotillion
Best posts made by Cotillion
Latest posts made by Cotillion
-
RE: "How do I make Random the same number each time?"
-
RE: Yeah, that explains everything!
[quote user="huh"]
because no one ever reads the documentation anyway.
[/quote]
Yeah, obviously no one who reads thedailyWTF would try to read documentation. I mean, all code is self explanatory, isn't it?
-
RE: Odd Google search result
That's some major point for having "php?header" in the URL.
-
RE: Banking WTF
[quote user="HeroreV"]The real WTF is checks. Stupid archaic little buggers. I worked at a bank for over a year and a half inputing the numbers on those horrid things. Do you know what it's like to sit still, inputing numbers hour after hour after hour? I hate checks.
[/quote]I sense some animosity.
-
RE: Really expensive user training....
Unless you have separate systems/ports for debits and credits and only the debits part was pointed at a live system. Then you would be able to debit a real account and credit a fake one, effectively losing the money. I know it's a streach, but I have to keep up my hopes that they will hook it up the other way and use my account (debit from a fake system and credit my real account).
-
RE: Brillant COWorker WTF
So is it just a technological "Who's on first?"
And I thought that the layers of a 2-tier system would be database/presentation, not client/server. (3-tier usually being database/business/presentation) What is a good definition of tiers?
-
RE: Wtf in development. very unorthodox use of sql server
It all comes down to goals. If their goal is to get rid of dlls, aspx files, and vb files then they are doing that. If their goal is to make a good product then they need to think about what happens when that product gets popular. While their approach does technically work (as far as I understand), it doesn't scale well. If they worry about using all versions of VS then tell them to stick to one. You just have to get them to define a goal, make sure they want that goal, and then help them understand how best to acheive that goal. If that goal involves getting rid of files, then start looking at another job because that one won't last long. I'm not aware of any companies that made it big by getting rid of a few files.
-
RE: Cable company wtf
They're trying to capture the market surplus. Basically, offer different rates for the same thing. Only a few people will search hard enough to find the best deal (which they still make money on). Everyone else will pay more for the same service and the cable company keeps the extra profits. They're just trying to be a little more subtle than used car salesmen and the major airlines.
-
RE: Dear Google, fix this bug.
[quote user="NetersLandreau"]
slashdot reported yesterday: "A moderator at a Keyhole forum IDs the bug as a thrip, about 1mm long, squished under a glass plate during scanning."
Didn't mean to ruin the fun :(
[/quote]
So does that mean that google took satellite images that are digitally transmitted to earth, printed them out, put them on a table, and took a picture?