# Latest

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

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

**Page:** 1567

---

## [Pkg update results in Unsatifiable requirements detected](https://discourse.julialang.org/t/pkg-update-results-in-unsatifiable-requirements-detected/50525)

<div class="topic-metadata">

**Author:** [@Phil\_Tomson](https://discourse.julialang.org/u/Phil_Tomson)\
**Replies:** 1\
**Last updated:** [November 21, 2020, 4:22pm UTC](https://discourse.julialang.org/t/pkg-update-results-in-unsatifiable-requirements-detected/50525 "2020-11-21T16:22:00Z")

</div>

It had been a while since I did a pkg update. I did one today and got: ERROR: Unsatisfiable requirements detected for package CuArrays \[3a865a2d\]: CuArrays \[3a865a2d\] log: ├─possible versions are: \[0.2.1, 0.3.0, 0.4.…

---

## [How to print a number to X digits?](https://discourse.julialang.org/t/how-to-print-a-number-to-x-digits/50526)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [November 21, 2020, 2:35pm UTC](https://discourse.julialang.org/t/how-to-print-a-number-to-x-digits/50526 "2020-11-21T14:35:23Z")

</div>

Hello! Suppose I have the number, “1”, how would I make it so that it would always be printed as “1.000”? Kind regards

---

## [Using NL solver to find zeros](https://discourse.julialang.org/t/using-nl-solver-to-find-zeros/50323)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 9\
**Last updated:** [November 20, 2020, 5:17pm UTC](https://discourse.julialang.org/t/using-nl-solver-to-find-zeros/50323 "2020-11-20T17:17:51Z")

</div>

I was using Roots.jl for this sort of problem, and wanted to use ModelingTookit.jl or NLsolver.jl (the former uses the later). using ModelingToolkit ∂xf(x)=(2 \* x) \* inv(2 \* sqrt(3 + (x ^ 2))) nl\_f = @eval eval(∂xf\[.01\]…

---

## [Reusing eigendecomposition for matrix exponentials](https://discourse.julialang.org/t/reusing-eigendecomposition-for-matrix-exponentials/50528)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 6\
**Last updated:** [November 21, 2020, 1:32pm UTC](https://discourse.julialang.org/t/reusing-eigendecomposition-for-matrix-exponentials/50528 "2020-11-21T13:32:32Z")

</div>

Looking into the documentation, exp is using the eigen decomposition to calculate the exponetial exp(A) of a matrix A. Is there a function in Julia/BLAS to compute exp(c\*A) for a constant, possible imaginary, c for a lot…

---

## [Export as Word](https://discourse.julialang.org/t/export-as-word/50518)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 8\
**Last updated:** [November 21, 2020, 12:29pm UTC](https://discourse.julialang.org/t/export-as-word/50518 "2020-11-21T12:29:11Z")

</div>

How do I export a Julia Markdown as a .doc or .docx document

---

## [AssertionError: IndexStyle(value) === IndexLinear() in loss function](https://discourse.julialang.org/t/assertionerror-indexstyle-value-indexlinear-in-loss-function/50531)

<div class="topic-metadata">

**Author:** [@praveen](https://discourse.julialang.org/u/praveen)\
**Replies:** 0\
**Last updated:** [November 21, 2020, 12:14pm UTC](https://discourse.julialang.org/t/assertionerror-indexstyle-value-indexlinear-in-loss-function/50531 "2020-11-21T12:14:37Z")

</div>

please anyone help me out not able to debug here is the code trying to create data on second order ode and then passing random parameter in equation and applying DiffEqFlux.sciml\_train to predict parameter using Diff…

---

## [Flux multi-cpu parallelism?](https://discourse.julialang.org/t/flux-multi-cpu-parallelism/50450)

<div class="topic-metadata">

**Author:** [@kc104](https://discourse.julialang.org/u/kc104)\
**Replies:** 9\
**Last updated:** [November 21, 2020, 8:34am UTC](https://discourse.julialang.org/t/flux-multi-cpu-parallelism/50450 "2020-11-21T08:34:27Z")

</div>

I’ve hit a wall with trying to optimize my code… I’m trying to type-II maximum likelihood training for exact Gaussian process using Flux to get the hang of things. As much as I’ve tried to optimize my code, I’m struggli…

---

## [Turing: Observing sum of two random dice](https://discourse.julialang.org/t/turing-observing-sum-of-two-random-dice/50486)

<div class="topic-metadata">

**Author:** [@Hakan\_Kjellerstrand](https://discourse.julialang.org/u/Hakan_Kjellerstrand)\
**Replies:** 4\
**Last updated:** [November 21, 2020, 8:29am UTC](https://discourse.julialang.org/t/turing-observing-sum-of-two-random-dice/50486 "2020-11-21T08:29:03Z")

</div>

I’m (still) a Turing beginner and tries to build some simple models (porting my WebPPL models). I now wonder how observing a sum of two (DiscreteUniform) random variables works, i.e. to force the sum to a specific value. …

---

## [How to do to shortly create for vector of dates range selector](https://discourse.julialang.org/t/how-to-do-to-shortly-create-for-vector-of-dates-range-selector/50512)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 3\
**Last updated:** [November 21, 2020, 8:24am UTC](https://discourse.julialang.org/t/how-to-do-to-shortly-create-for-vector-of-dates-range-selector/50512 "2020-11-21T08:24:33Z")

</div>

julia\> m 6-element Array{Date,1}: 2017-03-01 2017-04-01 2017-05-01 2017-06-01 2017-07-01 2017-08-01 julia\> (m.\>Date("2017-04-01")) .& (m.\<Date("2017-08-01")) 6-element BitArray{1}: 0 0 1 1 1 0 something lik…

---

## [Use \`mitmproxy\` with Julia AWS.jl](https://discourse.julialang.org/t/use-mitmproxy-with-julia-aws-jl/50524)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 0\
**Last updated:** [November 21, 2020, 4:58am UTC](https://discourse.julialang.org/t/use-mitmproxy-with-julia-aws-jl/50524 "2020-11-21T04:58:11Z")

</div>

I was trying to use mitmproxy to debug a AWS connection issue, however it produces the following error, any idea why? ERROR: DNSError: , unknown node or service (EAI\_NONAME) Stacktrace: \[1\] getalladdrinfo(::String) at …

---

## [Benchmarks of Various Formats for Tabular Data](https://discourse.julialang.org/t/benchmarks-of-various-formats-for-tabular-data/50489)

<div class="topic-metadata">

**Author:** [@lungben](https://discourse.julialang.org/u/lungben)\
**Replies:** 1\
**Last updated:** [November 21, 2020, 4:14am UTC](https://discourse.julialang.org/t/benchmarks-of-various-formats-for-tabular-data/50489 "2020-11-21T04:14:38Z")

</div>

Hi, here is a Pluto.jl notebook for benchmarking of the read and write performance, as well as file sizes of various formats for tabular data. The following formats / packages are compared: CSV via GitHub - JuliaDa…

---

## [Hello. May someone explain me this expression? N = Int(1e3)](https://discourse.julialang.org/t/hello-may-someone-explain-me-this-expression-n-int-1e3/50520)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [November 21, 2020, 12:51am UTC](https://discourse.julialang.org/t/hello-may-someone-explain-me-this-expression-n-int-1e3/50520 "2020-11-21T00:51:55Z")

</div>

I tryed reproduce this using 1\\euler3 unicode, without success. May someone help me to understand this expression?

---

## [How to declare an 1-dim Array of 310 1-dimensional Arrays with Int32 elements](https://discourse.julialang.org/t/how-to-declare-an-1-dim-array-of-310-1-dimensional-arrays-with-int32-elements/50119)

<div class="topic-metadata">

**Author:** [@reb](https://discourse.julialang.org/u/reb)\
**Replies:** 3\
**Last updated:** [November 21, 2020, 12:01am UTC](https://discourse.julialang.org/t/how-to-declare-an-1-dim-array-of-310-1-dimensional-arrays-with-int32-elements/50119 "2020-11-21T00:01:40Z")

</div>

I’m trying to declare a 1-dimensional Array of 310 1-dimensional arrays with an unspecified number of Int32 elements. I thought Array{Array{Int32}}(310) was correct (at least circa 2017), but it fails.

---

## [Switch find-zero method if convergence fails without try-catch](https://discourse.julialang.org/t/switch-find-zero-method-if-convergence-fails-without-try-catch/50482)

<div class="topic-metadata">

**Author:** [@Jacob\_Stevens](https://discourse.julialang.org/u/Jacob_Stevens)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 11:18pm UTC](https://discourse.julialang.org/t/switch-find-zero-method-if-convergence-fails-without-try-catch/50482 "2020-11-20T23:18:30Z")

</div>

I have an inner loop which solves a simple equation using find\_zero(), currently with the default Order0() method at a plausible starting value. 99.99% of the time, this works smoothly with no issues. However, occasional…

---

## [Eachindex efficiency on row-major arrays](https://discourse.julialang.org/t/eachindex-efficiency-on-row-major-arrays/50511)

<div class="topic-metadata">

**Author:** [@rfourquet](https://discourse.julialang.org/u/rfourquet)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 10:42pm UTC](https://discourse.julialang.org/t/eachindex-efficiency-on-row-major-arrays/50511 "2020-11-20T22:42:14Z")

</div>

I’m confused by these seemingly contradicting facts: From eachindex docstring: Create an iterable object for visiting each index of an AbstractArray A in an efficient manner (emphasize mine) A transposed view o…

---

## [Plot Issue on Ubuntu 18.04.4 LTS](https://discourse.julialang.org/t/plot-issue-on-ubuntu-18-04-4-lts/39186)

<div class="topic-metadata">

**Author:** [@Halley](https://discourse.julialang.org/u/Halley)\
**Replies:** 4\
**Last updated:** [November 20, 2020, 9:21pm UTC](https://discourse.julialang.org/t/plot-issue-on-ubuntu-18-04-4-lts/39186 "2020-11-20T21:21:10Z")

</div>

I am trying to use plots in Julia (1.04) from the terminal, to graph a time column (I already transformed it to time data). I have not been able to graph any type of matrix, in all cases it throws the following error: /…

---

## [Get infeasibility certificate in CPLEX or Gurobi](https://discourse.julialang.org/t/get-infeasibility-certificate-in-cplex-or-gurobi/50506)

<div class="topic-metadata">

**Author:** [@pkienscherf](https://discourse.julialang.org/u/pkienscherf)\
**Replies:** 3\
**Last updated:** [November 20, 2020, 7:18pm UTC](https://discourse.julialang.org/t/get-infeasibility-certificate-in-cplex-or-gurobi/50506 "2020-11-20T19:18:09Z")

</div>

Hi, I’m trying to retrieve an extreme/dual infeasibility ray from a JuMP Model. I tried to do so with the GLPK, CPLEX, and Gurobi Solvers. I currently have the following versions installed: \[a076750e\] CPLEX v0.7.3 …

---

## [Diversity and Inclusion in the Julia community](https://discourse.julialang.org/t/diversity-and-inclusion-in-the-julia-community/50271)

<div class="topic-metadata">

**Author:** [@nassarhuda](https://discourse.julialang.org/u/nassarhuda)\
**Replies:** 6\
**Last updated:** [November 20, 2020, 6:01pm UTC](https://discourse.julialang.org/t/diversity-and-inclusion-in-the-julia-community/50271 "2020-11-20T18:01:02Z")

</div>

It is no secret that the Julia community, like many other communities in science and technology, has a diversity problem and this year, we’re actively working to fix it. Brief history of diversity efforts within the Jul…

---

## [Slow appendencode on Raspberry Pi](https://discourse.julialang.org/t/slow-appendencode-on-raspberry-pi/50504)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 3\
**Last updated:** [November 20, 2020, 5:56pm UTC](https://discourse.julialang.org/t/slow-appendencode-on-raspberry-pi/50504 "2020-11-20T17:56:57Z")

</div>

On a Raspberry Pi in the following MWE: using VideoIO, Dates, BenchmarkTools cam = VideoIO.opencamera() img = read(cam) filename = "video.mp4" framerate = 200 props = \[:priv\_data =\> ("crf"=\>"0","preset"=\>"ultrafast")\] e…

---

## [Resources for medical data analysis](https://discourse.julialang.org/t/resources-for-medical-data-analysis/50445)

<div class="topic-metadata">

**Author:** [@Dr\_YADEV\_I](https://discourse.julialang.org/u/Dr_YADEV_I)\
**Replies:** 5\
**Last updated:** [November 20, 2020, 4:10pm UTC](https://discourse.julialang.org/t/resources-for-medical-data-analysis/50445 "2020-11-20T16:10:14Z")

</div>

I am medical professional. I am newbie in julia. My idea is to use julia for data analysis. At present I use R. I would like to appreciate any help to accomplish this. Packages, resources etc

---

## [Scope Question (Maybe Bug?)](https://discourse.julialang.org/t/scope-question-maybe-bug/50500)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 9\
**Last updated:** [November 20, 2020, 3:39pm UTC](https://discourse.julialang.org/t/scope-question-maybe-bug/50500 "2020-11-20T15:39:23Z")

</div>

I have an example that has me confused about scope. I define a variable current\_header which is inside a for loop. My understanding is this variable should be in the scope of the for loop. Furthermore this example wor…

---

## [Distributions.jl extension](https://discourse.julialang.org/t/distributions-jl-extension/50501)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 3:34pm UTC](https://discourse.julialang.org/t/distributions-jl-extension/50501 "2020-11-20T15:34:16Z")

</div>

Hi, I’m trying to code an extension of the Distributions.jl to add my own distribution, a convolution of N gammas, for which there exists an efficient algorithm for exact pdf / cdf computations. I wrote a bunch of code…

---

## [Using ModelingToolkit Variables](https://discourse.julialang.org/t/using-modelingtoolkit-variables/50484)

<div class="topic-metadata">

**Author:** [@Fathya.Salih](https://discourse.julialang.org/u/Fathya.Salih)\
**Replies:** 4\
**Last updated:** [November 20, 2020, 2:28pm UTC](https://discourse.julialang.org/t/using-modelingtoolkit-variables/50484 "2020-11-20T14:28:27Z")

</div>

I am trying to simulate a heat transfer model with location-specific boundary conditions (each discrete volume element has its own Robin BC). I am using a Physics-Informed NN and have made a similar post regarding the sa…

---

## [Query root relaxation values with JuMP](https://discourse.julialang.org/t/query-root-relaxation-values-with-jump/50465)

<div class="topic-metadata">

**Author:** [@afazevedo](https://discourse.julialang.org/u/afazevedo)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 2:23pm UTC](https://discourse.julialang.org/t/query-root-relaxation-values-with-jump/50465 "2020-11-20T14:23:42Z")

</div>

Whats the easiest way to query root relaxation value with JuMP? I’m reoptimizing and setting “NodeLimit” parameter to 1.

---

## [Need a little help with parametric types](https://discourse.julialang.org/t/need-a-little-help-with-parametric-types/50481)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 5\
**Last updated:** [November 20, 2020, 12:10pm UTC](https://discourse.julialang.org/t/need-a-little-help-with-parametric-types/50481 "2020-11-20T12:10:14Z")

</div>

I want to prepare a example but aren’t able to create it. Can someone help me :slight\_smile: julia\> struct ModInt{N \<: Integer} \<: Integer k::Integer ModInt{N}(k::Integer) where {N \<: Integer} = ne…

---

## [Reminder: Travis-CI.org shuts down on December 31, 2020](https://discourse.julialang.org/t/reminder-travis-ci-org-shuts-down-on-december-31-2020/47234)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 11\
**Last updated:** [November 20, 2020, 1:35pm UTC](https://discourse.julialang.org/t/reminder-travis-ci-org-shuts-down-on-december-31-2020/47234 "2020-11-20T13:35:35Z")

</div>

Reminder: Travis-CI.org will be shut down on December 31, 2020. Full details are in this newsletter from Travis. If you still have packages that are using Travis-CI.org for continuous integration, now is the time to mig…

---

## [Best way to update Julia](https://discourse.julialang.org/t/best-way-to-update-julia/50483)

<div class="topic-metadata">

**Author:** [@Flock1](https://discourse.julialang.org/u/Flock1)\
**Replies:** 5\
**Last updated:** [November 20, 2020, 1:08pm UTC](https://discourse.julialang.org/t/best-way-to-update-julia/50483 "2020-11-20T13:08:44Z")

</div>

Hi, I want to know what’s the best way to update Julia? I used this as a reference and I realized that the path to Julia is not present in PATH environment variable. So I’ll probably need to uninstall Julia and install …

---

## [Julia v1.5.3 has been released](https://discourse.julialang.org/t/julia-v1-5-3-has-been-released/49931)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 34\
**Last updated:** [November 20, 2020, 12:53pm UTC](https://discourse.julialang.org/t/julia-v1-5-3-has-been-released/49931 "2020-11-20T12:53:32Z")

</div>

Julia version 1.5.3, the third patch release in the 1.5 series of releases, is now available. You can get binaries for glibc Linux (i686, x86-64, AArch64), musl Linux (x86-64), FreeBSD (x86-64), macOS, and Windows (32-, …

---

## [Testing function with "if @generated"?](https://discourse.julialang.org/t/testing-function-with-if-generated/17823)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 10\
**Last updated:** [November 20, 2020, 12:51pm UTC](https://discourse.julialang.org/t/testing-function-with-if-generated/17823 "2020-11-20T12:51:09Z")

</div>

How to I test both generated and non-generated implementation paths of a function that uses if @generated? I’m sure I saw something about it once, but I can’t find it again …

---

## [GitHub actions CI using CodeCov code coverage](https://discourse.julialang.org/t/github-actions-ci-using-codecov-code-coverage/50487)

<div class="topic-metadata">

**Author:** [@jhbdiehl](https://discourse.julialang.org/u/jhbdiehl)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 12:49pm UTC](https://discourse.julialang.org/t/github-actions-ci-using-codecov-code-coverage/50487 "2020-11-20T12:49:21Z")

</div>

I am currently trying to shift my Julia CI from Travis to GitHub actions (and am pretty new to the topic of CI). Any working workflow for implementing codecov.io usage for GitHub actions in a julia project is highly appr…

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

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