# Latest

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

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

**Page:** 1741

---

## [MatrixPencils.jl: A package for manipulation of linear matrix pencils](https://discourse.julialang.org/t/matrixpencils-jl-a-package-for-manipulation-of-linear-matrix-pencils/39953)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 10:58am UTC](https://discourse.julialang.org/t/matrixpencils-jl-a-package-for-manipulation-of-linear-matrix-pencils/39953 "2020-05-22T10:58:12Z")

</div>

I would like to announce a new package MatrixPencils.jl, which provides functions to compute the Kronecker structure of linear matrix pencils and to solve several connected problems as the determination of eigenvalues, z…

---

## [Ask us Anything, SciML and DiffEq edition](https://discourse.julialang.org/t/ask-us-anything-sciml-and-diffeq-edition/39949)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 9:37am UTC](https://discourse.julialang.org/t/ask-us-anything-sciml-and-diffeq-edition/39949 "2020-05-22T09:37:54Z")

</div>

Our next Ask-Us-Anything session as part of our virtual global meetup series will be held later today, at 8am PDT/11am EDT/ 3pm UTC/4pm BST/5pm CEDT/8:30pm IST/ midnight JST In this session, Chris Rackauckas and Yingbo …

---

## [Change the color of the text in console](https://discourse.julialang.org/t/change-the-color-of-the-text-in-console/39937)

<div class="topic-metadata">

**Author:** [@catosp](https://discourse.julialang.org/u/catosp)\
**Replies:** 13\
**Last updated:** [May 22, 2020, 9:13am UTC](https://discourse.julialang.org/t/change-the-color-of-the-text-in-console/39937 "2020-05-22T09:13:42Z")

</div>

Hello ! Is there a way to change the color of println() output text in console in windows? Thank you!

---

## [How do PyCall use already existed Python with installed packages](https://discourse.julialang.org/t/how-do-pycall-use-already-existed-python-with-installed-packages/39930)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 9:10am UTC](https://discourse.julialang.org/t/how-do-pycall-use-already-existed-python-with-installed-packages/39930 "2020-05-22T09:10:26Z")

</div>

Would you suggest, How do PyCall use already existed Python with installed packages. thank you in advance.

---

## [Opportunity to write some idiomatic Julia code](https://discourse.julialang.org/t/opportunity-to-write-some-idiomatic-julia-code/39702)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 29\
**Last updated:** [May 22, 2020, 9:10am UTC](https://discourse.julialang.org/t/opportunity-to-write-some-idiomatic-julia-code/39702 "2020-05-22T09:10:15Z")

</div>

This came up in my RSS feed today. The Julia code could do with a makeover for anyone interested.

---

## [Franklin: How to obtain output of fdplotly() as HTML string?](https://discourse.julialang.org/t/franklin-how-to-obtain-output-of-fdplotly-as-html-string/39944)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 9:01am UTC](https://discourse.julialang.org/t/franklin-how-to-obtain-output-of-fdplotly-as-html-string/39944 "2020-05-22T09:01:06Z")

</div>

I would like to know how I can obtain HTML string from fdplotly() in Franklin. This is because I what to put the HTML in an outer div so that I can create a tabular layout for plotly plots. Imaginary code will look som…

---

## [Partitioning a matrix in batches](https://discourse.julialang.org/t/partitioning-a-matrix-in-batches/39943)

<div class="topic-metadata">

**Author:** [@swuyts](https://discourse.julialang.org/u/swuyts)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 8:44am UTC](https://discourse.julialang.org/t/partitioning-a-matrix-in-batches/39943 "2020-05-22T08:44:14Z")

</div>

Hi there, Let’s say I have a matrix of size 20x10. What is the best way to partition this matrix into batches of 20x2? In an ideal world I would like to have them structured as Array{Array{Float32,2},1}, leading to one …

---

## [Different plotly behavour across computers](https://discourse.julialang.org/t/different-plotly-behavour-across-computers/39693)

<div class="topic-metadata">

**Author:** [@bionicinnovations1](https://discourse.julialang.org/u/bionicinnovations1)\
**Replies:** 10\
**Last updated:** [May 22, 2020, 8:23am UTC](https://discourse.julialang.org/t/different-plotly-behavour-across-computers/39693 "2020-05-22T08:23:48Z")

</div>

I am using Plots with the plotly() backend for plotting a time vector against a vector containing 10 vectors using the following: plot(time\_vect, dataMat, hover = time\_vect, layout = (10,1)) This works fine on both my…

---

## [Variable interpolation in pkg command](https://discourse.julialang.org/t/variable-interpolation-in-pkg-command/39940)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 8:09am UTC](https://discourse.julialang.org/t/variable-interpolation-in-pkg-command/39940 "2020-05-22T08:09:58Z")

</div>

Hi ! Do you know if it is possible to use variable interpolation in pkg command to feed pkg with a list of packages ? (see example below) Thanks ! using Pkg pkg"activate ." pkg" instantiate" pkg" status" pck = \["Com…

---

## [Good examples of posts asking questions](https://discourse.julialang.org/t/good-examples-of-posts-asking-questions/39938)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 7:12am UTC](https://discourse.julialang.org/t/good-examples-of-posts-asking-questions/39938 "2020-05-22T07:12:33Z")

</div>

Hi, there is advice provided to people coming for their first time, about how to make good questions, namely: I think that linking to good examples of such questions might also be inspiring, specially if they are comi…

---

## [\`pop!\` doesn't work with \`Iterator.Pairs\`](https://discourse.julialang.org/t/pop-doesnt-work-with-iterator-pairs/39786)

<div class="topic-metadata">

**Author:** [@mbaz](https://discourse.julialang.org/u/mbaz)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 5:55am UTC](https://discourse.julialang.org/t/pop-doesnt-work-with-iterator-pairs/39786 "2020-05-22T05:55:31Z")

</div>

I was surprised by this: function test(;args...) for k in keys(args) pop!(args,k,nothing) end end When called as test(z=1), this error results: ERROR: MethodError: no method matching pop!(::Base.Iterat…

---

## [How to set environment variable in machine-file?](https://discourse.julialang.org/t/how-to-set-environment-variable-in-machine-file/39909)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 5:21am UTC](https://discourse.julialang.org/t/how-to-set-environment-variable-in-machine-file/39909 "2020-05-22T05:21:00Z")

</div>

I have a Julia script which computes many linear programming problems using Gurobi+JuMP in parallel. When I test my code on HPC and submit the following slurm script: #!/bin/bash #SBATCH --job-name=xz49 #SBATCH --partit…

---

## [LoadError with PackageCompiler with Docker on macOS (works in Docker on Windows, Docker on Linux, and in native macOS)](https://discourse.julialang.org/t/loaderror-with-packagecompiler-with-docker-on-macos-works-in-docker-on-windows-docker-on-linux-and-in-native-macos/39921)

<div class="topic-metadata">

**Author:** [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 3:33am UTC](https://discourse.julialang.org/t/loaderror-with-packagecompiler-with-docker-on-macos-works-in-docker-on-windows-docker-on-linux-and-in-native-macos/39921 "2020-05-22T03:33:52Z")

</div>

When I’m running the PackageCompiler to generate a Julia system image, I’m getting a LoadError. What’s so odd is that this exact process works in Docker on Windows, in Docker on Linux, on macOS (native), but not in Docke…

---

## [Where to Seperate Files in Package?](https://discourse.julialang.org/t/where-to-seperate-files-in-package/39919)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 2:03am UTC](https://discourse.julialang.org/t/where-to-seperate-files-in-package/39919 "2020-05-22T02:03:31Z")

</div>

I’m creating a package (mostly for personal use, and for sharing with a few people, but not like “going into the general repository” standards here), and one of the questions I’m running into is where exactly to split th…

---

## [Can't seem to change PyPlot latex font](https://discourse.julialang.org/t/cant-seem-to-change-pyplot-latex-font/39886)

<div class="topic-metadata">

**Author:** [@KK\_JuliaNoob](https://discourse.julialang.org/u/KK_JuliaNoob)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 12:28am UTC](https://discourse.julialang.org/t/cant-seem-to-change-pyplot-latex-font/39886 "2020-05-22T00:28:23Z")

</div>

I’m trying to recreate a plot I made in Python (attached) using PyPlot in Julia. I can’t seem to get the tick font and the x- and y- label fonts to match the ones in Python (Computer Modern I presume). Here are the…

---

## [Looking for tips on parallelism for Differential Equations Problems](https://discourse.julialang.org/t/looking-for-tips-on-parallelism-for-differential-equations-problems/39917)

<div class="topic-metadata">

**Author:** [@saulo.giovani](https://discourse.julialang.org/u/saulo.giovani)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 12:25am UTC](https://discourse.julialang.org/t/looking-for-tips-on-parallelism-for-differential-equations-problems/39917 "2020-05-22T00:25:38Z")

</div>

Hey, community! I am new in Julia and in multithreading/parallel computing. I am trying to clarify some things that I’ve read and to find the best way to solve my problem given my computational resources. My problem is: …

---

## [Overflow behavior](https://discourse.julialang.org/t/overflow-behavior/39924)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 12:18am UTC](https://discourse.julialang.org/t/overflow-behavior/39924 "2020-05-22T00:18:39Z")

</div>

The manual reads “In Julia, exceeding the maximum representable value of a given type results in a wraparound behavior” with an example along these lines: julia\> typemax(Int64)+1 -9223372036854775808 which does wrap ar…

---

## [Best way to optimize code](https://discourse.julialang.org/t/best-way-to-optimize-code/37980)

<div class="topic-metadata">

**Author:** [@jmaths](https://discourse.julialang.org/u/jmaths)\
**Replies:** 29\
**Last updated:** [May 21, 2020, 11:04pm UTC](https://discourse.julialang.org/t/best-way-to-optimize-code/37980 "2020-05-21T23:04:35Z")

</div>

I’m making my first effort to move from Matlab to Julia and have found my code to improve by ~3x but still think there is more to come, I’m not using any global variables in the function and have preallocated all the arr…

---

## [An interactive notebook for a simple SEIR model](https://discourse.julialang.org/t/an-interactive-notebook-for-a-simple-seir-model/39847)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 17\
**Last updated:** [May 21, 2020, 9:13pm UTC](https://discourse.julialang.org/t/an-interactive-notebook-for-a-simple-seir-model/39847 "2020-05-21T21:13:20Z")

</div>

Hi All, Was helping Alan and David teach the Julia class on Covid modeling. Thought the one thing missing from online discussions was a simple interactive notebook – so nothing gets hidden from the user. Therefore wit…

---

## [\[ANN\] ArgMacros.jl - Performant, easy, type-stable, macro-based CLI parsing in Julia](https://discourse.julialang.org/t/ann-argmacros-jl-performant-easy-type-stable-macro-based-cli-parsing-in-julia/39887)

<div class="topic-metadata">

**Author:** [@zachmatson](https://discourse.julialang.org/u/zachmatson)\
**Replies:** 3\
**Last updated:** [May 21, 2020, 9:00pm UTC](https://discourse.julialang.org/t/ann-argmacros-jl-performant-easy-type-stable-macro-based-cli-parsing-in-julia/39887 "2020-05-21T21:00:15Z")

</div>

Happy to announce that version 0.1.1 of ArgMacros is now in the Julia registry. ArgMacros offers a few new advantages for argument parsing: All arguments are stored directly as statically typed local variables via macr…

---

## [Julia wrapper for C++ FeynDiagram](https://discourse.julialang.org/t/julia-wrapper-for-c-feyndiagram/39901)

<div class="topic-metadata">

**Author:** [@gangchern](https://discourse.julialang.org/u/gangchern)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 6:14pm UTC](https://discourse.julialang.org/t/julia-wrapper-for-c-feyndiagram/39901 "2020-05-21T18:14:13Z")

</div>

Is there a julia wrapper for FeynDiagram? The programm is written in c++. The latest version is \[version 2.6, Aug 13, 2003)\] http://www.feyndiagram.com/download/ . But there are lots of errors when I try to use cxx to r…

---

## [Question on Warning: \`getindex(o::PyObject, s::AbstractString)\` is deprecated in favor of dot overloading](https://discourse.julialang.org/t/question-on-warning-getindex-o-pyobject-s-abstractstring-is-deprecated-in-favor-of-dot-overloading/39703)

<div class="topic-metadata">

**Author:** [@janrpeters](https://discourse.julialang.org/u/janrpeters)\
**Replies:** 10\
**Last updated:** [May 21, 2020, 6:13pm UTC](https://discourse.julialang.org/t/question-on-warning-getindex-o-pyobject-s-abstractstring-is-deprecated-in-favor-of-dot-overloading/39703 "2020-05-21T18:13:53Z")

</div>

I want to modify rcParams by rcParams = PyDict(matplotlib\["rcParams"\]) rcParams\["text.usetex"\] = true; rcParams\["text.latex.preamble"\] = raw"\\usepackage{{amsmath}}"; but I get the getindex warning. How do I fix that wa…

---

## [NL Model Issue during forward diff](https://discourse.julialang.org/t/nl-model-issue-during-forward-diff/39888)

<div class="topic-metadata">

**Author:** [@Dominic\_Pazzula](https://discourse.julialang.org/u/Dominic_Pazzula)\
**Replies:** 1\
**Last updated:** [May 21, 2020, 5:49pm UTC](https://discourse.julialang.org/t/nl-model-issue-during-forward-diff/39888 "2020-05-21T17:49:35Z")

</div>

I’m still new to Julia and JuMP, so this might be an easy one. Setup: I have some complex business logic that takes in some planned changes in a DataFrame, and returns a DataFrame with projected output and error variab…

---

## [Mathematical precision in julia](https://discourse.julialang.org/t/mathematical-precision-in-julia/39895)

<div class="topic-metadata">

**Author:** [@Marques](https://discourse.julialang.org/u/Marques)\
**Replies:** 1\
**Last updated:** [May 21, 2020, 5:41pm UTC](https://discourse.julialang.org/t/mathematical-precision-in-julia/39895 "2020-05-21T17:41:50Z")

</div>

Hi guys, I’m still a beginner in Julia and I would like tips on how I can get greater precision in extensive mathematical calculations performed in Julia. Thanks :slight\_smile:

---

## [Snap Package for Linux distribution](https://discourse.julialang.org/t/snap-package-for-linux-distribution/2583)

<div class="topic-metadata">

**Author:** [@TheLoneCodeman](https://discourse.julialang.org/u/TheLoneCodeman)\
**Replies:** 23\
**Last updated:** [May 21, 2020, 5:16pm UTC](https://discourse.julialang.org/t/snap-package-for-linux-distribution/2583 "2020-05-21T17:16:48Z")

</div>

Hi, so I have been using Julia for about 7-8 months now, and I have noticed that while there is a package for CentOS/RedHat/Fedora, I noticed that there is no longer an official julia apt package. Now, Ubuntu’s maker, C…

---

## [Function Name Convention - General or Specific names?](https://discourse.julialang.org/t/function-name-convention-general-or-specific-names/39875)

<div class="topic-metadata">

**Author:** [@PeterKeffer](https://discourse.julialang.org/u/PeterKeffer)\
**Replies:** 4\
**Last updated:** [May 21, 2020, 4:29pm UTC](https://discourse.julialang.org/t/function-name-convention-general-or-specific-names/39875 "2020-05-21T16:29:01Z")

</div>

Hey there! I’ve just started using Julia, so I’m super new and overwhelmed by so much new information. So sorry if my question is superfluous. What if I have two modules / “classes”: GameBoard and GameRules Both can …

---

## [ODEs inside a Turing model](https://discourse.julialang.org/t/odes-inside-a-turing-model/39759)

<div class="topic-metadata">

**Author:** [@Manoj\_Gopalkrishnan](https://discourse.julialang.org/u/Manoj_Gopalkrishnan)\
**Replies:** 19\
**Last updated:** [May 21, 2020, 3:45pm UTC](https://discourse.julialang.org/t/odes-inside-a-turing-model/39759 "2020-05-21T15:45:15Z")

</div>

I’m trying to write an HMM using Turing. The forward model from one time step to another is given by a system of differential equations. I wrote this up but I’m getting an error: MethodError: no method matching Ordinary…

---

## [Makie.jl: Plotting contour with fillrange=true above lines](https://discourse.julialang.org/t/makie-jl-plotting-contour-with-fillrange-true-above-lines/39830)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 6\
**Last updated:** [May 21, 2020, 2:22pm UTC](https://discourse.julialang.org/t/makie-jl-plotting-contour-with-fillrange-true-above-lines/39830 "2020-05-21T14:22:37Z")

</div>

Hello, I am trying to learn how to use Makie and found myself in a situation where I would like to plot some lines and a contour plot with filllrange=true (or also a heatmap) on the same scene while having the contour p…

---

## [Problem with Julia-client update to Atom](https://discourse.julialang.org/t/problem-with-julia-client-update-to-atom/28443)

<div class="topic-metadata">

**Author:** [@Brad\_Hines](https://discourse.julialang.org/u/Brad_Hines)\
**Replies:** 16\
**Last updated:** [May 21, 2020, 1:40pm UTC](https://discourse.julialang.org/t/problem-with-julia-client-update-to-atom/28443 "2020-05-21T13:40:05Z")

</div>

This morning I applied the Julia-client update (to 0.10.1) to Atom 1.40.1. At first, Julia was then missing from Atom altogether. I followed the Juno FAQ instructions to apm uninstall julia-client (It failed, said …

---

## [Why is broadcasting allocating so much memory?](https://discourse.julialang.org/t/why-is-broadcasting-allocating-so-much-memory/39874)

<div class="topic-metadata">

**Author:** [@torrance](https://discourse.julialang.org/u/torrance)\
**Replies:** 8\
**Last updated:** [May 21, 2020, 10:18am UTC](https://discourse.julialang.org/t/why-is-broadcasting-allocating-so-much-memory/39874 "2020-05-21T10:18:49Z")

</div>

In the below dummy code I show that doing the sum over the 4-vectors using broadcasting is an order of magnitude slower than iteration of the 4-vector manually. However, I don’t understand why - and whether I can keep us…

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

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