# Latest

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

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

**Page:** 1582

---

## [CImGui and special characters (unicode)](https://discourse.julialang.org/t/cimgui-and-special-characters-unicode/49476)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 10\
**Last updated:** [November 5, 2020, 7:01pm UTC](https://discourse.julialang.org/t/cimgui-and-special-characters-unicode/49476 "2020-11-05T19:01:28Z")

</div>

I try to display some unicode characters in CImGui, but I am failing. This is the simple code mainly from the demo.jl: using GLFW using ModernGL using CSyntax using CSyntax.CStatic using CImGui using CImGui.GLFWBacken…

---

## [IOError: could not spawn \<...\>: argument list too long](https://discourse.julialang.org/t/ioerror-could-not-spawn-argument-list-too-long/43728)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 23\
**Last updated:** [November 5, 2020, 7:42pm UTC](https://discourse.julialang.org/t/ioerror-could-not-spawn-argument-list-too-long/43728 "2020-11-05T19:42:49Z")

</div>

I have a script that looks like this: Threads.@threads for x in ... ... out = Pipe() err = Pipe() cmd = Cmd(\`\<executable\_file\>\`, ignorestatus=true, dir=tmp\_dir) process = run(pipeline(cmd, stdin=join…

---

## [CImGui Greek Characters](https://discourse.julialang.org/t/cimgui-greek-characters/28918)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 6\
**Last updated:** [November 5, 2020, 7:10pm UTC](https://discourse.julialang.org/t/cimgui-greek-characters/28918 "2020-11-05T19:10:50Z")

</div>

Is possible to add some greek characters into CImGui text windows? I tried on demo example and I figured out that all the ttf files in fonts directory of CImGui packages are out of every language except latin chars, so …

---

## [Optimizing over real matrices with eigenvalues in $(0,1)$](https://discourse.julialang.org/t/optimizing-over-real-matrices-with-eigenvalues-in-0-1/49630)

<div class="topic-metadata">

**Author:** [@marcus](https://discourse.julialang.org/u/marcus)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 5:35pm UTC](https://discourse.julialang.org/t/optimizing-over-real-matrices-with-eigenvalues-in-0-1/49630 "2020-11-05T17:35:58Z")

</div>

I’m trying to optimize a function with respect to a real matrix M with all eigenvalues real and lying in the open interval (0,1). I know that for a real symmetric positive-definite matrix S, we can use the Cholesky fact…

---

## [Worse performance of LU-decomposition for Float32 than for Float64](https://discourse.julialang.org/t/worse-performance-of-lu-decomposition-for-float32-than-for-float64/49631)

<div class="topic-metadata">

**Author:** [@DavidBerghaus](https://discourse.julialang.org/u/DavidBerghaus)\
**Replies:** 7\
**Last updated:** [November 5, 2020, 5:26pm UTC](https://discourse.julialang.org/t/worse-performance-of-lu-decomposition-for-float32-than-for-float64/49631 "2020-11-05T17:26:05Z")

</div>

For some applications one might gain performance by using 32-bit arithmetic on a 64-bit system because this could improve memory-bandwidth as well as (possible) SIMD operations. I noticed however that some functions see…

---

## [Threads.@threads gives unexpected results](https://discourse.julialang.org/t/threads-threads-gives-unexpected-results/49628)

<div class="topic-metadata">

**Author:** [@O\_Julia](https://discourse.julialang.org/u/O_Julia)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 4:20pm UTC](https://discourse.julialang.org/t/threads-threads-gives-unexpected-results/49628 "2020-11-05T16:20:47Z")

</div>

Hi, I am trying to optimize a simple function. I have written both devectorized and vectorized version codes for the function to see which one is faster. Here are the codes: Vectorized: function funvec(m::Int64,data::A…

---

## [Importing a binary file to a struct](https://discourse.julialang.org/t/importing-a-binary-file-to-a-struct/49629)

<div class="topic-metadata">

**Author:** [@DTL](https://discourse.julialang.org/u/DTL)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 4:15pm UTC](https://discourse.julialang.org/t/importing-a-binary-file-to-a-struct/49629 "2020-11-05T16:15:29Z")

</div>

Hi, I’m trying to port over some C++ & IDL code to Julia, the code basically opens up a binary file which has a 512 byte header described by a c++ struct. The reaminder of the file is a stack of 8-bit greyscale images, …

---

## [Updating a variable every time step using NeuralPDE.jl and Physics-Informed NN](https://discourse.julialang.org/t/updating-a-variable-every-time-step-using-neuralpde-jl-and-physics-informed-nn/49621)

<div class="topic-metadata">

**Author:** [@Fathya.Salih](https://discourse.julialang.org/u/Fathya.Salih)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 3:26pm UTC](https://discourse.julialang.org/t/updating-a-variable-every-time-step-using-neuralpde-jl-and-physics-informed-nn/49621 "2020-11-05T15:26:39Z")

</div>

Hey all, I am trying to solve a finite volume problem with PINN and I am having trouble defining one of the boundary conditions. I have a variable that depends on the value of the function and I want to assign values t…

---

## [Heatmap with NaNs in GR or GRUtils](https://discourse.julialang.org/t/heatmap-with-nans-in-gr-or-grutils/49584)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 2:52pm UTC](https://discourse.julialang.org/t/heatmap-with-nans-in-gr-or-grutils/49584 "2020-11-05T14:52:49Z")

</div>

Hi again, I apologize for the proliferation of questions about plotting you may have seen from me here. I would like to plot a GR or GRUtils heatmap that omits plotting in certain regions. For example julia\> using GR …

---

## [Why does 2^100 give 0?](https://discourse.julialang.org/t/why-does-2-100-give-0/49607)

<div class="topic-metadata">

**Author:** [@Ayush\_Rawat](https://discourse.julialang.org/u/Ayush_Rawat)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 2:34pm UTC](https://discourse.julialang.org/t/why-does-2-100-give-0/49607 "2020-11-05T14:34:00Z")

</div>

As the title says, if I input a large enough computation into the REPL, it outputs 0, no matter whether I store the value or not. I understand that as I’m on a 64-bit system, my default type for integers is Int64. So, w…

---

## [How is equality of anonymous function closures checked?](https://discourse.julialang.org/t/how-is-equality-of-anonymous-function-closures-checked/49397)

<div class="topic-metadata">

**Author:** [@mahrud](https://discourse.julialang.org/u/mahrud)\
**Replies:** 14\
**Last updated:** [November 5, 2020, 2:13pm UTC](https://discourse.julialang.org/t/how-is-equality-of-anonymous-function-closures-checked/49397 "2020-11-05T14:13:08Z")

</div>

I was wondering how equality of functions works in Julia, and eventually stumbled on this example, which I can’t quite explain: julia\> f = x -\> y -\> x + y #1 (generic function with 1 method) julia\> g = f(1); h = f(1); …

---

## [Broadcast with \>3 parameters 30x slower](https://discourse.julialang.org/t/broadcast-with-3-parameters-30x-slower/49614)

<div class="topic-metadata">

**Author:** [@Yamen](https://discourse.julialang.org/u/Yamen)\
**Replies:** 6\
**Last updated:** [November 5, 2020, 12:38pm UTC](https://discourse.julialang.org/t/broadcast-with-3-parameters-30x-slower/49614 "2020-11-05T12:38:09Z")

</div>

Trying to understand this behaviour, once we go to 4+ entries it slows down dramatically. Understand I may need to add the specialisations for 4+ myself, but not sure where to start… a = rand(Bool, 100\_000) b = rand(Boo…

---

## [Compute significance of Pearson Correlation Coefficient](https://discourse.julialang.org/t/compute-significance-of-pearson-correlation-coefficient/49589)

<div class="topic-metadata">

**Author:** [@jo-fleck](https://discourse.julialang.org/u/jo-fleck)\
**Replies:** 2\
**Last updated:** [November 5, 2020, 12:36pm UTC](https://discourse.julialang.org/t/compute-significance-of-pearson-correlation-coefficient/49589 "2020-11-05T12:36:22Z")

</div>

Is there an option to compute the significance level (p-value) of the Pearson correlation coefficient using Statistics.cor ? This question was already asked before (here) but I couldn’t find more recent info on it. Is…

---

## [Solving a linear system of equalities and inequalities](https://discourse.julialang.org/t/solving-a-linear-system-of-equalities-and-inequalities/49579)

<div class="topic-metadata">

**Author:** [@Huy\_Nguyen](https://discourse.julialang.org/u/Huy_Nguyen)\
**Replies:** 18\
**Last updated:** [November 5, 2020, 12:01pm UTC](https://discourse.julialang.org/t/solving-a-linear-system-of-equalities-and-inequalities/49579 "2020-11-05T12:01:33Z")

</div>

I have a mixed system of equalities and inequalities, for example: x + 2y +3z = 10 2x + 4y + 10z = 20 4x + y + z \< 10 where unknown variables x, y, z are all real-valued. How can get a solution (or the range of all …

---

## [How to write copying & pasting code macro like \`include\`?](https://discourse.julialang.org/t/how-to-write-copying-pasting-code-macro-like-include/49565)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 3\
**Last updated:** [November 5, 2020, 11:18am UTC](https://discourse.julialang.org/t/how-to-write-copying-pasting-code-macro-like-include/49565 "2020-11-05T11:18:07Z")

</div>

I want to copy & paste some code from other files. I know there is include but I think it is to include them to module’s global scope. I uses PyCall, and to implement Pythonic class, I need to write definitions of classe…

---

## [Inverse of a triangular matrix](https://discourse.julialang.org/t/inverse-of-a-triangular-matrix/49620)

<div class="topic-metadata">

**Author:** [@stla](https://discourse.julialang.org/u/stla)\
**Replies:** 2\
**Last updated:** [November 5, 2020, 11:11am UTC](https://discourse.julialang.org/t/inverse-of-a-triangular-matrix/49620 "2020-11-05T11:11:46Z")

</div>

Hello, Is there an optimized way to inverse a triangular matrix? I searched with Google, no luck.

---

## [Problem with ylims in Plots](https://discourse.julialang.org/t/problem-with-ylims-in-plots/49542)

<div class="topic-metadata">

**Author:** [@Dictino](https://discourse.julialang.org/u/Dictino)\
**Replies:** 10\
**Last updated:** [November 5, 2020, 9:37am UTC](https://discourse.julialang.org/t/problem-with-ylims-in-plots/49542 "2020-11-05T09:37:41Z")

</div>

I have problems with the ylims option of plots, in particular when i want to crop very big values of the input vector MWE: julia\> versioninfo() Julia Version 1.5.0 Commit 96786e22cc (2020-08-01 23:44 UTC) Platform Info:…

---

## [Why does this constructor not work with 1 Int parameter?](https://discourse.julialang.org/t/why-does-this-constructor-not-work-with-1-int-parameter/49585)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 9:27am UTC](https://discourse.julialang.org/t/why-does-this-constructor-not-work-with-1-int-parameter/49585 "2020-11-05T09:27:42Z")

</div>

Hi all, I am new to Julia and am experimenting with trying to create compact code. I created the following types: module Types export Percentage struct Percentage \<: Real value::Float64 Percentage(x) = x \< 0 …

---

## [Navigating code VS Code](https://discourse.julialang.org/t/navigating-code-vs-code/49606)

<div class="topic-metadata">

**Author:** [@acycliq](https://discourse.julialang.org/u/acycliq)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 8:49am UTC](https://discourse.julialang.org/t/navigating-code-vs-code/49606 "2020-11-05T08:49:09Z")

</div>

I think in VSCode Ctrl+Click should open the function definition. That doesnt work in my case. It doesnt do anything, no blue underline, no nothing… Do you guys have any idea how to fix that please?

---

## [\[ANN\] DynamicallyLoadedEmbedding](https://discourse.julialang.org/t/ann-dynamicallyloadedembedding/49481)

<div class="topic-metadata">

**Author:** [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 8:12am UTC](https://discourse.julialang.org/t/ann-dynamicallyloadedembedding/49481 "2020-11-05T08:12:34Z")

</div>

DynamicallyLoadedEmbedding is a package which explains how to embed Julia in an application by dynamically loading libjulia at runtime with dlopen (Linux, Apple) or LoadLibrary (Windows). Compared to “traditional” embed…

---

## [FAQ: solve diffrerential equation?](https://discourse.julialang.org/t/faq-solve-diffrerential-equation/49593)

<div class="topic-metadata">

**Author:** [@ZhouZhuofei](https://discourse.julialang.org/u/ZhouZhuofei)\
**Replies:** 5\
**Last updated:** [November 5, 2020, 7:54am UTC](https://discourse.julialang.org/t/faq-solve-diffrerential-equation/49593 "2020-11-05T07:54:51Z")

</div>

I have a function here: \\frac{dx}{dt} = kx(N-x) - lx(1-\\alpha\\frac{x}{N}) + \\sigma k x \\xi(t) \\xi(t) is Random perturbation term, \\sigma is the variance of it, k,l,N, \\alpha is a const. using Plots using Differentia…

---

## [Piping DataFrame rows](https://discourse.julialang.org/t/piping-dataframe-rows/49576)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 7\
**Last updated:** [November 5, 2020, 5:06am UTC](https://discourse.julialang.org/t/piping-dataframe-rows/49576 "2020-11-05T05:06:18Z")

</div>

@pipe eachrow( my\_DataFrame ) .|\> \_ This gives an error: “Objects of type DataFrameRow{DataFrame, DataFrames.Index} are not callable” It would be very useful to Pipe the rows of a DataFrame. Is there a way to avoi…

---

## [ERROR: MethodError: no method matching PhysicsInformedNN(::Float64)](https://discourse.julialang.org/t/error-methoderror-no-method-matching-physicsinformednn-float64/49610)

<div class="topic-metadata">

**Author:** [@BaoBaoDeMeng](https://discourse.julialang.org/u/BaoBaoDeMeng)\
**Replies:** 1\
**Last updated:** [November 5, 2020, 4:37am UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-physicsinformednn-float64/49610 "2020-11-05T04:37:32Z")

</div>

using Flux, DiffEqFluxModeling,ToolkitDiffEqBase, Plots, NeuralPDETest Example 1, 1D ode 1D ODE eq = Dt(u(t,θ)) ~ t^3 + 2t + (t^2)((1+3\*(t^2))/(1+t+(t^3))) - u(t,θ)(t + ((1+3(t^2))/(1+t+t^3))) Boundary conditions bc…

---

## [CUDA.jl with missing data?](https://discourse.julialang.org/t/cuda-jl-with-missing-data/49563)

<div class="topic-metadata">

**Author:** [@zlewko](https://discourse.julialang.org/u/zlewko)\
**Replies:** 4\
**Last updated:** [November 5, 2020, 2:06am UTC](https://discourse.julialang.org/t/cuda-jl-with-missing-data/49563 "2020-11-05T02:06:54Z")

</div>

I’m trying to work with a dataset with missing data using the CUDA.jl. I’d like to skip the missing data in some statistics (mean, covariance etc). Is there any general solution to this that performs well on a GPU? I…

---

## [Linear solve in mixed precision koan](https://discourse.julialang.org/t/linear-solve-in-mixed-precision-koan/49594)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 4\
**Last updated:** [November 5, 2020, 12:50am UTC](https://discourse.julialang.org/t/linear-solve-in-mixed-precision-koan/49594 "2020-11-05T00:50:22Z")

</div>

I want to store a matrix in Float32 and do several solves with a Float64 right hand sides. In LINPACK, (and I think LAPACK) this just works. In Matlab (see below) it’s less clear. However in something bizarre happens wi…

---

## [Can anyone suggest some package to built using CUDA.jl?](https://discourse.julialang.org/t/can-anyone-suggest-some-package-to-built-using-cuda-jl/49569)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 2\
**Last updated:** [November 5, 2020, 12:02am UTC](https://discourse.julialang.org/t/can-anyone-suggest-some-package-to-built-using-cuda-jl/49569 "2020-11-05T00:02:36Z")

</div>

Hi, I am trying to learn CUDA with julia… Can any one suggest some packages that I can refer to learn CUDA with julia ? Manu

---

## [EXCEPTION\_ACCESS\_VIOLATION when using LinearAlgebra.jl](https://discourse.julialang.org/t/exception-access-violation-when-using-linearalgebra-jl/49608)

<div class="topic-metadata">

**Author:** [@JaredMcB](https://discourse.julialang.org/u/JaredMcB)\
**Replies:** 3\
**Last updated:** [November 4, 2020, 11:17pm UTC](https://discourse.julialang.org/t/exception-access-violation-when-using-linearalgebra-jl/49608 "2020-11-04T23:17:43Z")

</div>

I noticed this problem on my machine. I am thinking it is a installation issue and am wondering what else may be affected. Thanks in advance for any insight you might give in this matter. The problem is that julia crash…

---

## [\[ANN\] MinimallyDisruptiveCurves.jl : regional (in)sensitivity analysis by finding hidden relationships between model parameters](https://discourse.julialang.org/t/ann-minimallydisruptivecurves-jl-regional-in-sensitivity-analysis-by-finding-hidden-relationships-between-model-parameters/47873)

<div class="topic-metadata">

**Author:** [@Dhruva2](https://discourse.julialang.org/u/Dhruva2)\
**Replies:** 5\
**Last updated:** [November 4, 2020, 10:28pm UTC](https://discourse.julialang.org/t/ann-minimallydisruptivecurves-jl-regional-in-sensitivity-analysis-by-finding-hidden-relationships-between-model-parameters/47873 "2020-11-04T22:28:51Z")

</div>

Hi all! Made a new package for nonlocal sensitivity analysis, which extends this algorithm. A full user guide, with motivation, examples and jupyter notebooks is here: MinimallyDisruptiveCurves.jl: Documentation …

---

## [Rand(10^8) runs ok, (10^9)...crashes and auto-restart Julia](https://discourse.julialang.org/t/rand-10-8-runs-ok-10-9-crashes-and-auto-restart-julia/49598)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 9\
**Last updated:** [November 4, 2020, 9:57pm UTC](https://discourse.julialang.org/t/rand-10-8-runs-ok-10-9-crashes-and-auto-restart-julia/49598 "2020-11-04T21:57:34Z")

</div>

Running… rand(10^9) will lead my jupyter notebook session to crash and autorestart on my PC. Q : Is this a limit to be expected using Rand on a I3 - single thread - or are there workaround to push the rand() function…

---

## [Alternative way to install Jump](https://discourse.julialang.org/t/alternative-way-to-install-jump/49553)

<div class="topic-metadata">

**Author:** [@colt](https://discourse.julialang.org/u/colt)\
**Replies:** 7\
**Last updated:** [November 4, 2020, 8:57pm UTC](https://discourse.julialang.org/t/alternative-way-to-install-jump/49553 "2020-11-04T20:57:53Z")

</div>

Hello. I tried to install jump with: Pkg.add(“JuMP”) and received: WARNING: Pkg only works with git versions greater than v1.7.3 INFO: Initializing package repository /home/leopoldo/.julia/v0.3 INFO: Cloning META…

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

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