|
Actually, it's properly formatted sql, because "minifying" isn't maintainable.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Hmm. I think if you set 8 bits / no parity instead of 7 bits / even it would look a lot more intelligible.
Software Zen: delete this;
|
|
|
|
|
"Win" is an understatement. Congratulations!
modified 11-Oct-19 14:38pm.
|
|
|
|
|
Quote: (Go West)
In the open air
(Go West)
Where the skies are blue
|
|
|
|
|
#realJSOP wrote: I'm gonna count that as a win.
Until your next SO post
|
|
|
|
|
Woo-Hoo!
I always feel satisfaction when I can take some slopped together SQL file and make it better, stronger, and faster.
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Like Steve Austin?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Congratulations but since you work for the Gov't, you KNOW someone is going to complain about it being too efficient now.
|
|
|
|
|
Meh. I could cut it down to a couple of lines and have it run in a few milliseconds.
Rookie!
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
I can do that.
I just couldn't guarantee whether the SQL would still produce the correct output.
|
|
|
|
|
#LessIsUsuallyMore
/ravi
|
|
|
|
|
I ran into this website and found his Collatz graph.
Had fun playing and modifying this.
His other articles are interesting too for those who enjoy maths.
|
|
|
|
|
I'm reading a horror story in Braille. Something bad is about to happen ... I can feel it.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Eeeeeek!
What cane happen? Dot's my question, or shudder been.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
They say when you lose one sense other senses become more acute...I smell a rat.
Technician
1. A person that fixes stuff you can't.
2. One who does precision guesswork based on unreliable data provided by those of questionable knowledge.
JaxCoder.com
|
|
|
|
|
with my ears enhanced [by lack of other senses] I heard that's a load of rubbish
Message Signature
(Click to edit ->)
|
|
|
|
|
Very touching!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
So I have a 56 gallon freshwater aquarium (40" x 30 " x 30") with 13 fish in it.
I was wondering if it is possible to use a camera to generate images, and based on the location of each fish in the tank create an algorithm that can map the locations of each fish to each other fish, in order to create a truly random number, at any given point in time.
I can't see any flaws other than the difficulty creating the algorithm itself.
Do you see any? What do you think?
BTW I already know this is a pretty "fishy" idea.
Aquaman.
|
|
|
|
|
A similar idea from some time back.. Lavarand - Wikipedia[^]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I can't see any flaws other than the difficulty creating the algorithm itself. I'm convinced that a lot of disasters began by this reasoning
More seriously, that is a fun project. Quite advanced though, since it requires spatial recognition and a lot of mathematic stuff regarding randomness. If you come up with something that would make an awesome article.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
There are many things that could make this far from random, such as fish preferring one area of the aquarium...fish being evenly dispersed...some fish tending to avoid others...where the bubbler is replenishing the oxygen...where fish can hide...
|
|
|
|
|
You can't reverse engineer his algorithm (hack it). because no one but him has access to the aquarium and the fishes location will not be the same, at any given point in time, per pixel (most likely).
|
|
|
|
|
True, but not being able to reverse engineer something doesn't mean that it's random in the mathematical sense.
|
|
|
|
|
He's right - there's no reason whatsoever to think the location of the fish is random. At the very least, with respect to their nature: those that want to be near or away from others.
Barbs like to school and "pace" back and forth in a region. Some prefer the bottom. Or sucking algae off the glass. External lighting. And, of course, breeding behavior and followup nesting behavior. Maybe chasing after the hatchings for a quick fresh meal.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
location by pixel would be random, especially if he alternated the image size and resolution.
This very scenario (using images of wildlife, life around us) has been the topic of debate and research for years in regards to seeding RNGs.
|
|
|
|