# Latest

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

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

**Page:** 993

---

## [How to overload \`ConstructionBase.setproperties\` to change struct properties?](https://discourse.julialang.org/t/how-to-overload-constructionbase-setproperties-to-change-struct-properties/83686)

<div class="topic-metadata">

**Author:** [@vkv](https://discourse.julialang.org/u/vkv)\
**Replies:** 2\
**Last updated:** [July 3, 2022, 7:03pm UTC](https://discourse.julialang.org/t/how-to-overload-constructionbase-setproperties-to-change-struct-properties/83686 "2022-07-03T19:03:22Z")

</div>

I want to change the value of certain properties in a struct. But Setfield is not working. MWE: using Setfield struct C{S,T, K} i::T j::Bool end c = C{Float64, Int, BitArray}(1.0,true) @set! c.i = 2 ERROR: …

---

## [Sparse jacobians of matrix models](https://discourse.julialang.org/t/sparse-jacobians-of-matrix-models/82537)

<div class="topic-metadata">

**Author:** [@gianmariomanca](https://discourse.julialang.org/u/gianmariomanca)\
**Replies:** 37\
**Last updated:** [July 3, 2022, 6:16pm UTC](https://discourse.julialang.org/t/sparse-jacobians-of-matrix-models/82537 "2022-07-03T18:16:47Z")

</div>

Hi all, I would like to use sparsity to speed up an optimization problem. I have a NxM matrix of data Z and a model m(A) = A - k\*sum(A, dims=2)\*sum(A,dims=1) where A is a matrix of the same dimensions of Z, sum(A, dims…

---

## [Latex systeme not working on pluto md](https://discourse.julialang.org/t/latex-systeme-not-working-on-pluto-md/83711)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 2\
**Last updated:** [July 3, 2022, 6:11pm UTC](https://discourse.julialang.org/t/latex-systeme-not-working-on-pluto-md/83711 "2022-07-03T18:11:58Z")

</div>

Hello, good afternoon, Is it possible use the command systeme to draw linear equations in pluto md? In my tests, systeme is not recognized. md""" $$\\systeme{x+y=7,-x+3y=1}$$ """

---

## [Plotting matrix (heatmap/pcolor/imshow) with log scales](https://discourse.julialang.org/t/plotting-matrix-heatmap-pcolor-imshow-with-log-scales/26685)

<div class="topic-metadata">

**Author:** [@dapz](https://discourse.julialang.org/u/dapz)\
**Replies:** 11\
**Last updated:** [July 3, 2022, 5:32pm UTC](https://discourse.julialang.org/t/plotting-matrix-heatmap-pcolor-imshow-with-log-scales/26685 "2022-07-03T17:32:59Z")

</div>

Hi, I’m struggling with plotting a simple matrix with log-scales for x, y and/or color-axis. Consider e.g. a random 5\*5 matrix a, with associated values for x and y axis (these values are always regularly spaced, either…

---

## [\[ANN\] Announcing ImplicitDifferentiation.jl](https://discourse.julialang.org/t/ann-announcing-implicitdifferentiation-jl/83564)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 8\
**Last updated:** [July 3, 2022, 3:38pm UTC](https://discourse.julialang.org/t/ann-announcing-implicitdifferentiation-jl/83564 "2022-07-03T15:38:22Z")

</div>

@mohamed82008 and myself are happy to announce that our new package ImplicitDifferentiation.jl is ready, just in time for JuliaCon2022! :partying\_face: What is it for? The goal is to differentiate through complex proced…

---

## [Anyone used Stipple.jl with ZMQ?](https://discourse.julialang.org/t/anyone-used-stipple-jl-with-zmq/83706)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 0\
**Last updated:** [July 3, 2022, 3:16pm UTC](https://discourse.julialang.org/t/anyone-used-stipple-jl-with-zmq/83706 "2022-07-03T15:16:32Z")

</div>

I just found out about Stipple.jl. I “WAS” going to use Dash but happy to join in the fun… In Dash I set up the data like this function build\_dash() app = dash() app.layout = html\_div() do html\_h1("tonti…

---

## [Image Processing](https://discourse.julialang.org/t/image-processing/83685)

<div class="topic-metadata">

**Author:** [@Kampuny11](https://discourse.julialang.org/u/Kampuny11)\
**Replies:** 2\
**Last updated:** [July 3, 2022, 2:19pm UTC](https://discourse.julialang.org/t/image-processing/83685 "2022-07-03T14:19:23Z")

</div>

Hi! I having the problem to view an 3D Image. Consider the image array as: Image\[:, :, 1\] = 0.0031054 0.00385944 0.00372917 0.000612832 0.0020886 0.000983508 0.000783196 0.000259077 …

---

## [Change Location of Label in Plots + The xtick axis are not showing fully](https://discourse.julialang.org/t/change-location-of-label-in-plots-the-xtick-axis-are-not-showing-fully/83689)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 1\
**Last updated:** [July 3, 2022, 2:13pm UTC](https://discourse.julialang.org/t/change-location-of-label-in-plots-the-xtick-axis-are-not-showing-fully/83689 "2022-07-03T14:13:06Z")

</div>

Hi all, I am plotting sine waves, but there are problems: xtick shows half the number of denominator, e.g. 5 \\pi / 4 (the 4 is barely seen) The label placement can it be moved above or at the bottom of the whole graph…

---

## [Plug flow with ModelingToolkit?](https://discourse.julialang.org/t/plug-flow-with-modelingtoolkit/82547)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 14\
**Last updated:** [July 3, 2022, 1:18pm UTC](https://discourse.julialang.org/t/plug-flow-with-modelingtoolkit/82547 "2022-07-03T13:18:32Z")

</div>

Hi, Let’s say I have the following system: A reactor with volume V and two ports (in & out) Two fluid reservoirs, say of oil and water (with different specific densities) A valve selecting which of the reservoirs is c…

---

## [Need a code urgently](https://discourse.julialang.org/t/need-a-code-urgently/83694)

<div class="topic-metadata">

**Author:** [@Jackfrost](https://discourse.julialang.org/u/Jackfrost)\
**Replies:** 1\
**Last updated:** [July 3, 2022, 11:42am UTC](https://discourse.julialang.org/t/need-a-code-urgently/83694 "2022-07-03T11:42:19Z")

</div>

Advection-diffusion equation for 2d rectangular body. With inlet pressure wave and outltet massflow wave at certain constant temperatures of 300k (inlet) and 800k (outlet). Need plots of temperature along the axis at ce…

---

## [Opinions about code performance](https://discourse.julialang.org/t/opinions-about-code-performance/83692)

<div class="topic-metadata">

**Author:** [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Replies:** 1\
**Last updated:** [July 3, 2022, 11:18am UTC](https://discourse.julialang.org/t/opinions-about-code-performance/83692 "2022-07-03T11:18:32Z")

</div>

I timed a single loop of my code with time, and got the following statistics. Could anyone please comment as to whether the performance is about normal or actually there are too many allocations which should be reduced …

---

## [What is the programmatic way to obtain the path to the base directory?](https://discourse.julialang.org/t/what-is-the-programmatic-way-to-obtain-the-path-to-the-base-directory/83687)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [July 3, 2022, 6:01am UTC](https://discourse.julialang.org/t/what-is-the-programmatic-way-to-obtain-the-path-to-the-base-directory/83687 "2022-07-03T06:01:54Z")

</div>

On v1.7, using a downloaded binary, joinpath(Sys.BINDIR, Base.DATAROOTDIR, "julia", "base") returns the path to the base directory. On v1.9, however, this has changed, and now julia\> joinpath(Sys.BINDIR, Base.DATAROOT…

---

## [\[ANN\] PkgOnlineHelp: Quickly browse package documentation web sites from the REPL](https://discourse.julialang.org/t/ann-pkgonlinehelp-quickly-browse-package-documentation-web-sites-from-the-repl/83675)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 0\
**Last updated:** [July 2, 2022, 11:17pm UTC](https://discourse.julialang.org/t/ann-pkgonlinehelp-quickly-browse-package-documentation-web-sites-from-the-repl/83675 "2022-07-02T23:17:15Z")

</div>

Description PkgOnlineHelp is a small package that enables browsing to package documentation sites or other web sites by entering just a few keystrokes at the REPL. It addresses the problem mentioned in this thread where…

---

## [Why doesn't this function compile](https://discourse.julialang.org/t/why-doesnt-this-function-compile/83665)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 4\
**Last updated:** [July 2, 2022, 9:20pm UTC](https://discourse.julialang.org/t/why-doesnt-this-function-compile/83665 "2022-07-02T21:20:05Z")

</div>

Can anyone tell me why this code doesn’t compile: function f1( x::T ) where {T} function f2( y::U ) where {U \<: AbstractVector{T}} return 0.0 end return f2 end

---

## [How to transit python code to julia](https://discourse.julialang.org/t/how-to-transit-python-code-to-julia/83583)

<div class="topic-metadata">

**Author:** [@ZiyiLiu](https://discourse.julialang.org/u/ZiyiLiu)\
**Replies:** 8\
**Last updated:** [July 2, 2022, 9:07pm UTC](https://discourse.julialang.org/t/how-to-transit-python-code-to-julia/83583 "2022-07-02T21:07:34Z")

</div>

Hi, I have python codes for generate 3D tissue of plant, and the value of each point decides the color of the point(sphere). The values are from odes of the plant system.(So the python code is complex) Do you know any …

---

## [Identical X , Y ticks](https://discourse.julialang.org/t/identical-x-y-ticks/83667)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.julialang.org/u/sai_matcha)\
**Replies:** 1\
**Last updated:** [July 2, 2022, 6:54pm UTC](https://discourse.julialang.org/t/identical-x-y-ticks/83667 "2022-07-02T18:54:31Z")

</div>

Hi I am using AlgebraOfGraphics for data visualisation. I have used below code to get xy scatter plot . plt\_idv = data(df) \* mapping(:DV\_ipred,:DV) draw(plt\_idv) fg1 = draw(plt\_idv,axis = (xticks = 0:1:6,yticks = 0:1:…

---

## [Unicode 15.0 (beta) and sorting/collation](https://discourse.julialang.org/t/unicode-15-0-beta-and-sorting-collation/83090)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [July 2, 2022, 3:22pm UTC](https://discourse.julialang.org/t/unicode-15-0-beta-and-sorting-collation/83090 "2022-07-02T15:22:48Z")

</div>

A. Unicode 15 is in beta, just as Julia 1.8-rc1 is catching up to 14.0 (few, if any, programming languages already support 14.0.0, Python 3.11.0b3 does, but unclear if backported to current Python). Julia could be first…

---

## [How to draw simulated data from a given turing model given specific parameters](https://discourse.julialang.org/t/how-to-draw-simulated-data-from-a-given-turing-model-given-specific-parameters/83413)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 3\
**Last updated:** [July 2, 2022, 3:04pm UTC](https://discourse.julialang.org/t/how-to-draw-simulated-data-from-a-given-turing-model-given-specific-parameters/83413 "2022-07-02T15:04:18Z")

</div>

I was wondering how I can simulate data given parameter values using a turing model? Any help would be great! ex. using Turing, Distributions @model function logistic\_regression(x, y, n, σ) intercept ~ Normal(0, σ)…

---

## [In-place svd?](https://discourse.julialang.org/t/in-place-svd/60567)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 16\
**Last updated:** [July 2, 2022, 1:19pm UTC](https://discourse.julialang.org/t/in-place-svd/60567 "2022-07-02T13:19:07Z")

</div>

I need to do SVD many many times, so I wanna have a in-place version of svd(). What I mean by “in-place” is like: svd!(U, S, V, A) which works out the svd of A and writes the output matrices into the pre-allocated U, S…

---

## [Saving and Loading Error BSON.jl](https://discourse.julialang.org/t/saving-and-loading-error-bson-jl/83555)

<div class="topic-metadata">

**Author:** [@ccccc](https://discourse.julialang.org/u/ccccc)\
**Replies:** 4\
**Last updated:** [July 2, 2022, 12:07pm UTC](https://discourse.julialang.org/t/saving-and-loading-error-bson-jl/83555 "2022-07-02T12:07:58Z")

</div>

I’m getting an error while saving / loading in BSON: res1\_node = DiffEqFlux.sciml\_train(loss, p, ADAM(0.01), cb=callback, maxiters = 500) using BSON: @save @save "res1\_node" res1\_node when I try to load: using BSON: …

---

## [Compat helpers failed](https://discourse.julialang.org/t/compat-helpers-failed/83655)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [July 2, 2022, 8:22am UTC](https://discourse.julialang.org/t/compat-helpers-failed/83655 "2022-07-02T08:22:57Z")

</div>

I get a lot of error messages that “compat helpers failed” lately. See for example: https://github.com/aenarete/KiteSimulators.jl/actions/runs/2599806644 {"message":"GitHub Actions is not permitted to create or approve…

---

## [LoadError: ArgumentError: Package PDMats does not have IterativeEigensolvers in its dependencies:](https://discourse.julialang.org/t/loaderror-argumenterror-package-pdmats-does-not-have-iterativeeigensolvers-in-its-dependencies/83608)

<div class="topic-metadata">

**Author:** [@Sanjaya\_J\_Shetty](https://discourse.julialang.org/u/Sanjaya_J_Shetty)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 10:53am UTC](https://discourse.julialang.org/t/loaderror-argumenterror-package-pdmats-does-not-have-iterativeeigensolvers-in-its-dependencies/83608 "2022-07-01T10:53:04Z")

</div>

Hey, I’m new to Julia. I’m trying to load PDMats in Julia. using PDMats and I get the following error: ERROR: LoadError: ArgumentError: Package PDMats does not have IterativeEigensolvers in its dependencies: - If you…

---

## [Error Plots package installation with 1.7.1 release of Julia](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 6\
**Last updated:** [July 2, 2022, 3:43am UTC](https://discourse.julialang.org/t/error-plots-package-installation-with-1-7-1-release-of-julia/75308 "2022-07-02T03:43:48Z")

</div>

I have installed 1.7.1 release of Julia, but I get the next error when I try to use Plots package Pkg.status() Status \`~/.julia/environments/v1.7/Project.toml\` \[7073ff75\] IJulia v1.23.2 \[91a5bcdd\] Plots v1.25.7 usi…

---

## [Is there any library similar to Typescript for Julia?](https://discourse.julialang.org/t/is-there-any-library-similar-to-typescript-for-julia/80160)

<div class="topic-metadata">

**Author:** [@anon29721930](https://discourse.julialang.org/u/anon29721930)\
**Replies:** 4\
**Last updated:** [July 2, 2022, 2:58am UTC](https://discourse.julialang.org/t/is-there-any-library-similar-to-typescript-for-julia/80160 "2022-07-02T02:58:15Z")

</div>

Is there any library similar to Typescript for Julia? example.ts let a: number = 1 ; console.log(a) // output: 1 example.jl # Assign the value 10 to the variable x julia\> x = 10 10 example.jl # Assign the value 10 to …

---

## [An easy way to access files/folders/directories with Julia in command line based on language: batch-script](https://discourse.julialang.org/t/an-easy-way-to-access-files-folders-directories-with-julia-in-command-line-based-on-language-batch-script/79873)

<div class="topic-metadata">

**Author:** [@anon29721930](https://discourse.julialang.org/u/anon29721930)\
**Replies:** 14\
**Last updated:** [July 2, 2022, 2:57am UTC](https://discourse.julialang.org/t/an-easy-way-to-access-files-folders-directories-with-julia-in-command-line-based-on-language-batch-script/79873 "2022-07-02T02:57:13Z")

</div>

Hi all! Community Julia! user stories I would like as a user to list files, folders, directories like I would in shell script or bat-script in the Julia programming language, because it would be an easy way I would lik…

---

## [Indexed assignment with logical indices: subarray.jl error](https://discourse.julialang.org/t/indexed-assignment-with-logical-indices-subarray-jl-error/83646)

<div class="topic-metadata">

**Author:** [@bast](https://discourse.julialang.org/u/bast)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 10:24pm UTC](https://discourse.julialang.org/t/indexed-assignment-with-logical-indices-subarray-jl-error/83646 "2022-07-01T22:24:02Z")

</div>

Hi, I have run into an error that I do not quite understand: I have a BitArray whose entries I want to change based on another array A = BitArray(rand(0:1, 3,3)) pos = randn(3,3) A\[pos .\< 0\] .= 0 This yields the err…

---

## [Improving the Julia issue tracker](https://discourse.julialang.org/t/improving-the-julia-issue-tracker/83365)

<div class="topic-metadata">

**Author:** [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Replies:** 14\
**Last updated:** [July 1, 2022, 9:54pm UTC](https://discourse.julialang.org/t/improving-the-julia-issue-tracker/83365 "2022-07-01T21:54:21Z")

</div>

Hello! This post has (in part) come to be due to a general feeling of the issue tracker for julia being a little hard to work with as a non-core developer or absolute beginner, wishing to contribute. The goal of this po…

---

## [Any working way to call Python from Julia compiled app?](https://discourse.julialang.org/t/any-working-way-to-call-python-from-julia-compiled-app/79423)

<div class="topic-metadata">

**Author:** [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Replies:** 13\
**Last updated:** [July 1, 2022, 9:36pm UTC](https://discourse.julialang.org/t/any-working-way-to-call-python-from-julia-compiled-app/79423 "2022-07-01T21:36:17Z")

</div>

I tried to compile a relocatable app with PackageCompiler.create\_app and call Python from it. With PyCall.jl - there is a problem that compiled binary has an absolute path to python library on dev machine (on my Window…

---

## [How to save recursive functions in julia](https://discourse.julialang.org/t/how-to-save-recursive-functions-in-julia/83644)

<div class="topic-metadata">

**Author:** [@ArjunSingh26](https://discourse.julialang.org/u/ArjunSingh26)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 9:31pm UTC](https://discourse.julialang.org/t/how-to-save-recursive-functions-in-julia/83644 "2022-07-01T21:31:22Z")

</div>

Hi everyone, This summer, I’m doing some research involving mathematical particle simulations. Part of my work revolves around a “shape function”, which for the purposes of this post, is simply a function that takes an …

---

## [ERROR: UndefVarError: write\_parquet not defined](https://discourse.julialang.org/t/error-undefvarerror-write-parquet-not-defined/83642)

<div class="topic-metadata">

**Author:** [@vargasje](https://discourse.julialang.org/u/vargasje)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 8:29pm UTC](https://discourse.julialang.org/t/error-undefvarerror-write-parquet-not-defined/83642 "2022-07-01T20:29:25Z")

</div>

OS = Ubuntu 22.04 LTS Julia Version = 1.7.3 Pkg.add(“ParquetFiles”) ; using ParquetFiles Pkg.add(“IndexedTables”) ; using IndexedTables Pkg.add(“TimeSeries”) ; using TimeSeries Pkg.add(“Temporal”); using Temporal P…

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

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