# Latest

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

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

**Page:** 1794

---

## [Site is not searchable from google](https://discourse.julialang.org/t/site-is-not-searchable-from-google/608)

<div class="topic-metadata">

**Author:** [@TsurHerman](https://discourse.julialang.org/u/TsurHerman)\
**Replies:** 3\
**Last updated:** [November 28, 2016, 11:48pm UTC](https://discourse.julialang.org/t/site-is-not-searchable-from-google/608 "2016-11-28T23:48:10Z")

</div>

For some reason julia discourse site is not searchable from google. Even if I search for an unique phrase that exist solely on this site … I do not see it in the list of results. That is a shame because most relevant …

---

## [How to modify HDF5 dataset](https://discourse.julialang.org/t/how-to-modify-hdf5-dataset/36413)

<div class="topic-metadata">

**Author:** [@bhawkins](https://discourse.julialang.org/u/bhawkins)\
**Replies:** 1\
**Last updated:** [March 24, 2020, 5:31am UTC](https://discourse.julialang.org/t/how-to-modify-hdf5-dataset/36413 "2020-03-24T05:31:50Z")

</div>

I’m trying to write a program to read in an HDF5 file with a lot of complicated metadata, do some processing on a large dataset, and write the metadata and modified dataset back out to a new file. I want to avoid explici…

---

## [Improve debugger GUI to help adoption?](https://discourse.julialang.org/t/improve-debugger-gui-to-help-adoption/33708)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 31\
**Last updated:** [March 24, 2020, 4:23am UTC](https://discourse.julialang.org/t/improve-debugger-gui-to-help-adoption/33708 "2020-03-24T04:23:40Z")

</div>

Recently I’m promoting using Julia for our group’s next project. For context, we are choosing between Python and Julia for numerical simulations and prototype modeling. I advertised Julia’s speed, and did casual demos fo…

---

## [Method works in REPL; can't use in a function body](https://discourse.julialang.org/t/method-works-in-repl-cant-use-in-a-function-body/36332)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 17\
**Last updated:** [March 24, 2020, 4:12am UTC](https://discourse.julialang.org/t/method-works-in-repl-cant-use-in-a-function-body/36332 "2020-03-24T04:12:29Z")

</div>

I’ve stared at this a long time and can’t figure out what’s wrong. Here is a method call that works in the REPL: julia\> plus!(\[1,2,3,4,5\], infectious, 1:5,1,1) 5-element view(::Array{Float64,4}, 2, 1, 1:5, 1) with elty…

---

## [\[ANN\] NKFtool - a Julia package for converting encodings in Japanese texts using nkf](https://discourse.julialang.org/t/ann-nkftool-a-julia-package-for-converting-encodings-in-japanese-texts-using-nkf/36383)

<div class="topic-metadata">

**Author:** [@Hiroharu\_Sugawara](https://discourse.julialang.org/u/Hiroharu_Sugawara)\
**Replies:** 0\
**Last updated:** [March 23, 2020, 9:55am UTC](https://discourse.julialang.org/t/ann-nkftool-a-julia-package-for-converting-encodings-in-japanese-texts-using-nkf/36383 "2020-03-23T09:55:10Z")

</div>

I am happy to announce the release of my first package “NKFtool.” which is a wrapper for a command-line tool called network kanji filter, aka, nkf (nkf Network Kanji Filter Project Top Page - OSDN), having been developed…

---

## [Add a column to XLSX](https://discourse.julialang.org/t/add-a-column-to-xlsx/36414)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 0\
**Last updated:** [March 24, 2020, 3:29am UTC](https://discourse.julialang.org/t/add-a-column-to-xlsx/36414 "2020-03-24T03:29:44Z")

</div>

I was trying to add a dataframe of 7 float64 numbers to an XLSX using XLSX.writetable!(sheet, columns, labels, anchor\_cell=XLSX.CellRef("B2")) Do I have the formating right? I think I might need to change the numbers t…

---

## [Simulation of super high-dimensional distribution](https://discourse.julialang.org/t/simulation-of-super-high-dimensional-distribution/35144)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 3\
**Last updated:** [March 24, 2020, 2:26am UTC](https://discourse.julialang.org/t/simulation-of-super-high-dimensional-distribution/35144 "2020-03-24T02:26:16Z")

</div>

I am working on simulated method of moments which requires to draw random variables from a multivariate normal distribution for numerical integration. However, the dimension of this multivariate normal distribution is su…

---

## [Not sure how to use XLSX](https://discourse.julialang.org/t/not-sure-how-to-use-xlsx/36410)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 3\
**Last updated:** [March 24, 2020, 1:30am UTC](https://discourse.julialang.org/t/not-sure-how-to-use-xlsx/36410 "2020-03-24T01:30:14Z")

</div>

trying to put an xlsx into a dataframe for Julia using DataFrames using XLSX df = DataFrame(XLSX.readdata("C:/Users/Brett/Documents/FemaleLabourData.xlsx",Sheet1")...) I get an error that my sheet is not recognized, al…

---

## [Understanding Linear Regression and finding R-Squared](https://discourse.julialang.org/t/understanding-linear-regression-and-finding-r-squared/36079)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 11\
**Last updated:** [March 24, 2020, 12:15am UTC](https://discourse.julialang.org/t/understanding-linear-regression-and-finding-r-squared/36079 "2020-03-24T00:15:05Z")

</div>

I entered this dataframe and the GLM function below: DEmployment = \[0.036327933,0.034107058,0.030691709,0.029333333,-0.008635579,0.010452962,0.017672414,0.024565862,0.030177759,0.01565008,0.02094034,0.011609907,0.008416…

---

## [Save optimum variables](https://discourse.julialang.org/t/save-optimum-variables/36405)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [March 23, 2020, 11:46pm UTC](https://discourse.julialang.org/t/save-optimum-variables/36405 "2020-03-23T23:46:50Z")

</div>

Dear all, I have the following optimization problem implemented: using JuMP, CPLEX, Printf n=50 function Problem(c) modelo = Model(with\_optimizer(CPLEX.Optimizer)) (n, n) = size(c) @variable(modelo, x\[1:n…

---

## [File name depending on the index](https://discourse.julialang.org/t/file-name-depending-on-the-index/36407)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 2\
**Last updated:** [March 23, 2020, 10:24pm UTC](https://discourse.julialang.org/t/file-name-depending-on-the-index/36407 "2020-03-23T22:24:19Z")

</div>

Dear all, I need to save an archive with a variable X by using the package FileIO and JLD2. The variable X is a loop that depend on index i. The command to save this variable is: FileIO.save("Filename.jld2","RE",X) I…

---

## [BioJulia dependencies and JuliaRegistrator](https://discourse.julialang.org/t/biojulia-dependencies-and-juliaregistrator/36400)

<div class="topic-metadata">

**Author:** [@phaverty](https://discourse.julialang.org/u/phaverty)\
**Replies:** 4\
**Last updated:** [March 23, 2020, 9:52pm UTC](https://discourse.julialang.org/t/biojulia-dependencies-and-juliaregistrator/36400 "2020-03-23T21:52:08Z")

</div>

GenomicVectors.jl is registered with the main julia registry. I’ve added XAM.jl as a dependency. When I try to register a new version of GenomicVectors.jl, the JuliaRegistrator complains that it can’t find XAM.jl. Is the…

---

## [Overriding methods with closures?](https://discourse.julialang.org/t/overriding-methods-with-closures/36311)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 6\
**Last updated:** [March 23, 2020, 9:08pm UTC](https://discourse.julialang.org/t/overriding-methods-with-closures/36311 "2020-03-23T21:08:32Z")

</div>

Hi, Is it possible to override a method with a closure? function add(x, y) x + y end function test() add(y) = add(1, y) add(2) end test() ERROR: MethodError: no method matching (::var"#add#4")(::Int64, ::Int64…

---

## [Multi-party/agent system](https://discourse.julialang.org/t/multi-party-agent-system/36406)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 0\
**Last updated:** [March 23, 2020, 9:04pm UTC](https://discourse.julialang.org/t/multi-party-agent-system/36406 "2020-03-23T21:04:41Z")

</div>

What Julia communication framework is recommended for multi-agent system: Same program running on several (3-4) computers sharing data among them The communication between agents must be low latency and high throughput …

---

## [Strange DataFrame results](https://discourse.julialang.org/t/strange-dataframe-results/36351)

<div class="topic-metadata">

**Author:** [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Replies:** 6\
**Last updated:** [March 23, 2020, 8:01pm UTC](https://discourse.julialang.org/t/strange-dataframe-results/36351 "2020-03-23T20:01:55Z")

</div>

Hello I have a strange issue. I have many places where I’m first creating an array of Dictionaries and then converting it to a DataFrame at the end. This works fine and is fast enough for my purposes. In most cases, …

---

## [Install binary package such as OpenBLAS\_jll via very slow internet connection](https://discourse.julialang.org/t/install-binary-package-such-as-openblas-jll-via-very-slow-internet-connection/36335)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 16\
**Last updated:** [March 23, 2020, 7:43pm UTC](https://discourse.julialang.org/t/install-binary-package-such-as-openblas-jll-via-very-slow-internet-connection/36335 "2020-03-23T19:43:52Z")

</div>

I am frustrated with adding packages which requires downloading large binaries, such as OpenBLAS\_jll. I have a very slow internet connection and the downloading typically takes hours to complete (\>10MB). And the failing …

---

## [Plotly not plotting in browser](https://discourse.julialang.org/t/plotly-not-plotting-in-browser/36353)

<div class="topic-metadata">

**Author:** [@meritwagner](https://discourse.julialang.org/u/meritwagner)\
**Replies:** 3\
**Last updated:** [March 23, 2020, 7:38pm UTC](https://discourse.julialang.org/t/plotly-not-plotting-in-browser/36353 "2020-03-23T19:38:41Z")

</div>

Hey guys, I’ve been using Plotly now for a while but the Plots always open in the plots pane of Juno. From what I’ve read this code should by default open a browser window or am I wrong? using Plotly data = \[1,2,3,4\]…

---

## [Global var Meta.parse in loop no vars in Main](https://discourse.julialang.org/t/global-var-meta-parse-in-loop-no-vars-in-main/36358)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 5\
**Last updated:** [March 23, 2020, 6:33pm UTC](https://discourse.julialang.org/t/global-var-meta-parse-in-loop-no-vars-in-main/36358 "2020-03-23T18:33:58Z")

</div>

Where are my vars p1 to p10 julia\> for i=1:10 var\_name=Meta.parse("p$i") global var\_name println(var\_name) end p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 julia\> varinfo() name size su…

---

## [FFT(W) does not infer](https://discourse.julialang.org/t/fft-w-does-not-infer/36393)

<div class="topic-metadata">

**Author:** [@raminammour](https://discourse.julialang.org/u/raminammour)\
**Replies:** 11\
**Last updated:** [March 23, 2020, 6:22pm UTC](https://discourse.julialang.org/t/fft-w-does-not-infer/36393 "2020-03-23T18:22:48Z")

</div>

Hello, Is this behavior normal/expected or is it a bug (I just noticed it doesn’t happen for 2 dimensional arrays)? fff()=(u=rand(3,3,4);FFTW.fft(u)) @code\_warntype optimize=:true fff() Variables #self#::Core.Compile…

---

## [Can the julia compiler optimize code for the processor cache?](https://discourse.julialang.org/t/can-the-julia-compiler-optimize-code-for-the-processor-cache/36392)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 2\
**Last updated:** [March 23, 2020, 5:38pm UTC](https://discourse.julialang.org/t/can-the-julia-compiler-optimize-code-for-the-processor-cache/36392 "2020-03-23T17:38:38Z")

</div>

can the julia compiler optimize code for the processor cache?

---

## [How are functors useful?](https://discourse.julialang.org/t/how-are-functors-useful/24110)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 26\
**Last updated:** [March 23, 2020, 5:03pm UTC](https://discourse.julialang.org/t/how-are-functors-useful/24110 "2020-03-23T17:03:35Z")

</div>

It’s interesting that a method can be defined and attached to a type as described in the documentation about functors. I’m curious how it is ever useful though. Why not just define a regular function so it has a name t…

---

## [ANN: Documenter 0.24](https://discourse.julialang.org/t/ann-documenter-0-24/31381)

<div class="topic-metadata">

**Author:** [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Replies:** 6\
**Last updated:** [March 23, 2020, 4:46pm UTC](https://discourse.julialang.org/t/ann-documenter-0-24/31381 "2020-03-23T16:46:27Z")

</div>

We are happy to announce a new version of Documenter.jl! It brings a bunch of new features, improvements, and fixes. It also makes a few breaking changes, so please make sure to consult the CHANEGLOG when you upgrade. A…

---

## [Circcopy! does not infer for 3D arrays](https://discourse.julialang.org/t/circcopy-does-not-infer-for-3d-arrays/36401)

<div class="topic-metadata">

**Author:** [@raminammour](https://discourse.julialang.org/u/raminammour)\
**Replies:** 0\
**Last updated:** [March 23, 2020, 4:17pm UTC](https://discourse.julialang.org/t/circcopy-does-not-infer-for-3d-arrays/36401 "2020-03-23T16:17:20Z")

</div>

Found while tracking down a type instability in FFTW (FFT(W) does not infer). Is this a bug? Any ideas? u=rand(3,2,4) @code\_warntype circcopy!(copy(u),u) Variables #self#::Core.Compiler.Const(circcopy!, false) dest:…

---

## [Collecting the results from two processes](https://discourse.julialang.org/t/collecting-the-results-from-two-processes/36342)

<div class="topic-metadata">

**Author:** [@marouane1994](https://discourse.julialang.org/u/marouane1994)\
**Replies:** 3\
**Last updated:** [March 23, 2020, 4:34pm UTC](https://discourse.julialang.org/t/collecting-the-results-from-two-processes/36342 "2020-03-23T16:34:29Z")

</div>

i want to know how can we collect two results from two workers that have different dimension fro example an mcmc problem and we save the results in an array the results and we’re using two workers a=@spawn mcmc(arguments…

---

## [Strange test failures on Julia 1.4, possibly related to ForwardDiff.jl](https://discourse.julialang.org/t/strange-test-failures-on-julia-1-4-possibly-related-to-forwarddiff-jl/36398)

<div class="topic-metadata">

**Author:** [@s-broda](https://discourse.julialang.org/u/s-broda)\
**Replies:** 2\
**Last updated:** [March 23, 2020, 3:55pm UTC](https://discourse.julialang.org/t/strange-test-failures-on-julia-1-4-possibly-related-to-forwarddiff-jl/36398 "2020-03-23T15:55:04Z")

</div>

Hi all ARCHModels.jl (registered package) has test failures on Julia 1.4, see here. Tests pass on 1.3 and on nightly. The really strange thing is that I can reproduce this locally, but only within Pkg.test; when I run …

---

## [Modelling COVID-19 in Julia and plotting AgentBasedModels on arbitrary networks](https://discourse.julialang.org/t/modelling-covid-19-in-julia-and-plotting-agentbasedmodels-on-arbitrary-networks/36005)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 8\
**Last updated:** [March 23, 2020, 2:48pm UTC](https://discourse.julialang.org/t/modelling-covid-19-in-julia-and-plotting-agentbasedmodels-on-arbitrary-networks/36005 "2020-03-23T14:48:05Z")

</div>

Hi all! Recently there was a paper introducing Pathogen.jl, which I found interesting. It is a Julia package for modelling disease spreading : \[2002.05850\] Pathogen.jl: Infectious Disease Transmission Network Modelling …

---

## [Error in using DifferentialEquations](https://discourse.julialang.org/t/error-in-using-differentialequations/36012)

<div class="topic-metadata">

**Author:** [@Eris](https://discourse.julialang.org/u/Eris)\
**Replies:** 8\
**Last updated:** [March 23, 2020, 2:47pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012 "2020-03-23T14:47:30Z")

</div>

I just installed Julia and was testing out some packages. I installed DifferentialEquations but I get the following output when I try using it: using DifferentialEquations \[ Info: Precompiling DifferentialEquations \[0…

---

## [ANN: TimerOutputs.jl](https://discourse.julialang.org/t/ann-timeroutputs-jl/2429)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 5\
**Last updated:** [March 23, 2020, 2:00pm UTC](https://discourse.julialang.org/t/ann-timeroutputs-jl/2429 "2020-03-23T14:00:00Z")

</div>

Dear Julia friends, I am glad to present TimerOutputs, a Julia package I created quite a long while ago and to which I recently made significant updates and improvements. You could consider it the big brother of the @ti…

---

## [Julia 1.4 can't update registry](https://discourse.julialang.org/t/julia-1-4-cant-update-registry/36390)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 1\
**Last updated:** [March 23, 2020, 1:26pm UTC](https://discourse.julialang.org/t/julia-1-4-cant-update-registry/36390 "2020-03-23T13:26:48Z")

</div>

I have a VM running Manjaro on the test branch. I wanted to check if Julia 1.4 made has made it onto the test branch so I fired up the VM updated it and yes 1.4 has made it into test. So I wanted to test it. I hadn’t …

---

## [Optimality gap of Global solver in NLopt](https://discourse.julialang.org/t/optimality-gap-of-global-solver-in-nlopt/36144)

<div class="topic-metadata">

**Author:** [@ahmadreza-marandi](https://discourse.julialang.org/u/ahmadreza-marandi)\
**Replies:** 11\
**Last updated:** [March 23, 2020, 12:07pm UTC](https://discourse.julialang.org/t/optimality-gap-of-global-solver-in-nlopt/36144 "2020-03-23T12:07:37Z")

</div>

Hi all, I have an extremely hard NLP that I want to solve via @NLopt. I can get the code running but there is no output unless the algorithm gets terminated. Now I have two questions: Is it possible to extract the opt…

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

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