Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:19
    nikitamankovskii opened #1872
  • Nov 23 22:41
    Build #1 for branch ext-man-versions passed
  • Nov 23 22:34
    SethTisue commented #1797
  • Nov 23 21:46
    Build #324 for branch hexy passed
  • Nov 23 21:34
    LaCuneta closed #1750
  • Nov 23 21:34
    LaCuneta commented #1750
  • Nov 23 21:32
    LaCuneta closed #1797
  • Nov 23 21:31
    Build #1 started for branch ext-man-versions
  • Nov 23 21:31

    LaCuneta on ext-man-versions

    Infrastructure: Bump LS to tagg… Infrastructure: Set view2.5d to… Feature: Let bundled extension … (compare)

  • Nov 23 20:53

    LaCuneta on 6.1.2-beta1

    (compare)

  • Nov 23 20:38
    Build #324 started for branch hexy
  • Nov 23 20:38

    LaCuneta on hexy

    update version, date and team add windows ids for beta (compare)

  • Nov 23 20:14

    brandesNW on v.9

    (compare)

  • Nov 23 20:14

    brandesNW on codetab.5

    (compare)

  • Nov 23 20:13

    brandesNW on v.9

    create codetab as JDialog add code tab in App add getCodeTabOwner, setCodeTab… and 19 more (compare)

  • Nov 23 20:13

    brandesNW on codetab.5

    create codetab as JDialog add code tab in App add getCodeTabOwner, setCodeTab… and 26 more (compare)

  • Nov 23 20:13

    brandesNW on 6.1.2-beta1

    (compare)

  • Nov 23 19:04
    Build #1 for branch 6.1.2-beta1 passed
  • Nov 23 17:59
    Build #1 started for branch 6.1.2-beta1
  • Nov 23 17:59

    brandesNW on 6.1.2-beta1

    update version, date and team add windows ids for beta (compare)

Bryan Head
@qiemem
Hmm, that's weird. Should definitely work. Make sure you're using parentheses not square brackets there.
Can you paste the line?
Seth Tisue
@SethTisue
@twist_curry_twitter you should always show the actual code you tried and the actual error message you got. this is always always always good advice whenever asking programming questions of any kind on the Internet
Seth Tisue
@SethTisue
opened an issue on speed and memory-usage improvements coming soon to Scala's Vector, which I think would likely substantially benefit NetLogo (LogoList) as well: NetLogo/NetLogo#1823
Seth Tisue
@SethTisue
RIP John Horton Conway https://xkcd.com/2293/
Daniel Frey
@daimpi
I have a question regarding the bundled java which comes with NetLogo: If I run BehaviorSpace headless I have to manually download a jre. Why is this, when BehaviorSpace initialized from NetLogo doesn't require an external jre (I guess it's using the bundled one).
Seth Tisue
@SethTisue

@daimpi at least on MacOS, the bundled JRE only includes the stuff necessary for running GUI applications. in particular, the bin directory is omitted:

% export JAVA_HOME=/Applications/NetLogo\ 6.1.1/JRE/Contents/Home
% java -version
Unable to locate an executable at "/Applications/NetLogo 6.1.1/JRE/Contents/Home/bin/java" (-1)

whether the same is true on Windows, I'm not sure, but it wouldn't surprise me

whether it would be possible to somehow change the packaging so the bundled JRE is complete, I don't know
Jeremy B
@LaCuneta
Off the top of my head, we use a pretty normal setup with the javapackagertool, so the JRE is going to include whatever that tool bundles by default
Daniel Frey
@daimpi
ah ok, thanks for the information :slight_smile:
Pietro Terna
@terna

Dear NetLogo developers,

I’m currently working on https://terna.to.it/simul/SIsaR.html

To have the web version producing exactly the same results of the regular one, with the same visualization sequence, I had to modify my code to turn around three problems found in the web version.

I report them here as information; maybe in future versions it will be possible to eliminate them.

  1. We suppose that the n-of function has to round down the size, if it is fractional; in the web translation, the round is up;

  2. Online, the update of the world is "on tick", but it is executed only at the end of the procedure containing the tick, not at the tick order.

  3. The agentset are reordered randomly at each use and this is consistent in web version, both for a special agents and for a normal one; but in case you use a normal agentset (let's call it B) within a cycle driven by another normal agentset (let's call it A), the order is consistent for A, but it is different in B, comparing the desk version and the web one. I wrote a very simple program which shows it. The showing agent is one of the As, and the list is of Bs. The program is at https://terna.to.it/simul/normalSecondLevelAgentSet.html

Best, Pietro Terna

Jeremy B
@LaCuneta
@terna Thank you for your report! Item # 2 we are aware of, and it's a side-effect of the difference in architecture between the web and desktop versions. Items # 1 and # 3 I had not heard of before and will take a look into them.
Bryan Head
@qiemem
now that async/await is ubiquitously supported by browsers, 2 should be pretty easy implement
"easy" being relative to "virtually impossible" of course. The biggest downside I see is that basically every compiled function would have to be marked async, since an await could appear anywhere. Alternatively, you could track where awaits are used, and bubble up asyncs as needed. Maybe even just compile async and sync versions of each function.
Bryan Head
@qiemem
Oh, the problem with marking everything async is that there's an overheard to the return of async functions.
Seth Tisue
@SethTisue
NetLogo gets a mention at https://hash.ai/about/mission
Pietro Terna
@terna
The page http://ccl.northwestern.edu/netlogo/upload_url.shtml replies: The server encountered an internal error or misconfiguration and was unable to complete your request.
Thanks for your help, best, Pietro
Jeremy B
@LaCuneta
@terna Thanks for the report, I'll look into it.
Jeremy B
@LaCuneta
@terno I believe it's working again if you want to try a submission
Pietro Terna
@terna
Submission done, many thanks, Pietro
Pietro Terna
@terna
Curious error: my model SIsaR is new online in the NetLogo User Community Models page, reporting "by Владимир" (Vladimir) instead "by Pietro Terna".
Thanks always for your help. Best, Pietro
Jeremy B
@LaCuneta
@terna I'll look into that as well.
Jeremy B
@LaCuneta
@terna The name issue should now be fixed, too.
Pietro Terna
@terna
Many thanks, Pietro
RQsky
@RQsky
hi everybody. I want to know whether I can call netlogo web on my website???
Jeremy B
@LaCuneta

@RQsky If you want to embed a model on your website you have a couple options, outlined in the documentation on netlogoweb.org.

If you actually want to host the same simulation runtime and compiler that NetLogo Web uses on your own site, you'll need to get a copy of the compiled scripts, include them in your page, then do some work to get them called correctly. I wrote up some steps to do that in this netlogo-devel Google Group thread.

RQsky
@RQsky
@LaCuneta Thank you very much, your answer is very detailed.
RQsky
@RQsky
I have another question.Why does it prompt "Couldn't get standalone page" when I click "Export to HTML"?
Jeremy B
@LaCuneta
@RQsky I just tried to export HTML for a few models and they worked for me. Were you working with a model from the models library or one that you uploaded?
Also, which operating system and web browser are you using?
Arthur Hjorth
@arthurhjorth
Hi friends! I could have sworn I read about a web-extension for NetLogoWeb. Just a simple thing for making http requests from NetLogo code. Am I misremembering something? I've searched for literally hours now, and I can't find anything on the github pages, or on the documentations pages.
RQsky
@RQsky
@LaCuneta Sorry, I just saw your reply just now. Before I used the windows 10 operating system and chrome browser. Just now I tried exporting to HTML again, and it suddenly worked. Gosh, I don't know what happened before now. In short, thanks for your help.
Arthur Hjorth
@arthurhjorth

Hi friends! I could have sworn I read about a web-extension for NetLogoWeb. Just a simple thing for making http requests from NetLogo code. Am I misremembering something? I've searched for literally hours now, and I can't find anything on the github pages, or on the documentations pages.

@LaCuneta Tagging you here Jeremy, just because I can (sorry!)

Jeremy B
@LaCuneta
@arthurhjorth You're probably thinking of http-req, which is part of the example written up for the logging extension: https://github.com/NetLogo/Tortoise/wiki/Experimental:-Logging-Extension
@RQsky Glad it worked for you, thank you for letting me know
Arthur Hjorth
@arthurhjorth

@arthurhjorth You're probably thinking of http-req, which is part of the example written up for the logging extension: https://github.com/NetLogo/Tortoise/wiki/Experimental:-Logging-Extension

Yes, that's what it was! Thank you so much, Jeremy!

Bryan Head
@qiemem
@arthurhjorth do you control the server you're making requests to?
Arthur Hjorth
@arthurhjorth
@qiemem I am not sure - I'll be running it on a VM on DigitalOcean. I think I can control most things, but possibly not all
Do you mean for setting it up for CORS?
I'm writing a Flask-based server app for it (https://github.com/arthurhjorth/optimizer_space) , and there is a Flask library that should make it quite easy.
(Oh sorry @qiemem , didn't see you wrote me so soon after I wrote!)
Bryan Head
@qiemem
I did mean for cors. You don't usually really need a library, just set Access-Control-Allow-Origin to *... I guess unless there is actually a security concern.
Arthur Hjorth
@arthurhjorth
I can't see that there would be - thanks for the heads up though, @qiemem . I'll ping you all here when it's up and running. I think you'll like it :)
Nicolas Payette
@nicolaspayette
@LaCuneta, the build for my nw extension PR is failing on Travis because the extension's tests are somehow trying to overwrite /.netlogo/6.1/installed-libraries.conf (https://travis-ci.org/github/NetLogo/NW-Extension/builds/721073335#L670), which I guess is an extension manager thing. I know that the nw extension might be the only extension that has a separate Travis build, and it seems like it hasn't been run in a while. I'd be happy to help sort it out, but I've been out of the loop for a while and I'm not sure where to even start...
Jeremy B
@LaCuneta
No worries, I'll look into that separately. I'll check the tests locally for your PR
Nicolas Payette
@nicolaspayette

:+1:

Thanks! Let me know if there is anything more I can do...

gg4a
@gg4a
hello i try to find a code about secons price actions in Net logo.can somebody help me? thanks.
Seth Tisue
@SethTisue