# Latest

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

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

**Page:** 1369

---

## [OHDSICohortExpressions.jl](https://discourse.julialang.org/t/ohdsicohortexpressions-jl/62525)

<div class="topic-metadata">

**Author:** [@cce](https://discourse.julialang.org/u/cce)\
**Replies:** 1\
**Last updated:** [June 7, 2021, 3:07pm UTC](https://discourse.julialang.org/t/ohdsicohortexpressions-jl/62525 "2021-06-07T15:07:57Z")

</div>

Observational Health Data Sciences and Informatics (or OHDSI) is a program to bring out the value of health data through large-scale analytics. OHDSI defines the OMOP CDM, a data warehouse database schema for storing …

---

## [Inconsistent Figure size when using Plots and gr()](https://discourse.julialang.org/t/inconsistent-figure-size-when-using-plots-and-gr/62490)

<div class="topic-metadata">

**Author:** [@loki](https://discourse.julialang.org/u/loki)\
**Replies:** 3\
**Last updated:** [June 7, 2021, 3:02pm UTC](https://discourse.julialang.org/t/inconsistent-figure-size-when-using-plots-and-gr/62490 "2021-06-07T15:02:49Z")

</div>

Hello, Recently I’ve been running into an issue regarding the size of a figure being inconsistent when I use Plots.jl and gr() as the back-end. Essentially the issues is that when I try to plot anything it appears very …

---

## [Coloring boxplot groups in Makie](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 6\
**Last updated:** [June 7, 2021, 1:34pm UTC](https://discourse.julialang.org/t/coloring-boxplot-groups-in-makie/62505 "2021-06-07T13:34:31Z")

</div>

Hi, I’m discovering Makie and after reading the documentation, I don’t understand how to produce boxplots that have different colors. Here’s a MWE: group = repeat(\[1,2\],inner=500) boxplot(rand(1:3,1000), randn(1000), d…

---

## [Avoid ambiguities with individual number element (identity)](https://discourse.julialang.org/t/avoid-ambiguities-with-individual-number-element-identity/62465)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 5\
**Last updated:** [June 7, 2021, 1:26pm UTC](https://discourse.julialang.org/t/avoid-ambiguities-with-individual-number-element-identity/62465 "2021-06-07T13:26:01Z")

</div>

I have a question concerning the overloading of operators for an own type In our package on manifolds, we also cover Lie groups. These have an identity element (see Manifolds.jl/group.jl at 7e90c455804311f1220bcb52878fa…

---

## [More stackoverflow julia tags](https://discourse.julialang.org/t/more-stackoverflow-julia-tags/61562)

<div class="topic-metadata">

**Author:** [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Replies:** 8\
**Last updated:** [June 7, 2021, 12:20pm UTC](https://discourse.julialang.org/t/more-stackoverflow-julia-tags/61562 "2021-06-07T12:20:58Z")

</div>

Is it me? I find there aren’t that many julia tags over at https://stackoverflow.com/ Would it not be useful to create a few more? For instance, julia-de (or julia-differentialequations). Maybe also julia-struct and/or j…

---

## [X\[a,1\]'\*b\[a\]==sum(x\[a,1\].\*b\[a\])?](https://discourse.julialang.org/t/x-a-1-b-a-sum-x-a-1-b-a/62499)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 11:55am UTC](https://discourse.julialang.org/t/x-a-1-b-a-sum-x-a-1-b-a/62499 "2021-06-07T11:55:54Z")

</div>

Hi, all If I input the following codes, julia\> b\[a\] 3-element Array{Any,1}: 1 2 3 julia\> a 3-element Array{Int64,1}: 2 3 4 julia\> model=Model(); julia\> @variable(model,x\[1:10,1:20\]) julia\> x\[a,1\]'\*b\[a\] there wil…

---

## [Closest distance between two Euclidian grids](https://discourse.julialang.org/t/closest-distance-between-two-euclidian-grids/61218)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 19\
**Last updated:** [June 5, 2021, 3:20am UTC](https://discourse.julialang.org/t/closest-distance-between-two-euclidian-grids/61218 "2021-06-05T03:20:28Z")

</div>

I have two large data sets: A (size 1\_500\_000, 3), and B (size 1\_500, 3). I’d like to find the closest point between A and B. I could iterate through each possible combination, but that is O(n^2) and is not possible to c…

---

## [Inadequacy of UpperTriangular and LowerTriangular constructors](https://discourse.julialang.org/t/inadequacy-of-uppertriangular-and-lowertriangular-constructors/62509)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 11:29am UTC](https://discourse.julialang.org/t/inadequacy-of-uppertriangular-and-lowertriangular-constructors/62509 "2021-06-07T11:29:35Z")

</div>

The constructors for UpperTriangular and LowerTriangular only accept square matrices. However concepts such as diagaonl, upper triangular and lower triangular are defined for matrices of arbitrary dimensions. Here is an…

---

## [Executing code in @eval](https://discourse.julialang.org/t/executing-code-in-eval/62497)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 10:13am UTC](https://discourse.julialang.org/t/executing-code-in-eval/62497 "2021-06-07T10:13:56Z")

</div>

Hey all, I don’t want to write lots of code and use @eval now. I want to generate different code depending on a condition inside @eval. It looks like this: for (sym, len) in ( (:sym1, nothing), (:sym2, 2) ) …

---

## [Announcing Lale.jl for AutoML](https://discourse.julialang.org/t/announcing-lale-jl-for-automl/62404)

<div class="topic-metadata">

**Author:** [@kiran-kate](https://discourse.julialang.org/u/kiran-kate)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 10:09am UTC](https://discourse.julialang.org/t/announcing-lale-jl-for-automl/62404 "2021-06-07T10:09:27Z")

</div>

Lale.jl is a Julia wrapper of Python’s Lale library for semi-automated data science. Lale makes it easy to automatically select algorithms and tune hyperparameters of pipelines that are compatible with scikit-learn, in a…

---

## [Threads.spawn - increment/decrement atomic variable](https://discourse.julialang.org/t/threads-spawn-increment-decrement-atomic-variable/62502)

<div class="topic-metadata">

**Author:** [@Michal](https://discourse.julialang.org/u/Michal)\
**Replies:** 5\
**Last updated:** [June 7, 2021, 10:09am UTC](https://discourse.julialang.org/t/threads-spawn-increment-decrement-atomic-variable/62502 "2021-06-07T10:09:21Z")

</div>

This is my working code, which is spawning threads. This example is working. while true M = pullDataFromQueue() if !isnothing(M) Threads.@spawn begin # Worker dela…

---

## [What Package would you suggest to represent sequence alteration events?](https://discourse.julialang.org/t/what-package-would-you-suggest-to-represent-sequence-alteration-events/62423)

<div class="topic-metadata">

**Author:** [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)\
**Replies:** 7\
**Last updated:** [June 7, 2021, 10:02am UTC](https://discourse.julialang.org/t/what-package-would-you-suggest-to-represent-sequence-alteration-events/62423 "2021-06-07T10:02:58Z")

</div>

Hi I am looking for a package that would allow me to represent changes to a sequence. Is there something like that around? I looked at GenomeGraph and PopGen (and PopGenSim) but their documentation is quite sparse to …

---

## [ANN: Tectonic.jl - a wrapper for tectonic](https://discourse.julialang.org/t/ann-tectonic-jl-a-wrapper-for-tectonic/42375)

<div class="topic-metadata">

**Author:** [@mike](https://discourse.julialang.org/u/mike)\
**Replies:** 13\
**Last updated:** [June 7, 2021, 8:51am UTC](https://discourse.julialang.org/t/ann-tectonic-jl-a-wrapper-for-tectonic/42375 "2021-06-07T08:51:42Z")

</div>

Tectonic.jl: this is a small wrapper package for tectonic. It is currently being registered in General. From the tectonic project description: A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX …

---

## [Sharing first coordinate](https://discourse.julialang.org/t/sharing-first-coordinate/62476)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [June 7, 2021, 8:42am UTC](https://discourse.julialang.org/t/sharing-first-coordinate/62476 "2021-06-07T08:42:42Z")

</div>

mx = mapping(:x) mx \* (mapping(\_, :y1 =\> :y) \* visual(Scatter) + mapping(\_, :y2 =\> :y) \* visual(Lines)) @piever How can I specify two different layers that share the same x coordinate without repeating myself?

---

## [Request for feedback on potential CSV.jl feature](https://discourse.julialang.org/t/request-for-feedback-on-potential-csv-jl-feature/62416)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 11\
**Last updated:** [June 7, 2021, 8:39am UTC](https://discourse.julialang.org/t/request-for-feedback-on-potential-csv-jl-feature/62416 "2021-06-07T08:39:17Z")

</div>

There’s an open CSV.jl issue which is generally about the idea of somehow “ingesting” multiple, same-schema delimited data files in a single call. I wanted to open this post as a request for feedback on what people think…

---

## [Constraints of function in the Set MathOptInterface.Interval{Float64} are not implemented](https://discourse.julialang.org/t/constraints-of-function-in-the-set-mathoptinterface-interval-float64-are-not-implemented/62441)

<div class="topic-metadata">

**Author:** [@zlq178](https://discourse.julialang.org/u/zlq178)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 8:19am UTC](https://discourse.julialang.org/t/constraints-of-function-in-the-set-mathoptinterface-interval-float64-are-not-implemented/62441 "2021-06-07T08:19:29Z")

</div>

The model is a bi\_level model with Gurobi solver. There are a number of continuous variables and one binary variable. When solving this model, it shows such wrong. What does it mean? How can I find the wrong constraint…

---

## [Workshop on Numerical Linear Algebra and HPC July 7-8](https://discourse.julialang.org/t/workshop-on-numerical-linear-algebra-and-hpc-july-7-8/62498)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 8:01am UTC](https://discourse.julialang.org/t/workshop-on-numerical-linear-algebra-and-hpc-july-7-8/62498 "2021-06-07T08:01:53Z")

</div>

This international workshop (postponed from July 2020 and being held virtually) focuses on numerical linear algebra and high performance computing and brings together researchers working in these areas to discuss current…

---

## [Converting toggle button to slider for Interact.jl](https://discourse.julialang.org/t/converting-toggle-button-to-slider-for-interact-jl/62495)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 7:19am UTC](https://discourse.julialang.org/t/converting-toggle-button-to-slider-for-interact-jl/62495 "2021-06-07T07:19:51Z")

</div>

I have created an interactive plot for a dataframe df with column names a, b, c #= 5×5 DataFrame Row │ a b c │ Int64 Int64 Int64 ─────┼──────────────────────── 1 │ 1 3 2 …

---

## [How to tag a new version of my registered package](https://discourse.julialang.org/t/how-to-tag-a-new-version-of-my-registered-package/32842)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 7:06am UTC](https://discourse.julialang.org/t/how-to-tag-a-new-version-of-my-registered-package/32842 "2021-06-07T07:06:58Z")

</div>

Hi all, I’m trying to tag a new version of my (registered) package ForecastEval. In the past, I’ve always just created a new tag on github and then let attobot take care of the rest, but I seem to recall reading somethi…

---

## [What's the idiomatic way of calculating matrix product A\*B\*C?](https://discourse.julialang.org/t/whats-the-idiomatic-way-of-calculating-matrix-product-a-b-c/62398)

<div class="topic-metadata">

**Author:** [@yingqiuz](https://discourse.julialang.org/u/yingqiuz)\
**Replies:** 7\
**Last updated:** [June 7, 2021, 6:44am UTC](https://discourse.julialang.org/t/whats-the-idiomatic-way-of-calculating-matrix-product-a-b-c/62398 "2021-06-07T06:44:25Z")

</div>

Hi Is there a idiomatic way of calculating matrix product ABC, and store the resulted matrix (inplace) to a pre-allocated one? Something similar to mul!(Y, A, B) -\> Y, which stores A \* B in Y. Any help would be much ap…

---

## [Why the Run doesn't work](https://discourse.julialang.org/t/why-the-run-doesnt-work/62492)

<div class="topic-metadata">

**Author:** [@sajad\_ghassemi](https://discourse.julialang.org/u/sajad_ghassemi)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 5:23am UTC](https://discourse.julialang.org/t/why-the-run-doesnt-work/62492 "2021-06-07T05:23:02Z")

</div>

Hi friends . I use Atoms as an IDE and when I press the Run nothing happen, and I have to copy code and paste it in EPRL.

---

## [REPL in the middle of a script](https://discourse.julialang.org/t/repl-in-the-middle-of-a-script/62126)

<div class="topic-metadata">

**Author:** [@minshall](https://discourse.julialang.org/u/minshall)\
**Replies:** 5\
**Last updated:** [June 7, 2021, 1:36am UTC](https://discourse.julialang.org/t/repl-in-the-middle-of-a-script/62126 "2021-06-07T01:36:50Z")

</div>

hi. i am writing a script that, during processing, may occasionally want to drop into REPL (using some custom REPL), then, on a Ctrl-d, say, go back to processing. during any execution, the script may want to invoke it…

---

## [Varying function calls in higher order functions](https://discourse.julialang.org/t/varying-function-calls-in-higher-order-functions/62391)

<div class="topic-metadata">

**Author:** [@Luis](https://discourse.julialang.org/u/Luis)\
**Replies:** 3\
**Last updated:** [June 7, 2021, 1:23am UTC](https://discourse.julialang.org/t/varying-function-calls-in-higher-order-functions/62391 "2021-06-07T01:23:47Z")

</div>

Hello everyone, I’m relatively new to Julia but came across a recurring problem in several projects now. It often happens that I want to use the same general algorithm but with different functions inside. For example h…

---

## [JuMP: Error while fixing variable defined as DenseAxisArray using map function](https://discourse.julialang.org/t/jump-error-while-fixing-variable-defined-as-denseaxisarray-using-map-function/62461)

<div class="topic-metadata">

**Author:** [@trathi](https://discourse.julialang.org/u/trathi)\
**Replies:** 4\
**Last updated:** [June 7, 2021, 1:11am UTC](https://discourse.julialang.org/t/jump-error-while-fixing-variable-defined-as-denseaxisarray-using-map-function/62461 "2021-06-07T01:11:55Z")

</div>

I came across this error when trying to fix a variable defined as DenseAxisArray. For example: using JuMP m=Model() @variable(m, x\[0:2,1:3\] \>=0) map(y-\>fix(y,0.0; force=true), x\[0, :\]) This gives an error: MethodErro…

---

## [Automatic differentiation for higher-order derivatives](https://discourse.julialang.org/t/automatic-differentiation-for-higher-order-derivatives/62337)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 11\
**Last updated:** [June 7, 2021, 12:40am UTC](https://discourse.julialang.org/t/automatic-differentiation-for-higher-order-derivatives/62337 "2021-06-07T00:40:01Z")

</div>

Hi, I would like to get some results from 0th to nth derivatives evaluation of a given function. For example, my\_func(x::Real) returns (f(x), f'(x), f''(x), ..., f^{n}(x)). Note that DiffResults.jl with ForwardDiff.j…

---

## [Can I use generalized constraints in JuMP?](https://discourse.julialang.org/t/can-i-use-generalized-constraints-in-jump/62392)

<div class="topic-metadata">

**Author:** [@iiitr](https://discourse.julialang.org/u/iiitr)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 12:15am UTC](https://discourse.julialang.org/t/can-i-use-generalized-constraints-in-jump/62392 "2021-06-07T00:15:09Z")

</div>

Hi, all, There is a simple programming with generalized constraints (min(…)), but the julia tells me errors as follows: ERROR: LoadError: MethodError: no method matching isless(::AffExpr, ::AffExpr) Closest candidates…

---

## [Various positions at XGenomes](https://discourse.julialang.org/t/various-positions-at-xgenomes/56364)

<div class="topic-metadata">

**Author:** [@nboyd](https://discourse.julialang.org/u/nboyd)\
**Replies:** 1\
**Last updated:** [June 6, 2021, 7:25pm UTC](https://discourse.julialang.org/t/various-positions-at-xgenomes/56364 "2021-06-06T19:25:11Z")

</div>

Dear Julia Community, XGenomes is small, venture-backed startup developing a faster, more accurate, and cheaper single-molecule DNA sequencing technology. As such, we’re developing new algorithms, designing new experime…

---

## [Jupyter cannot create Julia notebook](https://discourse.julialang.org/t/jupyter-cannot-create-julia-notebook/62452)

<div class="topic-metadata">

**Author:** [@Gilles\_Dubois](https://discourse.julialang.org/u/Gilles_Dubois)\
**Replies:** 8\
**Last updated:** [June 6, 2021, 7:14pm UTC](https://discourse.julialang.org/t/jupyter-cannot-create-julia-notebook/62452 "2021-06-06T19:14:43Z")

</div>

Hi everybody ! I’m a new Julia user with great experience in Python. Nevertheless I wrote already around 200 programs, mainly translations of previous Python counterparts. I’m under linux mint 20. i installed julia f…

---

## [DiffEqOperators symbolic tutorial throwing error](https://discourse.julialang.org/t/diffeqoperators-symbolic-tutorial-throwing-error/62468)

<div class="topic-metadata">

**Author:** [@gbrunkhorst](https://discourse.julialang.org/u/gbrunkhorst)\
**Replies:** 4\
**Last updated:** [June 6, 2021, 6:09pm UTC](https://discourse.julialang.org/t/diffeqoperators-symbolic-tutorial-throwing-error/62468 "2021-06-06T18:09:30Z")

</div>

Hi Everyone: the SciML ecosystem looks amazing. I’m just getting started with both Julia and these packages. The tutorial DiffEqOperators gives the following error: Lines # Method of lines discretization dx = 0.1 ord…

---

## [Operate only on a few components of a static vector](https://discourse.julialang.org/t/operate-only-on-a-few-components-of-a-static-vector/62409)

<div class="topic-metadata">

**Author:** [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Replies:** 14\
**Last updated:** [June 6, 2021, 5:09pm UTC](https://discourse.julialang.org/t/operate-only-on-a-few-components-of-a-static-vector/62409 "2021-06-06T17:09:39Z")

</div>

Suppose I want to extract and operate on only a few components from an SVector, e.g. using StaticArrays f( (x, y, z) ) = (3x, 4y, 5z) v = SVector( (2i for i in 1:10)...) indices = (1, 3, 5) v2 = getindex.(Ref(v), indi…

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

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