# Latest

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

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

**Page:** 1197

---

## [Error when using tag new release feature](https://discourse.julialang.org/t/error-when-using-tag-new-release-feature/72080)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 0\
**Last updated:** [November 25, 2021, 7:50pm UTC](https://discourse.julialang.org/t/error-when-using-tag-new-release-feature/72080 "2021-11-25T19:50:13Z")

</div>

I tried to use the tag new release feature in VSCode and got the error below. Not familiar with forking the registry, didn’t think this was necessary to tag a new release. ERROR: You need to have a fork of the registry …

---

## [Wrong path aggregation with \`include\` under vscode - terminal session is fine](https://discourse.julialang.org/t/wrong-path-aggregation-with-include-under-vscode-terminal-session-is-fine/71985)

<div class="topic-metadata">

**Author:** [@reumle](https://discourse.julialang.org/u/reumle)\
**Replies:** 4\
**Last updated:** [November 25, 2021, 6:55pm UTC](https://discourse.julialang.org/t/wrong-path-aggregation-with-include-under-vscode-terminal-session-is-fine/71985 "2021-11-25T18:55:07Z")

</div>

hi Path aggregation seems to have declared independence from my instructions. Here the problem (with vscode Repl) The bad behavior julia\> cd("C:\\\\proj\\\\Rprojs\\\\PS1908\\\\julia\\\\21T4\_vormdp") using Pkg Pkg.ac…

---

## [Deinterleave data](https://discourse.julialang.org/t/deinterleave-data/72013)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 12\
**Last updated:** [November 25, 2021, 1:26pm UTC](https://discourse.julialang.org/t/deinterleave-data/72013 "2021-11-25T13:26:37Z")

</div>

I am de-interleaving data that has been stored as a vector. I would like to store the data as a matrix. I have tried and performance tested 3 methods, and am looking for any comments on how to improve it. And example …

---

## [Issue in loading the model from a stored file](https://discourse.julialang.org/t/issue-in-loading-the-model-from-a-stored-file/72062)

<div class="topic-metadata">

**Author:** [@Dharmaraja\_Muthukris](https://discourse.julialang.org/u/Dharmaraja_Muthukris)\
**Replies:** 0\
**Last updated:** [November 25, 2021, 1:24pm UTC](https://discourse.julialang.org/t/issue-in-loading-the-model-from-a-stored-file/72062 "2021-11-25T13:24:31Z")

</div>

I saved a linear regression model as a .jdl file using JDL package. When I tried to retrieve and try predict with that model I get the following message. Please help me. ERROR: MethodError: no method matching predict(::…

---

## [Visualising Gridap result](https://discourse.julialang.org/t/visualising-gridap-result/71947)

<div class="topic-metadata">

**Author:** [@Aiswarya](https://discourse.julialang.org/u/Aiswarya)\
**Replies:** 1\
**Last updated:** [November 25, 2021, 3:09pm UTC](https://discourse.julialang.org/t/visualising-gridap-result/71947 "2021-11-25T15:09:42Z")

</div>

Is there any way to visualise the solution uh in this code https://gridap.github.io/Tutorials/dev/pages/t001\_poisson/ other than writinfg it as vtk file. plot is not working.

---

## [CuDynamicSharedArray error](https://discourse.julialang.org/t/cudynamicsharedarray-error/72063)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 1:58pm UTC](https://discourse.julialang.org/t/cudynamicsharedarray-error/72063 "2021-11-25T13:58:53Z")

</div>

Hello I am running extremely simple kernel as shown below and get and error pointing to CuDynamicSharedArray using CUDA ff = CUDA.zeros(3) function gggg(ff) shmemblockDataa = @cuDynamicSharedMem(Float32,(1,2)) r…

---

## [Issue with findfirst on a string](https://discourse.julialang.org/t/issue-with-findfirst-on-a-string/71903)

<div class="topic-metadata">

**Author:** [@rgriset](https://discourse.julialang.org/u/rgriset)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 1:27pm UTC](https://discourse.julialang.org/t/issue-with-findfirst-on-a-string/71903 "2021-11-25T13:27:17Z")

</div>

Hi, I’m trying to parse a parameter file with julia. I have lines of commentary that I would like not to process . I tried : lines = readlines(file) for line in lines line=split(line,"\\t") if sizeof(line)\>0 nom…

---

## [How to hide the types line when printing a data frame](https://discourse.julialang.org/t/how-to-hide-the-types-line-when-printing-a-data-frame/72046)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 6\
**Last updated:** [November 25, 2021, 12:57pm UTC](https://discourse.julialang.org/t/how-to-hide-the-types-line-when-printing-a-data-frame/72046 "2021-11-25T12:57:07Z")

</div>

When a dataframe is printed, I want to hide the line under the column-name that shows the column type. Basically what is shown how to do in How to hide the types line when pretty printing a data frame, but without going …

---

## [Flux.jl simple classification, add to Model Zoo?](https://discourse.julialang.org/t/flux-jl-simple-classification-add-to-model-zoo/71934)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [November 23, 2021, 10:38am UTC](https://discourse.julialang.org/t/flux-jl-simple-classification-add-to-model-zoo/71934 "2021-11-23T10:38:27Z")

</div>

I just got a simple classification example working with Flux.jl. I was originally looking for something like it, but did not find anything. I have tried to make comments along the way on the level I would have needed yes…

---

## [Rationale for adding singleton dim](https://discourse.julialang.org/t/rationale-for-adding-singleton-dim/72053)

<div class="topic-metadata">

**Author:** [@mottelet](https://discourse.julialang.org/u/mottelet)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 11:17am UTC](https://discourse.julialang.org/t/rationale-for-adding-singleton-dim/72053 "2021-11-25T11:17:16Z")

</div>

Hi. What is the rationale for adding a singleton dimension in the following commands: julia\> A=rand(3,3);A\[:,\[2 1 3\]\] 3×1×3 Array{Float64, 3}: \[:, :, 1\] = 0.7056166212562252 0.6016873438276988 0.8375543887468311 \[:…

---

## [Issues installing symbolics.jl](https://discourse.julialang.org/t/issues-installing-symbolics-jl/72052)

<div class="topic-metadata">

**Author:** [@luangamornlertp](https://discourse.julialang.org/u/luangamornlertp)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 10:54am UTC](https://discourse.julialang.org/t/issues-installing-symbolics-jl/72052 "2021-11-25T10:54:26Z")

</div>

I’ve been setting up Julia to learn via QuantEcon and one of the packages they recommend me to install is symbolics.jl. However, I’ve been getting the following error: (@v1.6) pkg\> add Symbolics Resolving package ver…

---

## [PlotlyJS: stacked barmode not working as expected](https://discourse.julialang.org/t/plotlyjs-stacked-barmode-not-working-as-expected/72035)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 10:41am UTC](https://discourse.julialang.org/t/plotlyjs-stacked-barmode-not-working-as-expected/72035 "2021-11-25T10:41:16Z")

</div>

Hi, I was having a problem with a plot using the stacked bar mode and thought that I would be doing something wrong. I did not understand why because it used to work in the past. So I tried the example in the PlotlyJS d…

---

## [Strange behavior of Range object](https://discourse.julialang.org/t/strange-behavior-of-range-object/72048)

<div class="topic-metadata">

**Author:** [@mottelet](https://discourse.julialang.org/u/mottelet)\
**Replies:** 1\
**Last updated:** [November 25, 2021, 9:37am UTC](https://discourse.julialang.org/t/strange-behavior-of-range-object/72048 "2021-11-25T09:37:53Z")

</div>

Hello, I am wondering why a “potentially” empty (when collected) range such as 10:1 is echoed differently (although equivalently empty) julia\> 10:1 10:9 S.

---

## [Plot a diagonal 1:1 line in a marginalkde plot](https://discourse.julialang.org/t/plot-a-diagonal-1-1-line-in-a-marginalkde-plot/72036)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 9:34am UTC](https://discourse.julialang.org/t/plot-a-diagonal-1-1-line-in-a-marginalkde-plot/72036 "2021-11-25T09:34:24Z")

</div>

Hi, I am trying to add a diagonal 1:1 line to a marginalkde plot. I found that there is Plots.abline! which draws a straight line in the form of ax+b respecting axis limits of the plot. However, my attempt below draws t…

---

## [How to initialize array with one unknow dimension size](https://discourse.julialang.org/t/how-to-initialize-array-with-one-unknow-dimension-size/72045)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 9:17am UTC](https://discourse.julialang.org/t/how-to-initialize-array-with-one-unknow-dimension-size/72045 "2021-11-25T09:17:53Z")

</div>

I am not able to find any example how to initialize 2D array with one unknown dimension. Normally I use: A = zeros(dim1,dim2) for ii = 1:dim2 A\[:,ii\] = some\_function\_returning\_vector\_of\_dim1() end But very ofte…

---

## [Triton: GPU Programming for Neural Networks](https://discourse.julialang.org/t/triton-gpu-programming-for-neural-networks/72033)

<div class="topic-metadata">

**Author:** [@stemann](https://discourse.julialang.org/u/stemann)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 9:06am UTC](https://discourse.julialang.org/t/triton-gpu-programming-for-neural-networks/72033 "2021-11-25T09:06:42Z")

</div>

Any thoughts on OpenAI’s Triton? @maleadt ?

---

## [Using ccall and pointer to pointer in linked list](https://discourse.julialang.org/t/using-ccall-and-pointer-to-pointer-in-linked-list/72041)

<div class="topic-metadata">

**Author:** [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 6:55am UTC](https://discourse.julialang.org/t/using-ccall-and-pointer-to-pointer-in-linked-list/72041 "2021-11-25T06:55:39Z")

</div>

Below is an example from K.N.King “C Programming” for a linked list, where add\_to\_list() acts pretty much like pushfirst!() of Julia: #include \<stdio.h\> #include \<stdlib.h\> struct node { int value; struct node …

---

## [Forward mode Autodiff for Matrix multiplication](https://discourse.julialang.org/t/forward-mode-autodiff-for-matrix-multiplication/72032)

<div class="topic-metadata">

**Author:** [@tgautam03](https://discourse.julialang.org/u/tgautam03)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 12:44am UTC](https://discourse.julialang.org/t/forward-mode-autodiff-for-matrix-multiplication/72032 "2021-11-25T00:44:38Z")

</div>

Hi, I’m new to Julia and looking to learn more about Autodiff in julia. I’ve matrix multiplication and want to get the derivative of a matrix wrt to a matrix. For example in the equations below, I want to compute \\frac{…

---

## [Distinct color for missing values in colorbar](https://discourse.julialang.org/t/distinct-color-for-missing-values-in-colorbar/71927)

<div class="topic-metadata">

**Author:** [@adigitoleo](https://discourse.julialang.org/u/adigitoleo)\
**Replies:** 4\
**Last updated:** [November 24, 2021, 11:46pm UTC](https://discourse.julialang.org/t/distinct-color-for-missing-values-in-colorbar/71927 "2021-11-24T23:46:01Z")

</div>

I am wondering how to handle missing values in a colorbar. For my specific use case, I want to create a scatter plot where the data points are colored according to a third vector of values which may contain missing. Bef…

---

## [PyCall No system-wide Python was found](https://discourse.julialang.org/t/pycall-no-system-wide-python-was-found/71605)

<div class="topic-metadata">

**Author:** [@marcello](https://discourse.julialang.org/u/marcello)\
**Replies:** 5\
**Last updated:** [November 24, 2021, 9:33pm UTC](https://discourse.julialang.org/t/pycall-no-system-wide-python-was-found/71605 "2021-11-24T21:33:07Z")

</div>

Hello Julia/PyCall team, trying to add the PyCall package I get the error build.log\` \[\> \] 0/2 ERROR: Error building \`PyCall\`: ┌ Info: No system-wide Python was found; got the fol…

---

## [Passing an array of structures through \`ccall\`](https://discourse.julialang.org/t/passing-an-array-of-structures-through-ccall/5194)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 17\
**Last updated:** [November 24, 2021, 8:23pm UTC](https://discourse.julialang.org/t/passing-an-array-of-structures-through-ccall/5194 "2021-11-24T20:23:33Z")

</div>

I’m trying to pass an array of structure (actually, a pointer to the chunk of memory containing the first structure) from Julia to C through ccall. An example of what I’m trying to do is shown below, using just C: #inc…

---

## [Write to text file while using threads](https://discourse.julialang.org/t/write-to-text-file-while-using-threads/63836)

<div class="topic-metadata">

**Author:** [@Olivier\_Merchiers](https://discourse.julialang.org/u/Olivier_Merchiers)\
**Replies:** 12\
**Last updated:** [November 24, 2021, 7:31pm UTC](https://discourse.julialang.org/t/write-to-text-file-while-using-threads/63836 "2021-11-24T19:31:01Z")

</div>

Hello everyone, I’m trying to use the Threads module. I have long running simulations that I want to run in parallel and save the data to a single file while the simulation is running. Here is what I have done so far: …

---

## [PowerModels power flow](https://discourse.julialang.org/t/powermodels-power-flow/37986)

<div class="topic-metadata">

**Author:** [@hmemy](https://discourse.julialang.org/u/hmemy)\
**Replies:** 19\
**Last updated:** [November 24, 2021, 4:52pm UTC](https://discourse.julialang.org/t/powermodels-power-flow/37986 "2021-11-24T16:52:34Z")

</div>

Hello, I am using PowerModels to analyse the power flow of a network. Why is the voltage angle different from the results obtained by MATPOWER tools in MATLAB. I am using this line to calculate the optimal power flow. …

---

## [Defining variable model as x != 0 in JuMP](https://discourse.julialang.org/t/defining-variable-model-as-x-0-in-jump/71162)

<div class="topic-metadata">

**Author:** [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Replies:** 16\
**Last updated:** [November 24, 2021, 4:44pm UTC](https://discourse.julialang.org/t/defining-variable-model-as-x-0-in-jump/71162 "2021-11-24T16:44:40Z")

</div>

I am trying to run my first example of optimization using JuMP. I have a problem with the definition of the values of x. I want to do x != 0 but it gives me an error. It only works for x \>= 0 or x \<= 0. using JuMP im…

---

## [NamedTuple with 10\_000 elements?](https://discourse.julialang.org/t/namedtuple-with-10-000-elements/71979)

<div class="topic-metadata">

**Author:** [@bbejanov](https://discourse.julialang.org/u/bbejanov)\
**Replies:** 16\
**Last updated:** [November 24, 2021, 4:42pm UTC](https://discourse.julialang.org/t/namedtuple-with-10-000-elements/71979 "2021-11-24T16:42:40Z")

</div>

Hi everyone, I have basically a matrix with named columns. Currently my implementation is similar to this: struct SimData{T, C \<: AbstractMatrix{T}} \<: AbstractMatrix{T} columns::NamedTuple values::C # inn…

---

## [Building Julia on WSL](https://discourse.julialang.org/t/building-julia-on-wsl/71990)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 1\
**Last updated:** [November 24, 2021, 4:28pm UTC](https://discourse.julialang.org/t/building-julia-on-wsl/71990 "2021-11-24T16:28:58Z")

</div>

I’m getting these errors when trying to cross-compile the Windows build of Julia on WSL: 002d:err:module:LdrInitializeThunk "libLLVM.dll" failed to initialize, aborting 002d:err:module:LdrInitializeThunk Initializing dl…

---

## [Why is printing to a terminal slow?](https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987)

<div class="topic-metadata">

**Author:** [@asmar](https://discourse.julialang.org/u/asmar)\
**Replies:** 28\
**Last updated:** [November 24, 2021, 4:25pm UTC](https://discourse.julialang.org/t/why-is-printing-to-a-terminal-slow/42987 "2021-11-24T16:25:33Z")

</div>

Hello, I tried just a simple benchmark of printing a million numbers in an array. Surprisingly, it takes a lot of time. I imagine this might be connected to how julia communicates with the system, printing parts not th…

---

## [Compiling Julia using LTO+PGO](https://discourse.julialang.org/t/compiling-julia-using-lto-pgo/39168)

<div class="topic-metadata">

**Author:** [@D4taV1s](https://discourse.julialang.org/u/D4taV1s)\
**Replies:** 4\
**Last updated:** [November 24, 2021, 2:44pm UTC](https://discourse.julialang.org/t/compiling-julia-using-lto-pgo/39168 "2021-11-24T14:44:42Z")

</div>

to what extent would this affect performance, also for julia, what part outside of benchmark framework isn’t measured e.g. not only throughput, latency(time to first paint, hurts), RAM/power usage, how close is this to …

---

## [Converting Int64 to Int8](https://discourse.julialang.org/t/converting-int64-to-int8/71967)

<div class="topic-metadata">

**Author:** [@frits45](https://discourse.julialang.org/u/frits45)\
**Replies:** 8\
**Last updated:** [November 24, 2021, 3:02pm UTC](https://discourse.julialang.org/t/converting-int64-to-int8/71967 "2021-11-24T15:02:31Z")

</div>

Hello, I started using Julia yesterday. My objective to rewrite a data-analysis program written in Python that currently takes more than 24 hours, and cut it down to a few hours. The first hurdle is the following. From…

---

## [Flexible workflow for altering the equations of a dynamical system / diffeq](https://discourse.julialang.org/t/flexible-workflow-for-altering-the-equations-of-a-dynamical-system-diffeq/71390)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 12\
**Last updated:** [November 24, 2021, 2:54pm UTC](https://discourse.julialang.org/t/flexible-workflow-for-altering-the-equations-of-a-dynamical-system-diffeq/71390 "2021-11-24T14:54:41Z")

</div>

Hi all, kind of organizational equation. I have a dynamical system whose equations I change frequently. I add and remove different dynamical components and connections. I’m in a pretty exploratory stage. It becomes real…

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

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