cellular-automata.git
12 years agoRemoved unnecessary call to length().
Siraaj Khandkar [Tue, 28 Aug 2012 16:21:46 +0000 (12:21 -0400)] 
Removed unnecessary call to length().

Also, length isn't supported in mawk :(

12 years agoUpdated main README.
Siraaj Khandkar [Tue, 28 Aug 2012 04:27:22 +0000 (00:27 -0400)] 
Updated main README.

12 years agoAdded README describing life-005.
Siraaj Khandkar [Tue, 28 Aug 2012 04:13:30 +0000 (00:13 -0400)] 
Added README describing life-005.

12 years agoLife 5: AWK. Simulated 3D array.
Siraaj Khandkar [Tue, 28 Aug 2012 04:04:52 +0000 (00:04 -0400)] 
Life 5: AWK. Simulated 3D array.

12 years agoPointing directly at `awk`, rather than via `env`.
Siraaj Khandkar [Mon, 27 Aug 2012 15:00:50 +0000 (11:00 -0400)] 
Pointing directly at `awk`, rather than via `env`.

Though it worked fine on Mac OS X, for whatever reason, this technique breaks
down on Debian and the shell complains:
    /usr/bin/env: awk -f: No such file or directory

12 years agoUpdated README.
Siraaj Khandkar [Sun, 26 Aug 2012 16:02:02 +0000 (12:02 -0400)] 
Updated README.

12 years agoGhost neighbors beyond boundaries!
Siraaj Khandkar [Sun, 26 Aug 2012 15:59:56 +0000 (11:59 -0400)] 
Ghost neighbors beyond boundaries!

12 years agoRe-ordered function definitions.
Siraaj Khandkar [Sun, 26 Aug 2012 04:44:33 +0000 (00:44 -0400)] 
Re-ordered function definitions.

12 years agoget/set/do prefix notation.
Siraaj Khandkar [Sun, 26 Aug 2012 04:38:07 +0000 (00:38 -0400)] 
get/set/do prefix notation.

12 years agoWhy did I think I needed this again?
Siraaj Khandkar [Sun, 26 Aug 2012 04:21:18 +0000 (00:21 -0400)] 
Why did I think I needed this again?

12 years agoUpdated README.
Siraaj Khandkar [Sun, 26 Aug 2012 04:08:39 +0000 (00:08 -0400)] 
Updated README.

12 years agoLife 4: board as string, in AWK.
Siraaj Khandkar [Sun, 26 Aug 2012 04:05:30 +0000 (00:05 -0400)] 
Life 4: board as string, in AWK.

12 years agoEnsuring sleep value is at least zero.
Siraaj Khandkar [Thu, 9 Aug 2012 18:26:39 +0000 (14:26 -0400)] 
Ensuring sleep value is at least zero.

12 years agoDon't sleep longer than necessary to meet the interval.
Siraaj Khandkar [Thu, 9 Aug 2012 13:16:35 +0000 (09:16 -0400)] 
Don't sleep longer than necessary to meet the interval.

12 years agoComment explaining choice of map+to_list over fold.
Siraaj Khandkar [Thu, 9 Aug 2012 13:03:22 +0000 (09:03 -0400)] 
Comment explaining choice of map+to_list over fold.

12 years agoReformatting for consistency.
Siraaj Khandkar [Thu, 9 Aug 2012 06:29:48 +0000 (02:29 -0400)] 
Reformatting for consistency.

12 years agoBetter variable names.
Siraaj Khandkar [Thu, 9 Aug 2012 06:26:49 +0000 (02:26 -0400)] 
Better variable names.

12 years agoBar string should never be empty.
Siraaj Khandkar [Thu, 9 Aug 2012 06:22:08 +0000 (02:22 -0400)] 
Bar string should never be empty.

12 years agoThese fields should never be 0.
Siraaj Khandkar [Thu, 9 Aug 2012 06:19:25 +0000 (02:19 -0400)] 
These fields should never be 0.

12 years agoRe-aligning record field type declarations.
Siraaj Khandkar [Thu, 9 Aug 2012 06:16:37 +0000 (02:16 -0400)] 
Re-aligning record field type declarations.

12 years agoNo need to specify the default value.
Siraaj Khandkar [Thu, 9 Aug 2012 06:14:34 +0000 (02:14 -0400)] 
No need to specify the default value.

12 years agoAdded footnote about the array() module.
Siraaj Khandkar [Thu, 9 Aug 2012 04:09:05 +0000 (01:09 -0300)] 
Added footnote about the array() module.

12 years agoUpdated README.
Siraaj Khandkar [Thu, 9 Aug 2012 03:52:36 +0000 (23:52 -0400)] 
Updated README.

12 years agoSome clarifying comments.
Siraaj Khandkar [Thu, 9 Aug 2012 03:46:17 +0000 (23:46 -0400)] 
Some clarifying comments.

12 years agoTiming each screen print.
Siraaj Khandkar [Thu, 9 Aug 2012 03:43:12 +0000 (23:43 -0400)] 
Timing each screen print.

12 years agoOrganizing state into a record.
Siraaj Khandkar [Thu, 9 Aug 2012 03:04:34 +0000 (23:04 -0400)] 
Organizing state into a record.

12 years agoPrinting a status bar per generation.
Siraaj Khandkar [Thu, 9 Aug 2012 00:58:02 +0000 (20:58 -0400)] 
Printing a status bar per generation.

12 years agoSetting process limit to no more than necessary.
Siraaj Khandkar [Thu, 9 Aug 2012 00:09:37 +0000 (20:09 -0400)] 
Setting process limit to no more than necessary.

12 years agoStart-up wrapper script for 003.
Siraaj Khandkar [Wed, 8 Aug 2012 23:37:16 +0000 (19:37 -0400)] 
Start-up wrapper script for 003.

12 years agoSeparate .gitignore per implementation.
Siraaj Khandkar [Wed, 8 Aug 2012 23:35:33 +0000 (19:35 -0400)] 
Separate .gitignore per implementation.

12 years agoNo need to recalculate X(W) and Y(H) again.
Siraaj Khandkar [Wed, 8 Aug 2012 23:19:56 +0000 (19:19 -0400)] 
No need to recalculate X(W) and Y(H) again.

12 years agoMatrix approach in Erlang, using array module.
Siraaj Khandkar [Wed, 8 Aug 2012 22:51:16 +0000 (18:51 -0400)] 
Matrix approach in Erlang, using array module.

12 years agoRefactoring.
Siraaj Khandkar [Tue, 7 Aug 2012 02:06:24 +0000 (22:06 -0400)] 
Refactoring.

12 years agoPrint char representation of cell state.
Siraaj Khandkar [Mon, 6 Aug 2012 19:30:18 +0000 (15:30 -0400)] 
Print char representation of cell state.

12 years agoBoard size as CLI args.
Siraaj Khandkar [Mon, 6 Aug 2012 18:46:31 +0000 (14:46 -0400)] 
Board size as CLI args.

12 years agoUpdated README.
Siraaj Khandkar [Mon, 6 Aug 2012 14:51:08 +0000 (10:51 -0400)] 
Updated README.

12 years agoTraditional, matrix approach in OCaml. Unpolished.
Siraaj Khandkar [Mon, 6 Aug 2012 14:49:16 +0000 (10:49 -0400)] 
Traditional, matrix approach in OCaml. Unpolished.

12 years agoIncreased max num of procs to 100000000.
Siraaj Khandkar [Wed, 1 Aug 2012 17:32:10 +0000 (13:32 -0400)] 
Increased max num of procs to 100000000.

12 years agoEnsuring gen delay isn't longer than spec interval.
Siraaj Khandkar [Wed, 1 Aug 2012 04:31:08 +0000 (00:31 -0400)] 
Ensuring gen delay isn't longer than spec interval.

12 years agoExtended usage instructions.
Siraaj Khandkar [Tue, 31 Jul 2012 22:45:06 +0000 (19:45 -0300)] 
Extended usage instructions.

12 years agoFixed filename in README.
Siraaj Khandkar [Tue, 31 Jul 2012 22:41:47 +0000 (19:41 -0300)] 
Fixed filename in README.

12 years agoCommitting rebar to repo.
Siraaj Khandkar [Tue, 31 Jul 2012 22:38:29 +0000 (18:38 -0400)] 
Committing rebar to repo.

12 years agoAdded README to life-001.
Siraaj Khandkar [Tue, 31 Jul 2012 22:37:17 +0000 (18:37 -0400)] 
Added README to life-001.

12 years agoLogging and printing compute time for each generation.
Siraaj Khandkar [Tue, 31 Jul 2012 20:21:13 +0000 (16:21 -0400)] 
Logging and printing compute time for each generation.

12 years agoUsing erlang:send_after/3 for tick scheduling.
Siraaj Khandkar [Mon, 30 Jul 2012 02:26:41 +0000 (22:26 -0400)] 
Using erlang:send_after/3 for tick scheduling.

12 years agoObserver logs stats for each run.
Siraaj Khandkar [Sun, 29 Jul 2012 21:56:53 +0000 (17:56 -0400)] 
Observer logs stats for each run.

12 years agoQuoted literal characters in comments.
Siraaj Khandkar [Sun, 29 Jul 2012 19:05:26 +0000 (15:05 -0400)] 
Quoted literal characters in comments.

12 years agoOrganized reused functions into lib module.
Siraaj Khandkar [Sat, 28 Jul 2012 18:29:16 +0000 (14:29 -0400)] 
Organized reused functions into lib module.

12 years agoGrouping unused gen_server callbacks.
Siraaj Khandkar [Sat, 28 Jul 2012 18:13:45 +0000 (14:13 -0400)] 
Grouping unused gen_server callbacks.

12 years agoBetter function names.
Siraaj Khandkar [Sat, 28 Jul 2012 17:51:00 +0000 (13:51 -0400)] 
Better function names.

12 years agoStashing early msgs instead of immediately resending.
Siraaj Khandkar [Sat, 28 Jul 2012 03:01:28 +0000 (23:01 -0400)] 
Stashing early msgs instead of immediately resending.

HUGE performance difference! ~50% less CPU utilization for ~16k cells.

12 years agoPrinting num of dead & alive cells per generation.
Siraaj Khandkar [Sat, 28 Jul 2012 01:49:01 +0000 (21:49 -0400)] 
Printing num of dead & alive cells per generation.

12 years agoExplicitly matching casts with 'ok'.
Siraaj Khandkar [Fri, 27 Jul 2012 03:18:37 +0000 (23:18 -0400)] 
Explicitly matching casts with 'ok'.

12 years agoWhy request when I can just broadcast?
Siraaj Khandkar [Fri, 27 Jul 2012 03:08:24 +0000 (23:08 -0400)] 
Why request when I can just broadcast?

12 years agoFixed out-of-order message handling.
Siraaj Khandkar [Fri, 27 Jul 2012 00:22:35 +0000 (20:22 -0400)] 
Fixed out-of-order message handling.

12 years agoSome terminology changes.
Siraaj Khandkar [Thu, 26 Jul 2012 22:42:56 +0000 (18:42 -0400)] 
Some terminology changes.

12 years agoAdded generation count to time and cell states.
Siraaj Khandkar [Wed, 25 Jul 2012 20:36:30 +0000 (16:36 -0400)] 
Added generation count to time and cell states.

12 years agoPrinting X and Y in the status bar.
Siraaj Khandkar [Wed, 25 Jul 2012 17:06:17 +0000 (13:06 -0400)] 
Printing X and Y in the status bar.

12 years agoSet interval back to 0.1 sec.
Siraaj Khandkar [Wed, 25 Jul 2012 17:01:15 +0000 (13:01 -0400)] 
Set interval back to 0.1 sec.

12 years agoExplicit sort function.
Siraaj Khandkar [Wed, 25 Jul 2012 15:00:19 +0000 (11:00 -0400)] 
Explicit sort function.

12 years agoWasting less board space.
Siraaj Khandkar [Wed, 25 Jul 2012 14:58:30 +0000 (10:58 -0400)] 
Wasting less board space.

12 years agoBumped allowable crash frequency to 1000000/1 sec.
Siraaj Khandkar [Wed, 25 Jul 2012 05:05:04 +0000 (01:05 -0400)] 
Bumped allowable crash frequency to 1000000/1 sec.

12 years agoAdded a remote shell shortcut script.
Siraaj Khandkar [Wed, 25 Jul 2012 05:03:36 +0000 (01:03 -0400)] 
Added a remote shell shortcut script.

12 years agoAdded Makefile to gol-001
Siraaj Khandkar [Tue, 24 Jul 2012 02:43:42 +0000 (22:43 -0400)] 
Added Makefile to gol-001

12 years agoUpdated global README.
Siraaj Khandkar [Tue, 24 Jul 2012 00:27:17 +0000 (20:27 -0400)] 
Updated global README.

12 years agoIncreasing interval between generations to 0.1 sec.
Siraaj Khandkar [Mon, 23 Jul 2012 18:11:11 +0000 (14:11 -0400)] 
Increasing interval between generations to 0.1 sec.

Apparently gnome-terminal can't keep-up with faster updates... :(

12 years agoUpdated references from old to new module names.
Siraaj Khandkar [Mon, 23 Jul 2012 15:18:56 +0000 (11:18 -0400)] 
Updated references from old to new module names.

12 years agoPrefixed app name to module names.
Siraaj Khandkar [Mon, 23 Jul 2012 15:13:32 +0000 (11:13 -0400)] 
Prefixed app name to module names.

12 years agoPrinting cell count in status bar.
Siraaj Khandkar [Mon, 23 Jul 2012 15:10:41 +0000 (11:10 -0400)] 
Printing cell count in status bar.

12 years agoAPI tweeks, bangs to casts.
Siraaj Khandkar [Mon, 23 Jul 2012 15:06:04 +0000 (11:06 -0400)] 
API tweeks, bangs to casts.

12 years agoAdded generation count.
Siraaj Khandkar [Mon, 23 Jul 2012 08:25:40 +0000 (04:25 -0400)] 
Added generation count.

12 years agoConverted to OTP app.
Siraaj Khandkar [Mon, 23 Jul 2012 08:13:23 +0000 (04:13 -0400)] 
Converted to OTP app.

12 years agoStart script. Sets size of the board to match terminal.
Siraaj Khandkar [Sun, 22 Jul 2012 05:10:56 +0000 (01:10 -0400)] 
Start script. Sets size of the board to match terminal.

12 years agoFixed incorrectly sorted list and improper negation.
Siraaj Khandkar [Sun, 22 Jul 2012 05:07:34 +0000 (01:07 -0400)] 
Fixed incorrectly sorted list and improper negation.

Also refactoring.

12 years agoFix: sending the current, not next, state back to time.
Siraaj Khandkar [Sat, 21 Jul 2012 16:38:37 +0000 (12:38 -0400)] 
Fix: sending the current, not next, state back to time.

12 years agoPrinting bar to visually mark the borders of the board.
Siraaj Khandkar [Sat, 21 Jul 2012 16:37:48 +0000 (12:37 -0400)] 
Printing bar to visually mark the borders of the board.

12 years agoMy first Game of Life!
Siraaj Khandkar [Sat, 21 Jul 2012 07:42:04 +0000 (03:42 -0400)] 
My first Game of Life!

12 years agoInitial commit
Siraaj Khandkar [Sat, 21 Jul 2012 08:06:21 +0000 (01:06 -0700)] 
Initial commit

This page took 0.055102 seconds and 4 git commands to generate.