# Latest

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

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

**Page:** 1421

---

## [Fast Distance Histograms](https://discourse.julialang.org/t/fast-distance-histograms/59439)

<div class="topic-metadata">

**Author:** [@JAgho](https://discourse.julialang.org/u/JAgho)\
**Replies:** 6\
**Last updated:** [April 19, 2021, 4:08pm UTC](https://discourse.julialang.org/t/fast-distance-histograms/59439 "2021-04-19T16:08:06Z")

</div>

I’m writing distance histograms in Julia, and I think I’ve hit a limit in the performance of my serial code. The problem is pretty simple - given a list of vectors (positions), compute the distance (euclidian) between al…

---

## [PackageCompiler: Behavior of Custom Sysimages for Revise and OhMyREPL](https://discourse.julialang.org/t/packagecompiler-behavior-of-custom-sysimages-for-revise-and-ohmyrepl/57676)

<div class="topic-metadata">

**Author:** [@ReneganRonin](https://discourse.julialang.org/u/ReneganRonin)\
**Replies:** 1\
**Last updated:** [April 19, 2021, 3:51pm UTC](https://discourse.julialang.org/t/packagecompiler-behavior-of-custom-sysimages-for-revise-and-ohmyrepl/57676 "2021-04-19T15:51:43Z")

</div>

Is it normal for a sysimage to “use” packages without a startup.jl? I recently made a custom sysimage for OhMyREPL and Revise together (like as one sysimage for two) with precompiled statements - this is based on the OhM…

---

## [Can't install Plots on julia-1.6.0](https://discourse.julialang.org/t/cant-install-plots-on-julia-1-6-0/59360)

<div class="topic-metadata">

**Author:** [@John\_Gibson](https://discourse.julialang.org/u/John_Gibson)\
**Replies:** 24\
**Last updated:** [April 18, 2021, 9:40pm UTC](https://discourse.julialang.org/t/cant-install-plots-on-julia-1-6-0/59360 "2021-04-18T21:40:35Z")

</div>

I can’t install the Plots package on julia-1.6.0. I’ve moved my ~/.julia directory and re-added the package but it fails the same way, as follows gibson@sophist$ mv ~/.julia ~/.julia-2021-04-15 gibson@sophist$ julia …

---

## [Setup topology with ClusterManagers](https://discourse.julialang.org/t/setup-topology-with-clustermanagers/59591)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 8\
**Last updated:** [April 19, 2021, 3:12pm UTC](https://discourse.julialang.org/t/setup-topology-with-clustermanagers/59591 "2021-04-19T15:12:48Z")

</div>

How does one pass topology to a cluster manager? Julia docs mention the setup of topology in the case when addprocs dispatches on machines, but not on a cluster manager. I am trying to do the following thing. I would …

---

## [How do I force GLM to pass through a certain y intercept?](https://discourse.julialang.org/t/how-do-i-force-glm-to-pass-through-a-certain-y-intercept/59500)

<div class="topic-metadata">

**Author:** [@cocoa1231](https://discourse.julialang.org/u/cocoa1231)\
**Replies:** 3\
**Last updated:** [April 19, 2021, 3:07pm UTC](https://discourse.julialang.org/t/how-do-i-force-glm-to-pass-through-a-certain-y-intercept/59500 "2021-04-19T15:07:16Z")

</div>

Hello all! So I am using GLM to fit a graph of resistance vs. temperature, and I need the regression line to have an intercept of 100 Ohms at 0 degrees Centigrade. My code is - xdata = temp\_calib\_data\[:Pt100\]\[:, 1\] |\> …

---

## [\[ANN\] SimulationLogs.jl 🪵🪵🪵](https://discourse.julialang.org/t/ann-simulationlogs-jl/58527)

<div class="topic-metadata">

**Author:** [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Replies:** 4\
**Last updated:** [April 19, 2021, 2:00pm UTC](https://discourse.julialang.org/t/ann-simulationlogs-jl/58527 "2021-04-19T14:00:08Z")

</div>

TLDR: Place the @log macro in your DifferentialEquations simulation to log intermediate variables. One of the killer features of Simulink is the ability to log or plot (with a scope) any intermediate signal in a simulat…

---

## [Complexity function center LightGraphs](https://discourse.julialang.org/t/complexity-function-center-lightgraphs/59592)

<div class="topic-metadata">

**Author:** [@afazevedo](https://discourse.julialang.org/u/afazevedo)\
**Replies:** 0\
**Last updated:** [April 19, 2021, 1:29pm UTC](https://discourse.julialang.org/t/complexity-function-center-lightgraphs/59592 "2021-04-19T13:29:34Z")

</div>

Hey guys, Someone know the complexity of the “center” function in the LightGraphs package? Futhermore, I take the opportunity to ask if there is any package that calculates complexity of functions in Julia. Thank you …

---

## [Solving for the steady-state of a large nonlinear ODE in SciML](https://discourse.julialang.org/t/solving-for-the-steady-state-of-a-large-nonlinear-ode-in-sciml/50613)

<div class="topic-metadata">

**Author:** [@briochemc](https://discourse.julialang.org/u/briochemc)\
**Replies:** 32\
**Last updated:** [April 19, 2021, 10:01am UTC](https://discourse.julialang.org/t/solving-for-the-steady-state-of-a-large-nonlinear-ode-in-sciml/50613 "2021-04-19T10:01:05Z")

</div>

I have a few questions: What is the difference in scope between NonlinearSolve.jl and NLSolvers.jl/NLsolve.jl? What are the pros/cons of NonlinearSolve.jl vs NLSolvers.jl/NLsolve.jl? Are there any plans to include the …

---

## [Pkg: how to setup the "dev" version of a package (i.e. \`\] dev MyPkg\`) from a script?](https://discourse.julialang.org/t/pkg-how-to-setup-the-dev-version-of-a-package-i-e-dev-mypkg-from-a-script/59584)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [April 19, 2021, 8:50am UTC](https://discourse.julialang.org/t/pkg-how-to-setup-the-dev-version-of-a-package-i-e-dev-mypkg-from-a-script/59584 "2021-04-19T08:50:29Z")

</div>

How to setup the “dev” version of a package (i.e. \] dev MyPkg) from a script ? Pkg.dev("MyPkg) doesn’t exists, and pkg"dev MyPkg" returns a warning “use with caution” (!) In general, I would love so much that the two…

---

## [Linking against libjulia.so v1.6.0 does not link additional dependencies](https://discourse.julialang.org/t/linking-against-libjulia-so-v1-6-0-does-not-link-additional-dependencies/59409)

<div class="topic-metadata">

**Author:** [@Clonkk](https://discourse.julialang.org/u/Clonkk)\
**Replies:** 6\
**Last updated:** [April 19, 2021, 8:10am UTC](https://discourse.julialang.org/t/linking-against-libjulia-so-v1-6-0-does-not-link-additional-dependencies/59409 "2021-04-19T08:10:10Z")

</div>

Hello, I have code which uses the C-API of Julia. It used to be that linking with libjulia.so in v1.5.3 (my previous installed version) linked against Julia dependencies. The output of ldd command on the binaries was …

---

## [Plot function return a message](https://discourse.julialang.org/t/plot-function-return-a-message/59574)

<div class="topic-metadata">

**Author:** [@Abdou](https://discourse.julialang.org/u/Abdou)\
**Replies:** 3\
**Last updated:** [April 19, 2021, 7:34am UTC](https://discourse.julialang.org/t/plot-function-return-a-message/59574 "2021-04-19T07:34:32Z")

</div>

I newly installed Julia 1.6. The plot function in StatsPlots or Plots packages return this message (the function worked perfectly in Julia 1.5.3) connect No error GKS can't connect to GKS socket application GKS Open fa…

---

## [SCIP solver](https://discourse.julialang.org/t/scip-solver/59497)

<div class="topic-metadata">

**Author:** [@mjanun](https://discourse.julialang.org/u/mjanun)\
**Replies:** 4\
**Last updated:** [April 19, 2021, 7:30am UTC](https://discourse.julialang.org/t/scip-solver/59497 "2021-04-19T07:30:30Z")

</div>

How do we set number of threads for integer problems (MINLP or MILP) in SCIP? This code returns an error and I am not 100% sure that parallel\_maxnthreads is the right parameter to use. optimizer = SCIP.Optimizer(parall…

---

## [LinearAlgebra.SingularException Error while executing radial basis interpolation using Surrogates in julia?](https://discourse.julialang.org/t/linearalgebra-singularexception-error-while-executing-radial-basis-interpolation-using-surrogates-in-julia/59573)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 3\
**Last updated:** [April 19, 2021, 3:01am UTC](https://discourse.julialang.org/t/linearalgebra-singularexception-error-while-executing-radial-basis-interpolation-using-surrogates-in-julia/59573 "2021-04-19T03:01:40Z")

</div>

I am trying to execute radial basis interpolation in Julia using Surrogates package. I have developed the following code: using Surrogates function t(train, test) xy = zip(train\[:,1\],train\[:,2\]) |\> collect …

---

## [Looking for a good backend for 3D plots](https://discourse.julialang.org/t/looking-for-a-good-backend-for-3d-plots/59351)

<div class="topic-metadata">

**Author:** [@JuliusAurelius](https://discourse.julialang.org/u/JuliusAurelius)\
**Replies:** 8\
**Last updated:** [April 19, 2021, 12:45am UTC](https://discourse.julialang.org/t/looking-for-a-good-backend-for-3d-plots/59351 "2021-04-19T00:45:57Z")

</div>

Hey, I am still fairly new to Julia (coming mainly from Matlab) and am looking for a good solution for 3D plots. So far, it seems to me like you have to pick one plotting backend (Matplotlib, Makie, … \[?\] ) and master i…

---

## [Question about setting up new package environment](https://discourse.julialang.org/t/question-about-setting-up-new-package-environment/59571)

<div class="topic-metadata">

**Author:** [@quazirfan](https://discourse.julialang.org/u/quazirfan)\
**Replies:** 1\
**Last updated:** [April 19, 2021, 12:44am UTC](https://discourse.julialang.org/t/question-about-setting-up-new-package-environment/59571 "2021-04-19T00:44:42Z")

</div>

I am trying to understand how I can efficiently setup a new package environment. I have the following questions, When I create a new environment using pkg\> activate EnvName - why the folder named EnvName with associat…

---

## [How to find source code of a function in DifferentialEquations.jl?](https://discourse.julialang.org/t/how-to-find-source-code-of-a-function-in-differentialequations-jl/40402)

<div class="topic-metadata">

**Author:** [@Abolfazl\_Ziaeemehr](https://discourse.julialang.org/u/Abolfazl_Ziaeemehr)\
**Replies:** 9\
**Last updated:** [April 18, 2021, 9:08pm UTC](https://discourse.julialang.org/t/how-to-find-source-code-of-a-function-in-differentialequations-jl/40402 "2021-04-18T21:08:48Z")

</div>

Hello everybody, I am new to the forum. I need to have access to detail documentation of some functions in DiffrentialEquations.jl package. I look into the source code in Github repository, but I could not find the fu…

---

## [Getindex for Wrapper Type](https://discourse.julialang.org/t/getindex-for-wrapper-type/59518)

<div class="topic-metadata">

**Author:** [@UselessAnsatz](https://discourse.julialang.org/u/UselessAnsatz)\
**Replies:** 2\
**Last updated:** [April 18, 2021, 8:46pm UTC](https://discourse.julialang.org/t/getindex-for-wrapper-type/59518 "2021-04-18T20:46:49Z")

</div>

I was implementing a wrapper type around a data frame, and was attempting to add getindex functionality so I didn’t have to manually access the frame and could just index into the wrapper type as in the code below. usin…

---

## [Modifying solver parameters in JuMP after building the model](https://discourse.julialang.org/t/modifying-solver-parameters-in-jump-after-building-the-model/59509)

<div class="topic-metadata">

**Author:** [@varun7rs](https://discourse.julialang.org/u/varun7rs)\
**Replies:** 3\
**Last updated:** [April 18, 2021, 8:44pm UTC](https://discourse.julialang.org/t/modifying-solver-parameters-in-jump-after-building-the-model/59509 "2021-04-18T20:44:30Z")

</div>

I was working on a heuristic where I modify an ILP within a loop and solve it for a certain iterations. As of now, within the loop, I build the model repeatedly during each iteration which is costing me more time. Is the…

---

## [\[ANN\] DataSkimmer.jl - Summarize tabular data in the REPL](https://discourse.julialang.org/t/ann-dataskimmer-jl-summarize-tabular-data-in-the-repl/58030)

<div class="topic-metadata">

**Author:** [@Hasnep](https://discourse.julialang.org/u/Hasnep)\
**Replies:** 13\
**Last updated:** [April 18, 2021, 8:29pm UTC](https://discourse.julialang.org/t/ann-dataskimmer-jl-summarize-tabular-data-in-the-repl/58030 "2021-04-18T20:29:37Z")

</div>

DataSkimmer.jl exposes a function skim() which prints summary statistics in the REPL. It was inspired by the output of the skimr R package. The goal is to be able to summarise any Tables.jl compatible table, so if you w…

---

## [How to know the time between lines, not for a specific function](https://discourse.julialang.org/t/how-to-know-the-time-between-lines-not-for-a-specific-function/59558)

<div class="topic-metadata">

**Author:** [@AlphaF20](https://discourse.julialang.org/u/AlphaF20)\
**Replies:** 2\
**Last updated:** [April 18, 2021, 6:22pm UTC](https://discourse.julialang.org/t/how-to-know-the-time-between-lines-not-for-a-specific-function/59558 "2021-04-18T18:22:42Z")

</div>

From Performance Tips · The Julia Language it seems to me that @time is for a specific function Is there any method to know the time for a few lines have been executed? E.g., in python, one may write start\_time = tim…

---

## [(1)How to install Glade; (2) How to run it](https://discourse.julialang.org/t/1-how-to-install-glade-2-how-to-run-it/59546)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 5\
**Last updated:** [April 18, 2021, 5:14pm UTC](https://discourse.julialang.org/t/1-how-to-install-glade-2-how-to-run-it/59546 "2021-04-18T17:14:15Z")

</div>

I’m new to Julia although I’ve studied the basics and I’n now wanting to investigate GTK. This is a daft question, but how do I run Glade presumably from the REPL?

---

## [Using DefaultDict as a (high dimension) SparseArray?](https://discourse.julialang.org/t/using-defaultdict-as-a-high-dimension-sparsearray/59554)

<div class="topic-metadata">

**Author:** [@rpmuller](https://discourse.julialang.org/u/rpmuller)\
**Replies:** 0\
**Last updated:** [April 18, 2021, 4:56pm UTC](https://discourse.julialang.org/t/using-defaultdict-as-a-high-dimension-sparsearray/59554 "2021-04-18T16:56:20Z")

</div>

I’m currently using dictionaries with multiple indices to store data from high dimension (12, in my case) sparse arrays. As far as I know, the structures in SparseArrays only handle arrays of dimension 1 and 2. Is ther…

---

## [How to specify the span of hline in Plots.jl](https://discourse.julialang.org/t/how-to-specify-the-span-of-hline-in-plots-jl/59539)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 8\
**Last updated:** [April 18, 2021, 4:53pm UTC](https://discourse.julialang.org/t/how-to-specify-the-span-of-hline-in-plots-jl/59539 "2021-04-18T16:53:44Z")

</div>

How can I specify the range over which hline will span? In the code below, for example, I want hline to span the two vlines using Plots pyplot() plot(xlims=(0,4)) vline!(\[1\], color=:darkred, label="1") vline!(\[2\], col…

---

## [Understanding the performance issue in combine() \[DataFrames.jl\]](https://discourse.julialang.org/t/understanding-the-performance-issue-in-combine-dataframes-jl/59531)

<div class="topic-metadata">

**Author:** [@DataFrames](https://discourse.julialang.org/u/DataFrames)\
**Replies:** 1\
**Last updated:** [April 18, 2021, 12:53pm UTC](https://discourse.julialang.org/t/understanding-the-performance-issue-in-combine-dataframes-jl/59531 "2021-04-18T12:53:00Z")

</div>

I have the following performance issue with user defined function in combine(). Assume df = DataFrame(g = rand(1:100,1000), x = rand(1000)) and temp\_fun(x) = sum(x) the performance of combine() in the following two s…

---

## [Set of stable packages as part of julia release V1.6](https://discourse.julialang.org/t/set-of-stable-packages-as-part-of-julia-release-v1-6/59496)

<div class="topic-metadata">

**Author:** [@Antpan](https://discourse.julialang.org/u/Antpan)\
**Replies:** 2\
**Last updated:** [April 18, 2021, 12:30pm UTC](https://discourse.julialang.org/t/set-of-stable-packages-as-part-of-julia-release-v1-6/59496 "2021-04-18T12:30:11Z")

</div>

Hi everyone, I was playing around with different packages under Julia V1.6 and was pretty impressed with the big performance improvements so far. That is really great work! While installing some packages, I stumbled on …

---

## [Inverse prediction](https://discourse.julialang.org/t/inverse-prediction/59535)

<div class="topic-metadata">

**Author:** [@riot](https://discourse.julialang.org/u/riot)\
**Replies:** 0\
**Last updated:** [April 18, 2021, 12:19pm UTC](https://discourse.julialang.org/t/inverse-prediction/59535 "2021-04-18T12:19:36Z")

</div>

I am looking for a way to do what I used to do with the DRC-package in R. Especially the prediction of x given y (inverse prediction e.g. in probit dose-response models). In R I used the functin ED() for this. Is there a…

---

## [Embedding julia 1.6.0](https://discourse.julialang.org/t/embedding-julia-1-6-0/58898)

<div class="topic-metadata">

**Author:** [@maarten\_van\_damme](https://discourse.julialang.org/u/maarten_van_damme)\
**Replies:** 2\
**Last updated:** [April 18, 2021, 11:06am UTC](https://discourse.julialang.org/t/embedding-julia-1-6-0/58898 "2021-04-18T11:06:41Z")

</div>

I’m trying to solve https://github.com/jebej/Mex.jl/issues/6 . To embed julia in matlab, it appears you need to turn of signal handling. In 1.6, some things got separated out into libjulia-internal, of which I can find n…

---

## [\[ANN\] CovarianceEstimation.jl -- fast and lightweight covariance estimation](https://discourse.julialang.org/t/ann-covarianceestimation-jl-fast-and-lightweight-covariance-estimation/20076)

<div class="topic-metadata">

**Author:** [@mateuszbaran](https://discourse.julialang.org/u/mateuszbaran)\
**Replies:** 5\
**Last updated:** [April 18, 2021, 10:14am UTC](https://discourse.julialang.org/t/ann-covarianceestimation-jl-fast-and-lightweight-covariance-estimation/20076 "2021-04-18T10:14:20Z")

</div>

Hello, CovarianceEstimation.jl is a new package for estimating covariance of given samples. It currently focuses on linear shrinkage methods (but has one nonlinear shrinkage algorithm) and is written in pure Julia. The…

---

## [Trying to understand reported error](https://discourse.julialang.org/t/trying-to-understand-reported-error/59523)

<div class="topic-metadata">

**Author:** [@quazirfan](https://discourse.julialang.org/u/quazirfan)\
**Replies:** 3\
**Last updated:** [April 18, 2021, 9:25am UTC](https://discourse.julialang.org/t/trying-to-understand-reported-error/59523 "2021-04-18T09:25:36Z")

</div>

I am trying to solve Temperature Variation problem on Project Lovelace. The problem is given a list of numbers, find the mean and standard deviation. I have written the following code, function temperature\_statistics(T…

---

## [Question about Multiple prediction](https://discourse.julialang.org/t/question-about-multiple-prediction/59527)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 0\
**Last updated:** [April 18, 2021, 8:18am UTC](https://discourse.julialang.org/t/question-about-multiple-prediction/59527 "2021-04-18T08:18:14Z")

</div>

I am working on the forecasting of power system operation mode.This is a prediction problem with multiple input and multiple output variables coupled to each other,Is there a recommended algorithm or Pkg? thank you !!!

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

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