Code Monkey home page Code Monkey logo

Comments (5)

asinghvi17 avatar asinghvi17 commented on June 15, 2024 1

This is actually possible with debug messages (and is integrated into Juno):

ENV["JULIA_DEBUG"] = "Main" # change this to DynamicalSystems, DrWatson, etc.
for i in 1:100
    @debug "looping" progress=i/100
    sleep(0.1)
end

If you paste this into the Juno REPL, it will show a progress bar on the bottom left.

I'm not sure what REPL-based solution this integrates with, but there's no need for a dependency or anything (unless we want it, to make life easier).

from dynamicalsystems.jl.

ChrisRackauckas avatar ChrisRackauckas commented on June 15, 2024

I think we are both looking for this:

SciML/DifferentialEquations.jl#121
JunoLab/Juno.jl#29

Maybe we can convince @pfitzseb to do it 👍

from dynamicalsystems.jl.

Datseris avatar Datseris commented on June 15, 2024

oh nice that more people want this! Seems natural to be honest.

from dynamicalsystems.jl.

asinghvi17 avatar asinghvi17 commented on June 15, 2024

ProgressMeter.jl is now integrated with Juno.

from dynamicalsystems.jl.

Datseris avatar Datseris commented on June 15, 2024

Thanks. Actually I closed this because there aren't any "time consuming functions" anymore. The time consumption comes from looping over parameters values or initial conditions. But in this case I think it is better if the progress bar comes from the User's side, using e.g. the code you provide, (or just println which is what I do atm).

from dynamicalsystems.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.