# Latest

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

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

**Page:** 760

---

## [Research Software Engineer @ Tufts Medicine \[REMOTE; US ONLY\]](https://discourse.julialang.org/t/research-software-engineer-tufts-medicine-remote-us-only/95750)

<div class="topic-metadata">

**Author:** [@cce](https://discourse.julialang.org/u/cce)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 4:49pm UTC](https://discourse.julialang.org/t/research-software-engineer-tufts-medicine-remote-us-only/95750 "2023-03-08T16:49:52Z")

</div>

We have an opening for a research software engineer to help us with our clinical data warehouse and all sorts of related data processing, analysis, and statistics needs. A significant part of this work is interacting wit…

---

## [Filtering one DataFrame using parameters of another, with different lengths](https://discourse.julialang.org/t/filtering-one-dataframe-using-parameters-of-another-with-different-lengths/95737)

<div class="topic-metadata">

**Author:** [@Juan\_Mac\_Donagh](https://discourse.julialang.org/u/Juan_Mac_Donagh)\
**Replies:** 5\
**Last updated:** [March 8, 2023, 5:29pm UTC](https://discourse.julialang.org/t/filtering-one-dataframe-using-parameters-of-another-with-different-lengths/95737 "2023-03-08T17:29:29Z")

</div>

Hi, I have the following issue: I have a pretty big df that basicly stores coordinates, that looks like this: |coordinate\_gen| |--------------| | 752566| | 842013| | 903426| | 903428| | …

---

## [Learning by reading source code](https://discourse.julialang.org/t/learning-by-reading-source-code/95740)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 4:58pm UTC](https://discourse.julialang.org/t/learning-by-reading-source-code/95740 "2023-03-08T16:58:30Z")

</div>

I am relatively new to Julia. In order to learn how to write good code, I was thinking of reading the source code of some “simple” packages. That would help me, I think. Can you suggest some packages that would be suit…

---

## [Currency type with basic algebra and pretty printing](https://discourse.julialang.org/t/currency-type-with-basic-algebra-and-pretty-printing/95700)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [March 8, 2023, 4:54pm UTC](https://discourse.julialang.org/t/currency-type-with-basic-algebra-and-pretty-printing/95700 "2023-03-08T16:54:02Z")

</div>

What is the go-to package for converting floating point numbers into currencies that can be added and subtracted and pretty printed on tables? Found Currencies.jl, CurrencyAmounts.jl and Assets.jl but none of them seem …

---

## [Cumulative distribution function results are not perfectly fit for simulation and analytical methods](https://discourse.julialang.org/t/cumulative-distribution-function-results-are-not-perfectly-fit-for-simulation-and-analytical-methods/94747)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 4:36pm UTC](https://discourse.julialang.org/t/cumulative-distribution-function-results-are-not-perfectly-fit-for-simulation-and-analytical-methods/94747 "2023-03-08T16:36:47Z")

</div>

Hi everyone, I have a task to analytically compute a Cumulative distribution function (CDF) for the Gamma process with random effects. I developed the computation based on follows: In my case, I set: using Distribut…

---

## [Boxplot in AoG acting weirdly](https://discourse.julialang.org/t/boxplot-in-aog-acting-weirdly/95714)

<div class="topic-metadata">

**Author:** [@chongkaing](https://discourse.julialang.org/u/chongkaing)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 5:36am UTC](https://discourse.julialang.org/t/boxplot-in-aog-acting-weirdly/95714 "2023-03-08T05:36:54Z")

</div>

Hi all. I am currently using AlgebraOfGraphics (with CairoMakie backend). Was running thru the PalmerPenguin data set and was trying to plot and I ran into a problem. I have removed all missing entries prior to plottin…

---

## [What loss to enforce the \`i.i.d\`ness of a dataset?](https://discourse.julialang.org/t/what-loss-to-enforce-the-i-i-d-ness-of-a-dataset/95731)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 12:11pm UTC](https://discourse.julialang.org/t/what-loss-to-enforce-the-i-i-d-ness-of-a-dataset/95731 "2023-03-08T12:11:47Z")

</div>

Hi, I need some help to find a coherent loss to encode the properties i need about my estimator. I want to split a dataset in two, in the Fourrier sense (the infinite divisibility sense). More precisely, consider that …

---

## [Is the choice of integrator significant for NeuralODE solving?](https://discourse.julialang.org/t/is-the-choice-of-integrator-significant-for-neuralode-solving/95645)

<div class="topic-metadata">

**Author:** [@srikumarks](https://discourse.julialang.org/u/srikumarks)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 1:49pm UTC](https://discourse.julialang.org/t/is-the-choice-of-integrator-significant-for-neuralode-solving/95645 "2023-03-08T13:49:43Z")

</div>

For directly solving known ODEs, of course the choice of integrator is significant. However, when learning a network that’s part of an ODE, it isn’t clear to me whether the integrator matters, or should matter. Does it …

---

## [PolyOpt() Functionality](https://discourse.julialang.org/t/polyopt-functionality/95734)

<div class="topic-metadata">

**Author:** [@JuliaQ123](https://discourse.julialang.org/u/JuliaQ123)\
**Replies:** 1\
**Last updated:** [March 8, 2023, 1:48pm UTC](https://discourse.julialang.org/t/polyopt-functionality/95734 "2023-03-08T13:48:07Z")

</div>

Hi, I have been setting up a universal differential equation model with multiple shooting, following the example, and it works great. I am just confused as to what the OptimizationPolyalgorithms.PolyOpt() optimizer is a…

---

## [How to unfold a set of tuples?](https://discourse.julialang.org/t/how-to-unfold-a-set-of-tuples/95696)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 12:33pm UTC](https://discourse.julialang.org/t/how-to-unfold-a-set-of-tuples/95696 "2023-03-08T12:33:01Z")

</div>

I have a set of tuples something like A = \[(1,2),(,7,10),(3,2),(9,8),(5,1)\] and wanted to unwrap them into a set. So, for “A” output would be like B = {1,2,3,5,7,8,9,10} Is there any way to do this (without using for lo…

---

## [Calling a macro inside of a macro](https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729)

<div class="topic-metadata">

**Author:** [@brunbjerg](https://discourse.julialang.org/u/brunbjerg)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 11:42am UTC](https://discourse.julialang.org/t/calling-a-macro-inside-of-a-macro/95729 "2023-03-08T11:42:23Z")

</div>

Hello I am finding myself debugging at large Julia codebase and for some reason I still debug like a 2nd year undergraduate. For that reason I would like to make a macro that looks some thing like this: macro pp(input)…

---

## [In-place functions in definition of ODEProblem (DifferentialEquations)](https://discourse.julialang.org/t/in-place-functions-in-definition-of-odeproblem-differentialequations/30029)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 12:08pm UTC](https://discourse.julialang.org/t/in-place-functions-in-definition-of-odeproblem-differentialequations/30029 "2023-03-08T12:08:21Z")

</div>

I am struggling with something as basic as definition of a function for ODEProblem using DifferentialEquations package: In Example 1 in the documentation for the package, the ODE is defined by a function on the right ha…

---

## [What is faster than channel to synchronize between threads?](https://discourse.julialang.org/t/what-is-faster-than-channel-to-synchronize-between-threads/95511)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 7\
**Last updated:** [March 8, 2023, 11:54am UTC](https://discourse.julialang.org/t/what-is-faster-than-channel-to-synchronize-between-threads/95511 "2023-03-08T11:54:41Z")

</div>

I have MWE as below, in which I am manipulating Do Some Works on parallel using threads that are synchronized between via channel. However, this channel seems to be not fast and I am wondering if there is another synchro…

---

## [PSA for SnoopPrecompile: turning off extra workload for specific packages](https://discourse.julialang.org/t/psa-for-snoopprecompile-turning-off-extra-workload-for-specific-packages/92865)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 11:48am UTC](https://discourse.julialang.org/t/psa-for-snoopprecompile-turning-off-extra-workload-for-specific-packages/92865 "2023-03-08T11:48:47Z")

</div>

EDIT: SnoopPrecompile has been replaced by PrecompileTools. It also has a different mechanism for disabling precompile workloads, see its documentation. The latest version of SnoopPrecompile has added the ability to red…

---

## [Groupedbar plotting not as expected](https://discourse.julialang.org/t/groupedbar-plotting-not-as-expected/95545)

<div class="topic-metadata">

**Author:** [@dasavy](https://discourse.julialang.org/u/dasavy)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 11:35am UTC](https://discourse.julialang.org/t/groupedbar-plotting-not-as-expected/95545 "2023-03-08T11:35:11Z")

</div>

I have no idea why N=8 is going to the far right and isn’t on the far left. Please let me know if anyone knows what’s happening here

---

## [Makie alternating backends per plot](https://discourse.julialang.org/t/makie-alternating-backends-per-plot/95496)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 11:11am UTC](https://discourse.julialang.org/t/makie-alternating-backends-per-plot/95496 "2023-03-08T11:11:36Z")

</div>

Is there a way to specify a makie backend per Figure ? I know about {WGL,Cairo,GL}Makie.activate!() but that’s operating in a global fashion and it’s hard to operate/synchronize (especially for Pluto notebooks). What I…

---

## [\[ANN\] DataFitting.jl general purpose data fitting framework](https://discourse.julialang.org/t/ann-datafitting-jl-general-purpose-data-fitting-framework/8433)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 25\
**Last updated:** [March 8, 2023, 10:40am UTC](https://discourse.julialang.org/t/ann-datafitting-jl-general-purpose-data-fitting-framework/8433 "2023-03-08T10:40:07Z")

</div>

Dear community, I’m happy to announce that the first working (and reasonably complete) version of the DataFitting.jl package is available on Github. The main purpose of DataFitting is to provide a general purpose data …

---

## [Delete rows in matrix A that are in matrix B](https://discourse.julialang.org/t/delete-rows-in-matrix-a-that-are-in-matrix-b/95687)

<div class="topic-metadata">

**Author:** [@Bozaga\_Murat](https://discourse.julialang.org/u/Bozaga_Murat)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 9:16am UTC](https://discourse.julialang.org/t/delete-rows-in-matrix-a-that-are-in-matrix-b/95687 "2023-03-08T09:16:53Z")

</div>

I search for function, what is equal to Matlab with setdiff. \[C,ia\] = setdiff(A,B,‘rows’); Thanks, for every help!

---

## [Constructing a hyper-dimensional ball for a given point](https://discourse.julialang.org/t/constructing-a-hyper-dimensional-ball-for-a-given-point/95650)

<div class="topic-metadata">

**Author:** [@Zerosum](https://discourse.julialang.org/u/Zerosum)\
**Replies:** 5\
**Last updated:** [March 8, 2023, 10:30am UTC](https://discourse.julialang.org/t/constructing-a-hyper-dimensional-ball-for-a-given-point/95650 "2023-03-08T10:30:51Z")

</div>

I was wondering if a Julia package could help me out. Suppose I have a point in two-dimension, for instance, \[0,1\] \\times \[0,1\]. What I want to do is to construct a square centred at (0.1,0.3) with a distance d. Then…

---

## [Best Way to Break out of Recursive Loop in Julia](https://discourse.julialang.org/t/best-way-to-break-out-of-recursive-loop-in-julia/95653)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 10:07am UTC](https://discourse.julialang.org/t/best-way-to-break-out-of-recursive-loop-in-julia/95653 "2023-03-08T10:07:07Z")

</div>

This is probably not a great example of recursion but suppose I have a recursive function, usually in a loop I can break out of the first layer with something simple like function check(stuff) cont = Ref(true) @…

---

## [How do I a logistic regression without the intercept in GLM.jl?](https://discourse.julialang.org/t/how-do-i-a-logistic-regression-without-the-intercept-in-glm-jl/95720)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 9:36am UTC](https://discourse.julialang.org/t/how-do-i-a-logistic-regression-without-the-intercept-in-glm-jl/95720 "2023-03-08T09:36:27Z")

</div>

I can’t figure out how to fit a model without the intercept The documentatioin just says the intercept is fitted by default but doesn’t show how too do it without the intercept? is that even possible?

---

## [Makie plots with equal height + unequal width + data aspect ratio](https://discourse.julialang.org/t/makie-plots-with-equal-height-unequal-width-data-aspect-ratio/60628)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 10\
**Last updated:** [March 8, 2023, 7:42am UTC](https://discourse.julialang.org/t/makie-plots-with-equal-height-unequal-width-data-aspect-ratio/60628 "2023-03-08T07:42:52Z")

</div>

I’d like to have a few plots arranged in a row that have both a data aspect ratio and equal heights, and therefore unequal widths. I can’t seem to get it to work no matter what combination of DataAspect, height, limits, a…

---

## [How to turn a plot into pixels?](https://discourse.julialang.org/t/how-to-turn-a-plot-into-pixels/22061)

<div class="topic-metadata">

**Author:** [@Per](https://discourse.julialang.org/u/Per)\
**Replies:** 19\
**Last updated:** [March 8, 2023, 9:15am UTC](https://discourse.julialang.org/t/how-to-turn-a-plot-into-pixels/22061 "2023-03-08T09:15:27Z")

</div>

Is there a fast way to turn a plot (from either Plots.jl or Makie) into an array of pixel values? Basically, I would like to be able to draw a few lines, and then turn that drawing into an Array of UInt8 or similar, tha…

---

## [Linear regression without the intercept term](https://discourse.julialang.org/t/linear-regression-without-the-intercept-term/18063)

<div class="topic-metadata">

**Author:** [@leejm516](https://discourse.julialang.org/u/leejm516)\
**Replies:** 7\
**Last updated:** [March 8, 2023, 9:14am UTC](https://discourse.julialang.org/t/linear-regression-without-the-intercept-term/18063 "2023-03-08T09:14:32Z")

</div>

In GLM.jl, the use of DataFrame is preferred, but the lm function does support the use of vectors and matrices. In the latter case, however, I can’t do fit without the intercept term (i.e. b0 = 0). Is there a way to do t…

---

## [Way to check the list of python functions defined by PyCall's py""" """ in workspace?](https://discourse.julialang.org/t/way-to-check-the-list-of-python-functions-defined-by-pycalls-py-in-workspace/95721)

<div class="topic-metadata">

**Author:** [@YH\_Ko](https://discourse.julialang.org/u/YH_Ko)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 8:31am UTC](https://discourse.julialang.org/t/way-to-check-the-list-of-python-functions-defined-by-pycalls-py-in-workspace/95721 "2023-03-08T08:31:01Z")

</div>

I’m using visual studio code for my IDE. I can check list of functions defined by Julia language in vscode’s workspace. However, I can’t see the list of functions defined by PyCall + py"““def fun ~””". For example, ad…

---

## [Efficient implementation of a convolution within a auto-differentiable objective function](https://discourse.julialang.org/t/efficient-implementation-of-a-convolution-within-a-auto-differentiable-objective-function/95616)

<div class="topic-metadata">

**Author:** [@mgreifenstein](https://discourse.julialang.org/u/mgreifenstein)\
**Replies:** 9\
**Last updated:** [March 8, 2023, 8:21am UTC](https://discourse.julialang.org/t/efficient-implementation-of-a-convolution-within-a-auto-differentiable-objective-function/95616 "2023-03-08T08:21:21Z")

</div>

Hi all, I have an optimization problem for which I am using JuMP with Ipopt at the moment. The objective function involves 7 convolutions of two vectors. These convolutions are at the moment the bottleneck in performanc…

---

## [Supertype operator \<:](https://discourse.julialang.org/t/supertype-operator/95706)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 6\
**Last updated:** [March 8, 2023, 7:10am UTC](https://discourse.julialang.org/t/supertype-operator/95706 "2023-03-08T07:10:13Z")

</div>

Math operators can be used in three forms #all equivalent 1\<2 \<(1,2) \<(2)(1) The supertype operator doesn’t seem to allow the 3rd form. myType \<: mySuperType \<:(myType,mySuperType) \<:(mySuperType)(myType) #doesn't …

---

## [Missing from the variable map error](https://discourse.julialang.org/t/missing-from-the-variable-map-error/63172)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 7:57am UTC](https://discourse.julialang.org/t/missing-from-the-variable-map-error/63172 "2023-03-08T07:57:53Z")

</div>

I’m trying to construct an ODEProblem from a ODESystem with the following code. I can’t seem to debug this error. using ModelingToolkit using LinearAlgebra using StaticArrays @parameters t μ @variables x(t) y(t) z(t) …

---

## [Julia environments list](https://discourse.julialang.org/t/julia-environments-list/37774)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 7\
**Last updated:** [March 8, 2023, 7:29am UTC](https://discourse.julialang.org/t/julia-environments-list/37774 "2023-03-08T07:29:31Z")

</div>

Starting a new Julia environment is very ease julia\>\] activate test (test) pkg\> Is there a way to visualize a list of all the environments?

---

## [Significant difference in execution speed between similar functions with nested loops](https://discourse.julialang.org/t/significant-difference-in-execution-speed-between-similar-functions-with-nested-loops/95710)

<div class="topic-metadata">

**Author:** [@aomidro](https://discourse.julialang.org/u/aomidro)\
**Replies:** 4\
**Last updated:** [March 8, 2023, 5:26am UTC](https://discourse.julialang.org/t/significant-difference-in-execution-speed-between-similar-functions-with-nested-loops/95710 "2023-03-08T05:26:28Z")

</div>

I compared the execution speed of two similar functions, f1 and f2, with f1 taking almost 1000 times longer than f2. Both functions include nested loops. Can anyone explain why there is such a significant difference in e…

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

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