# Latest

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

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

**Page:** 1577

---

## [Verify that function has been compiled?](https://discourse.julialang.org/t/verify-that-function-has-been-compiled/49885)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 12:30pm UTC](https://discourse.julialang.org/t/verify-that-function-has-been-compiled/49885 "2020-11-11T12:30:58Z")

</div>

Hi all, In order to decrease a GC pressure during training of machine learning models, we override the default julia allocator for arrays, such that these arrays are created inside the pre- allocated buffer, which is sc…

---

## [Julia Development cycle and release cycle](https://discourse.julialang.org/t/julia-development-cycle-and-release-cycle/49894)

<div class="topic-metadata">

**Author:** [@khloelxh](https://discourse.julialang.org/u/khloelxh)\
**Replies:** 4\
**Last updated:** [November 11, 2020, 11:26am UTC](https://discourse.julialang.org/t/julia-development-cycle-and-release-cycle/49894 "2020-11-11T11:26:54Z")

</div>

Hi there everyone, I’m relatively new to Julia programming language, and would just like to know how more on the the development cycle, and how the release cycle pool requests works? How do the admins prioritize the tas…

---

## [Significance of global keyword](https://discourse.julialang.org/t/significance-of-global-keyword/49884)

<div class="topic-metadata">

**Author:** [@Debraj\_Bhal](https://discourse.julialang.org/u/Debraj_Bhal)\
**Replies:** 5\
**Last updated:** [November 10, 2020, 7:01pm UTC](https://discourse.julialang.org/t/significance-of-global-keyword/49884 "2020-11-10T19:01:49Z")

</div>

Can someone make me understand the actual significance of global keyword in Julia?

---

## [Sequential multiple hcat()s of a range of rows?](https://discourse.julialang.org/t/sequential-multiple-hcat-s-of-a-range-of-rows/49852)

<div class="topic-metadata">

**Author:** [@forestacorn](https://discourse.julialang.org/u/forestacorn)\
**Replies:** 5\
**Last updated:** [November 11, 2020, 10:45am UTC](https://discourse.julialang.org/t/sequential-multiple-hcat-s-of-a-range-of-rows/49852 "2020-11-11T10:45:47Z")

</div>

My first post, first question and eternal novice. I wish to sequentially horizontal concatenate a range of rows from an array: A = \[ 0 1 2 3 4 5 6 7 8 9 \] So far this is the function I have come up with to perfo…

---

## [Shortcuts for editor/repl switching](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [November 11, 2020, 9:14am UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955 "2020-11-11T09:14:59Z")

</div>

I’m used to being able to quickly go to the last editor (ctrl-j, ctrl-e) or to the repl (ctrl-j, ctrl-o) in juno. Is anyone willing to throw some hand-holding in the docs for how to do this in vs code? I looked at the d…

---

## [String type that wraps an AbstractVector?](https://discourse.julialang.org/t/string-type-that-wraps-an-abstractvector/23901)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 12\
**Last updated:** [November 11, 2020, 9:13am UTC](https://discourse.julialang.org/t/string-type-that-wraps-an-abstractvector/23901 "2020-11-11T09:13:32Z")

</div>

Do we have a string type that wraps a (sub-)vector of bytes in some package? Something a bit safer than WeakRefString (so not pointer based)?

---

## [Failed to precompile ZeroMQ\_jll / ZMQ / IJulia](https://discourse.julialang.org/t/failed-to-precompile-zeromq-jll-zmq-ijulia/49069)

<div class="topic-metadata">

**Author:** [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Replies:** 7\
**Last updated:** [November 11, 2020, 9:10am UTC](https://discourse.julialang.org/t/failed-to-precompile-zeromq-jll-zmq-ijulia/49069 "2020-11-11T09:10:47Z")

</div>

I’ve been getting these locally when I’ve run dataframes tutorials with jupyterlab, but now I noticed that this also happens with the official data-science jupyter notebook. Instructions for reproducing: clone: https:…

---

## [Getting a memory reference to different parts of an array](https://discourse.julialang.org/t/getting-a-memory-reference-to-different-parts-of-an-array/49961)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 2\
**Last updated:** [November 11, 2020, 8:43am UTC](https://discourse.julialang.org/t/getting-a-memory-reference-to-different-parts-of-an-array/49961 "2020-11-11T08:43:56Z")

</div>

Suppose I have an array x = \[1, 2, 3, 4, 5, 6, 7, 8, 9, 10\]. Does there exist syntactial sugar, so I can write something like a = x\[1:3\] b = x\[4:7\] c = x\[8:10\] so that b\[1\] actually refers to x\[4\] and that b\[1\] = val…

---

## [Make a webapp framework/ecosystem as awesome as R's Shiny: a challenge to Julia's community](https://discourse.julialang.org/t/make-a-webapp-framework-ecosystem-as-awesome-as-rs-shiny-a-challenge-to-julias-community/9533)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 61\
**Last updated:** [November 11, 2020, 8:17am UTC](https://discourse.julialang.org/t/make-a-webapp-framework-ecosystem-as-awesome-as-rs-shiny-a-challenge-to-julias-community/9533 "2020-11-11T08:17:44Z")

</div>

I quickly whip up this Shiny app and published as webapp for anyone to access within 5mins. https://xiaodai.shinyapps.io/shiny\_lang\_trends/ It plots the trends of programming languages and decompose the google trends t…

---

## [Custom abbreviations in DocStringExtensions](https://discourse.julialang.org/t/custom-abbreviations-in-docstringextensions/49964)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 7:39am UTC](https://discourse.julialang.org/t/custom-abbreviations-in-docstringextensions/49964 "2020-11-11T07:39:26Z")

</div>

I’m hoping to define a custom DocStringExtensions.Abbreviation, as instructed here. Are custom Abbreviations defined in my package? Or does that require me to fork DocStringExtensions, and define a new abbreviation there…

---

## [Nightly build CI failing because rand(UnitRange) changed (when to care?)](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 28\
**Last updated:** [November 11, 2020, 7:23am UTC](https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857 "2020-11-11T07:23:25Z")

</div>

The tests of a package of mine are failing with the nightly build of Julia, and I have found out that the reason is that the behavior of the random number generator changed when it is called with a range. I have two que…

---

## [Range element wise product](https://discourse.julialang.org/t/range-element-wise-product/49966)

<div class="topic-metadata">

**Author:** [@Rojesh](https://discourse.julialang.org/u/Rojesh)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 5:17am UTC](https://discourse.julialang.org/t/range-element-wise-product/49966 "2020-11-11T05:17:29Z")

</div>

Trying to multiply a range with an array gave a no method matching error 1:4 .\* \[1,2,3,4\] ERROR: MethodError: no method matching (::Colon)(::Int64, ::Array{Int64,1}) Rather than accepting it as range it takes in as In…

---

## [Set up Pandocs](https://discourse.julialang.org/t/set-up-pandocs/49965)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 0\
**Last updated:** [November 11, 2020, 4:29am UTC](https://discourse.julialang.org/t/set-up-pandocs/49965 "2020-11-11T04:29:53Z")

</div>

How do I set up Pandocs in VS Code, to convert Markdown files. I already have Weave.

---

## [Path Environments](https://discourse.julialang.org/t/path-environments/49555)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 12\
**Last updated:** [November 11, 2020, 3:44am UTC](https://discourse.julialang.org/t/path-environments/49555 "2020-11-11T03:44:55Z")

</div>

I would like to add Maxima.jl, but in order to run Maxima I need to add a directory to the Path environment, so Julia can find it. On Windows you will also need to add the directory containing the maxima.bat executable …

---

## [How to run HTTP Post request as background task?](https://discourse.julialang.org/t/how-to-run-http-post-request-as-background-task/49673)

<div class="topic-metadata">

**Author:** [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Replies:** 3\
**Last updated:** [November 11, 2020, 2:59am UTC](https://discourse.julialang.org/t/how-to-run-http-post-request-as-background-task/49673 "2020-11-11T02:59:15Z")

</div>

Hi everybody, I am working on a wrapper for the Seq logger for Julia (see WIP project) Using the REST API for posting raw events , it is possible to post log events to the Seq logging server. My current implementatio…

---

## [Plotting Implicit Functions using ImplicitEquations.jl](https://discourse.julialang.org/t/plotting-implicit-functions-using-implicitequations-jl/49708)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 28\
**Last updated:** [November 11, 2020, 2:44am UTC](https://discourse.julialang.org/t/plotting-implicit-functions-using-implicitequations-jl/49708 "2020-11-11T02:44:31Z")

</div>

I’m trying to plot an implicit function using Plots, ImplicitEquations f(x,y)= sqrt((x^2+144)+(y^2+144)) and I get ERROR: Cannot convert Num to series data for plotting perhaps it’s because I have x and y as symbols …

---

## [JuMP to Convex](https://discourse.julialang.org/t/jump-to-convex/49957)

<div class="topic-metadata">

**Author:** [@faisal\_moh](https://discourse.julialang.org/u/faisal_moh)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 11:57pm UTC](https://discourse.julialang.org/t/jump-to-convex/49957 "2020-11-10T23:57:52Z")

</div>

Hi, I’m new to Julia. Working on converting an optimization model from JuMP to Convex. m = Model(Ipopt.Optimizer) variable(m, x1 \>= 0) variable(m, x2 \>= 0) NLobjective(m, Max, 126x1 - 9x2^2 + 182x2 - 13x2^2) constr…

---

## [Allocation / performance for 2d array sorts](https://discourse.julialang.org/t/allocation-performance-for-2d-array-sorts/49910)

<div class="topic-metadata">

**Author:** [@endremborza](https://discourse.julialang.org/u/endremborza)\
**Replies:** 5\
**Last updated:** [November 10, 2020, 11:03pm UTC](https://discourse.julialang.org/t/allocation-performance-for-2d-array-sorts/49910 "2020-11-10T23:03:06Z")

</div>

I’m just getting started with Julia so I’m trying to optimize every piece of code, not just for practicality, but to learn more about the language. I ran into an interesting case, where the number of allocation seems to …

---

## [Unable to install Gurobi 9.1](https://discourse.julialang.org/t/unable-to-install-gurobi-9-1/49915)

<div class="topic-metadata">

**Author:** [@hassanis](https://discourse.julialang.org/u/hassanis)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 11:58pm UTC](https://discourse.julialang.org/t/unable-to-install-gurobi-9-1/49915 "2020-11-10T23:58:31Z")

</div>

I’m having trouble installing Gurobi 9.1. My license is up to date and the new Gurobi has been installed in the correct location. I’ve also added the correct path prior to building the package: ENV\["GUROBI\_HOME"\] = "/Lib…

---

## [Using DifferentialEquations.jl Fminbox with multiple parameters](https://discourse.julialang.org/t/using-differentialequations-jl-fminbox-with-multiple-parameters/49829)

<div class="topic-metadata">

**Author:** [@claudio20497](https://discourse.julialang.org/u/claudio20497)\
**Replies:** 7\
**Last updated:** [November 10, 2020, 11:23pm UTC](https://discourse.julialang.org/t/using-differentialequations-jl-fminbox-with-multiple-parameters/49829 "2020-11-10T23:23:57Z")

</div>

Hello, I’m using the following SIRD eipdemiological model. This model takes into account 16 age classes. The last dD\_tot compartment, an array of 16 components all equal is a trick to later calibrate with respect to cu…

---

## [%%writefile in Julia](https://discourse.julialang.org/t/writefile-in-julia/49953)

<div class="topic-metadata">

**Author:** [@Jojo\_Dad](https://discourse.julialang.org/u/Jojo_Dad)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 11:20pm UTC](https://discourse.julialang.org/t/writefile-in-julia/49953 "2020-11-10T23:20:28Z")

</div>

In Python, I always used %%writefile myfile.py in Jupyter notebooks when I wanted to export the code coming after it. How do I do that in Julia?

---

## [Would it be worth creating a "JuliaTelecom" Julia group?](https://discourse.julialang.org/t/would-it-be-worth-creating-a-juliatelecom-julia-group/26798)

<div class="topic-metadata">

**Author:** [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Replies:** 32\
**Last updated:** [November 10, 2020, 10:41pm UTC](https://discourse.julialang.org/t/would-it-be-worth-creating-a-juliatelecom-julia-group/26798 "2020-11-10T22:41:52Z")

</div>

… And should someone from the core Julia team control that group? Outside scope of JuliaDSP? I looked at the JuliaDSP group, but it seems to focus mostly on actual DSP algorithms. The telecommunications domain also nee…

---

## [All vectors formed by picking one element from each vector](https://discourse.julialang.org/t/all-vectors-formed-by-picking-one-element-from-each-vector/49950)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 10:34pm UTC](https://discourse.julialang.org/t/all-vectors-formed-by-picking-one-element-from-each-vector/49950 "2020-11-10T22:34:47Z")

</div>

I’d like to write a vararg function which takes N vectors, and return all possible length-N vectors by picking one element from each vector. For example all\_vectors(\[\['a', 'b'\], \[1, 2, 3\], \['x'\]\]) should give the resul…

---

## [Bug detected in deconvolution operation deconv()](https://discourse.julialang.org/t/bug-detected-in-deconvolution-operation-deconv/49546)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 4\
**Last updated:** [November 10, 2020, 9:34pm UTC](https://discourse.julialang.org/t/bug-detected-in-deconvolution-operation-deconv/49546 "2020-11-10T21:34:17Z")

</div>

The DSP package contains some routines very vital and basic to Fourier analysis. However the simple deconvultion operation is not working. Consider the following simple code using DSP; a = zeros( Float64, 5); a\[3\]=10; b…

---

## [Regex on byte vector](https://discourse.julialang.org/t/regex-on-byte-vector/47754)

<div class="topic-metadata">

**Author:** [@kernelmethod](https://discourse.julialang.org/u/kernelmethod)\
**Replies:** 10\
**Last updated:** [November 10, 2020, 9:30pm UTC](https://discourse.julialang.org/t/regex-on-byte-vector/47754 "2020-11-10T21:30:28Z")

</div>

Hey there! In Python, I can apply a regular expression to a byte string using something like import re patt = re.compile(b"^ab+c$") patt.match(b"abbbc") Is there a way of doing something similar in Julia? I know I can …

---

## [Best coding of homogeneous types](https://discourse.julialang.org/t/best-coding-of-homogeneous-types/49939)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 9:24pm UTC](https://discourse.julialang.org/t/best-coding-of-homogeneous-types/49939 "2020-11-10T21:24:32Z")

</div>

Hi, I have a code where there are several Float64 type variables, which I would like to group as: Group1: H\_0, Omega\_m0, Omega\_Lambda0 Group2: Omega\_geom0, A, z\_f, z\_t These groups, Group1 and Group2, will be used as…

---

## [Knowing what package a function is from?](https://discourse.julialang.org/t/knowing-what-package-a-function-is-from/49258)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 38\
**Last updated:** [November 10, 2020, 9:03pm UTC](https://discourse.julialang.org/t/knowing-what-package-a-function-is-from/49258 "2020-11-10T21:03:21Z")

</div>

Both Calculus.jl and SystmUtils.jl have a simplify funtction. If I have code like. using Calculus using SystemUtils differentiate("x^2+65x^58+7-63") simplify(ans) how do in know which simplify it would use?

---

## [Accessing rows without copying](https://discourse.julialang.org/t/accessing-rows-without-copying/49945)

<div class="topic-metadata">

**Author:** [@barthelemymp](https://discourse.julialang.org/u/barthelemymp)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 9:01pm UTC](https://discourse.julialang.org/t/accessing-rows-without-copying/49945 "2020-11-10T21:01:46Z")

</div>

Hello, I am optimizing my code, and I wanted to know how I could access the row of a matrix directly (not making a copy of it, and pass it to a function. right now I do: @threads for i=1:n\_rows results\[i\] = myfu…

---

## [ModelingToolkit and Integrals](https://discourse.julialang.org/t/modelingtoolkit-and-integrals/49938)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 9:00pm UTC](https://discourse.julialang.org/t/modelingtoolkit-and-integrals/49938 "2020-11-10T21:00:58Z")

</div>

I don’t see a way to do integrals in modeling toolkit? Is this feature included presently?

---

## [RFC: Source-relative paths & expression-level "comments"](https://discourse.julialang.org/t/rfc-source-relative-paths-expression-level-comments/49799)

<div class="topic-metadata">

**Author:** [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Replies:** 7\
**Last updated:** [November 10, 2020, 8:56pm UTC](https://discourse.julialang.org/t/rfc-source-relative-paths-expression-level-comments/49799 "2020-11-10T20:56:28Z")

</div>

Hi, I am not certain this is the appropriate forum for this - or if I should just be making a PR. I’m not part of the Julia dev team (don’t know the procedure). I realized it might be nice to have two small macros adde…

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

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