# Latest

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

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

**Page:** 1735

---

## [Guide: How to Create a Portable Julia Pro Installation for Windows](https://discourse.julialang.org/t/guide-how-to-create-a-portable-julia-pro-installation-for-windows/29831)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 10\
**Last updated:** [May 29, 2020, 9:31am UTC](https://discourse.julialang.org/t/guide-how-to-create-a-portable-julia-pro-installation-for-windows/29831 "2020-05-29T09:31:37Z")

</div>

In this post I will describe how I created a portable installation of Julia Pro. Portable Installation In the past Windows applications used to keep all configuration files and data files within the folder of the instal…

---

## [String matching in docs.julialang.org](https://discourse.julialang.org/t/string-matching-in-docs-julialang-org/40390)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 2\
**Last updated:** [May 29, 2020, 8:29am UTC](https://discourse.julialang.org/t/string-matching-in-docs-julialang-org/40390 "2020-05-29T08:29:55Z")

</div>

as discussed here, a search of “isstruct” shows nothing about Base.isstructtype(). maybe there’s some hidden bug in the (partial) string matching algorithm? thanks.

---

## [ForwardDiff cannot determine ordering of Dual tags](https://discourse.julialang.org/t/forwarddiff-cannot-determine-ordering-of-dual-tags/40345)

<div class="topic-metadata">

**Author:** [@Manoj\_Gopalkrishnan](https://discourse.julialang.org/u/Manoj_Gopalkrishnan)\
**Replies:** 3\
**Last updated:** [May 29, 2020, 5:30am UTC](https://discourse.julialang.org/t/forwarddiff-cannot-determine-ordering-of-dual-tags/40345 "2020-05-29T05:30:40Z")

</div>

Here’s my MWE @model function mwe(::Type{T} = Vector{Float64}) where {T} lvar ~ Uniform(5.0,15.0) u ~ filldist(truncated(Laplace(55.0, lvar), 10, Inf),10) # u is cycle time of x to be reconstructed return u …

---

## [Tuple or immutable struct as function argument regarding speed and optimization](https://discourse.julialang.org/t/tuple-or-immutable-struct-as-function-argument-regarding-speed-and-optimization/23088)

<div class="topic-metadata">

**Author:** [@OvidiusCicero](https://discourse.julialang.org/u/OvidiusCicero)\
**Replies:** 10\
**Last updated:** [May 29, 2020, 3:44am UTC](https://discourse.julialang.org/t/tuple-or-immutable-struct-as-function-argument-regarding-speed-and-optimization/23088 "2020-05-29T03:44:08Z")

</div>

I have a function with many named arguments that should not depend on global variables for performance reasons In the following I will call the variables a,b,c, ... ,y,z I want to replace them with an immutable struct …

---

## [Is it possible to mmap part of the file?](https://discourse.julialang.org/t/is-it-possible-to-mmap-part-of-the-file/40391)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [May 29, 2020, 3:36am UTC](https://discourse.julialang.org/t/is-it-possible-to-mmap-part-of-the-file/40391 "2020-05-29T03:36:25Z")

</div>

I see the doc here has example of how to mmap the whole file Memory-mapped I/O · The Julia Language But say if I want to mmap bytes n to m of a file to an array, is that possible? Do I have to use unsafe\_wrap?

---

## [Reproducibility of multiple calls to rand](https://discourse.julialang.org/t/reproducibility-of-multiple-calls-to-rand/40316)

<div class="topic-metadata">

**Author:** [@patrickpch](https://discourse.julialang.org/u/patrickpch)\
**Replies:** 10\
**Last updated:** [May 28, 2020, 11:10pm UTC](https://discourse.julialang.org/t/reproducibility-of-multiple-calls-to-rand/40316 "2020-05-28T23:10:27Z")

</div>

Hello, new Julia (version 1.4.1) user here, trying to understand the reproducibility of random number sequences. Below is an example consisting of two tests: using Random blksize = 1000 #= Test 1: Generate a sequence …

---

## [Need help with performance in a very large loop](https://discourse.julialang.org/t/need-help-with-performance-in-a-very-large-loop/40292)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 28\
**Last updated:** [May 28, 2020, 10:58pm UTC](https://discourse.julialang.org/t/need-help-with-performance-in-a-very-large-loop/40292 "2020-05-28T22:58:47Z")

</div>

Hello, I hope you guys are safe and healthy in these unprecedented times. I am trying to improve the performance of a loop, in terms of both time and memory usage, that attempts to find a maximum among a number of alter…

---

## [Blank plots from Gadfly in Juno](https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 7\
**Last updated:** [May 28, 2020, 10:03pm UTC](https://discourse.julialang.org/t/blank-plots-from-gadfly-in-juno/39975 "2020-05-28T22:03:46Z")

</div>

I’m trying out Gadfly because I want to be able to zoom and pan on some data, and I’m having trouble getting plots to display in Juno. I’m using this example from the tutorial: using Gadfly, RDatasets iris = dataset("d…

---

## [Stationary distribution with sparse transition matrix](https://discourse.julialang.org/t/stationary-distribution-with-sparse-transition-matrix/40301)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 7\
**Last updated:** [May 28, 2020, 9:37pm UTC](https://discourse.julialang.org/t/stationary-distribution-with-sparse-transition-matrix/40301 "2020-05-28T21:37:54Z")

</div>

Dear All, I would like to ask for help/advice with following problem. I am solving the Hugget type of model (stationary distribution/transition) using the transition matrix approach (one AR(1) and one IID shock). In the…

---

## [Nlp package with lemmatizer](https://discourse.julialang.org/t/nlp-package-with-lemmatizer/39896)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 1\
**Last updated:** [May 28, 2020, 9:14pm UTC](https://discourse.julialang.org/t/nlp-package-with-lemmatizer/39896 "2020-05-28T21:14:28Z")

</div>

Would you suggest NLP package, which allows doing lemmortization. Thank you in advance.

---

## [C array of function pointers](https://discourse.julialang.org/t/c-array-of-function-pointers/40368)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://discourse.julialang.org/u/Matt_Davis)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 9:03pm UTC](https://discourse.julialang.org/t/c-array-of-function-pointers/40368 "2020-05-28T21:03:56Z")

</div>

I’m working on wrapping some C code, and one of the fundamental objects in the library is an array of function pointers. I can obtain a pointer to the object with dlsym fine, but when I try to wrap the pointer into an ar…

---

## [Help with converting Numpy einsum to Julia](https://discourse.julialang.org/t/help-with-converting-numpy-einsum-to-julia/40275)

<div class="topic-metadata">

**Author:** [@dinskid](https://discourse.julialang.org/u/dinskid)\
**Replies:** 8\
**Last updated:** [May 28, 2020, 8:22pm UTC](https://discourse.julialang.org/t/help-with-converting-numpy-einsum-to-julia/40275 "2020-05-28T20:22:58Z")

</div>

I want to convert this particular einsum expression to Julia. What is the most Julia way to do this? Python code import numpy as np x = np.arange(2\*3\*4\*5\*4).reshape(2, 3, 4, 5, 4) np.einsum('ijklk-\>ijkl', x\[:,:,1,:,:,1,…

---

## [Atom + Juno -- package Plots doesn't work](https://discourse.julialang.org/t/atom-juno-package-plots-doesnt-work/40367)

<div class="topic-metadata">

**Author:** [@Jing\_Zhang](https://discourse.julialang.org/u/Jing_Zhang)\
**Replies:** 3\
**Last updated:** [May 28, 2020, 8:07pm UTC](https://discourse.julialang.org/t/atom-juno-package-plots-doesnt-work/40367 "2020-05-28T20:07:32Z")

</div>

Package Plots works fine directly in Julia 1.0. However, it doesn’t work well when I tried in Atom + Juno. See below.

---

## [\[RFC-ANN\] SystemBenchmark.jl](https://discourse.julialang.org/t/rfc-ann-systembenchmark-jl/38982)

<div class="topic-metadata">

**Author:** [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Replies:** 45\
**Last updated:** [May 28, 2020, 8:00pm UTC](https://discourse.julialang.org/t/rfc-ann-systembenchmark-jl/38982 "2020-05-28T20:00:33Z")

</div>

In trying to get to the bottom of slow performance on some resource-limited systems, I started up SystemBenchmark.jl for running a quick series of basic representative tests on a system to quantify performance across a f…

---

## [Something about nothing](https://discourse.julialang.org/t/something-about-nothing/40001)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 21\
**Last updated:** [May 28, 2020, 7:36pm UTC](https://discourse.julialang.org/t/something-about-nothing/40001 "2020-05-28T19:36:27Z")

</div>

I’m learning Julia from the manual and really enjoying the process. Occasionally I try to do something weird and useless with a new learned concept. Here is an example of it: julia\> nothing == nothing true Nice, as exp…

---

## [How to understand Traceur's output?](https://discourse.julialang.org/t/how-to-understand-traceurs-output/25191)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 7\
**Last updated:** [May 28, 2020, 7:07pm UTC](https://discourse.julialang.org/t/how-to-understand-traceurs-output/25191 "2020-05-28T19:07:32Z")

</div>

I am not sure, that I understand correctly the performance tips regards type declarations and containers with abstract types, so I tested my code with Traceur. But I don’t really understand the output, could you please …

---

## [Julia optimisation difference](https://discourse.julialang.org/t/julia-optimisation-difference/40366)

<div class="topic-metadata">

**Author:** [@haankers](https://discourse.julialang.org/u/haankers)\
**Replies:** 0\
**Last updated:** [May 28, 2020, 6:53pm UTC](https://discourse.julialang.org/t/julia-optimisation-difference/40366 "2020-05-28T18:53:35Z")

</div>

When the following code is run x = muladd((5270536651468945146),(π),13656) println(x\*(10^-19)) it produces 1.6557879224730618 at optimisation level 0 and 1, but it produces 1.6557879224730616 at 2 and 3. I know the pr…

---

## [WhoShouldICite.jl, idea for bibliography generation](https://discourse.julialang.org/t/whoshouldicite-jl-idea-for-bibliography-generation/40354)

<div class="topic-metadata">

**Author:** [@jagot](https://discourse.julialang.org/u/jagot)\
**Replies:** 3\
**Last updated:** [May 28, 2020, 5:38pm UTC](https://discourse.julialang.org/t/whoshouldicite-jl-idea-for-bibliography-generation/40354 "2020-05-28T17:38:49Z")

</div>

I hope this is the right subforum. I had a showerthought ™, how about a small package that collates all prior work you should cite? In addition to citation.bib, which I understand is to properly cite the author(s) of a …

---

## [Scatter pallete application](https://discourse.julialang.org/t/scatter-pallete-application/40297)

<div class="topic-metadata">

**Author:** [@Auhen\_Shauchuk](https://discourse.julialang.org/u/Auhen_Shauchuk)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 5:37pm UTC](https://discourse.julialang.org/t/scatter-pallete-application/40297 "2020-05-28T17:37:36Z")

</div>

hello, i was trying to learn a bit of julia by doing some plotting although i have encountered some issues while using color palettes: scatter(df.x, df.y, palette = :tab20b, xlabel = :x, ylabel = :y) i have tried se…

---

## [Saving figures no longer possible after Plots update](https://discourse.julialang.org/t/saving-figures-no-longer-possible-after-plots-update/40331)

<div class="topic-metadata">

**Author:** [@morkip](https://discourse.julialang.org/u/morkip)\
**Replies:** 4\
**Last updated:** [May 28, 2020, 5:36pm UTC](https://discourse.julialang.org/t/saving-figures-no-longer-possible-after-plots-update/40331 "2020-05-28T17:36:54Z")

</div>

Hi, hopefully this is a quick fix, I couldn’t find anything related. I updated all installed packages using Pkg.update() this morning. Since then the following lines give an error: julia\> a = ones(3) 3-element Array{F…

---

## [Averaging multiple runs using Gillepsie.jl](https://discourse.julialang.org/t/averaging-multiple-runs-using-gillepsie-jl/40359)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 0\
**Last updated:** [May 28, 2020, 5:00pm UTC](https://discourse.julialang.org/t/averaging-multiple-runs-using-gillepsie-jl/40359 "2020-05-28T17:00:12Z")

</div>

I am continuing with my experiments with the SIR model. I would like to average the results from multiple runs using the ssa function in Gillepsie.jl. This is not straightforward since jumps are used, which are stochasti…

---

## [Latest versions of Clp, Cbc, SCIP](https://discourse.julialang.org/t/latest-versions-of-clp-cbc-scip/40324)

<div class="topic-metadata">

**Author:** [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 5:11pm UTC](https://discourse.julialang.org/t/latest-versions-of-clp-cbc-scip/40324 "2020-05-28T17:11:13Z")

</div>

For me, the latest versions of Clp, Cbc and SCIP don’t seem to want to co-exist. I think the CEnum entries in the \[compat\] section of the Project.toml files are incompatible: Clp: CEnum = "0.3" Cbc: CEnum = "0.3, 0.4…

---

## [How difficult is it to write allocation-free code to avoid GC pauses?](https://discourse.julialang.org/t/how-difficult-is-it-to-write-allocation-free-code-to-avoid-gc-pauses/40235)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 8\
**Last updated:** [May 28, 2020, 4:40pm UTC](https://discourse.julialang.org/t/how-difficult-is-it-to-write-allocation-free-code-to-avoid-gc-pauses/40235 "2020-05-28T16:40:44Z")

</div>

I’m doing almost all of my analysis in Julia, so it would be nice if I could avoid rewriting some of my algorithms in another language for production. The problem is that in production I have latency requirements that b…

---

## [Operations on output from solve()](https://discourse.julialang.org/t/operations-on-output-from-solve/40312)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 6\
**Last updated:** [May 28, 2020, 3:33pm UTC](https://discourse.julialang.org/t/operations-on-output-from-solve/40312 "2020-05-28T15:33:32Z")

</div>

I am running a simple jump\_process. Here is some code (which is not runnable, but works). The details are not important. prob = DiscreteProblem(u0,tspan,params) prob\_jump = JumpProblem(prob, Direct(), infection…

---

## ["isstruct"?](https://discourse.julialang.org/t/isstruct/40338)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 3\
**Last updated:** [May 28, 2020, 3:22pm UTC](https://discourse.julialang.org/t/isstruct/40338 "2020-05-28T15:22:00Z")

</div>

how could I identity if a Type is a composite type, i.e., something that could be getfield() ? e.g. by a isstruct() function? thanks. oh, sorry for the post. The answer is: Base.isstructtype()

---

## [Generating function for multi-dimensional array indexing](https://discourse.julialang.org/t/generating-function-for-multi-dimensional-array-indexing/40342)

<div class="topic-metadata">

**Author:** [@Alex\_Ellison](https://discourse.julialang.org/u/Alex_Ellison)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 2:42pm UTC](https://discourse.julialang.org/t/generating-function-for-multi-dimensional-array-indexing/40342 "2020-05-28T14:42:00Z")

</div>

Hey all, I’m trying to generate some functions, and while they work, I don’t fully understand the behavior coming out. Also, there may be some function in Base which does this, I just can’t find it. Illumination of eith…

---

## [Help on loop function](https://discourse.julialang.org/t/help-on-loop-function/40260)

<div class="topic-metadata">

**Author:** [@yasser\_rajwani](https://discourse.julialang.org/u/yasser_rajwani)\
**Replies:** 8\
**Last updated:** [May 28, 2020, 2:36pm UTC](https://discourse.julialang.org/t/help-on-loop-function/40260 "2020-05-28T14:36:31Z")

</div>

I have a code written ‘’’ Y1 = (Data\[1:15,10\].\* ((1 .- Data\[1:15,4\]) + (0.3 .\* Data\[1:15,4\]))) ‘’’ I now need the Y1 to go Y2, so on to Y10. ‘’’ Y2 = (Data\[1:15,11\].\* ((1 .- Data\[1:15,5\]) + (0.3 .\* Data\[1:15,5\]))) …

---

## [Iterate over running task/threads](https://discourse.julialang.org/t/iterate-over-running-task-threads/40337)

<div class="topic-metadata">

**Author:** [@lino98](https://discourse.julialang.org/u/lino98)\
**Replies:** 2\
**Last updated:** [May 28, 2020, 1:40pm UTC](https://discourse.julialang.org/t/iterate-over-running-task-threads/40337 "2020-05-28T13:40:44Z")

</div>

is it possible to iterate over all the runnning threds/tasks in julia and stop just some of them ?

---

## [Save Dataframe in file and read it again](https://discourse.julialang.org/t/save-dataframe-in-file-and-read-it-again/40336)

<div class="topic-metadata">

**Author:** [@FrootLoops](https://discourse.julialang.org/u/FrootLoops)\
**Replies:** 4\
**Last updated:** [May 28, 2020, 1:45pm UTC](https://discourse.julialang.org/t/save-dataframe-in-file-and-read-it-again/40336 "2020-05-28T13:45:22Z")

</div>

Hello, right now I am trying to save a Dataframe into a file and read it again. For this I used the CSV package. My dataframe has two columns where each entry is a vector. Here is an small example: using DataFrames usi…

---

## [Annotation for each row and column of subplots in layout, plot by column in layout, copy figure](https://discourse.julialang.org/t/annotation-for-each-row-and-column-of-subplots-in-layout-plot-by-column-in-layout-copy-figure/40258)

<div class="topic-metadata">

**Author:** [@1634](https://discourse.julialang.org/u/1634)\
**Replies:** 4\
**Last updated:** [May 28, 2020, 1:41pm UTC](https://discourse.julialang.org/t/annotation-for-each-row-and-column-of-subplots-in-layout-plot-by-column-in-layout-copy-figure/40258 "2020-05-28T13:41:56Z")

</div>

Hi, (1) except annotate!(), is there any method to set the annotation for each row and column (as highlighted) in plot layout? (2) And also any shortkey or quick way of copying the plot generated by Atom instead of …

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

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