Re: [netlogo-devel] Update to the matrix extension

2014-02-18 Thread Jason Bertsche
For whoever ends up taking this on---probably the release manager of 5.0.6?---there's now an issue https://github.com/NetLogo/NetLogo/issues/547 open for this in the main NetLogo repo. Jason Bertsche Senior Software Developer - NetLogo On 2/17/2014 5:34 PM, Forrest Stonedahl wrote: Hi

Re: [netlogo-devel] Netlogo on Ubuntu - issue with extensions

2014-02-27 Thread Jason Bertsche
Yes, the extensions work fine for me. Are you running 'netlogo.sh' through a shortcut? Jason Bertsche Senior Software Developer - NetLogo On 2/27/2014 9:07 PM, Era V wrote: Do built-in extensions work for you? (I run on ubuntu 12.04, if that makes any difference.) I'm just trying

Re: [netlogo-devel] Modifying Java-Options on Windows

2014-03-27 Thread Jason Bertsche
. Jason Bertsche Senior Software Developer - NetLogo On 3/27/2014 5:08 AM, Martin Dobiasch wrote: Hi, i need to put a jar file on the classpath in order to make my extension work. On Linux this is no problem (just modifying the netlogo.sh) on Windows however I cant get it to work by modifying

Re: [netlogo-devel] file format: human readability

2014-07-31 Thread Jason Bertsche
Has the use of named sections been considered for the NetLogo file format? Indeed, it has been. With the recent work on Tortoise (the browser-based version of NetLogo), there has been murmuring about us switching to a nicer file format. The old format essentially must always be supported

Re: [netlogo-devel] Netlogo Extensions

2014-09-05 Thread Jason Bertsche
- can i easily use the gogo board extensions to collect informations from sensors ? If you have a GoGo Board, yeah, you totally can. If not—if you want to use a Panda 2—I doubt it. Each different type of board is likely to have a different communication protocol. The GoGo extension is

Re: [netlogo-devel] Command Conflicts between Netlogo and R-extension

2014-09-18 Thread Jason Bertsche
Have you tried escaping the quotes around `max`? That is, have you tried using this as the code for (2): `r:eval lp (\max\, f.obj, f.con, f.dir, f.rhs)$solution`? On 09/18/2014 07:02 PM, bij...@gmail.com wrote: Hello All, I am trying to have agents in the model use linear programming

Re: [netlogo-devel] Gettting the GUI Matrix

2014-10-07 Thread Jason Bertsche
You might look at the HubNet Web Extension https://github.com/NetLogo/HubNet-Web-Extension for some inspiration. On 10/06/2014 11:54 PM, oscar.martinez.m...@gmail.com wrote: Hi, For an university project, we want to create an API over HTTP to connect different kind of clients with the

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

2014-10-07 Thread Jason Bertsche
From the documentation on `run`: Tasks may freely read and/or set local variables and procedure inputs. Trying to do the same with strings [via `run`] may or may not work and should not be relied on. On 10/07/2014 02:48 PM, Alan Isaac wrote: | to go let test 0 foreach[0][ settest 0;works

Re: [netlogo-devel] Hi I want to know the ways to be able to use Hangul in Netlogo code window.

2014-10-09 Thread Jason Bertsche
I can't say this is really a recommended thing to do, but... there are a couple of ways to do it, and both involve changing essentially the same file. If you download the source code of NetLogo and look at 'resources/system/tokens.txt', or open the 'NetLogo.jar' of your existing NetLogo

Re: [netlogo-devel] Actor model of concurrency (Akka) in multi agent simulation software (NetLogo)

2015-02-04 Thread Jason Bertsche
I've actually thought about concurrency in NetLogo a fair amount. As for the pitfalls...—they're complicated. I'll ramble and explain a bit. First of all, this would be a pretty fundamental change to the language, so one of the pitfalls is that, in order to even have a chance of getting a

Re: [netlogo-devel] Re: NetLogo/HubNet Web Application

2015-02-02 Thread Jason Bertsche
Oscar, I interpreted your original message as being about creating something like Teletortoise, which is, as Seth described, where the model runs on the server but displays [in the browser]. Creating a Teletortoise-like thing by yourself is much more feasible than creating something like

Re: [netlogo-devel] Tortoise In-browser authoring

2015-02-02 Thread Jason Bertsche
I saw In-browser authoring [...] and was wondering if you could expand on it a bit or point me to where I can learn more. Is the goal for the web-based authoring tool to eventually be like the java client authoring with the interface and code tabs? Basically, yeah. In terms of authoring, we

Re: [netlogo-devel] agentsets with repeats?

2015-02-06 Thread Jason Bertsche
I agree. On 02/06/2015 01:55 PM, Bryan Head wrote: I think that's a great idea for an extension. On Fri Feb 06 2015 at 1:53:52 PM Marshall marsh...@logical.net mailto:marsh...@logical.net wrote: On Friday, February 6, 2015 at 12:39:59 PM UTC-6, Jason Bertsche wrote: Does

Re: [netlogo-devel] agentsets with repeats?

2015-02-06 Thread Jason Bertsche
We've definitely discussed the idea of bag/multiset support in NetLogo before, but, as was already noted in this thread, it would be a substantial thing to introduce. In this particular situation, it seems like the use case for multisets is not terribly difficult to work around, but I'd be

Re: [netlogo-devel] Accessing Netlogo (2D) from Eclipse

2015-01-27 Thread Jason Bertsche
I'm not sure that I understand the request, or maybe I lack the sufficient amount of vision to see where this is going, but this doesn't strike as something that's very feasible. First off, writing a model in Java and then using NetLogo simply to visualize the model seems impractical to me.

Re: [netlogo-devel] interface bug: __includes

2015-02-20 Thread Jason Bertsche
Yeah, it wouldn't be a terribly difficult change to make. I've updated the ticket to suggest that as a minimal change. On 02/20/2015 01:44 PM, Alan Isaac wrote: Wouldn't it be trivial to activate the Includes button in the presence of `__includes []` instead of requiring `__includes

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

2015-03-03 Thread Jason Bertsche
Is there a reason for the absence of a `current-directory` primitive? I guess I would turn the question around here and ask if there's a compelling reason for the presence of such a primitive. It's not obvious to me what good it would really do to know where a model was launched from and

Re: [netlogo-devel] Java Extension in-depth Tutorial/API. Extracting value from breeds' variable

2015-02-27 Thread Jason Bertsche
There generally isn’t better documentation for writing extensions than just the Extensions API wiki page you linked or the source code itself. In this case, you’re trying to do the very thing that an existing NetLogo primitive does, so you can get the answer from the primitive’s source code.

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

2015-03-03 Thread Jason Bertsche
, or 98? It would help to see the information listed in your Help = About NetLogo = System. On 03/03/2015 11:41 AM, Alan G Isaac wrote: On 3/3/2015 12:28 PM, Jason Bertsche wrote: Hmm... that's not the behavior that I experience on my machine. The leading slash goes to the root of the current

Re: [netlogo-devel] Re: NetLogo/HubNet Web Application

2015-03-04 Thread Jason Bertsche
Teletortoise http://li425-91.members.linode.com:9000/remote works; it’s maybe just not immediately apparent how to use it. After you select the model to run, press your “tab” key to leave the “Chatter” context and move into the “Observer” context. Then, you can type standard NetLogo commands

Re: [netlogo-devel] Netlogo HPC CPU Load Increment

2015-02-20 Thread Jason Bertsche
I'm not really familiar with computing clusters, HPC, or qstat, but... You're using the format argument -g c. If you search this manual page http://gridscheduler.sourceforge.net/htmlman/htmlman1/qstat.html for the line Cluster Queue Format (with -g c), you'll end up in the section that

Re: [netlogo-devel] interface bug: __includes

2015-02-20 Thread Jason Bertsche
Well, if it makes us seem like less-bad people, I could point out that the manual explicitly states http://ccl.northwestern.edu/netlogo/5.0/docs/interface.html#includes, *Caution:*The includes facility is new and experimental... despite the fact that the feature was introduced nearly 7.5

Re: [netlogo-devel] Jump to definition and Depend

2015-02-24 Thread Jason Bertsche
Makes sense to me. On 02/20/2015 10:38 PM, Frank Duncan wrote: This is an interesting conundrum. For reference, see the code at https://github.com/NetLogo/NetLogo/blob/modelruns/src/main/org/nlogo/editor/Actions.scala#L46-L51 This code works as you'd like, regardless of whether you're in the

Re: [netlogo-devel] Tortoise: where are the models compiled to JS

2015-04-25 Thread Jason Bertsche
I think the easiest way to accomplish what you’re trying to do is to modify this block of code https://github.com/NetLogo/Galapagos/blob/master/app/controllers/CompilerService.scala#L159-L192. For example, if you create a JavaScript file in your local repository at

Re: [netlogo-devel] Re: Tortoise: where are the models compiled to JS

2015-04-26 Thread Jason Bertsche
Well, it’s not necessarily true that a given NetLogo model will even have |setup| and |go|. Even so, the code for compiling NetLogo procedures into JavaScript code lives in the *Tortoise repository* (here

Re: [netlogo-devel] Re: Tortoise: where are the models compiled to JS

2015-04-26 Thread Jason Bertsche
The workaround of “_go” could be a good idea, but the problem is that I couldn’t have the list of all the mapped functions from netlogo to javascript (right?). I'm not seeing the problem. I guess it would help me to know what you wish to do with this list of mappings. If you went

Re: [netlogo-devel] install bug?

2015-06-09 Thread Jason Bertsche
Similar to the poster of this bug, my student's user account is in a different language (Japanese). I can confirm that we've seen this bug reported for the NetLogo Windows installer a few times before, and, every time, it seems to come from a machine where the system language uses a

Re: [netlogo-devel] What are the plans for 3D NetLogo and the web?

2015-07-29 Thread Jason Bertsche
While it's something that we're interested in, we have no actual plans for it at the moment. On 07/29/2015 09:56 AM, Ken Kahn wrote: If there are plans how long will it take? Best, -ken -- You received this message because you are subscribed to the Google Groups netlogo-devel group. To

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

2015-08-11 Thread Jason Bertsche
` that works with the existing first-class values—while not consistent with the language as a whole—/would be/ consistent with the current power of tasks. On 08/11/2015 12:28 AM, Jason Bertsche wrote: Is there any sympathy for this? There is; I agree that this is a desirable thing to have

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

2015-08-10 Thread Jason Bertsche
Is there any sympathy for this? There is; I agree that this is a desirable thing to have in the language. However, I fear that the addition would be far from trivial, unfortunately. Here some big issues that I see with implementing this primitive: *1) Primitives are not first-class

Re: [netlogo-devel] Netlogo Web Standalone Model Speed

2015-07-17 Thread Jason Bertsche
Some things that can lead to poor NLW performance: * Having lots of agents * Having lots of plots * Having lots of… anything o Someone once said, “Less is more.” Another person once said, “More is more.” I think both sides make some pretty good points. I don’t really

[netlogo-devel] Re: Pass NetLogo table to my own extension?

2015-12-08 Thread Jason Bertsche
> > Can I pass one of the other type constants in Syntax.scala to > Syntax.reporterSyntax() in my definition of getSyntax() ? > Yes. `table:get` returns an object of `WildcardType` [source ], so you should

[netlogo-devel] Re: How to create LogoList from Java Collection

2015-12-03 Thread Jason Bertsche
The relevant methods for this can be seen here . Essentially, think of these as static methods on the `LogoList` class. The one you want is probably `LogoList.fromJava`, which takes a Java `Iterable`

Re: [netlogo-devel] starting NetLogo from Clojure

2015-12-17 Thread Jason Bertsche
To do that, you want to call the static method `org.nlogo.app.App.main` . On 12/17/2015 02:21 AM, s wrote: I am trying to startup a NetLogo model from Clojure. I can achieve this using "headless workspace"

[netlogo-devel] Re: NetLogo Web Use Logging

2016-01-13 Thread Jason Bertsche
No official support for anything like that currently exists, but this ends up not being too tough to do in a simplistic way, with just a little custom JavaScript. For example, I ran this to make my widgets print the X and Y coordinates to the console whenever they're clicked: ```

[netlogo-devel] Re: How can I porting my Netlogo model to the phone (Android, iOS)?

2016-03-19 Thread Jason Bertsche
Have you tried your model on netlogoweb.org ? On Saturday, March 19, 2016 at 4:38:36 AM UTC-5, Jing Han wrote: > > > Hi, > > I have written my Netlogo model for an ABM and it requires the user to use > mouse to control one of the agent in the model. It runs well on my computer. > > Now I want to

[netlogo-devel] Google Summer of Code 2016 Applicants

2016-03-01 Thread Jason Bertsche
tunity to formally declare their interest in working on NetLogo, and what projects they would like to contribute to. Guidelines for what we would like to see in proposals are covered on our organization page <https://summerofcode.withgoogle.com/organizations/6083632867311616/>. Re

[netlogo-devel] Re: add guidance in new code tab

2016-07-18 Thread Jason Bertsche
Hi Alan, Due to a recent change in our mailing list procedures, we're trying to restrict netlogo-devel to only topics about how to accomplish certain development tasks with NetLogo (e.g. modifying the NetLogo source code, or implementing a NetLogo extension). We would prefer that discussions

Re: [netlogo-devel] NetLogo code and running models inside Wordpress

2016-09-06 Thread Jason Bertsche
you so much for your help, Luis On Thursday, 1 September 2016 11:25:27 UTC-5, Jason Bertsche wrote: Hello, Thanks for your interest in a NetLogo Web-powered e-book. I think that sounds awesome! (Also, sorry for my delay in responding.) Is writing two wordpress plugins the best

Re: [netlogo-devel] Calculation Continues Even after Model Stopped Running (Floating-Point Problem?)

2016-09-09 Thread Jason Bertsche
, and hence the iteration continues? Great appreciation, Phang On Friday, September 9, 2016 at 11:09:03 PM UTC+8, Jason Bertsche wrote: While perhaps surprising at first glance—I know it caught me off-guard the first time I saw it—this is working as expected. I'll explain why

Re: [netlogo-devel] NetLogo code and running models inside Wordpress

2016-09-09 Thread Jason Bertsche
Given this, I guess the best way to proceed is: 1. To post these issues in https://github.com/NetLogo/Galapagos/issues 2. To wait a little bit for these to be solved. Is that what we should do? No need to worry about opening the tickets yourself. I can handle that. As for waiting, yes, I

Re: [netlogo-devel] NetLogo code and running models inside Wordpress

2016-09-16 Thread Jason Bertsche
if there's a simple way to switch off the view in NLW from the code, we'd love to know. Unfortunately, no, there's no simple way to do that in NLW yet. Also, if you can think of a more standard way of doing stacked bar charts in NetLogo Desktop (ideally compatible with NLW), we'd love to

[netlogo-devel] Re: Controlling NetLogo from JavaScript

2017-03-24 Thread Jason Bertsche
You can use `world.observer.setGlobal` to set the variable that is linked to the input box. `setGlobal` takes two arguments: (1) the variable name (a string), (2) the value that you want to set the global variable to. After calling that, the UI will be automatically updated to show the new

Re: [netlogo-devel] Status of Teletortoise...?

2017-11-29 Thread Jason Bertsche
Teletortoise is the best thing that exists for that use case, but the project was abandoned some years ago in favor of Tortoise/NetLogo Web. Depending on exactly what you're looking for, you might be better served by some sort of remote login service, and use that to log into some machine

Re: [netlogo-devel] Status of Teletortoise...?

2017-11-29 Thread Jason Bertsche
aybe a better option? Thanks! -Rob On Wednesday, November 29, 2017 at 1:05:32 PM UTC-5, Jason Bertsche wrote: Teletortoise is the best thing that exists for that use case, but the project was abandoned some years ago in favor of Tortoise/NetLogo Web. Depending on exactly

Re: [netlogo-devel] Controlling Netlogo 3D from Java

2018-03-28 Thread Jason Bertsche
It's possible that that documentation is a bit out of date.  It looks to me like `invokeLater` was moved to `org.nlogo.awt.EventQueue` . On 3/28/2018 2:35 PM,

Re: [netlogo-devel] NetLogo Native error, and NetLogo 3D question

2019-01-18 Thread Jason Bertsche
Hello, To help myself and potentially others, I have drafted a wiki to document the process here: https://github.com/dlshcbmuipmam/NetLogo/wiki/Docuent-on-building-NetLogo Thanks for your ambitiousness in putting that together.  You mentioned a wiki page for making releases, but are you

[netlogo-devel] Is is possible to remove the DOM dependency?

2019-03-30 Thread Jason Bertsche
as the engine.js currently depends on DOM components (like the window), it cannot run in V8 and has to embed within a CEF (Chrome Embedded Framework). While to remove the DOM dependency may solve it, I wonder if this is possible? I don't understand.  What DOM dependencies are you referring

Re: [netlogo-devel] How to get the information about UI widgets and plotting data?

2019-04-29 Thread Jason Bertsche
Hi John, Apologies for the delayed reply. So, like before, you run (new BrowserCompiler()).fromNlogo(nlogo, []) to compile your NetLogo model's source.  If it's successful, you'll get back an object of the form { model: { success: true, result: jsCode }, widgets: widgetJSONArray }. Thus far,

Re: [netlogo-devel] Re: Getting Tortoise running on my own machine?!

2019-07-03 Thread Jason Bertsche
Your `nlogo` variable needs to contain the string form of a valid NetLogo model file (i.e. a '.nlogo' file).  In order to compile code into something useful, NetLogo needs a lot more information than just your procedures (e.g. it needs to know if there are any global variables that are

[netlogo-devel] Re: getting netlogo-extension-plugin to work

2019-07-08 Thread Jason Bertsche
Hi Steve, If your goal is to make a new extension, you shouldn't need to compile that plugin at all. We've already compiled it and hosted it somewhere where everyone can access it. If you want to use the plugin, just go to the 'project/plugins.sbt' file *in your extension's directory* and

Re: [netlogo-devel] Extension error

2019-04-09 Thread Jason Bertsche
=sharing On Tuesday, April 9, 2019 at 5:10:42 PM UTC+1, Jason Bertsche wrote: Hi Jake, Could you send the '.jar' file for your extension? On 4/9/19 10:53 AM, Jake Saunders wrote: Hi I am currently trying to develop my first extension for NetLogo and have come across

Re: [netlogo-devel] Extension error

2019-04-09 Thread Jason Bertsche
Hi Jake, Could you send the '.jar' file for your extension? On 4/9/19 10:53 AM, Jake Saunders wrote: Hi I am currently trying to develop my first extension for NetLogo and have come across a error that i cannot fix: "Bad extension 'astarpathfind': Cant find extension name in Manifest".

Re: [netlogo-devel] Re: getting netlogo-extension-plugin to work

2019-07-29 Thread Jason Bertsche
s just a build tool.  But it just so happens that it's the only build tool that the NetLogo Extension Plugin works with. Jason On 7/29/19 3:54 PM, Steve Scott wrote: I noticed that the sound extension uses sbt to build, but uses  java source code? On Mon, Jul 8, 2019 at 3:46 PM Jason Be