here is an archived post from the Pleasuredome Forums, a hangout where gaming was a common denominator. cheers! miss sites like this.
Author Archives: r
primes.c
a lifetime ago, my friend lester and i were talking about computer programming. he was interested but did not know the basic concepts, and he asked me if i could show him a program and explain it to him. when i got home i found a semi-practical C program i had hacked together earlier and put comments into it. when we next met i gave him a printout and a floppy, and explained every line. he asked all the right questions and picked it up very quickly. he spent the next half hour studying the printout, asking the occasional question. i do not know if he got the programming bug, as we did not get a chance for a follow-up.
lester was a highly intelligent considerate person with a quirky sense of humor. i miss him terribly and think about him often. happy birthday, lester.
// ansi compliant prime number generator written by r 10/1998
// quick & dirty (hard-coded array size, no bounds checking, etc.)
#include <stdio.h>
#include <stdlib.h>
signed int main(void)
{
signed int x,y,pcnt,primes[10000];
div_t z;
puts("calculating primes - please wait");
primes[0]=2; // store first prime
primes[1]=3; // store second prime
pcnt=1; // number of primes in array (starting at count 0 of course)
for(x=5;x<20000;x+=2) // check numbers up to 20000 for prime, skipping evens
{
for(y=1;y<=pcnt;y++) // y is the divisor
{
z=div(x,primes[y]); // do the math
if(!z.rem) // if there is no remainder,
{
break; // then this is not a prime
}
}
if(y>pcnt) // if we didn't break out above,
{
primes[++pcnt]=x; // then we have a prime, so store it and inc counter
}
}
for(x=0;x<=pcnt;x++) // we are done now; this loop prints out found primes
{
printf("%4d: %d\n",x+1,primes[x]);
}
return 0; // fin
}
potato
20 year anniversary of GTA3. incredible.
pictured are my PS3 GTA3 stats. long ago 100%ed GTA3, Vice City, and San Andreas on the PS2, and Liberty City Stories and Vice City Stories on the PSP. digitally repurchased them all for the PS3 and have already re-100%ed GTA3 and Vice City; currently working on San Andreas.
i’m gonna set aside building my second San Andreas ‘LEET’ save to play thru GTA3 again. have fun!
what is this
video: a little tv
demonstration of how precise you can be with umatrix, if you really want to. yes, you can save changes so that you do not have to make them every time.
‘silent enemy’ is an above average episode of enterprise, in my opinion; will watch again.
music is the first part of ‘so i have gone insane’ instrumental demo.
video: 2 hustles
the music is an ‘i would prefer not to’ demo. this demo was angel‘s first prion dream vocal track.
in my opinion, the vocal was rough for her at first, not used to lyrics like those. got more into it by the end, in my opinion.
yes, the tasker program was used to great success.
site is now live
www.priondream.com is now live. the adventure begins!
we are not expecting much, but after shelling out for a domain name, hosting, trademark fees, copyright fees, performing rights organization fees, and publishing admin fees, we will be happy just to get our money back.
all of the above entities (and more) are necessary to protect our rights and to potentially get paid; we will talk more about them in future posts.
please leave any feedback here (questions, suggestions, bugs, etc). we will keep adding new content, so keep checking back. thanks for stopping by!
almost there
still working on the website, should be ready in a few days. in the meantime, a video. honest opinions are valued. also, please subscribe to the youtube channel (the red link on the right should do it…?), thanks.
hello world
setting up. check back later.









