Author Archive

Mass Effect body paint == Fucking Sexy!

Worlock (live)

wasted truth.
why call it all, blue?
hot lines.
eventual decline.
with the right attitude you will succed, blue.
resent that discontent.
sidestep.
define the state of things so far.
crazy things, soft spoken..overide.
with your eyes open, you know soft spoken changes nothing.
a view so cruel.
nothing.

 

6d6 Roll, roll, roll, roll……

I found this program while looking through some old backups labeled red_floppy. I thought it was pretty funny how shitty of a coder I was at 13. I am also kind of amazed at how much of a dork I was for writing a program to help AD&D Character Generation.


#define D 6

int roll();
int * sort_roll(int u[]);
int score(int s[]);
void seed();

int roll()
{
    int z, x, rs[4], *rr, r;
    int j = 6;
    while(--j){
    for(x = 0; x < 4; x++)
    {
          rs[x] = ((int) D * rand() / (RAND_MAX + 1.0)) + 1;
          for (z = 0; z < 100; z++) rand();
    }
    rr = sort_roll(rs);
    r = score(rr);
    }
    return r;
}

int * sort_roll(int u[])
{
    int x,y,temp;

    for(x = 0;x < 4; x++)
    {
      for(y = 0;y < 4; y++)
      {
       if(u[x] < u[y])
       {
         temp = u[x];
         u[x] = u[y];
         u[y] = temp;
       }
      }
    }
    return u;
} 

int score(int s[])
{
    return s[1] + s[2] + s[3];
}

void seed()
{
     srand((unsigned int)time((time_t *)NULL));
}

int main()
{
  int x, j;
  seed();
  do{
  for(x = 0; x < 6; x++) printf("%d\n", roll());
  printf("\n\n");
  } while((j = toupper(getch()) == 'X'));
  system("pause");
  return 0;
}

I don’t always test my code.

Flash Player 10 [Square] on Debian Squeeze x86_64

Read about the new pre-release here. Download the tar ball, extract, copy the library to your plugin directory and get rid of gnash.


~$ tar xzfv flashplayer10_2_p3_64bit_linux_111710.tar.gz
~$ cp -av libflashplayer.so /usr/lib/mozilla/plugins/
~$ sudo apt-get remove browser-plugin-gnash gnash-common gnash

Restart your browsers and check your about:plugins page, you should see this:

Wisdom Teeth

These were yanked out of my face today. Good riddance.

Tron Goggles

image

Disapproval Dog

Disapproval Dog.. Does not Approve.


1337

Calculating how many lines my project is at currently (not including tester code or templates):

(kserve)@haven:~/kserve/fresh/kserver$ find lib/ controllers/ model/ -type f -name “*.py”  | grep -v template.py | grep -v auth.py | grep -v error.py | grep -v __init__ |grep -v app_globals.py| grep -v base.py |xargs cat  | wc -l
1337

l33t.. no bs.

Unfortunately, it is not done. I am going to to have to code 30,000 more lines now.. damnit!

Jrod.

Garden Spider

image

image

3-1/2 span

Return top