Giter Club home page Giter Club logo

juliacaller's Introduction

Hi there

  • Like to prepare software packages in subjects of statistics, operations research, decision making, and computer science.
  • Mainly work in Julia, Rust, R, Python, C, C++, JVM (Java, Scala, Kotlin, Clojure) projects, among others.
  • Currently, associate editor in Journal of Open Source Software.
  • Lectures on operations research, decision making, quantitative techniques in business, computational statistics, computer programming, and anything requires scientific computation.
  • Full time professor of numerical methods at Istanbul University, Faculty of Economics, Department of Econometrics.

juliacaller's People

Contributors

dependabot[bot] avatar jbytecode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lvyitian subes

juliacaller's Issues

fork with some fixes

Hi,

thanks a lot for this library. I have forked it and rewritten/fixed some parts here: https://github.com/invesdwin/invesdwin-context-julia/tree/main/invesdwin-context-julia-parent/invesdwin-context-julia-runtime-juliacaller/src/main/java/de/invesdwin/context/julia/runtime/juliacaller/pool

  • use begin/end to support multi line commands
    • need to escape newlines when sending through the socket
  • Pkg.installed is deprecated, I have implemented a workaround using Pkg.dependencies()
  • there was no way to read the stdout from the java side
  • there was no way to react to errors (stderr) from the java side
    • though the current solution can not differentiate between warnings (e.g. deprecation) and errors sadly
  • replaced org.json with jackson (better handling of array vs object)
  • make it recover from more error cases (e.g. errors during "get" operations and don't close during errors in "exec" operations)

If you like you can have a look and backport some fixes. The fork also includes a testsuite for writing/reading various data types (including vectors and matrices).
Though I guess https://github.com/org-arl/jajub could be a more sophisticated solution since it seems to support binary transport and does not require a socket. But still, it is good to have options to choose between. Using json/socket based communication might be more robust long term, despite being slower.

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.