# Latest

**URL:** https://discourse.julialang.org/latest.md?page=1780

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 1781

---

## [Is it possible to know if module is imported from another one?](https://discourse.julialang.org/t/is-it-possible-to-know-if-module-is-imported-from-another-one/37224)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 8:54am UTC](https://discourse.julialang.org/t/is-it-possible-to-know-if-module-is-imported-from-another-one/37224 "2020-04-08T08:54:56Z")

</div>

As in the topic, I’d like to execute some code (e.g. in \_\_init\_) based on the information that my module has not been used/imported into Main. I tried parentmodule and Base.moduleroot etc. but since Main is no longer spe…

---

## [What is the best molecular dynamics analysis library in Julia?](https://discourse.julialang.org/t/what-is-the-best-molecular-dynamics-analysis-library-in-julia/36865)

<div class="topic-metadata">

**Author:** [@dkonstan](https://discourse.julialang.org/u/dkonstan)\
**Replies:** 6\
**Last updated:** [April 8, 2020, 8:18am UTC](https://discourse.julialang.org/t/what-is-the-best-molecular-dynamics-analysis-library-in-julia/36865 "2020-04-08T08:18:55Z")

</div>

So far, I have only seen Chemfiles, which has Julia bindings but is missing important features like a powerful atom selection language. For example, Chemfiles cannot easily select the set of atoms X far away from another…

---

## [How to customize Base.load\_path()?](https://discourse.julialang.org/t/how-to-customize-base-load-path/37183)

<div class="topic-metadata">

**Author:** [@LysandrosAn](https://discourse.julialang.org/u/LysandrosAn)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 6:58am UTC](https://discourse.julialang.org/t/how-to-customize-base-load-path/37183 "2020-04-08T06:58:21Z")

</div>

Hi community, is it possible to edit the contents of the Base.load\_path()? Appending a new load path to it works, but it leaves the old one remaining, while overwriting the load path deletes also the other two entries. …

---

## [Package installation fail](https://discourse.julialang.org/t/package-installation-fail/37216)

<div class="topic-metadata">

**Author:** [@Kihong\_Kim](https://discourse.julialang.org/u/Kihong_Kim)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 5:10am UTC](https://discourse.julialang.org/t/package-installation-fail/37216 "2020-04-08T05:10:00Z")

</div>

Hi, all. I have the following error and don’t know what to do… Any help will be appriciated. I use JuliaPro 1.4 and my OS is Win 10 64 bit. I search the webpage mentioned below but couldn’t figure out what I need to d…

---

## [Logistic regression in flux](https://discourse.julialang.org/t/logistic-regression-in-flux/20687)

<div class="topic-metadata">

**Author:** [@murphyk](https://discourse.julialang.org/u/murphyk)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 4:50am UTC](https://discourse.julialang.org/t/logistic-regression-in-flux/20687 "2020-04-08T04:50:45Z")

</div>

I’m trying to implement binary logistic regression in flux. I’m simplifying the mlp.jl example from the model zoo.. I have tried 4 versions, only 1 works, please explain why. V1. D = 2; N = 20; X = randn(D, N) y = rand…

---

## [Has Plots interface changed?](https://discourse.julialang.org/t/has-plots-interface-changed/37213)

<div class="topic-metadata">

**Author:** [@Jerry](https://discourse.julialang.org/u/Jerry)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 4:31am UTC](https://discourse.julialang.org/t/has-plots-interface-changed/37213 "2020-04-08T04:31:51Z")

</div>

In Julia 1.2 with an unknown but presumably up-to-date version of Plots, I wrote plot(\[cos sin\]) to get cosine and sine plots from an adaptive plotter. Yesterday I upgraded to Julia 1.4 and now apparently Plots version…

---

## [Is ParameterizedFunctions.jl still deprecated in favor of ModelingToolkit. jl?](https://discourse.julialang.org/t/is-parameterizedfunctions-jl-still-deprecated-in-favor-of-modelingtoolkit-jl/37210)

<div class="topic-metadata">

**Author:** [@donkeysaddle](https://discourse.julialang.org/u/donkeysaddle)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 3:45am UTC](https://discourse.julialang.org/t/is-parameterizedfunctions-jl-still-deprecated-in-favor-of-modelingtoolkit-jl/37210 "2020-04-08T03:45:27Z")

</div>

Title says it all: Is ParameterizedFunctions.jl still deprecated in favor of ModelingToolkit.jl? The disclaimer in the ParameterizedFunctions Git, “Note that this library is deprecated in favor of ModelingToolkit.jl,” i…

---

## [GLMakie.jl install error](https://discourse.julialang.org/t/glmakie-jl-install-error/37141)

<div class="topic-metadata">

**Author:** [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 1:31am UTC](https://discourse.julialang.org/t/glmakie-jl-install-error/37141 "2020-04-08T01:31:14Z")

</div>

I got the following error when I try to compile GLMakie.jl julia\> using GLMakie \[ Info: Precompiling GLMakie \[e9467ef8-e4e7-5192-8a1a-b1aee30e663a\] ERROR: LoadError: could not open file /home/liye/.julia/packages/GLMaki…

---

## [Embedding Julia in VC++](https://discourse.julialang.org/t/embedding-julia-in-vc/36939)

<div class="topic-metadata">

**Author:** [@algogp](https://discourse.julialang.org/u/algogp)\
**Replies:** 10\
**Last updated:** [April 8, 2020, 12:38am UTC](https://discourse.julialang.org/t/embedding-julia-in-vc/36939 "2020-04-08T00:38:47Z")

</div>

I am following the instruction here https://docs.julialang.org/en/v1/manual/embedding/index.html#Calling-Julia-Functions-1 using VS 2019. I am able to build and run up to the “Converting Types” section; but for “Callin…

---

## [Julia running in background (VS Code)](https://discourse.julialang.org/t/julia-running-in-background-vs-code/37184)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 8\
**Last updated:** [April 7, 2020, 10:15pm UTC](https://discourse.julialang.org/t/julia-running-in-background-vs-code/37184 "2020-04-07T22:15:06Z")

</div>

First of all thank you and congrats on making Julia in VS Code such a smooth experience. I’ve noticed there is a Julia process permanently running in the background, even before starting the REPL. It is using about 20% …

---

## [Calling an overridden function in an overriding function](https://discourse.julialang.org/t/calling-an-overridden-function-in-an-overriding-function/37196)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [April 7, 2020, 9:11pm UTC](https://discourse.julialang.org/t/calling-an-overridden-function-in-an-overriding-function/37196 "2020-04-07T21:11:11Z")

</div>

Suppose a function is defined for an abstract type (say AbstractMyType), and it is overridden for a concrete subtype (say MyType\<:AbstractMyType). The overriding function does extra work on top of the work implemented i…

---

## [Six Months With Julia: Parse-time Transpilation in 80 Lines or Less](https://discourse.julialang.org/t/six-months-with-julia-parse-time-transpilation-in-80-lines-or-less/37181)

<div class="topic-metadata">

**Author:** [@otde](https://discourse.julialang.org/u/otde)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 8:56pm UTC](https://discourse.julialang.org/t/six-months-with-julia-parse-time-transpilation-in-80-lines-or-less/37181 "2020-04-07T20:56:13Z")

</div>

Hey folks! I made a strange little transpiler for embedded Brainfuck in Julia. You can read about it here. Alternatively, you can check out the package itself here.

---

## [Update matrix block inplace from a sparse array](https://discourse.julialang.org/t/update-matrix-block-inplace-from-a-sparse-array/36360)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 8:30pm UTC](https://discourse.julialang.org/t/update-matrix-block-inplace-from-a-sparse-array/36360 "2020-04-07T20:30:47Z")

</div>

Hi, Edit: sounds like it is related to BlockSparseMatrices.jl although the docs are quite minimal I have a sparse matrix a which is made of blocks (a few). using SparseArrays, LinearAlgebra N = 100 # this is a compl…

---

## [Need help implementing parallelized loops in Julia - will pay your hourly quote](https://discourse.julialang.org/t/need-help-implementing-parallelized-loops-in-julia-will-pay-your-hourly-quote/35332)

<div class="topic-metadata">

**Author:** [@Julia1](https://discourse.julialang.org/u/Julia1)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 8:10pm UTC](https://discourse.julialang.org/t/need-help-implementing-parallelized-loops-in-julia-will-pay-your-hourly-quote/35332 "2020-04-07T20:10:02Z")

</div>

Hi how’s it going, I really need help implementing parallelized for loops in Julia. I’ve read the docs and messed around with threads and distributed.jl, but am still having difficulty. We can screen share and I’ll pay …

---

## [Starting a julia remote process using qrsh on a cluster computer fails](https://discourse.julialang.org/t/starting-a-julia-remote-process-using-qrsh-on-a-cluster-computer-fails/37192)

<div class="topic-metadata">

**Author:** [@mariok90](https://discourse.julialang.org/u/mariok90)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 8:04pm UTC](https://discourse.julialang.org/t/starting-a-julia-remote-process-using-qrsh-on-a-cluster-computer-fails/37192 "2020-04-07T20:04:44Z")

</div>

When I try to establish a remote connection to a cluster computer, I get an error message if qrsh is used to login into a node. I followed the manual according to Connecting to a Julia session on a remote machine · Juno…

---

## [Flux LSTM format of input train data](https://discourse.julialang.org/t/flux-lstm-format-of-input-train-data/37187)

<div class="topic-metadata">

**Author:** [@Owolf](https://discourse.julialang.org/u/Owolf)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 7:10pm UTC](https://discourse.julialang.org/t/flux-lstm-format-of-input-train-data/37187 "2020-04-07T19:10:15Z")

</div>

Hello community, I am trying to create easy example using LSTM model. The idea is that model should predict sinus signal. I expected that it is really easy task and it will be done in second. However I am still not able…

---

## [Looking for findfirst or similar for sol objects of DifferentialEquations](https://discourse.julialang.org/t/looking-for-findfirst-or-similar-for-sol-objects-of-differentialequations/37134)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 6:21pm UTC](https://discourse.julialang.org/t/looking-for-findfirst-or-similar-for-sol-objects-of-differentialequations/37134 "2020-04-07T18:21:52Z")

</div>

Hello! I’m doing some control systems work and wanting to find things like risetime of responses, so I want to find where a simulation variable crosses some value. findfirst works but it searches among the simulation po…

---

## [Sync/keepalive for Blink.jl/Interact.jl?](https://discourse.julialang.org/t/sync-keepalive-for-blink-jl-interact-jl/21393)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 6:14pm UTC](https://discourse.julialang.org/t/sync-keepalive-for-blink-jl-interact-jl/21393 "2020-04-07T18:14:31Z")

</div>

I’m sure I just haven’t been good enough at reading the docs/source, but I can’t seem to find any obviously canonical way of using Blink.jl without having it quit immediately. I mean, I could use it from the REPL, but ot…

---

## [Syntax for type stability in Turing.jl](https://discourse.julialang.org/t/syntax-for-type-stability-in-turing-jl/37160)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 5:23pm UTC](https://discourse.julialang.org/t/syntax-for-type-stability-in-turing-jl/37160 "2020-04-07T17:23:42Z")

</div>

Turing.jl recommends to replace @model tmodel(x, y) = begin p,n = size(x) params = Vector{Real}(undef, n) for i = 1:n params\[i\] ~ truncated(Normal(), 0, Inf) end a = x \* params y ~ MvNor…

---

## [Strange behavior of integrator interface DiffEq.jl](https://discourse.julialang.org/t/strange-behavior-of-integrator-interface-diffeq-jl/37146)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 5:02pm UTC](https://discourse.julialang.org/t/strange-behavior-of-integrator-interface-diffeq-jl/37146 "2020-04-07T17:02:27Z")

</div>

Hello, I would like to use the integrator interface of DifferentialEquations.jl for an ensemble, i.e. loop over the different ensemble members and advance forward in time by one time step each of them. However, if I in…

---

## [Minimal examples of how to use MPI in JupyterLab](https://discourse.julialang.org/t/minimal-examples-of-how-to-use-mpi-in-jupyterlab/36852)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 5:00pm UTC](https://discourse.julialang.org/t/minimal-examples-of-how-to-use-mpi-in-jupyterlab/36852 "2020-04-07T17:00:05Z")

</div>

I am looking for minimal examples of how to use MPI in JupyterLab. In particular, I would be most interested in an approach that comes as close as possible to an all-equal approach instead of a master-slave approach. But…

---

## [\[ANN\] Conjugates.jl](https://discourse.julialang.org/t/ann-conjugates-jl/36921)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 17\
**Last updated:** [April 7, 2020, 4:47pm UTC](https://discourse.julialang.org/t/ann-conjugates-jl/36921 "2020-04-07T16:47:39Z")

</div>

Edit: The package has been renamed to Conjugates.jl from PlusHC.jl Here’s a snippet I’ve been using in some code for the past little while that I decided to roll up into a tiny package: Conjugates.jl julia\> using Conj…

---

## [Sum operations between arrays](https://discourse.julialang.org/t/sum-operations-between-arrays/37066)

<div class="topic-metadata">

**Author:** [@jmaffi](https://discourse.julialang.org/u/jmaffi)\
**Replies:** 21\
**Last updated:** [April 7, 2020, 4:33pm UTC](https://discourse.julialang.org/t/sum-operations-between-arrays/37066 "2020-04-07T16:33:46Z")

</div>

Hello there, I was wondering if you knew how to efficiently compute the following matrices in Julia. In Matlab I am getting the result 3-6x faster than in Julia, which makes me think that there is room for improvement p…

---

## [Need advice on release numbering](https://discourse.julialang.org/t/need-advice-on-release-numbering/37140)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 4:20pm UTC](https://discourse.julialang.org/t/need-advice-on-release-numbering/37140 "2020-04-07T16:20:29Z")

</div>

LightGraphs is currently at v1.3.1. We’ve made some really big changes to the LightGraphs API in the master branch, and have added deprecation warnings for all old functions. The deprecation warnings apply to almost all …

---

## [Affine expression in objective function](https://discourse.julialang.org/t/affine-expression-in-objective-function/37108)

<div class="topic-metadata">

**Author:** [@bandaya](https://discourse.julialang.org/u/bandaya)\
**Replies:** 9\
**Last updated:** [April 7, 2020, 3:34pm UTC](https://discourse.julialang.org/t/affine-expression-in-objective-function/37108 "2020-04-07T15:34:07Z")

</div>

Hi, In a linear programming problem, I am trying to optimize a constraint, essentially replacing the objective function with LHS of the constraint to minimize. The error from JuMP suggests that it does not support affine…

---

## [Visualizing Newton-Raphson](https://discourse.julialang.org/t/visualizing-newton-raphson/37164)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 3:33pm UTC](https://discourse.julialang.org/t/visualizing-newton-raphson/37164 "2020-04-07T15:33:47Z")

</div>

I’ve been studying the Newton-Raphson algorithm and coded up a simple example to show some of its shortcomings with particular functions. I’m posting here simply to share with the community and, as always, I welcome feed…

---

## [Improving performance for SDPs with "matrix trace constraints"](https://discourse.julialang.org/t/improving-performance-for-sdps-with-matrix-trace-constraints/37172)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 1\
**Last updated:** [April 7, 2020, 2:56pm UTC](https://discourse.julialang.org/t/improving-performance-for-sdps-with-matrix-trace-constraints/37172 "2020-04-07T14:56:35Z")

</div>

I’ve been working on an SDP model with (among other variables) a hermitian variable W of dimensions n x n. Although it would be nice to have support for complex variables in JuMP, a simple workaround is to declare 2 matr…

---

## [JuMP 0.18: how to delete constraints (without reference)?](https://discourse.julialang.org/t/jump-0-18-how-to-delete-constraints-without-reference/37175)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 2:56pm UTC](https://discourse.julialang.org/t/jump-0-18-how-to-delete-constraints-without-reference/37175 "2020-04-07T14:56:11Z")

</div>

Dear folks, I like to solve the root relaxation of a MILP manually, meaning that I treat the problem as an LP while dynamically adding cutting planes and resolve until no violated cuts are found. I’d like to get rid of …

---

## [Capture local variables to keyword arguments](https://discourse.julialang.org/t/capture-local-variables-to-keyword-arguments/37167)

<div class="topic-metadata">

**Author:** [@A\_Dent](https://discourse.julialang.org/u/A_Dent)\
**Replies:** 5\
**Last updated:** [April 7, 2020, 2:54pm UTC](https://discourse.julialang.org/t/capture-local-variables-to-keyword-arguments/37167 "2020-04-07T14:54:25Z")

</div>

Hi! I’m working on a machine learning project in multiple steps. Each step may require as input the output of some of the previous steps. I’m doing everything in a functional, immutable style, using keyword arguments …

---

## [Praise + widening the scope](https://discourse.julialang.org/t/praise-widening-the-scope/37166)

<div class="topic-metadata">

**Author:** [@mhinsch](https://discourse.julialang.org/u/mhinsch)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 1:38pm UTC](https://discourse.julialang.org/t/praise-widening-the-scope/37166 "2020-04-07T13:38:17Z")

</div>

After nearly two years of nearly exclusively using Julia (apart from occasional misc scripting), I’ve recently started a fun cross-platform game project in my off-time using Dart and Flutter. That made me realize two thi…

[Previous page](https://discourse.julialang.org/latest.md?page=1779)

[Next page](https://discourse.julialang.org/latest.md?page=1781)
