# Latest

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

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

**Page:** 1739

---

## [Problem with curl for external dependencies](https://discourse.julialang.org/t/problem-with-curl-for-external-dependencies/40123)

<div class="topic-metadata">

**Author:** [@magronv](https://discourse.julialang.org/u/magronv)\
**Replies:** 0\
**Last updated:** [May 25, 2020, 1:08pm UTC](https://discourse.julialang.org/t/problem-with-curl-for-external-dependencies/40123 "2020-05-25T13:08:02Z")

</div>

Dear all, I’ve got the following error when trying to build julia v1.3.0: $ make % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 …

---

## [Continous Markov Processes](https://discourse.julialang.org/t/continous-markov-processes/40090)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 22\
**Last updated:** [May 25, 2020, 1:01pm UTC](https://discourse.julialang.org/t/continous-markov-processes/40090 "2020-05-25T13:01:03Z")

</div>

Hi, I just came across the “ContinuousTimeMarkov” written by Tom Pappas. Unfortunately, there are no examples in the repository and no documentation that I could find. Could somebody, possibly Tom, provide me with one …

---

## [Being in julia and killing julia in package manager (\]) stops not all subprocesses resulting in problems later](https://discourse.julialang.org/t/being-in-julia-and-killing-julia-in-package-manager-stops-not-all-subprocesses-resulting-in-problems-later/39175)

<div class="topic-metadata">

**Author:** [@DKad](https://discourse.julialang.org/u/DKad)\
**Replies:** 29\
**Last updated:** [May 25, 2020, 12:16pm UTC](https://discourse.julialang.org/t/being-in-julia-and-killing-julia-in-package-manager-stops-not-all-subprocesses-resulting-in-problems-later/39175 "2020-05-25T12:16:39Z")

</div>

I have started julia REPL (v.1.4.1), went into the packet manager, ran update and finally stopped julia inside the packet manager with Ctrl-D. Unfortunately not all processes were stopped. I still had a process running: …

---

## [Terminal prints the full script?](https://discourse.julialang.org/t/terminal-prints-the-full-script/40115)

<div class="topic-metadata">

**Author:** [@haganeno](https://discourse.julialang.org/u/haganeno)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 10:26am UTC](https://discourse.julialang.org/t/terminal-prints-the-full-script/40115 "2020-05-25T10:26:38Z")

</div>

Hi, I’m very much a beginner in coding, Julia, AND VSCode, so please bear with me. Whenever I run a .jl script with Shift + Enter in VSCode, the terminal prints out the entire script, without any explicit command to do …

---

## [Package Compatibility issues (Genie / Nettle)](https://discourse.julialang.org/t/package-compatibility-issues-genie-nettle/40113)

<div class="topic-metadata">

**Author:** [@AubinMB](https://discourse.julialang.org/u/AubinMB)\
**Replies:** 0\
**Last updated:** [May 25, 2020, 8:18am UTC](https://discourse.julialang.org/t/package-compatibility-issues-genie-nettle/40113 "2020-05-25T08:18:45Z")

</div>

Hi, I was using Genie (version 0.29.0) on Julia 1.2 without issues, but i had to use use it on another computer (also Julia 1.2) and i can’t add it anymore. (v1.2) pkg\> add Genie Resolving package versions... ERROR: Un…

---

## [String search()](https://discourse.julialang.org/t/string-search/40102)

<div class="topic-metadata">

**Author:** [@11133](https://discourse.julialang.org/u/11133)\
**Replies:** 8\
**Last updated:** [May 25, 2020, 6:40am UTC](https://discourse.julialang.org/t/string-search/40102 "2020-05-25T06:40:44Z")

</div>

Methods search() and contains() for strings existing??

---

## [Interact package not working](https://discourse.julialang.org/t/interact-package-not-working/40106)

<div class="topic-metadata">

**Author:** [@Longblackcoffee](https://discourse.julialang.org/u/Longblackcoffee)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 5:47am UTC](https://discourse.julialang.org/t/interact-package-not-working/40106 "2020-05-25T05:47:57Z")

</div>

Ever since the latest Atom update, has anyone else been having trouble with the Interact package? Even when I tried running something super basic that worked before, like the following: using Plots using Interact gr() …

---

## [Efficient way to go from bit-packed value to \`Vector{T\<:Unsigned}\`](https://discourse.julialang.org/t/efficient-way-to-go-from-bit-packed-value-to-vector-t-unsigned/40098)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 10\
**Last updated:** [May 25, 2020, 4:44am UTC](https://discourse.julialang.org/t/efficient-way-to-go-from-bit-packed-value-to-vector-t-unsigned/40098 "2020-05-25T04:44:03Z")

</div>

I am trying to write a faster Parquet reader (faster than the one in Parquet.jl atm). One interesting problem that I encountered is this: How to efficiently unpack a set of bit-packed integers into Vector{T\<:Unsigned} f…

---

## [Controlling info-level logging?](https://discourse.julialang.org/t/controlling-info-level-logging/34420)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 3\
**Last updated:** [May 25, 2020, 3:18am UTC](https://discourse.julialang.org/t/controlling-info-level-logging/34420 "2020-05-25T03:18:15Z")

</div>

Is it possible to control @info logging, per module, like @debug. I need to disable info output for a module/package sometimes.

---

## [Global variables within 2 files](https://discourse.julialang.org/t/global-variables-within-2-files/40028)

<div class="topic-metadata">

**Author:** [@catosp](https://discourse.julialang.org/u/catosp)\
**Replies:** 12\
**Last updated:** [May 25, 2020, 1:14am UTC](https://discourse.julialang.org/t/global-variables-within-2-files/40028 "2020-05-25T01:14:49Z")

</div>

Hello! How can I declare a global variable that is shared between two files? File1.jl import("File2. jl") function1 test() close=false a=0 If a\>0 close = true end end File2.jl function2 te…

---

## [Very poor performance with DistributedArrays?](https://discourse.julialang.org/t/very-poor-performance-with-distributedarrays/40085)

<div class="topic-metadata">

**Author:** [@angelv](https://discourse.julialang.org/u/angelv)\
**Replies:** 6\
**Last updated:** [May 25, 2020, 12:58am UTC](https://discourse.julialang.org/t/very-poor-performance-with-distributedarrays/40085 "2020-05-25T00:58:27Z")

</div>

Hello, I’m following the Parallel Computing course at JuliaAcademy, and I’m trying to replicate the results in the course when using DistributedArrays. In there a simple sum over 1e7 random numbers, when done without Di…

---

## [Ignoring \`NaN\` with \`findmax()\`](https://discourse.julialang.org/t/ignoring-nan-with-findmax/39891)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 9\
**Last updated:** [May 25, 2020, 12:22am UTC](https://discourse.julialang.org/t/ignoring-nan-with-findmax/39891 "2020-05-25T00:22:53Z")

</div>

Suppose I have the following array: a=\[NaN, 1,2,3\] If I use findmax(a), I obtain (NaN, 1). How can I use findmax() ignoring all NaN values? I tried findmax(filter(!isnan, a)) but it returns (3.0,3) when I want (3.0,4).…

---

## [Optimization using Optim and Roots](https://discourse.julialang.org/t/optimization-using-optim-and-roots/39301)

<div class="topic-metadata">

**Author:** [@optimist](https://discourse.julialang.org/u/optimist)\
**Replies:** 9\
**Last updated:** [May 24, 2020, 10:43pm UTC](https://discourse.julialang.org/t/optimization-using-optim-and-roots/39301 "2020-05-24T22:43:55Z")

</div>

Hello, I am a new user of Julia and the Optim package, and I am looking for some guidance on a simple piece of code. I have given my simple implementation of the equivalent of Excel XIRR (extended internal rate of retur…

---

## [The best linear solver for sparse bandedblockbandedmatricies](https://discourse.julialang.org/t/the-best-linear-solver-for-sparse-bandedblockbandedmatricies/40052)

<div class="topic-metadata">

**Author:** [@RangeFu](https://discourse.julialang.org/u/RangeFu)\
**Replies:** 30\
**Last updated:** [May 24, 2020, 9:36pm UTC](https://discourse.julialang.org/t/the-best-linear-solver-for-sparse-bandedblockbandedmatricies/40052 "2020-05-24T21:36:07Z")

</div>

Hi Community, I’m working on a program that requires solving A\\B repeatedly, where A is a sparse matrix that looks like this (it’s from finite-difference of an 2d PDE). I was wondering is there any method that can u…

---

## [Changing number format when concatenating](https://discourse.julialang.org/t/changing-number-format-when-concatenating/40084)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 6\
**Last updated:** [May 24, 2020, 8:59pm UTC](https://discourse.julialang.org/t/changing-number-format-when-concatenating/40084 "2020-05-24T20:59:59Z")

</div>

I have an integer Array a=\[1,2,3,4\] and a floating Array b=\[0.5, 0.671, 0.875, 1.5\]. When I try to concatenate with cat(dims=2,a,b), I obtain what I want, but the integer numbers are now floating numbers: 4×2 Array{Flo…

---

## [Unable to update packages from terminal](https://discourse.julialang.org/t/unable-to-update-packages-from-terminal/40059)

<div class="topic-metadata">

**Author:** [@mcarpe](https://discourse.julialang.org/u/mcarpe)\
**Replies:** 7\
**Last updated:** [May 24, 2020, 7:40pm UTC](https://discourse.julialang.org/t/unable-to-update-packages-from-terminal/40059 "2020-05-24T19:40:25Z")

</div>

I’ve got a strange issue since I’ve updated to the latest version of Juno. Whenever I try to update packages from the terminal REPL I get the following warning and nothing gets updated: (@v1.4) pkg\> up Updating regi…

---

## [Github Dependency Graphs](https://discourse.julialang.org/t/github-dependency-graphs/40081)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 5\
**Last updated:** [May 24, 2020, 6:25pm UTC](https://discourse.julialang.org/t/github-dependency-graphs/40081 "2020-05-24T18:25:04Z")

</div>

Currently, to my knowledge, Github’s dependency graphic tool does not work with Julia packages because the manifest is not one of the supported types listed here (Exploring the dependencies of a repository - GitHub Docs)…

---

## [Run without debugging in VS Code extension](https://discourse.julialang.org/t/run-without-debugging-in-vs-code-extension/40025)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 4\
**Last updated:** [May 24, 2020, 3:05pm UTC](https://discourse.julialang.org/t/run-without-debugging-in-vs-code-extension/40025 "2020-05-24T15:05:48Z")

</div>

Hi, I’ve started to try the excellent VS Code extension recently, but I have failed to find the way to run an entire file in the REPL, using the shortcuts or menu options. In the documentation pages I read that this is …

---

## [Blog -- Reinstall Julia](https://discourse.julialang.org/t/blog-reinstall-julia/40077)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 0\
**Last updated:** [May 24, 2020, 2:42pm UTC](https://discourse.julialang.org/t/blog-reinstall-julia/40077 "2020-05-24T14:42:20Z")

</div>

Just wrote a short post about how to reinstall Julia. Hopefully it would be helpful for who needs to do so.

---

## [Optimizing the blockdiag function for SparseArrays](https://discourse.julialang.org/t/optimizing-the-blockdiag-function-for-sparsearrays/40069)

<div class="topic-metadata">

**Author:** [@irhum](https://discourse.julialang.org/u/irhum)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 1:16pm UTC](https://discourse.julialang.org/t/optimizing-the-blockdiag-function-for-sparsearrays/40069 "2020-05-24T13:16:05Z")

</div>

I was looking into the blockdiag function in SparseArrays (which concatenates sparse matrices on the diagonal), only to see it is rather unusually slow when the number of matrices are large, for instance, using M = \[spr…

---

## [Is there a function to name generated plot or rename variable?](https://discourse.julialang.org/t/is-there-a-function-to-name-generated-plot-or-rename-variable/40064)

<div class="topic-metadata">

**Author:** [@1634](https://discourse.julialang.org/u/1634)\
**Replies:** 3\
**Last updated:** [May 24, 2020, 12:03pm UTC](https://discourse.julialang.org/t/is-there-a-function-to-name-generated-plot-or-rename-variable/40064 "2020-05-24T12:03:23Z")

</div>

Hi, I’d like to naming plot or variables in a for loop, interpolating corresponding id to their name, so later on I can use them in manner of my combination and order. I checked related functions by ?name but haven’t f…

---

## [Identifying the systems available linear solvers (With JuMP & Ipopt)](https://discourse.julialang.org/t/identifying-the-systems-available-linear-solvers-with-jump-ipopt/31675)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 5\
**Last updated:** [May 24, 2020, 11:12am UTC](https://discourse.julialang.org/t/identifying-the-systems-available-linear-solvers-with-jump-ipopt/31675 "2020-05-24T11:12:57Z")

</div>

Hi all, I’d like to be able to verify / list available linear solvers on any given machine before running a model. My stack is JuMP and Ipopt, which means I can do something like this: import Ipopt; import JuMP; opti…

---

## [Printing of an Expr seems wrong](https://discourse.julialang.org/t/printing-of-an-expr-seems-wrong/40051)

<div class="topic-metadata">

**Author:** [@Stephan\_Meyn](https://discourse.julialang.org/u/Stephan_Meyn)\
**Replies:** 2\
**Last updated:** [May 24, 2020, 5:18am UTC](https://discourse.julialang.org/t/printing-of-an-expr-seems-wrong/40051 "2020-05-24T05:18:16Z")

</div>

I have an EXPR. dump() shows up as follows: dump(x) Expr head: Symbol :: args: Array{Any}((2,)) 1: Symbol afield 2: Symbol Union{Nothing, Int32} put print shows up as: print(x) afield::var"Union{Nothing, Int…

---

## [How to distinguish an array from a tuple when doing a copy / assignment](https://discourse.julialang.org/t/how-to-distinguish-an-array-from-a-tuple-when-doing-a-copy-assignment/40009)

<div class="topic-metadata">

**Author:** [@PeterB](https://discourse.julialang.org/u/PeterB)\
**Replies:** 16\
**Last updated:** [May 24, 2020, 4:50am UTC](https://discourse.julialang.org/t/how-to-distinguish-an-array-from-a-tuple-when-doing-a-copy-assignment/40009 "2020-05-24T04:50:57Z")

</div>

I have a function for which one of the arguments may be either an array or a tuple, though its usage internally is tuple-like. If x is an array that then I will have the line y = copy(x) but if x is a tuple, copy will …

---

## [Broadcasting Regex in DataFrame to create new column](https://discourse.julialang.org/t/broadcasting-regex-in-dataframe-to-create-new-column/40029)

<div class="topic-metadata">

**Author:** [@Petra](https://discourse.julialang.org/u/Petra)\
**Replies:** 3\
**Last updated:** [May 24, 2020, 12:56am UTC](https://discourse.julialang.org/t/broadcasting-regex-in-dataframe-to-create-new-column/40029 "2020-05-24T00:56:31Z")

</div>

I’m quite new to Julia using Python and R before. I want to populate a new column in a DataFrame with data extracted from an existing column using Regex. I apply the function match, broadcasting and a regex to extract t…

---

## [Using the @memoize macro](https://discourse.julialang.org/t/using-the-memoize-macro/39992)

<div class="topic-metadata">

**Author:** [@Nimpa](https://discourse.julialang.org/u/Nimpa)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 12:07am UTC](https://discourse.julialang.org/t/using-the-memoize-macro/39992 "2020-05-24T00:07:40Z")

</div>

macro memoize(fun::Expr) local call = fun.args\[1\] local name = call.args\[1\].args\[1\] local arg1 = call.args\[1\].args\[2\] local arg1\_name = arg1.args\[1\] local arg1\_type = arg1.args\[2\] local return\_type = call.args\[2\] local b…

---

## [Why FOR Loop last iteration ITEM not available GLOBALLY?](https://discourse.julialang.org/t/why-for-loop-last-iteration-item-not-available-globally/40046)

<div class="topic-metadata">

**Author:** [@santokalayil](https://discourse.julialang.org/u/santokalayil)\
**Replies:** 11\
**Last updated:** [May 23, 2020, 10:44pm UTC](https://discourse.julialang.org/t/why-for-loop-last-iteration-item-not-available-globally/40046 "2020-05-23T22:44:26Z")

</div>

Can Someone help me: I am from a python background. for loop last interation item variable is globally available in Python. But Julia throws error. Why is it so?. Is there any other way to make that last iteration item…

---

## [Compile-time recognition of parametric types e.g. K{T} for any K](https://discourse.julialang.org/t/compile-time-recognition-of-parametric-types-e-g-k-t-for-any-k/40041)

<div class="topic-metadata">

**Author:** [@dataSurfer](https://discourse.julialang.org/u/dataSurfer)\
**Replies:** 3\
**Last updated:** [May 23, 2020, 9:20pm UTC](https://discourse.julialang.org/t/compile-time-recognition-of-parametric-types-e-g-k-t-for-any-k/40041 "2020-05-23T21:20:11Z")

</div>

Hi, I’m don’t know how to get the compiler to recognise a type K{T} where K could be any type. For example: abstract type AbstractGeneric{T} end #... after defining further types \<: AbstractGeneric{T} for example ... #…

---

## [DiffEqParamEstim.jl on Ensemble problems: autodiff doesn't work](https://discourse.julialang.org/t/diffeqparamestim-jl-on-ensemble-problems-autodiff-doesnt-work/40004)

<div class="topic-metadata">

**Author:** [@DR59](https://discourse.julialang.org/u/DR59)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 8:24pm UTC](https://discourse.julialang.org/t/diffeqparamestim-jl-on-ensemble-problems-autodiff-doesnt-work/40004 "2020-05-23T20:24:42Z")

</div>

Hi! Hi! I’m not sure if what I have highlighted below is a bug/missing design feature/necessary evil. Could anyone enlighten me? Thanks! I’m using the excellent build\_loss\_objective() function from DiffEqParamEstim.jl,…

---

## [JuMP stopped working](https://discourse.julialang.org/t/jump-stopped-working/40032)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 5\
**Last updated:** [May 23, 2020, 6:57pm UTC](https://discourse.julialang.org/t/jump-stopped-working/40032 "2020-05-23T18:57:23Z")

</div>

Hello, I reinstalled Julia (v1.4.1), and now I am no longer able to use JuMP. Please find my code and error log below. Pkg.add("JuMP") should install the recent version of JuMP but when I check the status it is actually…

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

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