# Latest

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

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

**Page:** 953

---

## [Can't get the preconditioners to work for ode problem](https://discourse.julialang.org/t/cant-get-the-preconditioners-to-work-for-ode-problem/85782)

<div class="topic-metadata">

**Author:** [@Shashank](https://discourse.julialang.org/u/Shashank)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 6:32pm UTC](https://discourse.julialang.org/t/cant-get-the-preconditioners-to-work-for-ode-problem/85782 "2022-08-15T18:32:33Z")

</div>

I have been trying to learn how to use preconditioners while solving an ode but I get an error, and I don’t understand what I am doing wrong. I followed the tutorial on Solving Large Stiff Equations · DifferentialEquatio…

---

## [User defined objective function from external pkl file](https://discourse.julialang.org/t/user-defined-objective-function-from-external-pkl-file/85759)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 4\
**Last updated:** [August 15, 2022, 6:30pm UTC](https://discourse.julialang.org/t/user-defined-objective-function-from-external-pkl-file/85759 "2022-08-15T18:30:04Z")

</div>

Hello, I have a complex function wrapped in a pkl file and I want to use to define my objective function. Here is a small example that I want to realize and the problem I meet: using JuMP using PyCall py""" import pic…

---

## [DiffEqParamEstim.jl - Generalized Likelihood Inference](https://discourse.julialang.org/t/diffeqparamestim-jl-generalized-likelihood-inference/85709)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 2\
**Last updated:** [August 15, 2022, 5:39pm UTC](https://discourse.julialang.org/t/diffeqparamestim-jl-generalized-likelihood-inference/85709 "2022-08-15T17:39:10Z")

</div>

Hi, I am looking to implement the method that is found here I can follow the method well but I can not for the life of me see a way in which I could extend this to a problem to a situation where we have got n\>2 paramete…

---

## [Rotate axis labels and change axis location in Makie](https://discourse.julialang.org/t/rotate-axis-labels-and-change-axis-location-in-makie/85787)

<div class="topic-metadata">

**Author:** [@PavanChaggar](https://discourse.julialang.org/u/PavanChaggar)\
**Replies:** 3\
**Last updated:** [August 15, 2022, 5:13pm UTC](https://discourse.julialang.org/t/rotate-axis-labels-and-change-axis-location-in-makie/85787 "2022-08-15T17:13:44Z")

</div>

Hi, I have a plot that currently looks like: I want to do two things: rotate the ylabel 90 degrees clockwise move the x-axis up so that it intersects at y=0 I couldn’t find these in the docs or discourse. Any hel…

---

## [Implementing the tensor algebra functor](https://discourse.julialang.org/t/implementing-the-tensor-algebra-functor/64433)

<div class="topic-metadata">

**Author:** [@choquet](https://discourse.julialang.org/u/choquet)\
**Replies:** 0\
**Last updated:** [July 10, 2021, 5:32pm UTC](https://discourse.julialang.org/t/implementing-the-tensor-algebra-functor/64433 "2021-07-10T17:32:28Z")

</div>

I’m trying to implement the free tensor algebra functor T: given a vector space V it creates another vector space T(V). This vector space T(V) has many nice properties, for example, T(V) is not just a vector space but al…

---

## [Differences between ParameterHandling and Functors](https://discourse.julialang.org/t/differences-between-parameterhandling-and-functors/63495)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 0\
**Last updated:** [June 24, 2021, 12:03pm UTC](https://discourse.julialang.org/t/differences-between-parameterhandling-and-functors/63495 "2021-06-24T12:03:41Z")

</div>

Could someone tell me if I got the differences between ParameterHandling.jl and Functors.jl right? Both seem to allow to deconstruct/reconstruct a struct to extract arrays of parameters. The differences I see are : F…

---

## [How can I measure the time to compile each function in a package?](https://discourse.julialang.org/t/how-can-i-measure-the-time-to-compile-each-function-in-a-package/85749)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 0\
**Last updated:** [August 14, 2022, 11:00pm UTC](https://discourse.julialang.org/t/how-can-i-measure-the-time-to-compile-each-function-in-a-package/85749 "2022-08-14T23:00:43Z")

</div>

When I profile the first time to do something in a package I find out that it is making a lot of LLVM passes, it is possible to profile on which functions these LLVM passes spend the most time?

---

## [Moving a GTK window](https://discourse.julialang.org/t/moving-a-gtk-window/85729)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [August 15, 2022, 4:40pm UTC](https://discourse.julialang.org/t/moving-a-gtk-window/85729 "2022-08-15T16:40:41Z")

</div>

I have the following code: using Gtk.ShortNames, GtkObservables # define the default values OPTION\_A = false OPTION\_B = false finished = false cb1 = checkbox(OPTION\_A, label="Option A") cb2 = checkbox(OPTION\_B, label…

---

## [\[ANN\] Julia Data Science Book and Books.jl](https://discourse.julialang.org/t/ann-julia-data-science-book-and-books-jl/70680)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 15\
**Last updated:** [August 15, 2022, 3:59pm UTC](https://discourse.julialang.org/t/ann-julia-data-science-book-and-books-jl/70680 "2022-08-15T15:59:31Z")

</div>

@rikh , @lazarusA and I are happy to announce that our book Julia Data Science is now available on Amazon.com. We ve created this book to make it easier for our collegues and friends to pick up Julia. Especially for …

---

## [Hamburg Julia users meetups kickstarting](https://discourse.julialang.org/t/hamburg-julia-users-meetups-kickstarting/79267)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [August 15, 2022, 3:22pm UTC](https://discourse.julialang.org/t/hamburg-julia-users-meetups-kickstarting/79267 "2022-08-15T15:22:46Z")

</div>

Hello everyone, along with Julius Krumbiegel and Benoit Richard we are thinking of starting some nice Julia users meetups in Hamburg! If you are a Julia user and live in Hamburg and want to meet with other julia users f…

---

## [Subject: Initializing file I/O so that code is agnostic to running locally/on cloud](https://discourse.julialang.org/t/subject-initializing-file-i-o-so-that-code-is-agnostic-to-running-locally-on-cloud/85769)

<div class="topic-metadata">

**Author:** [@Pablo](https://discourse.julialang.org/u/Pablo)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 2:05pm UTC](https://discourse.julialang.org/t/subject-initializing-file-i-o-so-that-code-is-agnostic-to-running-locally-on-cloud/85769 "2022-08-15T14:05:15Z")

</div>

Hello, We are developing a Julia app, and we want to close the gap between running our code in development and production by making the bulk of our code agnostic to whether it’s running in either stage. We have already…

---

## [Is it possible to traverse a tree without allocations](https://discourse.julialang.org/t/is-it-possible-to-traverse-a-tree-without-allocations/85490)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 10\
**Last updated:** [August 15, 2022, 1:51pm UTC](https://discourse.julialang.org/t/is-it-possible-to-traverse-a-tree-without-allocations/85490 "2022-08-15T13:51:02Z")

</div>

I have defined a tree made of ‘nodes’ and ‘leaves’ as follows. Each leaf has a vector of indices that I would like to iterate under certain conditions. using AbstractTrees struct BVH name::String children::Unio…

---

## [\[ANN\] DataFrameMacros.jl v0.3.0](https://discourse.julialang.org/t/ann-dataframemacros-jl-v0-3-0/85771)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 12:17pm UTC](https://discourse.julialang.org/t/ann-dataframemacros-jl-v0-3-0/85771 "2022-08-15T12:17:18Z")

</div>

I made some breaking changes to DataFrameMacros, which hopefully make the package easier to use and more powerful. Breaking: The $() interpolation syntax is replaced by {} for single columns (or broadcasted multi-co…

---

## [Simple interpolation?](https://discourse.julialang.org/t/simple-interpolation/55320)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 19\
**Last updated:** [August 15, 2022, 12:05pm UTC](https://discourse.julialang.org/t/simple-interpolation/55320 "2022-08-15T12:05:41Z")

</div>

I could do with some maths help! I have a few equally-spaced values between 0.0 and 1.0: \[0.0, 0.1, 0.85, 0.9, 1.0\] and I want a function f(n) that returns a suitably close value for any other n between 0.0 and 1.0. …

---

## [Loading HDF5.jl causes previously working function to crash](https://discourse.julialang.org/t/loading-hdf5-jl-causes-previously-working-function-to-crash/85768)

<div class="topic-metadata">

**Author:** [@huangc](https://discourse.julialang.org/u/huangc)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 11:16am UTC](https://discourse.julialang.org/t/loading-hdf5-jl-causes-previously-working-function-to-crash/85768 "2022-08-15T11:16:52Z")

</div>

I ran into a really confusing situation today. I upgrade my Linux distro yesterday to Ubuntu 22.04, and one of my previously working packages started to crash. While trying to debug and reproduce this, I realised that if…

---

## [Orbitdiagram DynamicalSystems.jl](https://discourse.julialang.org/t/orbitdiagram-dynamicalsystems-jl/85766)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 0\
**Last updated:** [August 15, 2022, 9:43am UTC](https://discourse.julialang.org/t/orbitdiagram-dynamicalsystems-jl/85766 "2022-08-15T09:43:04Z")

</div>

Parameter that changes at high values leads to synchronization, that is, a regular mode appears. Ideally, the diagram should show the transition from chaos to regularity. The diagram show this, but there are windows that…

---

## [Web-scraping using simultaneous sessions and multiple proxies](https://discourse.julialang.org/t/web-scraping-using-simultaneous-sessions-and-multiple-proxies/85765)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 9:44am UTC](https://discourse.julialang.org/t/web-scraping-using-simultaneous-sessions-and-multiple-proxies/85765 "2022-08-15T09:44:50Z")

</div>

Can I use Julia to scrape data from a website using simultaneous sessions and multiple proxies? If so, how is that done?

---

## [Open discussion on the state of differentiable physics in Julia](https://discourse.julialang.org/t/open-discussion-on-the-state-of-differentiable-physics-in-julia/72900)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 9\
**Last updated:** [August 15, 2022, 9:17am UTC](https://discourse.julialang.org/t/open-discussion-on-the-state-of-differentiable-physics-in-julia/72900 "2022-08-15T09:17:07Z")

</div>

I have been thinking about this for some time, as a result of my personal experience starting to work with Julia this year. I chose Julia for my new research project on Universal Differential Equations for glacier evolut…

---

## [How to create a modal dialog with Gtk.jl?](https://discourse.julialang.org/t/how-to-create-a-modal-dialog-with-gtk-jl/85735)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [August 15, 2022, 6:17am UTC](https://discourse.julialang.org/t/how-to-create-a-modal-dialog-with-gtk-jl/85735 "2022-08-15T06:17:34Z")

</div>

How can I create a modal dialog with Gtk.jl ? The following code kind-of works: # This example creates a modal dialog with two checkboxes. using Gtk.ShortNames, GtkObservables # define the default values OPTION\_A = fa…

---

## [JULIA\_DEBUG Usage](https://discourse.julialang.org/t/julia-debug-usage/85743)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 1\
**Last updated:** [August 15, 2022, 4:47am UTC](https://discourse.julialang.org/t/julia-debug-usage/85743 "2022-08-15T04:47:27Z")

</div>

How can I set the logging level to Warning or higher with an environment variable? I’ve checked the documentation and other Discourse posts, but I’m still a bit confused. I have CI which builds documents with Quarto, an…

---

## [\`isfile\` lies?](https://discourse.julialang.org/t/isfile-lies/85693)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 21\
**Last updated:** [August 15, 2022, 1:21am UTC](https://discourse.julialang.org/t/isfile-lies/85693 "2022-08-15T01:21:40Z")

</div>

Why would this be? julia\> isfile("GrayWhale\\\\simulations\\\\gw\_fs\_fluid\_damping=1\_forcing\_type=approx\_acoustic\_pressure\_meshnum=8\_neigvs=2200\_sweep=full25\\\\gw\_fs\_fluid\_damping=1\_forcing\_type=approx\_acoustic\_pressure\_meshn…

---

## [Taylor expansion in Symbolics](https://discourse.julialang.org/t/taylor-expansion-in-symbolics/74309)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 8\
**Last updated:** [August 14, 2022, 8:58pm UTC](https://discourse.julialang.org/t/taylor-expansion-in-symbolics/74309 "2022-08-14T20:58:42Z")

</div>

I found the very useful library https://github.com/JuliaDiff/TaylorSeries.jl and was able to use it to generate the Taylor series coefficients for a problem I was working on. I thought to myself this would be a really…

---

## [Speeding up a sum involving 3 matrices](https://discourse.julialang.org/t/speeding-up-a-sum-involving-3-matrices/85713)

<div class="topic-metadata">

**Author:** [@structural](https://discourse.julialang.org/u/structural)\
**Replies:** 4\
**Last updated:** [August 14, 2022, 10:41pm UTC](https://discourse.julialang.org/t/speeding-up-a-sum-involving-3-matrices/85713 "2022-08-14T22:41:18Z")

</div>

Thanks for your answers. It made a 20x improvement in my overall computation time. May I get your help with another related task? I need to compute a 10,000+ row vector in which the i^{th} row is \\sum\_{jk} x^{}\_{ij}z^{}…

---

## [WGLMakie slider issue](https://discourse.julialang.org/t/wglmakie-slider-issue/85689)

<div class="topic-metadata">

**Author:** [@AlexisRenchon](https://discourse.julialang.org/u/AlexisRenchon)\
**Replies:** 1\
**Last updated:** [August 14, 2022, 8:31pm UTC](https://discourse.julialang.org/t/wglmakie-slider-issue/85689 "2022-08-14T20:31:40Z")

</div>

I have 2 scripts that can be reproduced here: they are the same script, but one in GLMakie, one in WGLMakie The GLMakie script works as intended, but the WGLMakie slider is not responsive. I don’t know why, because if…

---

## ["The connection to the terminal's pty host process is unresponsive, the terminals may stop working."](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 1\
**Last updated:** [August 14, 2022, 7:56pm UTC](https://discourse.julialang.org/t/the-connection-to-the-terminals-pty-host-process-is-unresponsive-the-terminals-may-stop-working/85741 "2022-08-14T19:56:00Z")

</div>

I’ve been using VSCode for a few months. Today I started receiving the following error: The connection to the terminal's pty host process is unresponsive, the terminals may stop working. At which point, the REPL become…

---

## [Specify the type of function when it is a parameter of another function](https://discourse.julialang.org/t/specify-the-type-of-function-when-it-is-a-parameter-of-another-function/85724)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 4\
**Last updated:** [August 14, 2022, 6:56pm UTC](https://discourse.julialang.org/t/specify-the-type-of-function-when-it-is-a-parameter-of-another-function/85724 "2022-08-14T18:56:12Z")

</div>

Perhaps the question doesn’t matter much in practice or even makes little sense in theory. In which case, please explain the reasons in a simple way. Playing with the splitarray function, I wondered if and how it was po…

---

## [Plotting layout problem with xaxis](https://discourse.julialang.org/t/plotting-layout-problem-with-xaxis/85712)

<div class="topic-metadata">

**Author:** [@Rev0c\_Devs](https://discourse.julialang.org/u/Rev0c_Devs)\
**Replies:** 3\
**Last updated:** [August 14, 2022, 5:46pm UTC](https://discourse.julialang.org/t/plotting-layout-problem-with-xaxis/85712 "2022-08-14T17:46:35Z")

</div>

Hi, I am trying to plot two figures in a layout. layout is set to layout = (2,1), and I got a problem with xaxis. the top of xaxis appears in the bottom figure. Is there any way to fix this? Thank you.

---

## [Diophantine equations 3-d plots](https://discourse.julialang.org/t/diophantine-equations-3-d-plots/85727)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 2\
**Last updated:** [August 14, 2022, 3:53pm UTC](https://discourse.julialang.org/t/diophantine-equations-3-d-plots/85727 "2022-08-14T15:53:36Z")

</div>

Hi all, I see this equation and I want to plot it, but could not be able to do it: z^{3} - z = (x^{3} - x) + (y^{3} - y) This is my code: using Plots pyplot() x=range(-2,stop=2,length=100) y=range(sqrt(2),stop=2,le…

---

## [Plot window appears in background](https://discourse.julialang.org/t/plot-window-appears-in-background/82293)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [August 14, 2022, 2:58pm UTC](https://discourse.julialang.org/t/plot-window-appears-in-background/82293 "2022-08-14T14:58:08Z")

</div>

I am already pretty happy with InspectDR. Can be tuned to be beautiful. One more question: If I run the following script once all works fine: using Plots; inspectdr() InspectDR.defaults.xaxiscontrol\_visible = false x …

---

## [Storing functions for usage across files](https://discourse.julialang.org/t/storing-functions-for-usage-across-files/85723)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 8\
**Last updated:** [August 14, 2022, 2:00pm UTC](https://discourse.julialang.org/t/storing-functions-for-usage-across-files/85723 "2022-08-14T14:00:51Z")

</div>

I came from MATLAB and have enjoyed the migration to Julia. However, one thing that I liked about MATLAB was the ability to create a function and save that function in a directory, so that I could use it later in a poten…

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

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