# Latest

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

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

**Page:** 1349

---

## [\[ANN\] RemoteREPL.jl](https://discourse.julialang.org/t/ann-remoterepl-jl/63601)

<div class="topic-metadata">

**Author:** [@c42f](https://discourse.julialang.org/u/c42f)\
**Replies:** 7\
**Last updated:** [June 26, 2021, 11:50pm UTC](https://discourse.julialang.org/t/ann-remoterepl-jl/63601 "2021-06-26T23:50:18Z")

</div>

Hi all, I recently released RemoteREPL.jl which makes it simple to connect your local Julia REPL to a remote Julia process. I’ve mentioned the package in a couple of places but thought it could do with an announcement th…

---

## [Why is this small \`@inline\` function much slower than an equivalent macro?](https://discourse.julialang.org/t/why-is-this-small-inline-function-much-slower-than-an-equivalent-macro/63620)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 2\
**Last updated:** [June 26, 2021, 11:19pm UTC](https://discourse.julialang.org/t/why-is-this-small-inline-function-much-slower-than-an-equivalent-macro/63620 "2021-06-26T23:19:50Z")

</div>

My understanding is that in Julia macros are meant to be used for expressiveness and to make DSLs, not for performance hacks. But in this bit-fiddling SIMD loop, a macro is much faster than the corresponding inline funct…

---

## [How to get eigenvalues to take the same order as in Matlab](https://discourse.julialang.org/t/how-to-get-eigenvalues-to-take-the-same-order-as-in-matlab/63580)

<div class="topic-metadata">

**Author:** [@AngusRussell](https://discourse.julialang.org/u/AngusRussell)\
**Replies:** 10\
**Last updated:** [June 26, 2021, 11:01pm UTC](https://discourse.julialang.org/t/how-to-get-eigenvalues-to-take-the-same-order-as-in-matlab/63580 "2021-06-26T23:01:30Z")

</div>

So I am rewriting some code from Matlab into Julia. I want the final plots to be the same however Julia is sorting the eigenvalues in ascending order which is making the plot confusing for my use case. The following plo…

---

## [Gtk.jl fails to precompile with Julia v1.7.0-beta2](https://discourse.julialang.org/t/gtk-jl-fails-to-precompile-with-julia-v1-7-0-beta2/63603)

<div class="topic-metadata">

**Author:** [@magister-ludi](https://discourse.julialang.org/u/magister-ludi)\
**Replies:** 5\
**Last updated:** [June 26, 2021, 10:06pm UTC](https://discourse.julialang.org/t/gtk-jl-fails-to-precompile-with-julia-v1-7-0-beta2/63603 "2021-06-26T22:06:06Z")

</div>

Gtk.jl fails to precompile with julia v1.7.0-beta2. This is under Windows (Win10) and Linux (OpenSUSE Leap 15.2). In both systems, I have a clean install, with the addition of Gtk: (@v1.7) pkg\> st Status \`C:\\User…

---

## [Need help understanding creation and usage of Structs](https://discourse.julialang.org/t/need-help-understanding-creation-and-usage-of-structs/63588)

<div class="topic-metadata">

**Author:** [@whyharsha](https://discourse.julialang.org/u/whyharsha)\
**Replies:** 9\
**Last updated:** [June 26, 2021, 9:41pm UTC](https://discourse.julialang.org/t/need-help-understanding-creation-and-usage-of-structs/63588 "2021-06-26T21:41:50Z")

</div>

I created a struct and get an error while creating an instance of it. I have tried reading the Julia manual and other material but am unable to resolve the error. Updated code: In binaryheap.jl → mutable struct Binar…

---

## [How to download the most recent CSV from a link](https://discourse.julialang.org/t/how-to-download-the-most-recent-csv-from-a-link/63614)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 8\
**Last updated:** [June 26, 2021, 7:36pm UTC](https://discourse.julialang.org/t/how-to-download-the-most-recent-csv-from-a-link/63614 "2021-06-26T19:36:08Z")

</div>

Hi all I was wondering if there is an approach in Julia that would allow me to download the most recent data from the link below. My understanding is that it will be updated quarterly if they just post a new csv I want …

---

## [Fastest plotting library?](https://discourse.julialang.org/t/fastest-plotting-library/62018)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 53\
**Last updated:** [June 26, 2021, 6:35pm UTC](https://discourse.julialang.org/t/fastest-plotting-library/62018 "2021-06-26T18:35:10Z")

</div>

I need to generate a lot of plots(thousands) and save them to disk as png. Nothing fancy, just some scatter plots with legend, preferably with the option to adjust the resolution(number of points per plot is less than 10…

---

## [Pkg.jl internal API changes in Julia v1.7](https://discourse.julialang.org/t/pkg-jl-internal-api-changes-in-julia-v1-7/63607)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 4:43pm UTC](https://discourse.julialang.org/t/pkg-jl-internal-api-changes-in-julia-v1-7/63607 "2021-06-26T16:43:57Z")

</div>

An awesome contributor implemented programmatic Project.toml creation in Genie - but now the corresponding test breaks in Julia v1.7. It’s this line: Pkg.project(Pkg.API.Context(), name, tmpdir) # generate tmp in Genie…

---

## [Goose Attack against a Genie App](https://discourse.julialang.org/t/goose-attack-against-a-genie-app/63541)

<div class="topic-metadata">

**Author:** [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Replies:** 24\
**Last updated:** [June 26, 2021, 3:56pm UTC](https://discourse.julialang.org/t/goose-attack-against-a-genie-app/63541 "2021-06-26T15:56:30Z")

</div>

I made a small Genie App, and I created a Goose Attack with Rust that tests it. I used Julia 1.6.1. The app is essentially (which is routes.jl) using Genie.Router, Genie.Renderer, Genie.Exceptions, JSON3 route("/") do…

---

## [How to create a linear regression model for each of the group](https://discourse.julialang.org/t/how-to-create-a-linear-regression-model-for-each-of-the-group/63592)

<div class="topic-metadata">

**Author:** [@Tiger\_Zheng](https://discourse.julialang.org/u/Tiger_Zheng)\
**Replies:** 4\
**Last updated:** [June 26, 2021, 3:33pm UTC](https://discourse.julialang.org/t/how-to-create-a-linear-regression-model-for-each-of-the-group/63592 "2021-06-26T15:33:52Z")

</div>

I want to do this code in Julia, is there any way to achieve it? Thank you for your help!

---

## [Performance issues with matrix multiplication in JuMP](https://discourse.julialang.org/t/performance-issues-with-matrix-multiplication-in-jump/63564)

<div class="topic-metadata">

**Author:** [@Huy\_Nguyen](https://discourse.julialang.org/u/Huy_Nguyen)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 1:32pm UTC](https://discourse.julialang.org/t/performance-issues-with-matrix-multiplication-in-jump/63564 "2021-06-26T13:32:46Z")

</div>

I am trying to do linear constraint optimisation as follows: model = Model(Tulip.Optimizer) # Set up variables @variable(model, x\[1:length(VecA)+length(VecB)\]) # set up linear constraints workingweights …

---

## [How to take the gradient of one output and keep the other outputs?](https://discourse.julialang.org/t/how-to-take-the-gradient-of-one-output-and-keep-the-other-outputs/63597)

<div class="topic-metadata">

**Author:** [@SvenDummer](https://discourse.julialang.org/u/SvenDummer)\
**Replies:** 0\
**Last updated:** [June 26, 2021, 8:59am UTC](https://discourse.julialang.org/t/how-to-take-the-gradient-of-one-output-and-keep-the-other-outputs/63597 "2021-06-26T08:59:30Z")

</div>

Hi all. I have a (relatively) small question regarding automatic differentiation packages. The problem: I have a function that outputs a Hessian and the corresponding Laplacian. I want to take the gradient concerning t…

---

## [Pluto Pages on gitlab](https://discourse.julialang.org/t/pluto-pages-on-gitlab/62837)

<div class="topic-metadata">

**Author:** [@alvarmaciel](https://discourse.julialang.org/u/alvarmaciel)\
**Replies:** 13\
**Last updated:** [June 26, 2021, 8:17am UTC](https://discourse.julialang.org/t/pluto-pages-on-gitlab/62837 "2021-06-26T08:17:57Z")

</div>

Hi, to all. Is there a way to make Pluto pages on gitlab? I know the github procedure. But I want to move to Gitlab and I really don’t know if this is possible. I’m not really an expert on this. Thanks

---

## [\[ANN\] Chemistry.jl](https://discourse.julialang.org/t/ann-chemistry-jl/63225)

<div class="topic-metadata">

**Author:** [@Baobab\_The\_fruit](https://discourse.julialang.org/u/Baobab_The_fruit)\
**Replies:** 5\
**Last updated:** [June 26, 2021, 5:26am UTC](https://discourse.julialang.org/t/ann-chemistry-jl/63225 "2021-06-26T05:26:30Z")

</div>

Happy to hereby announce what will be my first opensource project, first package, and first overall big project. An elementary chemistry package for Julia, supplying users with first the basic chemistry formulas and late…

---

## [Unable to use a local package](https://discourse.julialang.org/t/unable-to-use-a-local-package/63583)

<div class="topic-metadata">

**Author:** [@juliapilled](https://discourse.julialang.org/u/juliapilled)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 2:58am UTC](https://discourse.julialang.org/t/unable-to-use-a-local-package/63583 "2021-06-26T02:58:59Z")

</div>

I have a github repo “A” without a Manifest.toml and Project.toml Spent a lot of time tryingt o figure out how to use it, and ended up with the following flow so far: Julia REPL cd to project location (inside the repl…

---

## [What are the current plans regarding a new LTS Julia version?](https://discourse.julialang.org/t/what-are-the-current-plans-regarding-a-new-lts-julia-version/63501)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 33\
**Last updated:** [June 26, 2021, 12:44am UTC](https://discourse.julialang.org/t/what-are-the-current-plans-regarding-a-new-lts-julia-version/63501 "2021-06-26T00:44:56Z")

</div>

Sorry if this has already been answered somewhere: there are so many really cool substantial changes/improvements in v1.7, and it looks like quite a few of them will be hard or impossible to cover via Compat.jl. So it ma…

---

## [Understanding the results from Optim.jl for a black box function](https://discourse.julialang.org/t/understanding-the-results-from-optim-jl-for-a-black-box-function/63507)

<div class="topic-metadata">

**Author:** [@edwinb-ai](https://discourse.julialang.org/u/edwinb-ai)\
**Replies:** 15\
**Last updated:** [June 25, 2021, 10:19pm UTC](https://discourse.julialang.org/t/understanding-the-results-from-optim-jl-for-a-black-box-function/63507 "2021-06-25T22:19:37Z")

</div>

I’m using Optim.jl to solve an unconstrained minimization problem. In this particular problem I have a black-box function, which can take a long time on a single function evaluation. I don’t have access to gradient info…

---

## [How to record the optimization process when using the JuMP optimization package for optimization](https://discourse.julialang.org/t/how-to-record-the-optimization-process-when-using-the-jump-optimization-package-for-optimization/63124)

<div class="topic-metadata">

**Author:** [@til1](https://discourse.julialang.org/u/til1)\
**Replies:** 4\
**Last updated:** [June 25, 2021, 10:15pm UTC](https://discourse.julialang.org/t/how-to-record-the-optimization-process-when-using-the-jump-optimization-package-for-optimization/63124 "2021-06-25T22:15:16Z")

</div>

I want to know the result of each iteration of the independent variable and the target value. How can I get this information?

---

## [Okay to disable tag checking in this example?](https://discourse.julialang.org/t/okay-to-disable-tag-checking-in-this-example/63581)

<div class="topic-metadata">

**Author:** [@StevenWhitaker](https://discourse.julialang.org/u/StevenWhitaker)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 9:02pm UTC](https://discourse.julialang.org/t/okay-to-disable-tag-checking-in-this-example/63581 "2021-06-25T21:02:59Z")

</div>

I have a function that depends on two inputs, but I only want to differentiate with respect to the first. But I also want to compute the gradient for different values of the second input. Is it okay to use the same Gradi…

---

## [LoadError when using interpolations as input for a neural ode](https://discourse.julialang.org/t/loaderror-when-using-interpolations-as-input-for-a-neural-ode/51224)

<div class="topic-metadata">

**Author:** [@Gregor](https://discourse.julialang.org/u/Gregor)\
**Replies:** 24\
**Last updated:** [June 25, 2021, 8:46pm UTC](https://discourse.julialang.org/t/loaderror-when-using-interpolations-as-input-for-a-neural-ode/51224 "2021-06-25T20:46:50Z")

</div>

Hello, I am trying to train a simple nn with an external input that depends on time. The input is interpolated using: broadband = LinearInterpolation(time, U) The network runs without any problem for the first iterati…

---

## [Julia 2.0: superSwitch or SuperCase ... or generalized if-then-else statement](https://discourse.julialang.org/t/julia-2-0-superswitch-or-supercase-or-generalized-if-then-else-statement/63529)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 3\
**Last updated:** [June 25, 2021, 8:30pm UTC](https://discourse.julialang.org/t/julia-2-0-superswitch-or-supercase-or-generalized-if-then-else-statement/63529 "2021-06-25T20:30:38Z")

</div>

Julia doesn’t have a switch/case statement. I recall reading the past that @StefanKarpinski tried to interest the other developers back in the day, but couldn’t get them excited about it. That makes some sense – early on…

---

## [MCMC algorithm standard output datatype (MCMCChains or others?)](https://discourse.julialang.org/t/mcmc-algorithm-standard-output-datatype-mcmcchains-or-others/63149)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 6\
**Last updated:** [June 25, 2021, 8:24pm UTC](https://discourse.julialang.org/t/mcmc-algorithm-standard-output-datatype-mcmcchains-or-others/63149 "2021-06-25T20:24:42Z")

</div>

I’ve got an MCMC algorithm I want to do some research on. It’d be great if I could hand my functions some model function, and get back a data type that fits well into the ecosystem. Since I haven’t had the opportunity to…

---

## [Julia subsumes ICON: well done](https://discourse.julialang.org/t/julia-subsumes-icon-well-done/63517)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 3\
**Last updated:** [June 25, 2021, 7:30pm UTC](https://discourse.julialang.org/t/julia-subsumes-icon-well-done/63517 "2021-06-25T19:30:36Z")

</div>

I developed a likely poor-supported belief the developers where re-evaluating Julia’s string functionality for Julia 2.0 from some off-hand comment that @StefanKarpinski made in some post. That’s an interest area of min…

---

## [Offline installation of packages](https://discourse.julialang.org/t/offline-installation-of-packages/63567)

<div class="topic-metadata">

**Author:** [@edisan](https://discourse.julialang.org/u/edisan)\
**Replies:** 3\
**Last updated:** [June 25, 2021, 7:08pm UTC](https://discourse.julialang.org/t/offline-installation-of-packages/63567 "2021-06-25T19:08:25Z")

</div>

Hello, I am new to Julia and I am trying to use a package already developed by others in a computing cluster that does not allow Julia to connect to the internet/Github. As I install the package and try to use it, Juli…

---

## [Anonymous function as argument](https://discourse.julialang.org/t/anonymous-function-as-argument/63473)

<div class="topic-metadata">

**Author:** [@Erasmo98](https://discourse.julialang.org/u/Erasmo98)\
**Replies:** 12\
**Last updated:** [June 25, 2021, 5:30pm UTC](https://discourse.julialang.org/t/anonymous-function-as-argument/63473 "2021-06-25T17:30:41Z")

</div>

Why is common practice to use anonymous funtions where a normal function could be used instead? I’m specilly thinking when using it as an argument of another function. For example: plot(0:0.1:2π, x -\> sin(x)) I’ve seen…

---

## [Zygote dropgrad for all function numerical arguments that are non-differentiable (e.g., Int)](https://discourse.julialang.org/t/zygote-dropgrad-for-all-function-numerical-arguments-that-are-non-differentiable-e-g-int/63563)

<div class="topic-metadata">

**Author:** [@mhmodzoka](https://discourse.julialang.org/u/mhmodzoka)\
**Replies:** 1\
**Last updated:** [June 25, 2021, 5:18pm UTC](https://discourse.julialang.org/t/zygote-dropgrad-for-all-function-numerical-arguments-that-are-non-differentiable-e-g-int/63563 "2021-06-25T17:18:27Z")

</div>

Is there a way I can tell Zygote to automatically apply Zygote.dropgrad() for all function numerical arguments that are non-differentiable? Example: julia\> import Zygote julia\> # naiively defining my function, and usi…

---

## [Error messages in for loops](https://discourse.julialang.org/t/error-messages-in-for-loops/63562)

<div class="topic-metadata">

**Author:** [@SirLukeSchande](https://discourse.julialang.org/u/SirLukeSchande)\
**Replies:** 5\
**Last updated:** [June 25, 2021, 4:47pm UTC](https://discourse.julialang.org/t/error-messages-in-for-loops/63562 "2021-06-25T16:47:25Z")

</div>

I was just working on my code and got an error where the stacktrace pointed to a line inside a for loop. To debug the code I was about to print the for-loop-variable to find out in which iteration the error happened. Wo…

---

## [Trying to understand ProfileView output](https://discourse.julialang.org/t/trying-to-understand-profileview-output/63561)

<div class="topic-metadata">

**Author:** [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Replies:** 2\
**Last updated:** [June 25, 2021, 4:37pm UTC](https://discourse.julialang.org/t/trying-to-understand-profileview-output/63561 "2021-06-25T16:37:32Z")

</div>

I am trying to figure what’s going on with some code that i am profiling. As you can see there from the graph below, there is a very large area at the left showing code that is clearly part of the Julia system (type\_infe…

---

## [How to get rid of output in nlsolve?](https://discourse.julialang.org/t/how-to-get-rid-of-output-in-nlsolve/63559)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 5\
**Last updated:** [June 25, 2021, 4:32pm UTC](https://discourse.julialang.org/t/how-to-get-rid-of-output-in-nlsolve/63559 "2021-06-25T16:32:40Z")

</div>

I’m struggling to avoid printing the result after an nlsolve call. Results of Nonlinear Solver Algorithm \* Algorithm: Trust-region with dogleg and autoscaling \* Starting Point: \[-2.9444389791664403, -2.19722457733621…

---

## [Plotting Makie output with Plots](https://discourse.julialang.org/t/plotting-makie-output-with-plots/63520)

<div class="topic-metadata">

**Author:** [@mjyshin](https://discourse.julialang.org/u/mjyshin)\
**Replies:** 4\
**Last updated:** [June 25, 2021, 4:26pm UTC](https://discourse.julialang.org/t/plotting-makie-output-with-plots/63520 "2021-06-25T16:26:30Z")

</div>

Is there any way to use Plots and Makie together to create a larger figure without having to export one as an image and load it back in? Something like: using Makie, Plots mfig = Figure() # ... create Makie figure ... …

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

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