Journaling on estrip is easy and free. sign up here

Paul's Journal

paul
My Podcast Link

05/19/2006 16:40 #32615

Beautiful Errors
Category: programming
Well I don't officially know if they are beautiful yet as I am not officially a master of fine art - not until february. This happend as an accident. I was using surebert for an ajax front end to an applictaion and I wanted the repsonses to be in random places on the page so that it was easy to debug.

I got back into my ide but left the browser window open. When I went back, 3000 queries later, the system has drawn me this image based off the following basic colorization code, a little surebert and some error magic.

image

image

image

image

image

Here is the tiny simple code that made it happen

function mv(obj,x,y,z){
    if(typeof(obj)=='string'){
        obj = $(id);
    }
    obj.style.position='absolute';
    obj.style.left = x +'px';
    obj.style.top = y +'px';
    if(z!=undefined){obj.style.zIndex=z;}
}

function rand(min,max){
    min = min || 0;
    max = max || 100;
    return Math.floor(Math.random()*max+min);
}

function randColor(grey){
    if(grey == 1){
        grey = rand(0,255);
        return "rgb("+grey+","+grey+","+grey+")";    
    } else {
        return "rgb("+rand(0,255)+","+rand(0,255)+","+rand(0,255)+")";    
    }
}
zobar - 05/19/06 16:48
I love graphics programming, because both bugs and proof-of-concept code make the most aesthetic errors. At my last job I actually printed out and hung up out some graphics I had drawn with some code I'd written that was totally, hopelessly wrong, because it looked so cool.

- Z

05/19/2006 11:12 #32614

Another fun day with formulas
Category: work
I am beginning to love formulas and flow charts. Who knew an art degree would lead to logic and math problems.

image

05/19/2006 10:08 #32613

Roswell lunches makes big legs
Category: food
The Roswell Park cafeteria keeps topping itself. Yesterday was Baja Burger Bar.

I got the turkey burger with potato salad but I took a picture of (e:enknot)'s burger because it had better presentation quality.


image

image

image

image

My new well fed legs.
image

mrmike - 05/19/06 16:41
That last entree looks a lil fuzzy
paul - 05/19/06 11:09
You are just jealous that yours are not as hairy.
hodown - 05/19/06 10:48
who's hairy legs are those? Did you really need to post that?

05/18/2006 15:13 #32612

Ride for Roswell
Category: cancer
It's the time of the year to participate in the Ride for Roswell Cancer Fundraiser.

Some of you might be interested in riding. I remembered that (e:mrdt) said he was thinking about doing it. Are you still doing it, is anyone else riding?

Here is a video about it.

They are looking for volunteers to help out at the event, people to donate and riders.

image
mrdt - 05/19/06 00:04
yeh, I'm in, but ify on the bike. my buddy told me just the other day that he would lend me his roadbike for the event but ya never know.

I guess I'm gonna start getting pledges at school and former places of employment.... and I probably ride the 33 miler...


paul - 05/18/06 20:06
The hard part is raising the money to get sponsored ;)
jenks - 05/18/06 20:02
paul it's just a ride, right? not a race? I'm thinking about it, if I don't have to work that day.

05/17/2006 00:43 #32611

Kimya is my usersound
I keep getting questions abou twho the singer of my usersound is. It's Kimya Dawson

She is one of my favorite singers. I saw her the first time at Mohawk Place with the Butchies back in 03 and then later in 04 (e:paul,730)
jenks - 05/17/06 16:05
that's so funny... I was just downloading some of her stuff last night, as inspired by your journal. Very good stuff, thanks for the intro.