[netlogo-devel] Re: extensions not recognized? (6.0.2 on MacBook Pro)

2018-02-04 Thread Alan Isaac
Confirming that it was a locale problem. A workaround for OSX is to have the user create an English language account. > > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send

[netlogo-devel] extensions not recognized? (6.0.2 on MacBook Pro)

2018-01-29 Thread Alan Isaac
I have a student who installed (the standard download) NetLogo 6.0.2 on a MacBook Pro and finds that `extensions` is not recognized. I confirmed this. Is this a known issue, and is there a workaround? -- You received this message because you are subscribed to the Google Groups

[netlogo-devel] Mathematica Link: extensions not found

2018-01-17 Thread Alan Isaac
How would I diagnose why an instance of NetLogo started with Mathematica Link cannot find extensions that ship with NetLogo? Thanks, Alan -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving

[netlogo-devel] disable-button proposal

2017-07-20 Thread Alan Isaac
Buttons currently include an option to disable the button until ticks start. It would be nice if this were generalized to accept a boolean reporter. (E.g., Disable unless `stageOneComplete`.) -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group.

[netlogo-devel] using `loop` at command line

2017-07-13 Thread Alan Isaac
1. Stopping `loop` appears to terminate command line processing. E.g., `let _ct 0 loop [if (_ct = 10) [stop] set _ct (1 + _ct)] print _ct` will not print anything`. Is this expected/desired? (I.e., must the command be thought of as an "enclosing procedure"?) 2. Feature request: would it be

Re: [netlogo-devel] Re: Convert old NetLogo 2.0.1 models to run in NetLogo 6

2017-04-23 Thread Alan Isaac
The need to convert old models is becoming more common. This semester I wanted students to look at a few models that were created in version 4. I am starting to wish for a conversion tool ... -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group.

Re: [netlogo-devel] behavior of reload (startup not run; globals not cleared)

2017-02-27 Thread Alan Isaac
After the bugfix, do `.nls` files now reload as well? (Or was it intentional that they do not?) Thanks. -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[netlogo-devel] lamda terminology

2017-02-13 Thread Alan Isaac
Part way into a new semester, I find myself unhappy with a NetLogo terminological decision. I am going to urge the return to the `task` terminology. 1. lambda means nothing to my undergrad students, while task is very intuitive 2. it is odd to use `is-anonymous-command?` and

[netlogo-devel] does NetLogo's ask-with ensure lazy evaluation?

2016-12-30 Thread Alan Isaac
I hope this question is at least minimally appropriate for this forum: http://stackoverflow.com/questions/41334468/does-netlogos-ask-with-ensure-lazy-evaluation Thanks, Alan Isaac -- You received this message because you are subscribed to the Google Groups "netlogo-devel&q

[netlogo-devel] Markdown rendering: newlines cause line breaks

2016-04-25 Thread Alan Isaac
Is it intentional that newlines cause line breaks in the Info tab rendering? Classic Markdown was designed to allow appealing plain text *and* appealing rendered text, and this is lost when eols in the plain text cause line breaks in the rendered text. In classic Markdown, one added two

[netlogo-devel] bug report: Random Network Example user interface

2016-04-21 Thread Alan Isaac
In the Random Network Example, it is easy for the naive user to set `num-links` too high, producing an infinite loop in `setup-simple-random`. Two possible solutions: i. set the `Maximum` to `num-nodes * (num-nodes - 1) / 2` in the `num-links` slider. ii. add the following (or equivalent)

[netlogo-devel] partition list: is `sublist` surprisingly slow?

2016-04-01 Thread Alan Isaac
Is `sublist` suprisingly slow? Related: might NetLogo consider adding a fast `partition` primitive, providing the basic functionality of Mathematica's `Partition`? (I.e., given #lst and #n, return a list of sublists of length #n.) It would alternatively be find to behave more like haskell's

[netlogo-devel] __set-line-thickness puzzle

2016-03-20 Thread Alan Isaac
I am puzzled by the introduction of the `__set-line-thickness` command. Naturally, there will immediately be a request for a __get-line-thickness command. Why is the better approach not to have a line-thickness attribute of turtles, which is set in the usual way? If the goal is to avoid

[netlogo-devel] max and min documentation "bug" (?)

2016-03-19 Thread Alan Isaac
Today I was puzzled why my students did not find `max` and `min`. They were looking at the list primitives in the dictionary, but `max` and `min` are only in the math primitives. If they can only be in one of the two places, I think it should be the list primitives. -- You received this

[netlogo-devel] histogram for beginners

2016-03-18 Thread Alan Isaac
Currently a common beginner experience with `histogram` is that they see nothing (because the data is outside the default x range). It would be useful to have a `histogram-all` command that does a `set-plot-x-range` to the range in the data before histogramming it. Doing something clever with

[netlogo-devel] feature request: multiple assignment

2016-03-01 Thread Alan Isaac
One thing I really miss from other high-level languages is multiple assignment. It seems like allowing set [var01 var02] mylist (when the two list are equal length) would not create any syntactical ambiguity. Is there any interest in this? Thanks, Alan Isaac -- You received this message

[netlogo-devel] reset-ticks

2016-02-05 Thread Alan Isaac
I have some doubts about the wisdom of reset-ticks calling update-plots, but perhaps I am overlooking something obvious. Suppose `x` is changed each tick, and I want students to plot `x / ticks`. This should be trivially simple, since it may come early in the semester. (Assume ifelse-value

[netlogo-devel] Re: NetLogo Mathematica Link lack of NLAgentSet

2016-01-23 Thread Alan Isaac
What is the current status of Mathematica Link for NetLogo 5.3? Thanks. -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [netlogo-devel] add a `sequence` primitive?

2015-08-10 Thread Alan Isaac
of the issue is the reason for proposing a new primitive. Is there any sympathy for this? Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel

Re: [netlogo-devel] enhancement request: plots

2015-07-14 Thread Alan Isaac
I will proceed by (i) showing there is demand, and then by (ii) giving an example use. (i) gnuplot offers both steps and fsteps options; Mathematica offers InterpolationOrder-0 to achieve the equivalent of the steps option; Matlab offer stairs plots; and Matplotlib offers the `step` plot

[netlogo-devel] install bug?

2015-06-09 Thread Alan Isaac
offer incoming students? For the moment I have instructed the student to create another account in English and retry the install. Thanks, Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and stop

Re: [netlogo-devel] NetLogo 5.2: loop bug?

2015-05-29 Thread Alan Isaac
OK: you changed the documentation to say enclosing rather than current, so it is now clear that the present behavior is the intended behavior. I think it would be clearer still to say something explicit about needing a `stop` in the code block for `loop` if you want loop to ever stop

Re: [netlogo-devel] NetLogo 5.2: loop bug?

2015-05-28 Thread Alan Isaac
Yes, the example is constructed to reveal that behavior. But how am I supposed to read the following documentation? Runs the list of commands forever, or until the current procedure exits through use of the stop http://ccl.northwestern.edu/netlogo/docs/dictionary.html#stop command or the

[netlogo-devel] colon notation: the future of extensions

2015-03-19 Thread Alan Isaac
have never had the impression that this raises the bar. fwiw, Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com

Re: [netlogo-devel] colon notation: the future of extensions

2015-03-19 Thread Alan Isaac
My impression is that my undergraduate students are always connected -- at least those living on campus -- but I have not surveyed them. I have had graduate students who could not afford internet access at home and so were connected only on campus, but I do not know how common that is. I am

Re: [netlogo-devel] current-directory (enhancement request)

2015-03-10 Thread Alan Isaac
unresolved. So ... what is the sequence of instructions I should give so that leads every student to know exactly where his/her files are being written to? Thanks, Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from

Re: [netlogo-devel] current-directory (enhancement request)

2015-03-10 Thread Alan Isaac
On Tuesday, March 10, 2015 at 5:35:29 PM UTC-4, Alan Isaac wrote: So ... what is the sequence of instructions I should give so that leads every student to know exactly where his/her files are being written to? I suppose an operating system dependent set of instructions to create a `temp

Re: [netlogo-devel] documentation bug? file-open

2015-03-03 Thread Alan Isaac
On Tuesday, March 3, 2015 at 8:27:52 PM UTC-5, Ken Kahn wrote: Could it be a Windows symlink? - https://msdn.microsoft.com/en-us/library/windows/desktop/aa363878%28v=vs.85%29.aspx

[netlogo-devel] current-directory (enhancement request)

2015-03-02 Thread Alan Isaac
it explicitly with `set-current-directory`. (I did not want to discuss the `shell` extension.) Thanks, Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and stop receiving emails from it, send an email

[netlogo-devel] documentation bug? file-open

2015-03-02 Thread Alan Isaac
On Windows, `file-open /temp/temp.txt' apparently treats the initial slash as pointing to the User's home directory. Is this intentional? If so, is it documented? Is this a common convention in the Java world? Or did some VMS convention sneak in here somehow? Thanks, Alan Isaac -- You

Re: [netlogo-devel] interface bug: __includes

2015-02-20 Thread Alan Isaac
Wouldn't it be trivial to activate the Includes button in the presence of `__includes []` instead of requiring `__includes [arbitrary string]`? This change alone would be worth something. Just asking ... Thanks for taking this seriously. -- You received this message because you are

[netlogo-devel] interface bug: __includes

2015-02-19 Thread Alan Isaac
, and students we really puzzled by the interface. Thanks, Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com

Re: [netlogo-devel] CSV extension: documentation bug

2015-02-13 Thread Alan Isaac
I see the problem facing the convention is that a plural indicates a list. But it seems even more of a problem to propose that the difference between a string and a line is that a string can contain EOLs. But this may just be bike-shedding. Thanks for seeking short names. Alan -- You

Re: [netlogo-devel] globals: initialization to null would be better

2014-10-31 Thread Alan Isaac
Thanks for spending some effort thinking about this. The most common problem where this flaw becomes annoying is the following. A model has many global variables; too many to conveniently create interface globals for all of them, and similarly too many too set all of them explicitly for

Re: [netlogo-devel] globals: initialization to null would be better

2014-10-17 Thread Alan Isaac
There is no good workaround. The developers have not suggested a workaround. This is a widely recognized problem. I personally do not see how it will be adequately addressed unless initialization of non-interface globals is changed. I would love to hear how the developers are thinking about

[netlogo-devel] Re: access experiment name

2014-10-17 Thread Alan Isaac
Yet again, I'm needing this, and I cannot be alone. Is there any interest in introducing a `behaviorspace-experiment-name` variable to hold this information? -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from this group and

[netlogo-devel] scope bug for `run`?

2014-10-07 Thread Alan Isaac
to go let test 0 foreach [0] [ set test 0 ;works fine run set test 0 ;raises error ] end Is this behavior desirable (and if so, documented)? Alan Isaac -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To unsubscribe from

[netlogo-devel] Re: negative list indexes

2014-08-25 Thread Alan Isaac
Just to clarify, my wish was not for someone to write a helper function (which is not hard), it is for negative indexes to be supported by the core language. Seth's opposition makes it pretty clear that this will not happen. But I want to point out that the reason offered for this opposition

[netlogo-devel] BehaviorSpace: add file tabs

2014-08-21 Thread Alan Isaac
I've created an XML file of experiments. For the person I'm working with, it would be great if they could interface with this file via BehaviorSpace. (I realize I could patch all the experiments into their NetLogo file, but that is inconvenient and error prone.) I think this enhancement

Re: [netlogo-devel] globals: initialization to null would be better

2014-08-20 Thread Alan Isaac
Above `null` was just a suggested name for a new type. In JavaScript terms, perhaps `undefined` is better. The BS issues is as you note very real. The workarounds I have come up with are tiresome and fraught. I do not see a way that this can be fully addressed without changing the default

[netlogo-devel] clear-globals not in 5.1.0-RC3

2014-07-24 Thread Alan Isaac
Not sure if this is a bug report, but I was expecting to find `clear-globals` since it's already in the docs, but it's not there. Also, not sure if this list is where you want such reports. Related to this, might sliders be given default values? It would be nice if `clear-globals` (or

Re: [netlogo-devel] clear-globals not in 5.1.0-RC3

2014-07-24 Thread Alan Isaac
That's correct: the value dialogue just reports/sets the current value, which is saved with the model. There is no actual default value: that would have to be added, which I would consider a feature. Currently, to load a model with pre-specified default values, one must use `startup` to set