# Latest

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

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

**Page:** 1201

---

## [Makie - How do I create an image from a HSV matrix of pixels?](https://discourse.julialang.org/t/makie-how-do-i-create-an-image-from-a-hsv-matrix-of-pixels/71835)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 4:00pm UTC](https://discourse.julialang.org/t/makie-how-do-i-create-an-image-from-a-hsv-matrix-of-pixels/71835 "2021-11-20T16:00:49Z")

</div>

I am converting my Mandelbrot display/interactions program from using GtkReactive/ImageView to Makie. In my GtkReactive/ImageView version my HSV array is defined as points = Array{HSV{Float64},2}(undef, y\_size, x\_size) …

---

## [VS Code TERMINAL (Julia REPL) is not showing prompt messages for inputs properly](https://discourse.julialang.org/t/vs-code-terminal-julia-repl-is-not-showing-prompt-messages-for-inputs-properly/70282)

<div class="topic-metadata">

**Author:** [@shubh\_b](https://discourse.julialang.org/u/shubh_b)\
**Replies:** 1\
**Last updated:** [November 20, 2021, 3:39pm UTC](https://discourse.julialang.org/t/vs-code-terminal-julia-repl-is-not-showing-prompt-messages-for-inputs-properly/70282 "2021-11-20T15:39:39Z")

</div>

In VS Code Extension, I was trying to run a simple Julia program that can prompt for inputs of two numbers, then shows the sum of numbers like below: print("Enter the first number: ") a = parse(Float64, readline()) prin…

---

## [JuliaReach & JuliaIntervals Days 3](https://discourse.julialang.org/t/juliareach-juliaintervals-days-3/71829)

<div class="topic-metadata">

**Author:** [@mforets](https://discourse.julialang.org/u/mforets)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 3:09pm UTC](https://discourse.julialang.org/t/juliareach-juliaintervals-days-3/71829 "2021-11-20T15:09:23Z")

</div>

JuliaReach & JuliaIntervals Days 3 We are pleased to announce the JuliaReach and JuliaIntervals Days 3, which will take place fully online from 9th-11th December 2021. This event will host talks from two Julia communiti…

---

## [Fast evaluation of multivariate integrals in Julia for integrands depending on many parameters](https://discourse.julialang.org/t/fast-evaluation-of-multivariate-integrals-in-julia-for-integrands-depending-on-many-parameters/71815)

<div class="topic-metadata">

**Author:** [@vicdolean](https://discourse.julialang.org/u/vicdolean)\
**Replies:** 4\
**Last updated:** [November 20, 2021, 3:02pm UTC](https://discourse.julialang.org/t/fast-evaluation-of-multivariate-integrals-in-julia-for-integrands-depending-on-many-parameters/71815 "2021-11-20T15:02:35Z")

</div>

Hi, I need to evaluate an oscillatory integral of the form \\int\_D f(x) exp(\\omega g(x)) dx on a two dimensional domain D that could be R^2, given than f(x) is a exponentially decreasing function equal to an exponentia…

---

## [Hatch or groupfill in groupedbar stats plots](https://discourse.julialang.org/t/hatch-or-groupfill-in-groupedbar-stats-plots/71824)

<div class="topic-metadata">

**Author:** [@grandemundo82](https://discourse.julialang.org/u/grandemundo82)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 1:36pm UTC](https://discourse.julialang.org/t/hatch-or-groupfill-in-groupedbar-stats-plots/71824 "2021-11-20T13:36:51Z")

</div>

Hello: Is there anyway to fill the bar in groupedbar (statsplots Julia) with something like hatch or groupfill? That would be really useful for publications in black and white. I tried the below without luck Please h…

---

## [Plotting a phase portrait of a differential equation](https://discourse.julialang.org/t/plotting-a-phase-portrait-of-a-differential-equation/29208)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 11\
**Last updated:** [November 20, 2021, 12:18pm UTC](https://discourse.julialang.org/t/plotting-a-phase-portrait-of-a-differential-equation/29208 "2021-11-20T12:18:41Z")

</div>

Hey Folks. I was just wondering if there was an existing package or tool for plotting the phase portrait of a system of differential equations, or a phase portrait plus direction field? I am thinking of a plot like this…

---

## [Error in installing DynamicalSystems,jl](https://discourse.julialang.org/t/error-in-installing-dynamicalsystems-jl/71761)

<div class="topic-metadata">

**Author:** [@aburousan](https://discourse.julialang.org/u/aburousan)\
**Replies:** 2\
**Last updated:** [November 20, 2021, 12:16pm UTC](https://discourse.julialang.org/t/error-in-installing-dynamicalsystems-jl/71761 "2021-11-20T12:16:45Z")

</div>

I am trying to install the DynamicalSystem.jl package but continuously facing this error. Can Someone help me with this? (Julia version- 1.6.3) julia\> Pkg.add("DynamicalSystems") Resolving package versions... ERROR: …

---

## [\[ANN\] Replay.jl - Replay instructions](https://discourse.julialang.org/t/ann-replay-jl-replay-instructions/71655)

<div class="topic-metadata">

**Author:** [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Replies:** 3\
**Last updated:** [November 20, 2021, 9:23am UTC](https://discourse.julialang.org/t/ann-replay-jl-replay-instructions/71655 "2021-11-20T09:23:29Z")

</div>

Introduction Let’s assume you have to record your screen to explain something about Julia topics e.g. how to use REPL, how to use your great package on Julia REPL etc… You are supposed to input your source code by hand l…

---

## [Trouble installing Julia 1.6.4 to latest version of Vscode](https://discourse.julialang.org/t/trouble-installing-julia-1-6-4-to-latest-version-of-vscode/71811)

<div class="topic-metadata">

**Author:** [@Peter-Jolly](https://discourse.julialang.org/u/Peter-Jolly)\
**Replies:** 2\
**Last updated:** [November 20, 2021, 8:31am UTC](https://discourse.julialang.org/t/trouble-installing-julia-1-6-4-to-latest-version-of-vscode/71811 "2021-11-20T08:31:54Z")

</div>

I installed Julia 1.6.4 today (after uninstalling 1.6.3) on my Windows 11 machine. I now find I get the following error when trying to run Julia from vscode (I have set the environment path to point to Julia 1.6.4 binary…

---

## [Continuation of nonlinear normal modes with BifurcationKit.jl](https://discourse.julialang.org/t/continuation-of-nonlinear-normal-modes-with-bifurcationkit-jl/71728)

<div class="topic-metadata">

**Author:** [@KaioBenedetti](https://discourse.julialang.org/u/KaioBenedetti)\
**Replies:** 8\
**Last updated:** [November 20, 2021, 3:39am UTC](https://discourse.julialang.org/t/continuation-of-nonlinear-normal-modes-with-bifurcationkit-jl/71728 "2021-11-20T03:39:56Z")

</div>

Dear all, I am new to Julia, and came to notice this package for the continuation of autonomous dynamical systems. I tried to apply it to the computation of normal modes of second-order dynamical systems. Briefly, I am …

---

## [How to change the tolerance of the QRPivoted method](https://discourse.julialang.org/t/how-to-change-the-tolerance-of-the-qrpivoted-method/71753)

<div class="topic-metadata">

**Author:** [@valperez](https://discourse.julialang.org/u/valperez)\
**Replies:** 5\
**Last updated:** [November 19, 2021, 6:08pm UTC](https://discourse.julialang.org/t/how-to-change-the-tolerance-of-the-qrpivoted-method/71753 "2021-11-19T18:08:19Z")

</div>

Hi there :slight\_smile: I’m using the LinearAlgebra package in Julia to use the QRPivoted method. The documentation is not very clear about the use of the tolerance. I want to use que qr pivoted function on a matrix A b…

---

## [How to discover functions which apply to a given object?](https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087)

<div class="topic-metadata">

**Author:** [@mboratko](https://discourse.julialang.org/u/mboratko)\
**Replies:** 36\
**Last updated:** [November 20, 2021, 2:24am UTC](https://discourse.julialang.org/t/how-to-discover-functions-which-apply-to-a-given-object/21087 "2021-11-20T02:24:14Z")

</div>

This is, at it’s heart, a question related to user experience, particular with an eye toward rapid prototyping. For me, one of the things which makes Python so great for rapid prototyping is the ability to easily discov…

---

## [JuliaLogging: Everything you need for logging in Julia](https://discourse.julialang.org/t/julialogging-everything-you-need-for-logging-in-julia/71736)

<div class="topic-metadata">

**Author:** [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Replies:** 3\
**Last updated:** [November 20, 2021, 1:49am UTC](https://discourse.julialang.org/t/julialogging-everything-you-need-for-logging-in-julia/71736 "2021-11-20T01:49:53Z")

</div>

The JuliaLogging organization Back in June we created the JuliaLogging organization with the intention to collect and promote various logging packages in Julia. It is my understanding that logging in Julia is quite under…

---

## [Different behavior for same \`@code\_llvm\` for voxel traversal](https://discourse.julialang.org/t/different-behavior-for-same-code-llvm-for-voxel-traversal/71695)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 14\
**Last updated:** [November 20, 2021, 12:33am UTC](https://discourse.julialang.org/t/different-behavior-for-same-code-llvm-for-voxel-traversal/71695 "2021-11-20T00:33:51Z")

</div>

I have a function that takes in a line segment. I wanted to benchmark the performance and see if there is a difference whether the line segment is specified with endpoints given in integers or floats. The function has an…

---

## [Efficient way to add a value of column to all rows conditioned on another column by group](https://discourse.julialang.org/t/efficient-way-to-add-a-value-of-column-to-all-rows-conditioned-on-another-column-by-group/71784)

<div class="topic-metadata">

**Author:** [@Rahul](https://discourse.julialang.org/u/Rahul)\
**Replies:** 3\
**Last updated:** [November 20, 2021, 12:49am UTC](https://discourse.julialang.org/t/efficient-way-to-add-a-value-of-column-to-all-rows-conditioned-on-another-column-by-group/71784 "2021-11-20T00:49:31Z")

</div>

My data has 3 columns (id, time, conc). I am looking for a concise way to add the column (using Chain.jl and DataFramesMeta.jl) as described in the title. Example code is below: df = DataFrame(id = sort(repeat(\[1, 2, 3\]…

---

## [Creating custom type of enumerations of symbols](https://discourse.julialang.org/t/creating-custom-type-of-enumerations-of-symbols/18635)

<div class="topic-metadata">

**Author:** [@rabarar](https://discourse.julialang.org/u/rabarar)\
**Replies:** 21\
**Last updated:** [November 20, 2021, 12:42am UTC](https://discourse.julialang.org/t/creating-custom-type-of-enumerations-of-symbols/18635 "2021-11-20T00:42:34Z")

</div>

Is it possible in julia to create a named-type that is an enumeration of symbol values? for example a type named Mode that constists solely of symbols :a, :b, and c for example. I tried constructing it with Val and Uni…

---

## ["@generated" for structs?](https://discourse.julialang.org/t/generated-for-structs/71803)

<div class="topic-metadata">

**Author:** [@wmanning-cra](https://discourse.julialang.org/u/wmanning-cra)\
**Replies:** 1\
**Last updated:** [November 20, 2021, 12:21am UTC](https://discourse.julialang.org/t/generated-for-structs/71803 "2021-11-20T00:21:05Z")

</div>

I was playing with code that generates a struct + accompanying code, based on a set of information that can be represented with groups of symbols. It occurred to me that I could simplify the syntax around this stuff if I…

---

## [DifferentialEquations.jl EnsembleThreads: crash w/increase in problem size](https://discourse.julialang.org/t/differentialequations-jl-ensemblethreads-crash-w-increase-in-problem-size/71799)

<div class="topic-metadata">

**Author:** [@evolbio](https://discourse.julialang.org/u/evolbio)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 11:15pm UTC](https://discourse.julialang.org/t/differentialequations-jl-ensemblethreads-crash-w-increase-in-problem-size/71799 "2021-11-19T23:15:23Z")

</div>

DifferentialEquations.jl has facilities for parallel processing of the solver w/different parameters, see docs. In further testing of prior code, I added the option to run parallel threads using EmsembleThreads(), as doc…

---

## [Parallelization on the CPU isn't effective](https://discourse.julialang.org/t/parallelization-on-the-cpu-isnt-effective/71795)

<div class="topic-metadata">

**Author:** [@leopdsf](https://discourse.julialang.org/u/leopdsf)\
**Replies:** 19\
**Last updated:** [November 19, 2021, 10:29pm UTC](https://discourse.julialang.org/t/parallelization-on-the-cpu-isnt-effective/71795 "2021-11-19T22:29:52Z")

</div>

Hello, everyone. I’m following the tutorial introduction to GPU programming in Julia (Introduction · CUDA.jl), and the first example in the tutorial discuss parallelization on CPU. Didn’t find a specific section for CPU,…

---

## [JuliaMicroscopy org?](https://discourse.julialang.org/t/juliamicroscopy-org/65952)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 24\
**Last updated:** [November 19, 2021, 9:02pm UTC](https://discourse.julialang.org/t/juliamicroscopy-org/65952 "2021-11-19T21:02:48Z")

</div>

I was curious about possibly starting a JuliaMicroscopy org for microscopy-specific packages. I have some research code I’ve published, and MATLAB code I’m interested in porting to Julia. @nboyd also has a localization m…

---

## [\[ANN\] SQLStore.jl: use SQL tables as persistent Julia collections](https://discourse.julialang.org/t/ann-sqlstore-jl-use-sql-tables-as-persistent-julia-collections/71796)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 0\
**Last updated:** [November 19, 2021, 8:14pm UTC](https://discourse.julialang.org/t/ann-sqlstore-jl-use-sql-tables-as-persistent-julia-collections/71796 "2021-11-19T20:14:56Z")

</div>

This package provides means to treat SQL tables similarly to the simplest Julia tables, Vector{NamesTuple} s. It is not an ORM and doesn’t try to be. SQLStore.jl specifically focuses on native SQLite datatypes and avoid…

---

## [How to make a Clipping of an image in Julia](https://discourse.julialang.org/t/how-to-make-a-clipping-of-an-image-in-julia/21756)

<div class="topic-metadata">

**Author:** [@GERSON\_EZEQUIEL\_HERN](https://discourse.julialang.org/u/GERSON_EZEQUIEL_HERN)\
**Replies:** 1\
**Last updated:** [November 19, 2021, 8:01pm UTC](https://discourse.julialang.org/t/how-to-make-a-clipping-of-an-image-in-julia/21756 "2021-11-19T20:01:08Z")

</div>

how to make a Clipping of an image in Julia When you have a grayscale image, it is quantized to one byte. (I would like to do it with a color image such as the mandrill) That means that only 255 bts can be quantified …

---

## [Create multiple tasks in a loop](https://discourse.julialang.org/t/create-multiple-tasks-in-a-loop/71701)

<div class="topic-metadata">

**Author:** [@Bossax](https://discourse.julialang.org/u/Bossax)\
**Replies:** 5\
**Last updated:** [November 19, 2021, 7:54pm UTC](https://discourse.julialang.org/t/create-multiple-tasks-in-a-loop/71701 "2021-11-19T19:54:18Z")

</div>

Hi everyone, I am trying to create multiple tasks in a forr loop using @eval. Here is a block of code f(k) = begin sleep(1) println("t$k is done") end begin for k in 1:4 @eval $(Symbol(:t,k)) = @tas…

---

## [Dispatch Problems](https://discourse.julialang.org/t/dispatch-problems/71793)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 7:43pm UTC](https://discourse.julialang.org/t/dispatch-problems/71793 "2021-11-19T19:43:05Z")

</div>

I thought I knew how dispatch worked, at least to some degree. It is not working as expected. I am using 1.6.3. First a MWE with 3 methods. function foo(; count::Bool = false) foo(:ANY, count) end function foo(id::…

---

## [Does Julia detect the maximum number of threads availible and if so how?](https://discourse.julialang.org/t/does-julia-detect-the-maximum-number-of-threads-availible-and-if-so-how/71683)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 29\
**Last updated:** [November 19, 2021, 6:27pm UTC](https://discourse.julialang.org/t/does-julia-detect-the-maximum-number-of-threads-availible-and-if-so-how/71683 "2021-11-19T18:27:50Z")

</div>

New to julia and experimenting with threads. I can’t seem to figure out how Julia determines JULIA\_NUM\_THREADS I have two Intel xeon 2699 v3 in my hp z840 Intel blurb on 2699 v3 So what should JULIA\_NUM\_THREADS end…

---

## [Benchmarking MPI programs?](https://discourse.julialang.org/t/benchmarking-mpi-programs/71775)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 6:00pm UTC](https://discourse.julialang.org/t/benchmarking-mpi-programs/71775 "2021-11-19T18:00:00Z")

</div>

Has anyone tried to get BenchmarkTools.jl to play nicely with MPI? I’ve been struggling with intermittent hangs\*. It seems without thinking too hard like it should be possible to make @benchmark MPI-aware pretty easily (…

---

## [Am I misunderstanding the doc for @logmsg?](https://discourse.julialang.org/t/am-i-misunderstanding-the-doc-for-logmsg/71792)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 0\
**Last updated:** [November 19, 2021, 5:49pm UTC](https://discourse.julialang.org/t/am-i-misunderstanding-the-doc-for-logmsg/71792 "2021-11-19T17:49:57Z")

</div>

I’m trying to write a macro to customize the behavior of logging a bit. Logging · The Julia Language says \_file=string and \_line=integer can be used to override the apparent source location of a log message. This te…

---

## [Solving a higher index DAE formulating it as a DAEProblem](https://discourse.julialang.org/t/solving-a-higher-index-dae-formulating-it-as-a-daeproblem/71741)

<div class="topic-metadata">

**Author:** [@jisnajohnson27](https://discourse.julialang.org/u/jisnajohnson27)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 5:46pm UTC](https://discourse.julialang.org/t/solving-a-higher-index-dae-formulating-it-as-a-daeproblem/71741 "2021-11-19T17:46:26Z")

</div>

I’m trying to solve a higher index DAE (say in my case index 3) system of equations formulating it directly as a DAEProblem without converting it into an ODEProblem. Going through the documentation I could find only ex…

---

## [Turing: Target Variable is a Deterministic Function of Random Variables](https://discourse.julialang.org/t/turing-target-variable-is-a-deterministic-function-of-random-variables/71791)

<div class="topic-metadata">

**Author:** [@Stephen2](https://discourse.julialang.org/u/Stephen2)\
**Replies:** 0\
**Last updated:** [November 19, 2021, 5:09pm UTC](https://discourse.julialang.org/t/turing-target-variable-is-a-deterministic-function-of-random-variables/71791 "2021-11-19T17:09:31Z")

</div>

Hi, I am new to Julia and struggling to formulate my model correctly. My model consists of: A regressor x\_t An intermediate variable y\_t = k \* x\_t + \\eta, \\eta ~ Normal(0, \\sigma) And finally a target variable z…

---

## [Energy efficiency leading to more simulations?](https://discourse.julialang.org/t/energy-efficiency-leading-to-more-simulations/71789)

<div class="topic-metadata">

**Author:** [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 5:01pm UTC](https://discourse.julialang.org/t/energy-efficiency-leading-to-more-simulations/71789 "2021-11-19T17:01:15Z")

</div>

Hello! I need your brain :slight\_smile: Here’s cool repo where energy efficiency is estimated for different languages. https://github.com/greensoftwarelab/Energy-Languages I remember discussing about an effect “that-…

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

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