Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

grayness

Member Since 2006

Followers 97 Following 199

  • Everything
  • Photos
  • Video
  • Blogs
  • Groups
  • From Others

Monday Dec 17, 2007

Dec 16, 2007
0
  • Facebook
  • Tweet
  • Email
So, Mama Kitty and Bob may come home today, probably by tomorrow, definitely by Wednesday. All the news I've heard is good, so I am hoping they have taken everything in stride and will be back to their old selves, minus elevated thyroid activity.

Here's what I've been playing with- a word of warning, it may induce slumber, so don't operate heavy machinery or juggle knives or anything like that while reading this.

Some of you may have heard of John Conway's "Life" (see:Life) - it's a computer simulation that's been around since the 1970s, and a fascinating little booger it is. Very simple, and yet it can give rise to very complex phenomenae (cf: cellular automata).

Basically, imagine a two dimensional grid. Each cell in this grid can be filled(alive) or empty(dead). The history of the grid is looked at in generations or "ticks". The rules are very simple-
1) If a cell is dead in the current generation, it becomes alive if it has precisely three neighbors.
2) If a cell is alive, it stays alive if if has two or three neighbors. Otherwise, it dies.

Well, in learning Java, as an example to myself, I've come up with my own kind of "Life". It's not as simple, and it doesn't really produce any pretty images (yet) but it's been a lot of fun for me.

Java is what's called an "object-oriented language". Many of the older languages, like say, PASCAL or FORTRAN or BASIC (in all its incarnations...) are what are called "procedural" languages. To simplify things a great deal, procedural languages are like scripted TV series, and object-oriented languages are more like reality TV series.

How, you ask?

Well, procedural languages concentrate on the equivalent of script-writing. They lay out a plot and a series of actions and these are followed through. Object-oriented languages lay out requirements for the participants (like the casting for American Idol or Survivor) and then concentrate on the interaction between these participants.

There's more to it, of course (Doesn't that always seem to be the way?) but there's your introduction. Now, if you want, you can explore this until the point where you can make a better analogy, and we can have lots of fun discussing that [yes, I'm serious wink]... or, if not, I can move on.

Anyway, an idea for a simulation occurred to me because of the very nature of Java- its object orientation.

And I'll pick back up with that next time, because it's already time for me to be getting ready to leave...
VIEW 11 of 11 COMMENTS
redrobin13:
Thank you! And i think that we be the most fun
my friends always yell at me cause i am a people watcher and like to contemplate everyone elses stories
Jan 7, 2008
velvet_petal:
It was creepy and yet....funny.
Jan 7, 2008

More Blogs

  • 04.04.16
    4

    Back?

    At least enough to stick my head in, and take a look around.
  • 11.28.13
    5

    Not much of a century, apparently...

    Farewell, ISON: we barely knew ye.
  • 11.17.13
    3

    It ain't necessarily so...

    The tongue of an ungrateful child may be sharper than a serpent's t…
  • 10.14.13
    3

    When In Rome

    It's not quite home, but it will do And if you ask I'd say i…
  • 10.01.13
    1

    Wednesday Oct 02, 2013

    Down, down, o form of gray- For Etrigan has come to stay! SPOILERS…
  • 09.25.13
    1

    Thursday Sep 26, 2013

    Sick Day Sniffling, sneezing, snuffling snot- All these SN's a misera…
  • 08.04.13
    5

    Sunday Aug 04, 2013

    Asked or not, it's much the same- No, I will not give my name. Al…
  • 07.10.13
    7

    Thursday Jul 11, 2013

    Nothing points out the folly of men like giant radioactive lizards.
  • 06.27.13
    9

    Thursday Jun 27, 2013

    I have a firm belief that one should always forgive one's enemies... …
  • 05.12.13
    10

    Monday May 13, 2013

    Nutshell Theatre ...presents... The Adventures of Huckleberry Finn SP…

We at SuicideGirls have been celebrating alternative pin-up girls for:

24
years
10
months
3
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,682 SuicideGirls
  • 1,113,818 followers
  • 15,119,795 photos
  • 321,315 followers
  • 61,825,894 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Complaint / Content Removal Policy | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2026

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo