[erlang-questions] Beginner questions

OJ Reeves <>
Mon Dec 24 03:19:23 CET 2012


Bob,

I just went through the instructions that were listed in the README.txt:


STARTING POINT
--------------
>From inside Erlang.
1. %%%%Compilation%%%%
	make:all().
2. %%%%Initialize All Databases%%%%
	First create a folder called “benchmarks”, the system expects it to
exist, and writes files to it when performing benchmarks.
	polis:create(). % This creates the database
3. %%%%Start The Polis Databases%%%%
	polis:start(). % This starts the polis process, the whole thing, the
infrastructure (it runs the scapes...)
4. At this point you can summon NN based agents or populations of
agents, construct Sensors and Actuators and provide them to the NNs...
This section will be expanded in future additions.



I followed those instructions and the application works perfectly for me.
Did you do the same? I'm on Windows 8 x64.

OJ


On Mon, Dec 24, 2012 at 11:32 AM, Bob Matthews <>wrote:

>  The code that I am looking at is DXNN2 copyrighted to Gene Sher.
>
> The error message I got which I am having difficulty interpreting is as
> follows....................
>
> 4> population_monitor:start().
> {error,{{badrecord,state},
>         [{population_monitor,init,1,
>                              [{file,"population_monitor.erl"},{line,82}]},
>          {gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
>          {proc_lib,init_p_do_apply,3,
>                    [{file,"proc_lib.erl"},{line,227}]}]}}
>
> I am using the latest versionR15B03
>
> Thank you for you help
>
> Bob
> Dunedin New Zealand
>
>
> On 24/12/2012 11:58 a.m., Matti Oinas wrote:
>
> Hi,
>
> My first proposal is to change the editor to something more usable like
> emacs or if you prefer something different then notepad++, sublime text or
> eclipse + erlIDE. Everyone of these are able to show you the line numbers
> and offer syntax highlight features.
>
> It would help a lot if you tell us which code you are looking at. Server
> callbacks probably mean gen_server callbacks so it doesn't matter if you
> are using windows or linux.
>
> Matti
>
> On 12/24/2012 12:08 AM, Bob Matthews wrote:
>
> Hi
>
> I have just started to learn Erlang............
> I am using Windows 7 on a PC
>
> *Question 1*)  when I get an error message, what is the easiest way for
> me to find the exact line number?
> I use ms Word as an editor.
>
> *Question 2*) the code I am looking at was run on Unix, on a server.
> Part of the code talks about server call-backs etc.
> It is unclear how I translate that to a windows PC
>
> Many thanks
>
> Bob
>
>
> _______________________________________________
> erlang-questions mailing ://erlang.org/mailman/listinfo/erlang-questions
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.2805 / Virus Database: 2634/5951 - Release Date: 12/11/12
> Internal Virus Database is out of date.
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>


-- 

OJ Reeves
+61 431 952 586
http://buffered.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121224/42ab5064/attachment.html>


More information about the erlang-questions mailing list