cellular-automata.git
11 years agoAdd terminal color manipulation.
Siraaj Khandkar [Sat, 28 Sep 2013 19:10:38 +0000 (15:10 -0400)] 
Add terminal color manipulation.

11 years agoReset cursor position before printing each grid.
Siraaj Khandkar [Sat, 28 Sep 2013 17:12:14 +0000 (13:12 -0400)] 
Reset cursor position before printing each grid.

11 years agoUpdate README.
Siraaj Khandkar [Sat, 28 Sep 2013 16:38:47 +0000 (12:38 -0400)] 
Update README.

11 years agoA more obvious order in this context.
Siraaj Khandkar [Sat, 28 Sep 2013 16:36:25 +0000 (12:36 -0400)] 
A more obvious order in this context.

11 years agoA more appropriate name.
Siraaj Khandkar [Sat, 28 Sep 2013 16:29:29 +0000 (12:29 -0400)] 
A more appropriate name.

11 years agoInfrastructure for polymorphism.
Siraaj Khandkar [Sat, 28 Sep 2013 16:26:51 +0000 (12:26 -0400)] 
Infrastructure for polymorphism.

11 years agoOrganize transition mechanism into Automaton module
Siraaj Khandkar [Sat, 28 Sep 2013 04:29:54 +0000 (00:29 -0400)] 
Organize transition mechanism into Automaton module

11 years agoGet rid of data labels.
Siraaj Khandkar [Sat, 28 Sep 2013 04:29:54 +0000 (00:29 -0400)] 
Get rid of data labels.

11 years agoPack options in a record.
Siraaj Khandkar [Sat, 28 Sep 2013 04:29:54 +0000 (00:29 -0400)] 
Pack options in a record.

11 years agoDecrease pause time between generations.
Siraaj Khandkar [Sat, 28 Sep 2013 04:29:54 +0000 (00:29 -0400)] 
Decrease pause time between generations.

11 years agoLoop indefinitely, in full screen.
Siraaj Khandkar [Fri, 27 Sep 2013 05:59:57 +0000 (01:59 -0400)] 
Loop indefinitely, in full screen.

11 years agoUse point abstraction.
Siraaj Khandkar [Fri, 27 Sep 2013 04:59:19 +0000 (00:59 -0400)] 
Use point abstraction.

11 years agoCompute next generation.
Siraaj Khandkar [Fri, 27 Sep 2013 04:31:34 +0000 (00:31 -0400)] 
Compute next generation.

11 years agoUse idiomatic abbreviations for rows and columns.
Siraaj Khandkar [Fri, 27 Sep 2013 02:15:24 +0000 (22:15 -0400)] 
Use idiomatic abbreviations for rows and columns.

11 years agoUse a more idiomatic creator name.
Siraaj Khandkar [Fri, 27 Sep 2013 02:01:19 +0000 (22:01 -0400)] 
Use a more idiomatic creator name.

11 years agoRemove unneeded operation: set
Siraaj Khandkar [Fri, 27 Sep 2013 01:54:03 +0000 (21:54 -0400)] 
Remove unneeded operation: set

11 years agoUse -short-paths
Siraaj Khandkar [Fri, 27 Sep 2013 01:52:09 +0000 (21:52 -0400)] 
Use -short-paths

11 years agoSupport both, plain map and mapi.
Siraaj Khandkar [Fri, 27 Sep 2013 01:51:09 +0000 (21:51 -0400)] 
Support both, plain map and mapi.

11 years agoDisable warning 44:
Siraaj Khandkar [Fri, 27 Sep 2013 01:34:15 +0000 (21:34 -0400)] 
Disable warning 44:

Open statement shadows an already defined identifier.

11 years agoFix fragile pattern-matching.
Siraaj Khandkar [Fri, 27 Sep 2013 01:19:03 +0000 (21:19 -0400)] 
Fix fragile pattern-matching.

11 years agoEnable all compiler warnings.
Siraaj Khandkar [Fri, 27 Sep 2013 01:15:53 +0000 (21:15 -0400)] 
Enable all compiler warnings.

11 years agoDrop down for uniformity.
Siraaj Khandkar [Fri, 27 Sep 2013 00:39:17 +0000 (20:39 -0400)] 
Drop down for uniformity.

11 years agoInit and print a matrix of cells.
Siraaj Khandkar [Thu, 26 Sep 2013 02:55:32 +0000 (22:55 -0400)] 
Init and print a matrix of cells.

11 years agoPass dimensions as CLI arguments.
Siraaj Khandkar [Wed, 25 Sep 2013 23:28:43 +0000 (19:28 -0400)] 
Pass dimensions as CLI arguments.

11 years agoImplement Conway's Life cell.
Siraaj Khandkar [Wed, 25 Sep 2013 21:29:39 +0000 (17:29 -0400)] 
Implement Conway's Life cell.

11 years agoDefine cell signature.
Siraaj Khandkar [Wed, 25 Sep 2013 20:28:21 +0000 (16:28 -0400)] 
Define cell signature.

11 years agoImplement a generic matrix abstraction.
Siraaj Khandkar [Wed, 25 Sep 2013 18:58:28 +0000 (14:58 -0400)] 
Implement a generic matrix abstraction.

11 years agoSay hi.
Siraaj Khandkar [Wed, 25 Sep 2013 17:28:17 +0000 (13:28 -0400)] 
Say hi.

11 years agoIgnore _build and bin directories.
Siraaj Khandkar [Wed, 25 Sep 2013 17:22:10 +0000 (13:22 -0400)] 
Ignore _build and bin directories.

11 years agoAdded build and clean recipes.
Siraaj Khandkar [Wed, 25 Sep 2013 17:20:39 +0000 (13:20 -0400)] 
Added build and clean recipes.

11 years agoQuick description of Polymorphic Life.
Siraaj Khandkar [Wed, 25 Sep 2013 16:56:45 +0000 (12:56 -0400)] 
Quick description of Polymorphic Life.

11 years agoAdded some info on Langton's ant.
Siraaj Khandkar [Sun, 16 Jun 2013 22:27:48 +0000 (18:27 -0400)] 
Added some info on Langton's ant.

11 years agoWhy not just subtract in AWK?
Siraaj Khandkar [Wed, 7 Nov 2012 20:28:44 +0000 (15:28 -0500)] 
Why not just subtract in AWK?

11 years agoAdded info about Wireworld.
Siraaj Khandkar [Thu, 6 Sep 2012 05:01:06 +0000 (01:01 -0400)] 
Added info about Wireworld.

11 years agoRe-formated summary as a table
Siraaj Khandkar [Fri, 17 May 2013 04:04:17 +0000 (01:04 -0300)] 
Re-formated summary as a table

12 years agoFixed wrong quote type.
Siraaj Khandkar [Mon, 3 Sep 2012 21:35:16 +0000 (17:35 -0400)] 
Fixed wrong quote type.

12 years agoRight... THAT's how you pass a curried infix.
Siraaj Khandkar [Mon, 3 Sep 2012 21:31:08 +0000 (17:31 -0400)] 
Right... THAT's how you pass a curried infix.

12 years agoLight refactoring.
Siraaj Khandkar [Mon, 3 Sep 2012 18:48:52 +0000 (14:48 -0400)] 
Light refactoring.

12 years agoCheck sleep interval before sleeping.
Siraaj Khandkar [Mon, 3 Sep 2012 18:42:55 +0000 (14:42 -0400)] 
Check sleep interval before sleeping.

12 years agoSet generation interval in CLI options.
Siraaj Khandkar [Mon, 3 Sep 2012 17:44:20 +0000 (13:44 -0400)] 
Set generation interval in CLI options.

12 years agoSet probability in CLI options.
Siraaj Khandkar [Mon, 3 Sep 2012 17:32:16 +0000 (13:32 -0400)] 
Set probability in CLI options.

12 years agoForest-fire model 001.
Siraaj Khandkar [Mon, 3 Sep 2012 06:21:26 +0000 (02:21 -0400)] 
Forest-fire model 001.

12 years agoAdded README for forest-fire model.
Siraaj Khandkar [Mon, 3 Sep 2012 05:05:49 +0000 (01:05 -0400)] 
Added README for forest-fire model.

12 years agoDiscovered Random.self_init
Siraaj Khandkar [Sun, 2 Sep 2012 21:33:30 +0000 (17:33 -0400)] 
Discovered Random.self_init

12 years agoUpdated image link.
Siraaj Khandkar [Mon, 3 Sep 2012 01:02:55 +0000 (22:02 -0300)] 
Updated image link.

12 years agoAdded link to Life's Wikipedia page.
Siraaj Khandkar [Sun, 2 Sep 2012 19:28:37 +0000 (15:28 -0400)] 
Added link to Life's Wikipedia page.

12 years agoAdded root README.
Siraaj Khandkar [Sun, 2 Sep 2012 02:00:25 +0000 (22:00 -0400)] 
Added root README.

12 years agoMoved Life implementations into 'life' directory.
Siraaj Khandkar [Sun, 2 Sep 2012 01:31:54 +0000 (21:31 -0400)] 
Moved Life implementations into 'life' directory.

12 years agoA more readable list.
Siraaj Khandkar [Tue, 28 Aug 2012 16:26:07 +0000 (12:26 -0400)] 
A more readable list.

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.

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