Compare commits

..

3 Commits

Author SHA1 Message Date
JoYo 857063da34 store db in volume 2019-02-21 01:55:31 +00:00
JoYo ba798dc5a6 i never used logfile, removing 2019-02-21 01:55:16 +00:00
JoYo 7f44c3be73 minor doc 2019-02-21 01:49:34 +00:00
3 changed files with 12 additions and 17 deletions

View File

@ -1,9 +1,8 @@
# sins - scrap is not scrap
# scrap is not scrap
This experiment began out of a fascination with a public school education in biology and a dissatisfaction with genetic algorithms with their ability to do work.
Work is for chumps; entropy is less energy... er.
The scrap-is-not-scrap (sins) experiment began out of a public school education in biology and dissatisfaction with genetic algorithms with their ability to do work.
[Artifical Life Slideshow](https://docs.google.com/presentation/d/1P5wEIuympcGkyadeAofbZbJqTmpwpZGw9-DXg5_P7Ms)
[artificial life slideshow](https://docs.google.com/presentation/d/1P5wEIuympcGkyadeAofbZbJqTmpwpZGw9-DXg5_P7Ms)
# usage
@ -13,19 +12,19 @@ docker-compose up
# (not so) faq
## What biology? All I see is bad code.
## what biology? all i see is bad code.
Biology is a great example of a tremendous waste of time, so I love to be inspired by it.
Other than that, there isn't really anything else here except a bunch of pseudoscience regarding dissent with modification.
Biology is a great example of a tremendous waste of time and thus this is inspiring.
There isn't really anything else here except pseudoscience with regard to decent with modification.
Computers are generally deterministic except in specific circumstances which makes producing new functionality in code the programmer's responsibility.
The field of artificial intelligence attempts to reproduce human intelligence through deterministic computing and has come a long way in recent years.
Artificial intelligence still has predictable results--we have a few tests for human intelligence, the most common being the [Turing test](https://en.wikipedia.org/wiki/Turing_test).
## Intelligence is a bad thing now?
## intelligence is a bad thing now?
Yes, Siri.
## What does this all have to do with scrap not being scrap?
## what does this all have to do with scrap not being scrap?
I have a habit of calling new projects "scrap" until I can think of a better name for them.
I like to think that scrap is no longer scrap but you get to decided that one for yourself.

View File

@ -1,4 +1,6 @@
version: '3'
volumes:
scraps:
services:
sins_run:
image: sins
@ -6,6 +8,7 @@ services:
context: .
volumes:
- ${PWD}:/app
- scraps:/out
working_dir: /app
command: python3 -m sins -o out/
command: python3 -m sins -o /out/
# command: yasm seed.asm -o seed

View File

@ -39,13 +39,6 @@ def sins():
stream_handler.setFormatter(log_format)
logger.addHandler(stream_handler)
if args.output:
log_path = f'{args.output}/sins-{now}.log'
file_handler = logging.FileHandler(log_path)
file_handler.setLevel(log_level)
file_handler.setFormatter(log_format)
logger.addHandler(file_handler)
logger.info(now)
if args.output: