# Latest

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

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

**Page:** 1490

---

## [Is there a way to get more type information in stack traces / what heuristics are](https://discourse.julialang.org/t/is-there-a-way-to-get-more-type-information-in-stack-traces-what-heuristics-are/55226)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 4\
**Last updated:** [February 16, 2021, 10:01am UTC](https://discourse.julialang.org/t/is-there-a-way-to-get-more-type-information-in-stack-traces-what-heuristics-are/55226 "2021-02-16T10:01:11Z")

</div>

Is there a way to get more type information in stack traces / what heuristics are used to decide to strip them? Debugging chains of functions whose behavior is determined by types of the arguments is much harder when I…

---

## [How to add text to a rendering?](https://discourse.julialang.org/t/how-to-add-text-to-a-rendering/55317)

<div class="topic-metadata">

**Author:** [@Simone\_Chilosi](https://discourse.julialang.org/u/Simone_Chilosi)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 9:12am UTC](https://discourse.julialang.org/t/how-to-add-text-to-a-rendering/55317 "2021-02-16T09:12:13Z")

</div>

I’m working to a project in which there is a viewer that can render multiple 3d objects. I’d like to add some text to the window for some instructions for the user (for example “use wasd to rotate the object”), how can I…

---

## [Why is there a "Warning: Slow Fallback implementation" and a DimensionMismatch error?](https://discourse.julialang.org/t/why-is-there-a-warning-slow-fallback-implementation-and-a-dimensionmismatch-error/55283)

<div class="topic-metadata">

**Author:** [@SatvikDuddukuru](https://discourse.julialang.org/u/SatvikDuddukuru)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 9:03am UTC](https://discourse.julialang.org/t/why-is-there-a-warning-slow-fallback-implementation-and-a-dimensionmismatch-error/55283 "2021-02-16T09:03:52Z")

</div>

I am trying to create a convolutional neural network to classify MNIST data with Flux in Julia. I downloaded the data as a csv from this link: MNIST in CSV | Kaggle. My code is below: using CSV using DataFrames using I…

---

## [TextModels without GPU](https://discourse.julialang.org/t/textmodels-without-gpu/55374)

<div class="topic-metadata">

**Author:** [@gpucce](https://discourse.julialang.org/u/gpucce)\
**Replies:** 0\
**Last updated:** [February 16, 2021, 9:01am UTC](https://discourse.julialang.org/t/textmodels-without-gpu/55374 "2021-02-16T09:01:46Z")

</div>

I can’t add TextModels on a machine without GPU. More specifically I am trying to use in windows subsystem linux, whereas on a linux system with GPU it works fine. Does anybody know if this is expected and if there is a …

---

## [Strange behavior of JuMP 0.21.5 while using CPLEX 20.1](https://discourse.julialang.org/t/strange-behavior-of-jump-0-21-5-while-using-cplex-20-1/55329)

<div class="topic-metadata">

**Author:** [@ahmadreza-marandi](https://discourse.julialang.org/u/ahmadreza-marandi)\
**Replies:** 4\
**Last updated:** [February 16, 2021, 8:02am UTC](https://discourse.julialang.org/t/strange-behavior-of-jump-0-21-5-while-using-cplex-20-1/55329 "2021-02-16T08:02:20Z")

</div>

Dear all, I have faced a strange behavior of CPLEX 20.1 while solving a nonconvex quadratic problem. As I couldn’t replicate the issue with small instances, I am attaching the data here: data information data (in .ma…

---

## [Wrapping a simple R package](https://discourse.julialang.org/t/wrapping-a-simple-r-package/55349)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 4:47am UTC](https://discourse.julialang.org/t/wrapping-a-simple-r-package/55349 "2021-02-16T04:47:37Z")

</div>

I want to wrap a simple ML package: sprintr. In R the code is straight-forward: library(sprintr); m = cv.sprinter(x = X, y = y) pred = predict(m, newdata = XH) In Julia it works in 1-step: X = randn(100,5) y = 7.0 .…

---

## [Juno wont open julia](https://discourse.julialang.org/t/juno-wont-open-julia/55295)

<div class="topic-metadata">

**Author:** [@Babou](https://discourse.julialang.org/u/Babou)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 3:30am UTC](https://discourse.julialang.org/t/juno-wont-open-julia/55295 "2021-02-16T03:30:39Z")

</div>

I am trying to run juno in atom because I hope it will be easier to debug code than it has been for me in vs studio but upon starting julia from juno I recieved the following error message: Julia could not be started. C…

---

## [Hierarchical merge on a Region Adjacency Graph](https://discourse.julialang.org/t/hierarchical-merge-on-a-region-adjacency-graph/51633)

<div class="topic-metadata">

**Author:** [@jsundram](https://discourse.julialang.org/u/jsundram)\
**Replies:** 5\
**Last updated:** [February 16, 2021, 2:21am UTC](https://discourse.julialang.org/t/hierarchical-merge-on-a-region-adjacency-graph/51633 "2021-02-16T02:21:53Z")

</div>

I’m super new to Julia, and am porting over a python program of mine to Julia to get a feel for the language. I’ve constructed a region adjacency graph (RAG) for an image using ImageSegmentation.region\_adjacency\_graph. I…

---

## [JuliaCon 2021 - Outreach on LinkedIn](https://discourse.julialang.org/t/juliacon-2021-outreach-on-linkedin/55091)

<div class="topic-metadata">

**Author:** [@DragonflyStats](https://discourse.julialang.org/u/DragonflyStats)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 8:47pm UTC](https://discourse.julialang.org/t/juliacon-2021-outreach-on-linkedin/55091 "2021-02-11T20:47:55Z")

</div>

Hi folks If you are a LinkedIn user, you could really help the JuliaCon 2021 team out. More than 6,700 people already clicked “Attend Event” for JuliaCon 2021 on our LinkedIn Page. Considering there is more than 5 mo…

---

## [Nothing type](https://discourse.julialang.org/t/nothing-type/55135)

<div class="topic-metadata">

**Author:** [@vlederer](https://discourse.julialang.org/u/vlederer)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 12:45am UTC](https://discourse.julialang.org/t/nothing-type/55135 "2021-02-16T00:45:04Z")

</div>

Hi, Julia deals with Nothing type in such way that an object initialized with nothing does/returns nothing, in other words, the Assignment operator = can deal with Nothing type. That feature and the Nothing type evaluati…

---

## [How to find the executable path for julia installed by the app manager (linux mint)?](https://discourse.julialang.org/t/how-to-find-the-executable-path-for-julia-installed-by-the-app-manager-linux-mint/55351)

<div class="topic-metadata">

**Author:** [@lpratafe](https://discourse.julialang.org/u/lpratafe)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 12:29am UTC](https://discourse.julialang.org/t/how-to-find-the-executable-path-for-julia-installed-by-the-app-manager-linux-mint/55351 "2021-02-16T00:29:48Z")

</div>

Hello everyone, I’m new to the forum so I apologize if I post this in the wrong category or something. I have done a lot of research on the web and also through various topics here but with no success, so I decided to p…

---

## [This file wont precompile](https://discourse.julialang.org/t/this-file-wont-precompile/55362)

<div class="topic-metadata">

**Author:** [@DevJac](https://discourse.julialang.org/u/DevJac)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 11:38pm UTC](https://discourse.julialang.org/t/this-file-wont-precompile/55362 "2021-02-15T23:38:35Z")

</div>

using Flux using Statistics using Networks export PolicyNetwork, advantage ... I have this source file in the src directory of my project. src is in the JULIA\_LOAD\_PATH, but when I attempt to use Networks Julia pre-c…

---

## [Prevent interpolation when Meta.parse a String to Expr](https://discourse.julialang.org/t/prevent-interpolation-when-meta-parse-a-string-to-expr/55242)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 9\
**Last updated:** [February 15, 2021, 11:04pm UTC](https://discourse.julialang.org/t/prevent-interpolation-when-meta-parse-a-string-to-expr/55242 "2021-02-15T23:04:15Z")

</div>

Hello everyone, if I want to parse the following string to expression s = "Z = A + 1" where A represents a variable defined elsewhere in the code, then how can I prevent interpolation when I pass this string to Meta.p…

---

## [Choice of the integrator for mixed first-second order system of ODE](https://discourse.julialang.org/t/choice-of-the-integrator-for-mixed-first-second-order-system-of-ode/55330)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 10:40pm UTC](https://discourse.julialang.org/t/choice-of-the-integrator-for-mixed-first-second-order-system-of-ode/55330 "2021-02-15T22:40:04Z")

</div>

I have a system of ODE with the following peculiar functional structure. It is second order for one variable, but first order for another one (actually, A and B are some vectors): A'' = f(A, B) B' = g(A, B) I need the…

---

## [Define methods for packages without importing](https://discourse.julialang.org/t/define-methods-for-packages-without-importing/55353)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 10:01pm UTC](https://discourse.julialang.org/t/define-methods-for-packages-without-importing/55353 "2021-02-15T22:01:19Z")

</div>

Say that I got a package Foo and want my package to include some methods especially for handling DataFrames, and plots from Plots and Gadfly. To do this, I could define something like module Foo import DataFrames impo…

---

## [Why is my package precompiled on every startup?](https://discourse.julialang.org/t/why-is-my-package-precompiled-on-every-startup/55289)

<div class="topic-metadata">

**Author:** [@erans](https://discourse.julialang.org/u/erans)\
**Replies:** 10\
**Last updated:** [February 15, 2021, 9:59pm UTC](https://discourse.julialang.org/t/why-is-my-package-precompiled-on-every-startup/55289 "2021-02-15T21:59:47Z")

</div>

Hello, I’m relatively new to Julia and and just diving into the waters of creating a package. The Problem The problem that I am having is that every time I do using MyPkg for the first time in the REPL the package tak…

---

## [Unable to add MakieLayout](https://discourse.julialang.org/t/unable-to-add-makielayout/55331)

<div class="topic-metadata">

**Author:** [@Carsten](https://discourse.julialang.org/u/Carsten)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 9:46pm UTC](https://discourse.julialang.org/t/unable-to-add-makielayout/55331 "2021-02-15T21:46:27Z")

</div>

I’m unable to add MakieLayout. (@v1.5) pkg\> add MakieLayout#master Cloning git-repo \`https://github.com/jkrumbiegel/MakieLayout.jl.git\` Updating git-repo \`https://github.com/jkrumbiegel/MakieLayout.jl.git\` Reso…

---

## [Difference btween dot operator and operator?](https://discourse.julialang.org/t/difference-btween-dot-operator-and-operator/55304)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 14\
**Last updated:** [February 15, 2021, 6:57pm UTC](https://discourse.julialang.org/t/difference-btween-dot-operator-and-operator/55304 "2021-02-15T18:57:41Z")

</div>

what is difference between thse two exprresiion? 5 + 3 -----\> 8 5 .+ 3 -----\> 8 is there any benefit to put . before operator?

---

## [Stuck installing (downloading?): how to know what is going on?](https://discourse.julialang.org/t/stuck-installing-downloading-how-to-know-what-is-going-on/55339)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 4\
**Last updated:** [February 15, 2021, 6:14pm UTC](https://discourse.julialang.org/t/stuck-installing-downloading-how-to-know-what-is-going-on/55339 "2021-02-15T18:14:52Z")

</div>

I am trying to install DifferentialEquations in 1.6-rc1, but it always gets stuck: | | |\_| | | | (\_| | | Version 1.6.0-rc1 (2021-02-06) \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Official https://julialang.org/ release |\_\_/ …

---

## [Percentage of population innoculated for spreading to stop](https://discourse.julialang.org/t/percentage-of-population-innoculated-for-spreading-to-stop/55335)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 3\
**Last updated:** [February 15, 2021, 5:32pm UTC](https://discourse.julialang.org/t/percentage-of-population-innoculated-for-spreading-to-stop/55335 "2021-02-15T17:32:43Z")

</div>

Please take this down if Covid questions are frowned upon. A question to the modelling cimmunity though. I have been trying to figure out what percentage of the population needs to be innoculated before Covid will stop …

---

## [A question about closures](https://discourse.julialang.org/t/a-question-about-closures/55325)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 6\
**Last updated:** [February 15, 2021, 5:06pm UTC](https://discourse.julialang.org/t/a-question-about-closures/55325 "2021-02-15T17:06:41Z")

</div>

Hi, I’m trying to work out how to construct a closure for the following case: The Agents package has a random\_agent(agent, condition) function and I want to call it with a condition closure. I though the following woul…

---

## [Is using Libc.free fine when a library doesn't have its own freeing function?](https://discourse.julialang.org/t/is-using-libc-free-fine-when-a-library-doesnt-have-its-own-freeing-function/55326)

<div class="topic-metadata">

**Author:** [@MasFlam](https://discourse.julialang.org/u/MasFlam)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 4:47pm UTC](https://discourse.julialang.org/t/is-using-libc-free-fine-when-a-library-doesnt-have-its-own-freeing-function/55326 "2021-02-15T16:47:10Z")

</div>

The XCB library occasionally requires the user to free data by themselves using the libc free function. The documentation on Libc.free in Julia specifically says it shouldn’t be used to free data from external libraries …

---

## [Error calling Fortran from Julia](https://discourse.julialang.org/t/error-calling-fortran-from-julia/55292)

<div class="topic-metadata">

**Author:** [@Siel](https://discourse.julialang.org/u/Siel)\
**Replies:** 6\
**Last updated:** [February 15, 2021, 4:45pm UTC](https://discourse.julialang.org/t/error-calling-fortran-from-julia/55292 "2021-02-15T16:45:01Z")

</div>

I’ve been trying to make a very simple example of Julia calling fortran to work but it seems I’m missing something, right now what I’ve done is: Fortran code: module ipmf use, intrinsic :: iso\_c\_binding implicit no…

---

## [Error : "read: Connection reset by peer send: Broken pipe" during animation](https://discourse.julialang.org/t/error-read-connection-reset-by-peer-send-broken-pipe-during-animation/52552)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 4:34pm UTC](https://discourse.julialang.org/t/error-read-connection-reset-by-peer-send-broken-pipe-during-animation/52552 "2021-02-15T16:34:05Z")

</div>

I get the following strange error when trying the following simple animation task. using Plots; plt = plot3d( 1, xlim = (0, 1), ylim = (0, 1), zlim = (0, 1), title = "Lorenz Attractor", marker = 2, ); N=1000; A = rand(…

---

## [Is there a logspline density estimation toolbox in Julia?](https://discourse.julialang.org/t/is-there-a-logspline-density-estimation-toolbox-in-julia/55214)

<div class="topic-metadata">

**Author:** [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 4:25pm UTC](https://discourse.julialang.org/t/is-there-a-logspline-density-estimation-toolbox-in-julia/55214 "2021-02-15T16:25:48Z")

</div>

For density estimation, I know that there are various kernel density estimation packages (KernelDensity.jl, KernelDensityEstimate.jl, KernelEstimator.jl), but I wonder if there are any spline-based packages? The goal he…

---

## [Package ZeroMQ\_jll does not have JLLWrappers in its dependencies](https://discourse.julialang.org/t/package-zeromq-jll-does-not-have-jllwrappers-in-its-dependencies/48807)

<div class="topic-metadata">

**Author:** [@sjoerdvanhoof](https://discourse.julialang.org/u/sjoerdvanhoof)\
**Replies:** 3\
**Last updated:** [February 15, 2021, 4:27pm UTC](https://discourse.julialang.org/t/package-zeromq-jll-does-not-have-jllwrappers-in-its-dependencies/48807 "2021-02-15T16:27:05Z")

</div>

Hi all, I am new to Julia and tried installing it on both a Windows PC as well as a Macbook. On both systems I get the same error, but if I google it, I cannot find any related problems. I installed julia 1.5.2 and con…

---

## [BoundsError](https://discourse.julialang.org/t/boundserror/53961)

<div class="topic-metadata">

**Author:** [@ashwanimalviya](https://discourse.julialang.org/u/ashwanimalviya)\
**Replies:** 16\
**Last updated:** [February 15, 2021, 4:11pm UTC](https://discourse.julialang.org/t/boundserror/53961 "2021-02-15T16:11:25Z")

</div>

I have created a function as function ShortestPath(DAG, K2Score) for i = 1:length(K2Score) ind = findall(K2Score .== 0) #K2Score\[1,ind\] ~= root, K2Score\[1,ind\] = 0.01 end Finding the root. G = DAG M,N = size\[DAG…

---

## [Apply Flux model to a matrix](https://discourse.julialang.org/t/apply-flux-model-to-a-matrix/55324)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 3:18pm UTC](https://discourse.julialang.org/t/apply-flux-model-to-a-matrix/55324 "2021-02-15T15:18:26Z")

</div>

I have a program that outputs a matrix and I have also a NN model that takes as input one element array. I want to apply the NN to every element of the matrix. I have tried in this way my\_model(x) = reshape(reshape(x,…

---

## [\[ANN\] VS Code extension 1.1 released](https://discourse.julialang.org/t/ann-vs-code-extension-1-1-released/54896)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 24\
**Last updated:** [February 15, 2021, 2:14pm UTC](https://discourse.julialang.org/t/ann-vs-code-extension-1-1-released/54896 "2021-02-15T14:14:44Z")

</div>

We just released version 1.1 of the Julia extension for VS Code to the marketplace. As always, you don’t need to do anything to get the new release, auto-update should take care of that. This release has only two new us…

---

## [Callback function in DifferentialEquations](https://discourse.julialang.org/t/callback-function-in-differentialequations/55314)

<div class="topic-metadata">

**Author:** [@arif](https://discourse.julialang.org/u/arif)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 1:32pm UTC](https://discourse.julialang.org/t/callback-function-in-differentialequations/55314 "2021-02-15T13:32:49Z")

</div>

I am trying to solve the Lane-Emden equations using DifferentialEquations. This is a system of two first order ODEs which are something like dtheta/dxi = psi, dpsi/dxi = -2 psi/xi - theta^n. I want to stop the integratio…

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

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