If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(Some Guy)   Some SQL coder had too much time on their hands, and figured out how to create a Mandelbrot set in T-SQL   (thedailywtf.com) divider line 101
    More: Silly  
•       •       •

14656 clicks; posted to Main » on 24 Nov 2008 at 2:04 PM   |  Favorite    |   share:  Share on Twitter share via Email Share on Facebook   more»



101 Comments   (+0 »)
   

Archived thread

First | « | 1 | 2 | 3 | » | Last | Show all
 
2008-11-24 12:35:52 PM
I have no idea what you're talking about, so here's a picture of a German midget laughing at a camel.

www.tubearoo.com
 
2008-11-24 12:46:27 PM
I have no idea what you're talking about so here's a farked up picture of people getting their teeth whitened at the mall.


i23.photobucket.com
 
ZAZ [TotalFark]
2008-11-24 12:48:25 PM
I have a slight idea what you are talking about, and I want you to take your hands off the keyboard and step away from the computer.
 
2008-11-24 12:52:55 PM
I have a very good idea what you're talking about and I'm not impressed.
 
2008-11-24 12:55:23 PM
peck: I have a very good idea what you're talking about and I'm not impressed.


I actually do too and I know enough to know that he needs to learn another language because there are easier ways to do that.
 
2008-11-24 01:03:31 PM
Mugato: there are easier ways to do that.

Yes, but I think that since he did it in T-SQL shows a certain evil genius.

But if you want to impress me, do it in INTERCAL
 
2008-11-24 01:09:59 PM
peck: But if you want to impress me, do it in INTERCAL

Aw, that's harsh. I would have only said assembly.
 
2008-11-24 01:11:54 PM
Mugato: I actually do too and I know enough to know that he needs to learn another language because there are easier ways to do that.

If he wanted to be really cool, he would have generated a cursor where each row and column was the character. DBMS_OUTPUT.PUT_LINES are weak.

//He should have done it in Lisp.
 
2008-11-24 01:12:51 PM
But if you want to impress me, do it in INTERCAL

Has it been done in PostScript?

/Raytracing on a LaserWriter II FTW!
 
2008-11-24 01:12:53 PM
I get it, and its almost cool. but come on, using a data access language to generate formatted output?
 
2008-11-24 01:18:42 PM
king_nacho: I get it, and its almost cool. but come on, using a data access language to generate formatted output?

Which is why he should have returned a table representing his coordinate system, and not generated text output. That would have been way more awesome.
 
2008-11-24 01:24:22 PM
t3knomanser: king_nacho: I get it, and its almost cool. but come on, using a data access language to generate formatted output?

Which is why he should have returned a table representing his coordinate system, and not generated text output. That would have been way more awesome.


Oh, I take that back. He did. I saw a different version of this crowded with DBMS_OUTPUTs. This one is better than I recalled.
 
2008-11-24 01:25:09 PM
t3knomanser: t3knomanser: king_nacho: I get it, and its almost cool. but come on, using a data access language to generate formatted output?

Which is why he should have returned a table representing his coordinate system, and not generated text output. That would have been way more awesome.

Oh, I take that back. He did. I saw a different version of this crowded with DBMS_OUTPUTs. This one is better than I recalled.


Oh, I take it back again. He's still doing string formatting.
 
ZAZ [TotalFark]
2008-11-24 01:37:34 PM
Aw, that's harsh. I would have only said assembly.

I wrote a fractal generator in assembly. The coprocessor wasn't usable in ordinary C code.
 
2008-11-24 02:07:49 PM
imgs.xkcd.com
 
2008-11-24 02:08:18 PM
that's an interesting query plan it has there
 
2008-11-24 02:08:19 PM
If you understand that, you are a loser. Or better work in the field.
 
2008-11-24 02:10:58 PM
/unimpressed
 
2008-11-24 02:11:32 PM
www.lolwut.com

but seriously I'm not impressed. I did that when I was like 2 man

\\not really
 
2008-11-24 02:11:49 PM
I don't know anything about T-SQL, but I'm for fractals by any means.
 
2008-11-24 02:11:55 PM
imgs.xkcd.com

/unimpressed with user
//my fail hurt my loins
 
2008-11-24 02:12:11 PM
Mugato: Aw, that's harsh. I would have only said assembly.

Assembly would be too straightforward, given any reasonable architecture.

I'd like to see TECO.
 
2008-11-24 02:13:54 PM
Thanks, Drew -- this article more than makes up for the heavy reading on the "10 worst companies" headline.
 
2008-11-24 02:14:44 PM
I, uh... learned FORTRAN and never used it.
 
2008-11-24 02:15:03 PM
Huh?
www.seykota.com
 
2008-11-24 02:16:05 PM
This is my favorite part!

SELECT CAST(Y + 0.031 AS FLOAT) AS Y, IY + 1 AS IY
FROM YGEN
WHERE IY


Farking hilarious!
 
2008-11-24 02:17:13 PM
More classic xkcd, please.
 
2008-11-24 02:18:10 PM
80085
 
2008-11-24 02:20:10 PM
496620796f752063616e2072656164207468697320796f75206172652061206661726b696e672067 65656b20616e64206e65656420746f206765742061207265616c206c696665
 
2008-11-24 02:21:04 PM
Shiat!

I knew unemployment numbers were bad.. but this just takes it to a new level.
 
2008-11-24 02:21:19 PM
COBOL
 
2008-11-24 02:27:03 PM
Headso: COBOL
SNOBOL
 
2008-11-24 02:27:38 PM
farm1.static.flickr.com

That's not impressive; this is impressive.
 
2008-11-24 02:27:59 PM
For those that don't know what a Mandlebrot Set is (and I'm sure many of you do), this is a great video zooming in. I won't even bother to explain the mathematics behind this, but if you are geeky, math -can- be fun.

If you are on drugs, it helps as well:

Fractals are Fun (new window)
 
2008-11-24 02:28:25 PM
Shakespeare's Monkey: That's not impressive; this is impressive.

Dosen't count, the glass didn't make it past the teeth.
 
2008-11-24 02:28:57 PM
peck: Mugato: there are easier ways to do that.

Yes, but I think that since he did it in T-SQL shows a certain evil genius.

But if you want to impress me, do it in INTERCAL


No love for COBAL?

/Or Python?
 
2008-11-24 02:31:13 PM
www.horrordvds.com
/hotlinked
 
Bf+
2008-11-24 02:32:17 PM
Drunken_Sobriety: Headso: COBOL
SNOBOL


M
 
2008-11-24 02:32:44 PM
stvdallas: I won't even bother to explain the mathematics behind this, but if you are geeky, math -can- be fun.

Sadly, if they're not geeky, math is a bunch of boring-ass shiate.

/likes math
//has almost given up persuading others of same
 
2008-11-24 02:37:28 PM
I don't know how to do this, therefore I'm qualified to claim it's not impressive.
 
2008-11-24 02:37:55 PM
Barakku: No love for COBAL?

Moran.

- R
 
2008-11-24 02:40:04 PM
select top 1 * from [fark].[dbo].[thread] where [care?] = 'no'

results:
burndtdan
 
2008-11-24 02:40:42 PM
Shakespeare's Monkey: That's not impressive; this is impressive.

I'd be more impressed if she got her teeth around the glass.
 
2008-11-24 02:41:56 PM
It's like a Rorschach Test on fire, a day-glo pterodactyl.
 
2008-11-24 02:42:41 PM
Sneakytoes: I have no idea what you're talking about, so here's a picture of a German midget laughing at a camel.

Your Welcome
 
2008-11-24 02:43:08 PM
burndtdan: select top 1 * from [fark].[dbo].[thread] where [care?] = 'no'

results:
burndtdan


SQL Server sucks. TOP is not ANSI compliant. Also, your three part name isn't well formatted for the joke. [fark] would really be the server, not the database. Something more like fark.threads.dbo.commenters would be funnier, but the very fact that you're using T-SQL makes it lame.
 
2008-11-24 02:43:37 PM
Yea The Daily WTF got a fark link. Click some ads while your there.
 
2008-11-24 02:44:55 PM
No Jonathan Coulton references yet?

You can listen to this song for free on his website, but I'm not giving you a link, because I don't want you crashing it. Stay away!


Pathological monsters! cried the terrified mathematician
Every one of them is a splinter in my eye
I hate the Peano Space and the Koch Curve
I fear the Cantor Ternary Set
And the Sierpinski Gasket makes me want to cry
And a million miles away a butterfly flapped its wings
On a cold November day a man named Benoit Mandelbrot was born

His disdain for pure mathematics and his unique geometrical insights
Left him well equipped to face those demons down
He saw that infinite complexity could be described by simple rules
He used his giant brain to turn the game around
And he looked below the storm and saw a vision in his head
A bulbous pointy form
He picked his pencil up and he wrote his secret down

Take a point called Z in the complex plane
Let Z1 be Z squared plus C
And Z2 is Z1 squared plus C
And Z3 is Z2 squared plus C and so on
If the series of Z's should always stay
Close to Z and never trend away
That point is in the Mandelbrot Set

Mandelbrot Set you're a Rorschach Test on fire
You're a day-glo pterodactyl
You're a heart-shaped box of springs and wire
You're one badass farking fractal
And you're just in time to save the day
Sweeping all our fears away
You can change the world in a tiny way

Mandelbrot's in heaven, at least he will be when he's dead
Right now he's still alive and teaching math at Yale
He gave us order out of chaos, he gave us hope where there was none
And his geometry succeeds where others fail
If you ever lose your way, a butterfly will flap its wings
From a million miles away, a little miracle will come to take you home

Just take a point called Z in the complex plane
Let Z1 be Z squared plus C
And Z2 is Z1 squared plus C
And Z3 is Z2 squared plus C and so on
If the series of Zs should always stay
Close to Z and never trend away
That point is in the Mandelbrot Set
Mandelbrot Set you're a Rorschach Test on fire
You're a day-glo pterodactyl
You're a heart-shaped box of springs and wire
You're one badass farking fractal
And you're just in time to save the day
Sweeping all our fears away
You can change the world in a tiny way
And you're just in time to save the day
Sweeping all our fears away
You can change the world in a tiny way
Go on change the world in a tiny way
Come on change the world in a tiny way
 
2008-11-24 02:45:15 PM
blazemongr: stvdallas: I won't even bother to explain the mathematics behind this, but if you are geeky, math -can- be fun.

Sadly, if they're not geeky, math is a bunch of boring-ass shiate.

/likes math
//has almost given up persuading others of same


Look at it this way. We're the ones with jobs right now, while THEY are getting their asses laid off in Detroit.
 
2008-11-24 02:46:32 PM
*shakes fist at Sheseala*
 
Displayed 50 of 101 comments

First | « | 1 | 2 | 3 | » | Last | Show all



This thread is closed to new comments.

Continue Farking
Submit a Link »





Report