# Latest

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

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

**Page:** 1000

---

## [How to change window size of InspectDR](https://discourse.julialang.org/t/how-to-change-window-size-of-inspectdr/82268)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 9\
**Last updated:** [June 25, 2022, 4:48pm UTC](https://discourse.julialang.org/t/how-to-change-window-size-of-inspectdr/82268 "2022-06-25T16:48:48Z")

</div>

I am not able to change the size of the plot window. Example code: using Plots; inspectdr() x=0:0.05:100 y1=sin.(x) p1 = plot(x,y1, size=(1200,700), legend=false) display(p1); The size is always small, about 640x480.…

---

## [Parquet on M1](https://discourse.julialang.org/t/parquet-on-m1/83323)

<div class="topic-metadata">

**Author:** [@JackStrauss](https://discourse.julialang.org/u/JackStrauss)\
**Replies:** 11\
**Last updated:** [June 25, 2022, 1:52pm UTC](https://discourse.julialang.org/t/parquet-on-m1/83323 "2022-06-25T13:52:47Z")

</div>

Hello Everybody Parquet files are great, and we happily read and write them in Julia on Linux. But not on a Mac M1, there are 2 competing libraries, Expanding Man / Parquet2.jl · GitLab and GitHub - JuliaIO/Parquet.jl:…

---

## [(Flux) certain arbitrary model sizes and random seeds make gradients exactly zero](https://discourse.julialang.org/t/flux-certain-arbitrary-model-sizes-and-random-seeds-make-gradients-exactly-zero/83277)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 3\
**Last updated:** [June 25, 2022, 1:25pm UTC](https://discourse.julialang.org/t/flux-certain-arbitrary-model-sizes-and-random-seeds-make-gradients-exactly-zero/83277 "2022-06-25T13:25:59Z")

</div>

I’m building a small neural network to predict a one-dimensional output from 5 input features. Simplified reproducing example: function build\_model(mid\_layer\_size, seed) Random.seed!(seed) return Chain( …

---

## [How to get forward and backward error using LinearAlgebra package](https://discourse.julialang.org/t/how-to-get-forward-and-backward-error-using-linearalgebra-package/83327)

<div class="topic-metadata">

**Author:** [@hemraj4545](https://discourse.julialang.org/u/hemraj4545)\
**Replies:** 1\
**Last updated:** [June 25, 2022, 1:20pm UTC](https://discourse.julialang.org/t/how-to-get-forward-and-backward-error-using-linearalgebra-package/83327 "2022-06-25T13:20:44Z")

</div>

I am using LU Factorization to solve equations, but I want forward and backward error, relative forward and backward error. I thought of using LinearAlgebra for this, and found LinearAlgebra.LAPACK.trrfs!() function can …

---

## [Print DataFrame the same way pandas print](https://discourse.julialang.org/t/print-dataframe-the-same-way-pandas-print/83311)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 7\
**Last updated:** [June 25, 2022, 12:10pm UTC](https://discourse.julialang.org/t/print-dataframe-the-same-way-pandas-print/83311 "2022-06-25T12:10:16Z")

</div>

Hi, Is there a way to print a Julia DataFrame the same way pandas dataframe prints? ( i.e. the 5 first and last rows and first/last columns) Thank you Regards.

---

## [Streaming julia terminal output (stdout stderr) to http server](https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 1\
**Last updated:** [June 25, 2022, 11:46am UTC](https://discourse.julialang.org/t/streaming-julia-terminal-output-stdout-stderr-to-http-server/83293 "2022-06-25T11:46:29Z")

</div>

I have a Julia monitoring script (an infinite loop) which is gathering data from several sources and writing it to different MariaDB databases. I would now like to run this as a service. Is there a simple why that I can…

---

## [Simultaneous training of multiple neural networks with Lux](https://discourse.julialang.org/t/simultaneous-training-of-multiple-neural-networks-with-lux/83255)

<div class="topic-metadata">

**Author:** [@bkuwahara](https://discourse.julialang.org/u/bkuwahara)\
**Replies:** 5\
**Last updated:** [June 25, 2022, 7:51am UTC](https://discourse.julialang.org/t/simultaneous-training-of-multiple-neural-networks-with-lux/83255 "2022-06-25T07:51:35Z")

</div>

Suppose I’m trying to train a neural ODE composed of two distinct neural networks, for instance because I want to preserve information about which model states influence which other states. This worked easily with the o…

---

## [FFTW MKL sub dimensional FFT create plan failed](https://discourse.julialang.org/t/fftw-mkl-sub-dimensional-fft-create-plan-failed/81086)

<div class="topic-metadata">

**Author:** [@Lightup1](https://discourse.julialang.org/u/Lightup1)\
**Replies:** 3\
**Last updated:** [June 25, 2022, 7:23am UTC](https://discourse.julialang.org/t/fftw-mkl-sub-dimensional-fft-create-plan-failed/81086 "2022-06-25T07:23:31Z")

</div>

MKL provider failed for plan sub dimension FFT. test=Array{ComplexF64}(undef, \[\[4,4\];\[4,4\]\]...); p1=plan\_fft(test,\[3,4\]) result1=fft(reshape(\[1:4^4;\],4,4,4,4)) result2=p1\*reshape(\[1:4^4;\],4,4,4,4) result1==result2 #fals…

---

## [Libgit2 ERROR: AssertionError: name == "helper"](https://discourse.julialang.org/t/libgit2-error-assertionerror-name-helper/82783)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [June 25, 2022, 4:02am UTC](https://discourse.julialang.org/t/libgit2-error-assertionerror-name-helper/82783 "2022-06-25T04:02:29Z")

</div>

Cloning a repo when instantiating generated the above error. Any idea what to do? (ACol) pkg\> add https://github.com/PetrKryslUCSD/HelmBEM.jl.git Cloning git-repo \`https://github.com/PetrKryslUCSD/HelmBEM.jl.git\` E…

---

## [Help with plotting using record in Makie.jl](https://discourse.julialang.org/t/help-with-plotting-using-record-in-makie-jl/83283)

<div class="topic-metadata">

**Author:** [@Adi\_Rai](https://discourse.julialang.org/u/Adi_Rai)\
**Replies:** 4\
**Last updated:** [June 25, 2022, 3:32am UTC](https://discourse.julialang.org/t/help-with-plotting-using-record-in-makie-jl/83283 "2022-06-25T03:32:35Z")

</div>

Hello everyone, I was trying to create an animation using the record function in Makie.jl. I am able to successfully create a recording (a mp4 file). However the image that I am plotting in the animation doesnt seem to…

---

## [Showing Image in Juno image pane in real time](https://discourse.julialang.org/t/showing-image-in-juno-image-pane-in-real-time/83031)

<div class="topic-metadata">

**Author:** [@NatMath](https://discourse.julialang.org/u/NatMath)\
**Replies:** 5\
**Last updated:** [June 25, 2022, 1:50am UTC](https://discourse.julialang.org/t/showing-image-in-juno-image-pane-in-real-time/83031 "2022-06-25T01:50:38Z")

</div>

I am working on a toy raytracer program and I would like to be able to show partial renders while the image is being rendered, ie. showing the current state of the image every n iteration of the main loop. However, I am …

---

## [Variance-Covariance matrix with missing data](https://discourse.julialang.org/t/variance-covariance-matrix-with-missing-data/83312)

<div class="topic-metadata">

**Author:** [@Baba\_Yara\_Fahiz](https://discourse.julialang.org/u/Baba_Yara_Fahiz)\
**Replies:** 5\
**Last updated:** [June 25, 2022, 12:17am UTC](https://discourse.julialang.org/t/variance-covariance-matrix-with-missing-data/83312 "2022-06-25T00:17:39Z")

</div>

I am working with financial data where I have 600 matrices that are all 61 by 25000. I am computing the variance-covariance matrix but running into performance issues because of missing data. The way I am handling the …

---

## [Loss function with symbolic selection of variable parameters](https://discourse.julialang.org/t/loss-function-with-symbolic-selection-of-variable-parameters/64289)

<div class="topic-metadata">

**Author:** [@lamorton](https://discourse.julialang.org/u/lamorton)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 11:26pm UTC](https://discourse.julialang.org/t/loss-function-with-symbolic-selection-of-variable-parameters/64289 "2022-06-24T23:26:57Z")

</div>

I’m trying to create a loss function with a reduced set of adjustable parameters. I’m using LabelledArrays to keep track of the parameters using symbolic names. What I’d like is to be able to say “hold this set of parame…

---

## [Generic functions with irrationals that work with Symbolics / ModelingToolkit](https://discourse.julialang.org/t/generic-functions-with-irrationals-that-work-with-symbolics-modelingtoolkit/83205)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 4\
**Last updated:** [June 24, 2022, 9:12pm UTC](https://discourse.julialang.org/t/generic-functions-with-irrationals-that-work-with-symbolics-modelingtoolkit/83205 "2022-06-24T21:12:32Z")

</div>

I have some functions that basically evaluate polynomials with coefficients given by enormous expressions. I want to support multiple precisions — like Float64 and Double64 — but also symbolic operations. And some of t…

---

## [How to protect a task from being blocked by other background tasks?](https://discourse.julialang.org/t/how-to-protect-a-task-from-being-blocked-by-other-background-tasks/83321)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 3\
**Last updated:** [June 24, 2022, 8:34pm UTC](https://discourse.julialang.org/t/how-to-protect-a-task-from-being-blocked-by-other-background-tasks/83321 "2022-06-24T20:34:14Z")

</div>

I have a local service that uses HTTP.jl to handle simple API requests running on the main task and then a background task (started with Threads.@spawn) that periodically loads data from a SQL database, does heavy comput…

---

## [Multi-dimensional array of tuples](https://discourse.julialang.org/t/multi-dimensional-array-of-tuples/83288)

<div class="topic-metadata">

**Author:** [@pqdmac](https://discourse.julialang.org/u/pqdmac)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 7:26pm UTC](https://discourse.julialang.org/t/multi-dimensional-array-of-tuples/83288 "2022-06-24T19:26:30Z")

</div>

I am working in an combinatorial optimization problem (multiple vehicle routing with profits) where I have a binary variable x\[i,j,p\] representing an edge (i,j) traversed by a vehicle p. I would like to get a p-dimens…

---

## [Re-starting NYC Julia Meetup?](https://discourse.julialang.org/t/re-starting-nyc-julia-meetup/80234)

<div class="topic-metadata">

**Author:** [@anthonymobile](https://discourse.julialang.org/u/anthonymobile)\
**Replies:** 9\
**Last updated:** [June 24, 2022, 6:18pm UTC](https://discourse.julialang.org/t/re-starting-nyc-julia-meetup/80234 "2022-06-24T18:18:10Z")

</div>

I’d be willing to host this at Cornell Tech if organizers are interested in a post-pandemic reboot.

---

## [""" changed to \`\`\` in installed package preventing documentation build](https://discourse.julialang.org/t/changed-to-in-installed-package-preventing-documentation-build/83317)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 1\
**Last updated:** [June 24, 2022, 6:15pm UTC](https://discourse.julialang.org/t/changed-to-in-installed-package-preventing-documentation-build/83317 "2022-06-24T18:15:50Z")

</div>

In my repo, documentation strings are wrapped in tripple double-quotes: julia make.jl Activating project at \`c:\\Users\\Mark Nahabedian\\NahaJuliaLib.jl\\docs\` ERROR: LoadError: parsing command \` propertynames\_from\_v…

---

## [Artifacts help](https://discourse.julialang.org/t/artifacts-help/83249)

<div class="topic-metadata">

**Author:** [@DanDeepPhase](https://discourse.julialang.org/u/DanDeepPhase)\
**Replies:** 5\
**Last updated:** [June 24, 2022, 6:09pm UTC](https://discourse.julialang.org/t/artifacts-help/83249 "2022-06-24T18:09:42Z")

</div>

I’m struggling with Artifacts. Any help would be appreciated. I implemented Pkg.Artifacts, but got a deprecation warning saying the stdlib Artifacts is preferred. I had followed Julia Artifacts for Dummies. A clever…

---

## [Opacity in violinplot with AlgebraOfGraphics](https://discourse.julialang.org/t/opacity-in-violinplot-with-algebraofgraphics/83254)

<div class="topic-metadata">

**Author:** [@lauswullum](https://discourse.julialang.org/u/lauswullum)\
**Replies:** 2\
**Last updated:** [June 24, 2022, 5:06pm UTC](https://discourse.julialang.org/t/opacity-in-violinplot-with-algebraofgraphics/83254 "2022-06-24T17:06:36Z")

</div>

Hi, I want to combine box plots and violin plots in Algebra of Graphics. But I cannot set an alpha value in the visual function, when using a violin plot. MWE: using CairoMakie using AlgebraOfGraphics using DataFrames …

---

## [Should we control/optimize communications in Julia?](https://discourse.julialang.org/t/should-we-control-optimize-communications-in-julia/83231)

<div class="topic-metadata">

**Author:** [@EdTi](https://discourse.julialang.org/u/EdTi)\
**Replies:** 6\
**Last updated:** [June 24, 2022, 4:34pm UTC](https://discourse.julialang.org/t/should-we-control-optimize-communications-in-julia/83231 "2022-06-24T16:34:01Z")

</div>

Hi everyone, This is an edit of a previous question, as I sense that I wasn’t clear enough. I’m taking examples from the distributed computing documentation version 1.7.3 : Multi-processing and Distributed Computing · T…

---

## [Question on BilevelJuMP model concise formulation](https://discourse.julialang.org/t/question-on-bileveljump-model-concise-formulation/82988)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 5\
**Last updated:** [June 24, 2022, 3:46pm UTC](https://discourse.julialang.org/t/question-on-bileveljump-model-concise-formulation/82988 "2022-06-24T15:46:12Z")

</div>

I am trying to break a BilevelJuMP model into smaller functions (similar to what is recommended for a JuMP model when working with complex problems). My question is whether the models written below are all interpreted as…

---

## [Efficient way to split string at specific index](https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 19\
**Last updated:** [June 24, 2022, 3:02pm UTC](https://discourse.julialang.org/t/efficient-way-to-split-string-at-specific-index/83115 "2022-06-24T15:02:57Z")

</div>

I’m currently trying to parse a file whose data lines are composed of 8 character columns without delimiter. Such as \<.. 1..\>\<.. 2..\>\<.. 3..\>\<.. 4..\>\<.. 5..\>\<.. 6..\>\<.. 7..\>\<.. 8..\>\<.. 9..\>\<..10..\> 111111112222222233333…

---

## [What does passing a vector as \`dims\` to \`Statistics.std\` mean?](https://discourse.julialang.org/t/what-does-passing-a-vector-as-dims-to-statistics-std-mean/83295)

<div class="topic-metadata">

**Author:** [@Saransh-cpp](https://discourse.julialang.org/u/Saransh-cpp)\
**Replies:** 3\
**Last updated:** [June 24, 2022, 1:17pm UTC](https://discourse.julialang.org/t/what-does-passing-a-vector-as-dims-to-statistics-std-mean/83295 "2022-06-24T13:17:16Z")

</div>

I have been trying to use the std function on a batch of images. For instance, this is a batch of 2 images having 3 channels each - xs = rand(3, 3, 3, 2) I want to find the standard deviation of the first image which c…

---

## [What's the kernel used in Geom.density for kernel density estimate in Gadfly?](https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275)

<div class="topic-metadata">

**Author:** [@guixien](https://discourse.julialang.org/u/guixien)\
**Replies:** 1\
**Last updated:** [June 24, 2022, 1:15pm UTC](https://discourse.julialang.org/t/whats-the-kernel-used-in-geom-density-for-kernel-density-estimate-in-gadfly/83275 "2022-06-24T13:15:44Z")

</div>

I am not seeing this anywhere in the documentation. Is it simply the Gaussian kernel?

---

## [Problem with DataInspector](https://discourse.julialang.org/t/problem-with-datainspector/82958)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 4\
**Last updated:** [June 24, 2022, 12:04pm UTC](https://discourse.julialang.org/t/problem-with-datainspector/82958 "2022-06-24T12:04:03Z")

</div>

DataInspector no longer works for me after the recent Makie update: heatmap(rand(100,100)) DataInspector() gives ERROR: type Array has no field extents Stacktrace: \[1\] getproperty @ .\\Base.jl:42 \[inlined\] \[2\] Bbo…

---

## [Autocomplete DataFrame columns not working in VS Code](https://discourse.julialang.org/t/autocomplete-dataframe-columns-not-working-in-vs-code/45449)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 6\
**Last updated:** [June 24, 2022, 11:40am UTC](https://discourse.julialang.org/t/autocomplete-dataframe-columns-not-working-in-vs-code/45449 "2022-06-24T11:40:51Z")

</div>

Hi there, first I want to thank all people involved in the Julia extension for VS Code, you made a wonderful job. Now I have a little issue that is annoying when doing data science: the column names of a DataFrame are n…

---

## [Parsing Float64 as Float64](https://discourse.julialang.org/t/parsing-float64-as-float64/83301)

<div class="topic-metadata">

**Author:** [@ccookeopen](https://discourse.julialang.org/u/ccookeopen)\
**Replies:** 3\
**Last updated:** [June 24, 2022, 11:59am UTC](https://discourse.julialang.org/t/parsing-float64-as-float64/83301 "2022-06-24T11:59:13Z")

</div>

Hi, Reading data from various excel files, sometimes it is correctly formatted as a Float, sometimes it is interpreted as a string. If I account for the second case, I must use parse(Float64, input). Using this code in…

---

## [IO Error: could not spawn](https://discourse.julialang.org/t/io-error-could-not-spawn/83306)

<div class="topic-metadata">

**Author:** [@fsmith001](https://discourse.julialang.org/u/fsmith001)\
**Replies:** 0\
**Last updated:** [June 24, 2022, 11:52am UTC](https://discourse.julialang.org/t/io-error-could-not-spawn/83306 "2022-06-24T11:52:44Z")

</div>

I am working on running a test suite and when I run it, all the tests pass, but then there is an error: “IO Error: could not spawn -n 4 /Applications/Julia-1.7.app/Contents/Resources/julia/bin/julia …” and this goes on w…

---

## [Advice on optimizing large SDP model generation with JuMP + ComplexOptInterface](https://discourse.julialang.org/t/advice-on-optimizing-large-sdp-model-generation-with-jump-complexoptinterface/82629)

<div class="topic-metadata">

**Author:** [@cgois](https://discourse.julialang.org/u/cgois)\
**Replies:** 6\
**Last updated:** [June 24, 2022, 11:03am UTC](https://discourse.julialang.org/t/advice-on-optimizing-large-sdp-model-generation-with-jump-complexoptinterface/82629 "2022-06-24T11:03:18Z")

</div>

I am implementing a somewhat large SDP with complex-valued variables in JuMP, using ComplexOptInterface. For small test cases, it seems to work, but my real interest is in larger instances (specifically, when sn \> 1 and n…

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

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