# Latest

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

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

**Page:** 909

---

## [Standard color sequence in Makie](https://discourse.julialang.org/t/standard-color-sequence-in-makie/88027)

<div class="topic-metadata">

**Author:** [@mschauer](https://discourse.julialang.org/u/mschauer)\
**Replies:** 1\
**Last updated:** [September 30, 2022, 1:49pm UTC](https://discourse.julialang.org/t/standard-color-sequence-in-makie/88027 "2022-09-30T13:49:28Z")

</div>

I want to cycle through the colors of the standard color sequence for different lines in a line plot (mostly because I want to draw a line and a dotted line in the same color for a couple of line pairs.)

---

## [Shiny-like interactive plots](https://discourse.julialang.org/t/shiny-like-interactive-plots/88034)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [September 30, 2022, 1:30pm UTC](https://discourse.julialang.org/t/shiny-like-interactive-plots/88034 "2022-09-30T13:30:38Z")

</div>

I would like to put together an interactive exploration for moments of an economic model. The basic idea is that the user tweaks 4-10 parameters via sliders, and then a bunch of plots are generated accordingly. Good, cl…

---

## [Better Way to Filter Strings from DataFrame?](https://discourse.julialang.org/t/better-way-to-filter-strings-from-dataframe/88012)

<div class="topic-metadata">

**Author:** [@r0b0ty](https://discourse.julialang.org/u/r0b0ty)\
**Replies:** 3\
**Last updated:** [September 30, 2022, 1:28pm UTC](https://discourse.julialang.org/t/better-way-to-filter-strings-from-dataframe/88012 "2022-09-30T13:28:51Z")

</div>

I have a DataFrame containing a column of Strings and a separate, standalone Vector of strings. I want a resulting DataFrame with the rows containing the strings in the standalone vector… basically check the text column …

---

## [Vs code container problem](https://discourse.julialang.org/t/vs-code-container-problem/88037)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 0\
**Last updated:** [September 30, 2022, 12:59pm UTC](https://discourse.julialang.org/t/vs-code-container-problem/88037 "2022-09-30T12:59:02Z")

</div>

I am trying to communicate vs code docker container with Julia (vs code development containers) in my devcontainer.json I have "settings": { "julia.executablePath" : "/usr/local/bin/julia", ... "extension…

---

## [Is Julia gone under next Debian versions?](https://discourse.julialang.org/t/is-julia-gone-under-next-debian-versions/84703)

<div class="topic-metadata">

**Author:** [@antcalcagni](https://discourse.julialang.org/u/antcalcagni)\
**Replies:** 11\
**Last updated:** [September 30, 2022, 12:07pm UTC](https://discourse.julialang.org/t/is-julia-gone-under-next-debian-versions/84703 "2022-09-30T12:07:22Z")

</div>

Hello there! I am relatively new to Julia and I have started to use it for my research activities. Probably I am wrong, but I have seen that Julia seems to be no longer available under Debian. On Debian Tracker julia -…

---

## [Stem plots y-values expressed in dB / moving xaxis to a negative value](https://discourse.julialang.org/t/stem-plots-y-values-expressed-in-db-moving-xaxis-to-a-negative-value/87934)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 1\
**Last updated:** [September 30, 2022, 7:08am UTC](https://discourse.julialang.org/t/stem-plots-y-values-expressed-in-db-moving-xaxis-to-a-negative-value/87934 "2022-09-30T07:08:58Z")

</div>

I would like to move the x-axis to a negative value and would like to have stem lines starting from the x-axis upwards, how can this be realized? Below a snippet that does not yet what I would like to achieve :frowning: …

---

## [How to compute hessian of simulated mle](https://discourse.julialang.org/t/how-to-compute-hessian-of-simulated-mle/87998)

<div class="topic-metadata">

**Author:** [@structural](https://discourse.julialang.org/u/structural)\
**Replies:** 7\
**Last updated:** [September 30, 2022, 11:13am UTC](https://discourse.julialang.org/t/how-to-compute-hessian-of-simulated-mle/87998 "2022-09-30T11:13:45Z")

</div>

I need to estimate parameters (a,b) and their corresponding standard errors using simulated MLE. I can successfully estimate the parameters, but I fail to get the SEs. In particular, when I try to obtain the hessian from…

---

## [Given a function with only one method, how to determine the number of arguments that it accepts?](https://discourse.julialang.org/t/given-a-function-with-only-one-method-how-to-determine-the-number-of-arguments-that-it-accepts/88030)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 10:59am UTC](https://discourse.julialang.org/t/given-a-function-with-only-one-method-how-to-determine-the-number-of-arguments-that-it-accepts/88030 "2022-09-30T10:59:55Z")

</div>

And would it be possible to determine this statically? An example of what I want julia\> f = x -\> x #5 (generic function with 1 method) julia\> applicable(f, 0) true julia\> applicable(f, 0, 0) false From this, I may d…

---

## [GR doesn't work in Julia](https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022)

<div class="topic-metadata">

**Author:** [@KotaAihara](https://discourse.julialang.org/u/KotaAihara)\
**Replies:** 10\
**Last updated:** [September 30, 2022, 10:09am UTC](https://discourse.julialang.org/t/gr-doesnt-work-in-julia/88022 "2022-09-30T10:09:21Z")

</div>

I need some help. I am using gr backend but it doesn’t work with the error using Plots x = 1:10; y = rand(10); # These are the plotting data import Pkg ENV\["GRDIR"\]="" Pkg.build("GR") gr() plot(x, y, title = "Two Lin…

---

## [Plotting a direction field of a differential equation](https://discourse.julialang.org/t/plotting-a-direction-field-of-a-differential-equation/87921)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 5\
**Last updated:** [September 30, 2022, 9:49am UTC](https://discourse.julialang.org/t/plotting-a-direction-field-of-a-differential-equation/87921 "2022-09-30T09:49:37Z")

</div>

Hi all, I have read similar title on this discourse, none of them in my opinion help to plot a direction field. The one above is really great, too bad the code does not work… and the link is unreachable again for Mak…

---

## [Shuffle a part of an array](https://discourse.julialang.org/t/shuffle-a-part-of-an-array/87982)

<div class="topic-metadata">

**Author:** [@nethaji8](https://discourse.julialang.org/u/nethaji8)\
**Replies:** 4\
**Last updated:** [September 30, 2022, 9:47am UTC](https://discourse.julialang.org/t/shuffle-a-part-of-an-array/87982 "2022-09-30T09:47:27Z")

</div>

Hi everyone, I am new to julia, can someone please let me know how to shuffle a part of an array in julia using the shuffle function…? using Random A=collect(1:10) shuffle!(A\[1:9\]) println(A\[1:9\]) shuffle!(A) printl…

---

## [Subtleties Around Environment Variable JULIA\_BINDIR](https://discourse.julialang.org/t/subtleties-around-environment-variable-julia-bindir/88028)

<div class="topic-metadata">

**Author:** [@Guanglin\_Du](https://discourse.julialang.org/u/Guanglin_Du)\
**Replies:** 0\
**Last updated:** [September 30, 2022, 9:13am UTC](https://discourse.julialang.org/t/subtleties-around-environment-variable-julia-bindir/88028 "2022-09-30T09:13:11Z")

</div>

The Running Configuration An LXC container instance based on Ubuntu 22.04 (Jammy) with Oh-my-zsh installed. lsb\_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04 LTS Release…

---

## [Monitoring the stack](https://discourse.julialang.org/t/monitoring-the-stack/88026)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 0\
**Last updated:** [September 30, 2022, 8:25am UTC](https://discourse.julialang.org/t/monitoring-the-stack/88026 "2022-09-30T08:25:19Z")

</div>

I am getting a deterministic StackOverflowError, and I have so far not managed to reduce it to a MWE. One of my functions in the callstack uses an array comprehension, and when I replace it with a function where I expli…

---

## [LsqFit.jl Residuals Interpretation](https://discourse.julialang.org/t/lsqfit-jl-residuals-interpretation/88011)

<div class="topic-metadata">

**Author:** [@wiseac](https://discourse.julialang.org/u/wiseac)\
**Replies:** 4\
**Last updated:** [September 30, 2022, 8:03am UTC](https://discourse.julialang.org/t/lsqfit-jl-residuals-interpretation/88011 "2022-09-30T08:03:16Z")

</div>

I have a question regarding interpreting the results of a residual plot. Basically light is decaying inside a cell and we are doing an exponential fit to get the decay time (In layman terms) (Cavity RingDown). There are …

---

## [\[ANN\] UnofficialJuliaMirror: Mirror of all registered Julia packages](https://discourse.julialang.org/t/ann-unofficialjuliamirror-mirror-of-all-registered-julia-packages/15983)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 13\
**Last updated:** [September 30, 2022, 8:02am UTC](https://discourse.julialang.org/t/ann-unofficialjuliamirror-mirror-of-all-registered-julia-packages/15983 "2022-09-30T08:02:50Z")

</div>

Since JuliaPackageMirrors is no longer maintained, I have set up a new mirror of Julia packages at https://github.com/UnofficialJuliaMirror. Currently, only packages that are registered in the General registry are mirro…

---

## [How to change Julia version in VSCode?](https://discourse.julialang.org/t/how-to-change-julia-version-in-vscode/66236)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 24\
**Last updated:** [September 30, 2022, 7:47am UTC](https://discourse.julialang.org/t/how-to-change-julia-version-in-vscode/66236 "2022-09-30T07:47:07Z")

</div>

I have a newbie question regarding VSCode: versioninfo() tells me I am currently using 1.6.0. But I have 1.6.1 installed, so I’d like to use that instead. Here’s the output from versioninfo: I tried to change this ac…

---

## [Parameters in a JuMP model](https://discourse.julialang.org/t/parameters-in-a-jump-model/87986)

<div class="topic-metadata">

**Author:** [@Marc\_D](https://discourse.julialang.org/u/Marc_D)\
**Replies:** 3\
**Last updated:** [September 30, 2022, 7:08am UTC](https://discourse.julialang.org/t/parameters-in-a-jump-model/87986 "2022-09-30T07:08:59Z")

</div>

I am new to Julia and uses JuMP to model optimizations problems. I am trying to model a problem with parameters that I could change. I didn’t how to do this and don’t know if it is actually possible to do. More concrete…

---

## [Segmentation fault in embedded Julia](https://discourse.julialang.org/t/segmentation-fault-in-embedded-julia/87917)

<div class="topic-metadata">

**Author:** [@cariocecus](https://discourse.julialang.org/u/cariocecus)\
**Replies:** 9\
**Last updated:** [September 30, 2022, 6:27am UTC](https://discourse.julialang.org/t/segmentation-fault-in-embedded-julia/87917 "2022-09-30T06:27:16Z")

</div>

Dear Julia community, I am developing a Windows desktop application in C++ that uses functionality developed in Julia (v0.3). The application accesses calls Julia indirectly through a DLL, the implementation of which fo…

---

## [Julia v1.8.2 has been released](https://discourse.julialang.org/t/julia-v1-8-2-has-been-released/88023)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [September 30, 2022, 5:40am UTC](https://discourse.julialang.org/t/julia-v1-8-2-has-been-released/88023 "2022-09-30T05:40:52Z")

</div>

Julia version 1.8.2, the second patch release in the 1.8 series of releases, is now available. Binaries are available at https://julialang.org/downloads/ for the following platforms, listed here by support tier: Tier 1…

---

## [\[ANN\] GraphMakie.jl - Plotting graphs... with Makie!](https://discourse.julialang.org/t/ann-graphmakie-jl-plotting-graphs-with-makie/63734)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 9\
**Last updated:** [September 30, 2022, 3:47am UTC](https://discourse.julialang.org/t/ann-graphmakie-jl-plotting-graphs-with-makie/63734 "2022-09-30T03:47:13Z")

</div>

I’m happy to announce GraphMakie.jl, a graph¹ plotting package on top of Makie! Make sure to check out the docs! It currently it supports: 2D and 3D network plots edge and node labels a lot of the cool coloring stuff…

---

## [How to analyze complicated struct in julia](https://discourse.julialang.org/t/how-to-analyze-complicated-struct-in-julia/87985)

<div class="topic-metadata">

**Author:** [@xuanquansheng](https://discourse.julialang.org/u/xuanquansheng)\
**Replies:** 5\
**Last updated:** [September 30, 2022, 2:12am UTC](https://discourse.julialang.org/t/how-to-analyze-complicated-struct-in-julia/87985 "2022-09-30T02:12:48Z")

</div>

some ocdes: julia\> using StatsModels, FixedEffectModels julia\> import StatsModels: capture\_call julia\> macro Atest2(ex) StatsModels.is\_call(ex, :~) length(ex.args) == 3 St…

---

## [Blended Objectives/Linear Combination](https://discourse.julialang.org/t/blended-objectives-linear-combination/88016)

<div class="topic-metadata">

**Author:** [@sophiepavia](https://discourse.julialang.org/u/sophiepavia)\
**Replies:** 2\
**Last updated:** [September 30, 2022, 1:08am UTC](https://discourse.julialang.org/t/blended-objectives-linear-combination/88016 "2022-09-30T01:08:08Z")

</div>

I am writing a optimization problem where I have a Utilitarian objective and MaxMin Objective. I want to have a third objective that is a linear combination of the two aka a blended objective. I am using Gurobi. My model…

---

## [Posterior predictive distributions in Turing](https://discourse.julialang.org/t/posterior-predictive-distributions-in-turing/21781)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 6\
**Last updated:** [September 29, 2022, 10:28pm UTC](https://discourse.julialang.org/t/posterior-predictive-distributions-in-turing/21781 "2022-09-29T22:28:00Z")

</div>

I am using Turing and would like to create some posterior predictive distributions. In order to do this, I need to sample from the posterior distribution. I am wondering what is the best way to sample a set of parameters…

---

## [Is there a package for Derivative Observations](https://discourse.julialang.org/t/is-there-a-package-for-derivative-observations/88013)

<div class="topic-metadata">

**Author:** [@zdc063](https://discourse.julialang.org/u/zdc063)\
**Replies:** 0\
**Last updated:** [September 29, 2022, 10:27pm UTC](https://discourse.julialang.org/t/is-there-a-package-for-derivative-observations/88013 "2022-09-29T22:27:37Z")

</div>

Hello everyone, It is well known that observations on derivatives can be used to train GP. (e.g. https://proceedings.neurips.cc/paper/2002/file/5b8e4fd39d9786228649a8a8bec4e008-Paper.pdf) I wonder whether there is any e…

---

## [Plot colour based on conditional](https://discourse.julialang.org/t/plot-colour-based-on-conditional/88005)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 2\
**Last updated:** [September 29, 2022, 9:35pm UTC](https://discourse.julialang.org/t/plot-colour-based-on-conditional/88005 "2022-09-29T21:35:32Z")

</div>

Is it possible to set a plot colour based on a conditional statement? In the plot method I use, for example, color = \[:gray :gray :gray\] to give me gray-coloured plot for three plots which appear in a side-by-side conf…

---

## [Why there is no in-place \`map!\` on arrays?](https://discourse.julialang.org/t/why-there-is-no-in-place-map-on-arrays/87956)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 13\
**Last updated:** [September 29, 2022, 7:57pm UTC](https://discourse.julialang.org/t/why-there-is-no-in-place-map-on-arrays/87956 "2022-09-29T19:57:20Z")

</div>

I am wondering why we could not have a in-place map! so that the destination and the source are the same: julia\> a = \[1, 2, 3\]; julia\> map!(-, a) 3-element Vector{Int64}: -1 -2 -3 I am using this pattern a lot and …

---

## [Quadratic (paraboloid) model fitting](https://discourse.julialang.org/t/quadratic-paraboloid-model-fitting/88007)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 0\
**Last updated:** [September 29, 2022, 7:37pm UTC](https://discourse.julialang.org/t/quadratic-paraboloid-model-fitting/88007 "2022-09-29T19:37:47Z")

</div>

Hi, this is a off-branch topic from this other thread of mine about multiple linear regression. This is not the solution to the original question, but I thought it’s useful, so I’m making a recap here. Turned out, linea…

---

## [Convert Observable Vector of Ranges into Vector of Observable Ranges](https://discourse.julialang.org/t/convert-observable-vector-of-ranges-into-vector-of-observable-ranges/88006)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 0\
**Last updated:** [September 29, 2022, 7:09pm UTC](https://discourse.julialang.org/t/convert-observable-vector-of-ranges-into-vector-of-observable-ranges/88006 "2022-09-29T19:09:15Z")

</div>

I have an observable vector of ranges and I want a vector of observable ranges so I can call lines on them. How can I do that? using WGLMakie, LinearAlgebra, Chain, Compat c = Observable(\[5,6,7\]) vertices = map(collect…

---

## [Use unitful unit to a variable](https://discourse.julialang.org/t/use-unitful-unit-to-a-variable/88002)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 7\
**Last updated:** [September 29, 2022, 7:05pm UTC](https://discourse.julialang.org/t/use-unitful-unit-to-a-variable/88002 "2022-09-29T19:05:49Z")

</div>

How can I attach a unit to a variable ? e.g. julia\> using Unitful julia\> 25u"km" #works 25 km julia\> a = 25; # define a variable julia\> #would expect something like that or similar to work julia\> au = @u\_str(a, "km"…

---

## [Was at the Chicago trading show and tried to raise interest about julia in the general population](https://discourse.julialang.org/t/was-at-the-chicago-trading-show-and-tried-to-raise-interest-about-julia-in-the-general-population/88003)

<div class="topic-metadata">

**Author:** [@1153dent](https://discourse.julialang.org/u/1153dent)\
**Replies:** 0\
**Last updated:** [September 29, 2022, 6:28pm UTC](https://discourse.julialang.org/t/was-at-the-chicago-trading-show-and-tried-to-raise-interest-about-julia-in-the-general-population/88003 "2022-09-29T18:28:53Z")

</div>

Hi there I was at the chicago trading show to spread the julia word. It’s used in fintech in Chicago but I’m trying to get the grass roots word going. See if the python devs want to look at a non gil world. I also hand…

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

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