Lifeware 2.0

Stuff that don´t fit in the other categories.
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Lifeware 2.0

Post by ayu »

Lifeware 2.0

Since my last attempt to explain this failed a bit (I was unclear so some people didn't get it), I have rewritten it a bit to make it a little easier, with a fun example this time as well.

The name?

The name "Lifeware" comes from the words "Life" and "Software".


What is Lifeware?

Lifeware is much like "life simulators", and is meant to in some way "mimic" a life form.
How it mimics the life form is of course up to the person coding the Lifeware, but the idea is to use the operating system as the world where the life form lives in.

It's all very simple really, since there are not very many rules to how one builds a Lifeware. To make it even easier, let's give an example that I like.

Most people have seen the "Alien" movies, where the so called Xenomorhs roam the coridors, taking humans as if they were fat kids in a candy store. Now, let's say you want to "mimic" this life form and create a Lifeware out of it. You would have to start with analyzing the Xenomorphs behaviour as much as possible from the movies and find keywords. So what do we know about Xenomorphs from the Alien movies? Well, they operate with an hierarichal structure with the Queen at the top and all the Drones at the bottom. The Queen is mostly stationed in the hive where she lay her eggs. The eggs then hatch after a while (conveniently enough always when there's a human around) and from them the "facehugger" is born. The facehuggers attack humans and lay eggs inside of them which eventually grows into a parasite (the baby Alien which can be either a Drone or a Queen). Now, the Drones do whatever the Queen tells them to do but usually they hunt for food or hosts that they take back to the hive.

Now that I have analyzed the "basics" (or as much as I could think of at this point) about the behaviour pattern of the Alien, I can start thinking about ways to implement this in code. It's all about having a crazy imagination and finding your creative side. Personally I like to use creative methods that do not harm the system, but at the same time I do not like to be restricted by it (The Alien has to eat! And what do we usually have a lot of? Files of course! And I don't think a Xenomorph really cares about what the status of the human it eats has, it's a hunter that only sees the human as its prey). Due to this, the normal user will see this as Malware and try to get rid of it (if it for some reason resides in his/her system), but it is not to be confused with Malware, since Malware is created to harm the system or the user, while Lifeware is created simply to "exist", but of course the purpose of the Lifewares existance is decided by the creator (No connections to religion what so ever, anyone who makes connections to it is stupid). The real beauty of Lifeware will mostly only be appreciated by the people who understands the functions behind it (programmers for example).

Anyway, so how do we implement all this as code? Well, like I said, use your imagination! For example, each entity of the three "facehugger, queen, drone" can be created as 3 separate applications with similar functions. You first have the Queen application, and when it first starts, it checks its own status (you might want to give it health points and such to make the expansion possibilities even greater). After this the Queen literally moves itself around the system until it finds a good place (a folder for example) and creates a hive (a folder!) where it moves into and stays (when I say move, I literally mean that it moves its own file around). After this the queen lays some "eggs", or in this case files with some data (data about the egg, like how long intil it hatches etc), if there are no drones on the system, the queen sleeps, and checks the status of the eggs (reads the files) once in a while. When the time is right for the eggs to hatch, the "Queen process" removes the egg and creates a new file, the facehugger, which is another application with the functions you have specified. Well, you should see where I'm going with this.

Personally I want to be able to interact with my Lifeware and monitor them for fun.
So I plan to create a separata program that checks the system for a specific Lifeware and then displays status of them. It could also give the possibility to give the drones the same commands as the Queen.

But remember, it's all fun and games until someone gets hurt ;)
If you want to code something like this, remember to think about why you are doing it, so that it does not turn into some evil malware. A good way to make sure of this is to always have a kill switch for all your Lifeware, like a separate application that spawns whenever you start your Lifeware, and that when started, can kill and remove all the Lifeware on the machine.

You are the kid and the OS is your sandbox ;)
"The best place to hide a tree, is in a forest"

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

I understand where you're going with this a lot better now. I think it's an exciting project with endless possibilities.

Also, like you said - if it's really "lifeware", then it has to eat. So maybe when you put the lifeware on your system, you could have a containment area... like a root folder (for example, the lifeware must stay inside of C:\lifeware or something). And then for the lifeware to survive, you have to put files inside of the folder for the lifeware to eat, otherwise it will die. Just an idea though.

Sounds really cool :P
¯\_(ツ)_/¯ It works on my machine...

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

gogeta70 wrote: you have to put files inside of the folder for the lifeware to eat, otherwise it will die. Just an idea though.

Now there's an interesting thought :D
"The best place to hide a tree, is in a forest"

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Post by l0ngb1t »

mmmm yeah i got now :D
so we can say that a virus is a kind of lifeware (discarding the harming side)
you know it's like a real virus like the flu or even HIV
a virus get into your body then duplicate it self and infect other cell's, very similar to computer viruses : get in, duplicate it self and infect other files
am i right ??
P.S: am sure that lifeware is not a harmful thing, but am using the virus example to be sure that i understand it well, did i ?
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

l0ngb1t wrote:mmmm yeah i got now :D
so we can say that a virus is a kind of lifeware (discarding the harming side)
you know it's like a real virus like the flu or even HIV
a virus get into your body then duplicate it self and infect other cell's, very similar to computer viruses : get in, duplicate it self and infect other files
am i right ??
P.S: am sure that lifeware is not a harmful thing, but am using the virus example to be sure that i understand it well, did i ?
yeah that's a good example =)

the problem with it is, that if you do something slightly harmful with it, people will still see it as malware instead of lifeware. Therefore it is important to contain your lifeware so that it doesn't trouble outsiders.

You might say that the gap between malware and lifeware becomes very small if you include something that can be seen as malicious, into lifeware (but yeah that goes for any application, but in this case it wouldn't be very strange for one to do so without actually "meaning" any harm to the system).
"The best place to hide a tree, is in a forest"

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Post by l0ngb1t »

you know read what you wrote and it should be really funny... it'll be like a self control application that act by it's self, it's like skynet in terminator but this one behave and don't want to kill people, i can't find the right word to describe it but it's like an independent software...
and i think if we think deeply about i am sure that is that way too far from malware and this idea can evolve into much bigger thing
am gonna start working on something like that...
nice Cats (Y)
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Read about "Artificial Intelligence", I think that's what you are after =)

And yeah, to create a good Lifeware, one could make real good use of AI.
"The best place to hide a tree, is in a forest"

User avatar
Gogeta70
^_^
^_^
Posts: 3275
Joined: 25 Jun 2005, 16:00
18

Post by Gogeta70 »

Ok, i made some very simple lifeware last night (and this morning), and i'm gonna go ahead and post the main.php source. The following source is not usable without the include, it's just there to demonstrate how to make a simple lifeware program.

I will post an executable file later, just having trouble with the complier at the moment ^_^

Here's what this lifeware does:

Eats .exe, .jpg, and .pdf files
Has a hunger level, will die if it gets too hungry
The life forms that this program creates mate and create children.
Occasionally, the life forms get into a fight and one will kill the other.
[Not Yet Implemented] A life form will gain a preference to a certain type of food over time, depending on what it eats most often.

I forgot to mention, the children of the life forms take on the food preferences of the parent life forms ^_^


Anyway, here's the source: http://code.suck-o.com/38340

Well, let's hear your comments ^_^

I'll update this post with an executable later today, so look for it :P
¯\_(ツ)_/¯ It works on my machine...

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

I will go through the code when I get home :D

Excellent! This is exactly what I meant ^^

Good job!

It's like a big bowl of AI, your imagination and the OS environment!! ^^
"The best place to hide a tree, is in a forest"

Post Reply