tags: computer programs

Action executed in 0.000

Each Tag

computer programs

Common tags - number of posts

Nagios (1), config (1), options (1), movie night (1), website (1), enumerate (1), flower (1), The Butterfly Effect (1),

Options and Parameters, Control Panel and Managers

What's the difference between command line options and parameters? What's the difference between a control panel and a manager? And should hosts.cfg be located in /etc/nagios/ ?

Options change the behavior of a program. For example display number of bytes or a human readable format. Parameters are the objects that a program acts upon. For example in "mv File_1 File_2", the files are parameters.

A control panel is a where you can set options. For example your screen can be set to one of several resolutions. A manager is a where you modify data. Cupsys and Swat are managers since they manage which printers you print to and which directories you share.

/etc/ is the place to put configuration information for programs. /var/ is the place to put the data that the programs work one. Therefore hosts.cfg, the file that lists the hosts Nagios should monitor, should be located in /var/lib/nagios/. nagios.cfg is located properly in /etc/nagios/.

Butterfly Effect, Program Iterator, Flower

Mark, Michael, and i saw The Butterfly Effect last night. And it raised the question (n.b. i didn't say "begs the question) about what would be the long term general effect if a past event was changed.

More on that later; somehow we got onto the topic of programming. I think i mentioned with a little game theory you can make small predictions. Then i claimed that it's possible to iterate through all runnable computer programs. Mark retorted it's a very difficult challenge. Well i've started work on a new project.

This project has more to do than responding to Mark's challenge. Since this project will build the abstract syntax tree (AST) from a program, i can use that as part of my Flower Project

Haven't heard of the Flower Project? I want to put a flower on my webpage (or some other space). This flower or flower garden will model the attributes and behavior of a flower to a fine detail. It will have color, stem length, branching factor, number of petals, shape of leaves, shape of petals. Behavior will be implemented by a set of instructions. Finally you can cross the flower by mixing their attributes and mixing their instructions. It will use a genetic algorithm.