# Latest

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

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

**Page:** 858

---

## [Some questions about eachoverlap in GenomicFeatures](https://discourse.julialang.org/t/some-questions-about-eachoverlap-in-genomicfeatures/85975)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 11:31am UTC](https://discourse.julialang.org/t/some-questions-about-eachoverlap-in-genomicfeatures/85975 "2022-08-30T11:31:55Z")

</div>

During using the eachoverlap function in GenomicFeatures,I cannot know how to solve this problem. My problem is :if each interval in “col” contains any interval in “hhh” ,I will output interval "col ".Here is the pict…

---

## [Colormap logscale using Plot](https://discourse.julialang.org/t/colormap-logscale-using-plot/44759)

<div class="topic-metadata">

**Author:** [@sriharitn](https://discourse.julialang.org/u/sriharitn)\
**Replies:** 7\
**Last updated:** [November 22, 2022, 3:26am UTC](https://discourse.julialang.org/t/colormap-logscale-using-plot/44759 "2022-11-22T03:26:17Z")

</div>

I’m trying to build a 3D surface plot with color in log10 scale. I just want the color to be in the log10 scale NOT the actual values itself. N = 51 x = range(-10, stop = 10, length = N) y = x f(x,y)=x^2+y^2 Plots.plot(…

---

## [How to find zeroes of an equation containing definite integration effectively?](https://discourse.julialang.org/t/how-to-find-zeroes-of-an-equation-containing-definite-integration-effectively/90618)

<div class="topic-metadata">

**Author:** [@f1974939505](https://discourse.julialang.org/u/f1974939505)\
**Replies:** 0\
**Last updated:** [November 22, 2022, 2:08am UTC](https://discourse.julialang.org/t/how-to-find-zeroes-of-an-equation-containing-definite-integration-effectively/90618 "2022-11-22T02:08:09Z")

</div>

The equation is shaped like ∫ \[0,1\] f(x,t) dt = 0 How to find the solution x effectively with numerical methods?

---

## [Loss functions that involve gradients](https://discourse.julialang.org/t/loss-functions-that-involve-gradients/55293)

<div class="topic-metadata">

**Author:** [@balaji1975](https://discourse.julialang.org/u/balaji1975)\
**Replies:** 4\
**Last updated:** [November 22, 2022, 2:08am UTC](https://discourse.julialang.org/t/loss-functions-that-involve-gradients/55293 "2022-11-22T02:08:03Z")

</div>

This is similar to this question. I am training a neural net NN(), where the loss function involves gradient of NN(.) wrt to the input. For example: m = Flux.Chain(Dense(5,5,relu), Dense(5,5,relu), Dense(5,1)) g(z) = o…

---

## [Gurobi solution quality attributes prints "nothing"](https://discourse.julialang.org/t/gurobi-solution-quality-attributes-prints-nothing/90612)

<div class="topic-metadata">

**Author:** [@MirelEce](https://discourse.julialang.org/u/MirelEce)\
**Replies:** 2\
**Last updated:** [November 22, 2022, 1:20am UTC](https://discourse.julialang.org/t/gurobi-solution-quality-attributes-prints-nothing/90612 "2022-11-22T01:20:38Z")

</div>

Hi all! I am trying to solve a nonconvex feasibility problem with 1 quadratic constraint in Gurobi and when the model is infeasible, it doesn’t say it is infeasible and instead, it says the solution is optimal but with …

---

## [Looping through binary numbers](https://discourse.julialang.org/t/looping-through-binary-numbers/90597)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 16\
**Last updated:** [November 21, 2022, 11:40pm UTC](https://discourse.julialang.org/t/looping-through-binary-numbers/90597 "2022-11-21T23:40:06Z")

</div>

Hey, In Copulas.jl, I want to compute the measure a copula assignes to a hyperbox \[u,v\]. Basically, the following function is doing what i want : using Copulas # Based on Computing the {{Volume}} of {\\emph{n}} -{{Dim…

---

## [Save Model Outputs](https://discourse.julialang.org/t/save-model-outputs/90465)

<div class="topic-metadata">

**Author:** [@Yuri\_Masakazu\_Mizusa](https://discourse.julialang.org/u/Yuri_Masakazu_Mizusa)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 11:27pm UTC](https://discourse.julialang.org/t/save-model-outputs/90465 "2022-11-21T23:27:49Z")

</div>

Hi, I am running a small model several times (1000 to be more precise) and for each run I need to store the results. Usually I turn it to a DataFrame and save as a csv. But in this case I do not want to save 1000 csvs. …

---

## [Overwritten method warning during precompilation](https://discourse.julialang.org/t/overwritten-method-warning-during-precompilation/90603)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [November 21, 2022, 10:40pm UTC](https://discourse.julialang.org/t/overwritten-method-warning-during-precompilation/90603 "2022-11-21T22:40:43Z")

</div>

Here is a simplified example demonstrating my problem. I have a package named MyPkg2: module MyPkg2 # defined in MyPkg2.jl using StaticArrays const SBool{K} = SVector{K,Bool} SBool(x::Number...) = SVector(Bool.(x)..…

---

## [Change the precedence of “/” to something between “addition” and “syntax”?](https://discourse.julialang.org/t/change-the-precedence-of-to-something-between-addition-and-syntax/90542)

<div class="topic-metadata">

**Author:** [@GrimPixel](https://discourse.julialang.org/u/GrimPixel)\
**Replies:** 14\
**Last updated:** [November 21, 2022, 10:19pm UTC](https://discourse.julialang.org/t/change-the-precedence-of-to-something-between-addition-and-syntax/90542 "2022-11-21T22:19:15Z")

</div>

I see, the convenience of maths expressions is important in Julia. The problem with current precedence of “/” is, it is often considered as the fractional slash and people use it only once in a fraction, e.g. “1/(2\*3\*4)” …

---

## [Replace values of Dictionary subset](https://discourse.julialang.org/t/replace-values-of-dictionary-subset/90605)

<div class="topic-metadata">

**Author:** [@JohnS](https://discourse.julialang.org/u/JohnS)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 10:06pm UTC](https://discourse.julialang.org/t/replace-values-of-dictionary-subset/90605 "2022-11-21T22:06:27Z")

</div>

Hey, thanks for your help! How can you update the values of a subset of a dictionary? key = collect(0:1:10) value = zeros(length(ks)) dict = Dict(ks .=\> vs) filter\_set = collect(5:1:10) I can filter to the desired val…

---

## [How to add constant value to a simple MPC Problem](https://discourse.julialang.org/t/how-to-add-constant-value-to-a-simple-mpc-problem/90575)

<div class="topic-metadata">

**Author:** [@elliot000319](https://discourse.julialang.org/u/elliot000319)\
**Replies:** 3\
**Last updated:** [November 21, 2022, 6:09pm UTC](https://discourse.julialang.org/t/how-to-add-constant-value-to-a-simple-mpc-problem/90575 "2022-11-21T18:09:21Z")

</div>

The following is a code that takes the current position & velocity of a box and returns the optimized trajectory of position, velocity, and acceleration. The box is placed in a 2D frictionless map. I want to add a gravit…

---

## [Labels for levels in contour plot (Plots.jl)](https://discourse.julialang.org/t/labels-for-levels-in-contour-plot-plots-jl/8266)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 10\
**Last updated:** [November 21, 2022, 5:49pm UTC](https://discourse.julialang.org/t/labels-for-levels-in-contour-plot-plots-jl/8266 "2022-11-21T17:49:42Z")

</div>

I would like to add custom labels to a contour plot, replacing the levels. Is this possible? MWE: using Plots; pyplot() # other backend OK if necessary using StatsBase using Distributions using StatsFuns N = 100000 z =…

---

## [Error show up during compilation](https://discourse.julialang.org/t/error-show-up-during-compilation/90596)

<div class="topic-metadata">

**Author:** [@Jorgedltn](https://discourse.julialang.org/u/Jorgedltn)\
**Replies:** 0\
**Last updated:** [November 21, 2022, 4:49pm UTC](https://discourse.julialang.org/t/error-show-up-during-compilation/90596 "2022-11-21T16:49:07Z")

</div>

I was trying to compile a project in VS that interact with julia code within some wrappers. This project is working with the julia version v1.0.5. When I compile the project, the next error is show up in the terminal: …

---

## [ImageMagick on Windows: LoadError: Unable to open libLLVM](https://discourse.julialang.org/t/imagemagick-on-windows-loaderror-unable-to-open-libllvm/90561)

<div class="topic-metadata">

**Author:** [@codeguru](https://discourse.julialang.org/u/codeguru)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 4:44pm UTC](https://discourse.julialang.org/t/imagemagick-on-windows-loaderror-unable-to-open-libllvm/90561 "2022-11-21T16:44:50Z")

</div>

I get following error while building ImageMagick on Windows: julia\> Pkg.build("ImageMagick") Building ImageMagick → \`C:\\Users\\USER\\.julia\\scratchspaces\\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\54dfa264804aefc44630c96619…

---

## [Function diagm() does not work in Julia v1.0.5?](https://discourse.julialang.org/t/function-diagm-does-not-work-in-julia-v1-0-5/90359)

<div class="topic-metadata">

**Author:** [@Jorgedltn](https://discourse.julialang.org/u/Jorgedltn)\
**Replies:** 3\
**Last updated:** [November 21, 2022, 4:21pm UTC](https://discourse.julialang.org/t/function-diagm-does-not-work-in-julia-v1-0-5/90359 "2022-11-21T16:21:22Z")

</div>

I am trying to construct a diagonal matrix by using the function diagm() within a test project that is formed by a group of Julia files. When I include all of these files into the Julia terminal to run and prove if these…

---

## [Can you obtain the solution of an ODE symbolically in Julia?](https://discourse.julialang.org/t/can-you-obtain-the-solution-of-an-ode-symbolically-in-julia/90583)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 1\
**Last updated:** [November 21, 2022, 4:07pm UTC](https://discourse.julialang.org/t/can-you-obtain-the-solution-of-an-ode-symbolically-in-julia/90583 "2022-11-21T16:07:25Z")

</div>

I would like to know if it is currently possible to solve an ODE symbolically in Julia using some of the packages of the SciML organization. The tutorials show that you can define a system symbollically and then solve i…

---

## [Opposite of StatsBase.percentile](https://discourse.julialang.org/t/opposite-of-statsbase-percentile/90592)

<div class="topic-metadata">

**Author:** [@Piotr](https://discourse.julialang.org/u/Piotr)\
**Replies:** 5\
**Last updated:** [November 21, 2022, 2:59pm UTC](https://discourse.julialang.org/t/opposite-of-statsbase-percentile/90592 "2022-11-21T14:59:43Z")

</div>

This function returns a NUMBER for a given PERCENTILE. I don’t know what the OP had in mind, but e.g. what I am looking for right now is exactly the thing that the name of this thread points to and which is the very opp…

---

## [The percentile of a number in a vector](https://discourse.julialang.org/t/the-percentile-of-a-number-in-a-vector/80365)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 2\
**Last updated:** [May 2, 2022, 2:23pm UTC](https://discourse.julialang.org/t/the-percentile-of-a-number-in-a-vector/80365 "2022-05-02T14:23:34Z")

</div>

Is there a built-in function that finds the percentile of a number in a vector?

---

## [How to make stack graph become side by side with this dataset in julia language?](https://discourse.julialang.org/t/how-to-make-stack-graph-become-side-by-side-with-this-dataset-in-julia-language/90586)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 21, 2022, 1:01pm UTC](https://discourse.julialang.org/t/how-to-make-stack-graph-become-side-by-side-with-this-dataset-in-julia-language/90586 "2022-11-21T13:01:23Z")

</div>

I have got this dataset in julia: import Downloads using DLMReader, VegaLite, InMemoryDatasets data=Downloads.download("https://raw.githubusercontent.com/akshdfyehd/salary/main/ds\_salaries.csv") ds=filereader(data,em…

---

## [Disable code depending on optimsation level](https://discourse.julialang.org/t/disable-code-depending-on-optimsation-level/90589)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 2:57pm UTC](https://discourse.julialang.org/t/disable-code-depending-on-optimsation-level/90589 "2022-11-21T14:57:26Z")

</div>

I have input and consistency checks that I need during development but want to disable for final runs of my code. Is there a way to annotate these checks s.t. they are not included at higher optimisation levels or depend…

---

## [A headless non-interactive JSServe and WGLMakie server?](https://discourse.julialang.org/t/a-headless-non-interactive-jsserve-and-wglmakie-server/90549)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 2:18pm UTC](https://discourse.julialang.org/t/a-headless-non-interactive-jsserve-and-wglmakie-server/90549 "2022-11-21T14:18:51Z")

</div>

I have a JSServe+WGLMakie visualization that works wonderfully when launched from the REPL. It is basically little more than: app = App do() dom = md"test" # and some plots that I deleted return JSServe.DOM.div(…

---

## [Print all columns of a dataframe](https://discourse.julialang.org/t/print-all-columns-of-a-dataframe/8520)

<div class="topic-metadata">

**Author:** [@sam81](https://discourse.julialang.org/u/sam81)\
**Replies:** 11\
**Last updated:** [November 21, 2022, 2:15pm UTC](https://discourse.julialang.org/t/print-all-columns-of-a-dataframe/8520 "2022-11-21T14:15:53Z")

</div>

The latest version of the DataFrames package omits columns that don’t fit the screen when printing. Is there a way to print all columns of a dataframe? Can this be made the default behavior on a given user’s system?

---

## [Best way to learn Julia for non-programmer data analyst?](https://discourse.julialang.org/t/best-way-to-learn-julia-for-non-programmer-data-analyst/46110)

<div class="topic-metadata">

**Author:** [@phendric](https://discourse.julialang.org/u/phendric)\
**Replies:** 22\
**Last updated:** [November 21, 2022, 1:47pm UTC](https://discourse.julialang.org/t/best-way-to-learn-julia-for-non-programmer-data-analyst/46110 "2022-11-21T13:47:29Z")

</div>

Hi everyone, Here’s my brief question: What do you all recommend as a good post-v1.0 “Learn Julia” book for a non software developer / data analyst? By “non software developer” I mean someone who lacks both patience a…

---

## [What is sympy (python) equivalent differentiation method in Julia?](https://discourse.julialang.org/t/what-is-sympy-python-equivalent-differentiation-method-in-julia/90522)

<div class="topic-metadata">

**Author:** [@Madan](https://discourse.julialang.org/u/Madan)\
**Replies:** 17\
**Last updated:** [November 21, 2022, 12:59pm UTC](https://discourse.julialang.org/t/what-is-sympy-python-equivalent-differentiation-method-in-julia/90522 "2022-11-21T12:59:33Z")

</div>

i have been struggling to find out what is the equivalent sympy method in Julia. actually i made finite element method solver (numerical method to solve partial differential equation, parabolic, elliptical and hyperbolic…

---

## [Customizing Output Units of Dates.canonicalize](https://discourse.julialang.org/t/customizing-output-units-of-dates-canonicalize/90569)

<div class="topic-metadata">

**Author:** [@notaprogrammer](https://discourse.julialang.org/u/notaprogrammer)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 12:30pm UTC](https://discourse.julialang.org/t/customizing-output-units-of-dates-canonicalize/90569 "2022-11-21T12:30:36Z")

</div>

Working on some exercises to learn programming and Julia, and I am attempting to calculate my little one’s age. I see that Julia does almost all of the work compared to the solution I wrote yesterday in Perl where I had…

---

## [Update text value when changing an Observable in GLMakie](https://discourse.julialang.org/t/update-text-value-when-changing-an-observable-in-glmakie/90572)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 12:07pm UTC](https://discourse.julialang.org/t/update-text-value-when-changing-an-observable-in-glmakie/90572 "2022-11-21T12:07:44Z")

</div>

I’m trying to update a text value to reflect a change in one or more Observable. I’ve tried to do this a couple of ways. If the Observable is obs = Observable(1.0) I’ve tried putting it in a Label Label(fig, "$(obs)"…

---

## [Partial Application brackets without underscores](https://discourse.julialang.org/t/partial-application-brackets-without-underscores/90565)

<div class="topic-metadata">

**Author:** [@christophE](https://discourse.julialang.org/u/christophE)\
**Replies:** 5\
**Last updated:** [November 21, 2022, 12:01pm UTC](https://discourse.julialang.org/t/partial-application-brackets-without-underscores/90565 "2022-11-21T12:01:14Z")

</div>

After years I understand the idea behind the proposal of PR 24990. It wants to bring partial application (or currying) to Julia which is much overdue. I thought previously, \_ is merely a crutch to be eventually used for…

---

## [Zombies in biological ODE : why is my solver not sticking to zero?](https://discourse.julialang.org/t/zombies-in-biological-ode-why-is-my-solver-not-sticking-to-zero/90409)

<div class="topic-metadata">

**Author:** [@iago-lito](https://discourse.julialang.org/u/iago-lito)\
**Replies:** 25\
**Last updated:** [November 21, 2022, 9:00am UTC](https://discourse.julialang.org/t/zombies-in-biological-ode-why-is-my-solver-not-sticking-to-zero/90409 "2022-11-21T09:00:32Z")

</div>

Hi numerical ODE solvers enthusiasts, we’ve got a problem here that we think necessitates your kind input :slight\_smile: Here are two related questions: The following ODE system represents biological species biomasses B…

---

## [Should Juliaup 1.7.26 become « release »?](https://discourse.julialang.org/t/should-juliaup-1-7-26-become-release/90557)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 7:48am UTC](https://discourse.julialang.org/t/should-juliaup-1-7-26-become-release/90557 "2022-11-21T07:48:24Z")

</div>

I am currently waiting for using Julia 1.8.3 through Juliaup. I see in the Juliaup GitHub website that it is incorporated in the Juliaup version 1.7.26 . But this version is « pre-release », not « release », so not ident…

---

## [How to Plot with gr() at the same time with showing computation result at the terminal Julia REPL?](https://discourse.julialang.org/t/how-to-plot-with-gr-at-the-same-time-with-showing-computation-result-at-the-terminal-julia-repl/90545)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 4\
**Last updated:** [November 21, 2022, 7:27am UTC](https://discourse.julialang.org/t/how-to-plot-with-gr-at-the-same-time-with-showing-computation-result-at-the-terminal-julia-repl/90545 "2022-11-21T07:27:38Z")

</div>

Hi all, this is a double problems but want to be combined as one. I want to show a plot of function (just simple plot, no need for the Newton’s method iteration shown, but if it is possible you can tell me). Plus the …

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

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