# Latest

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

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

**Page:** 336

---

## [Codecov.io and using packages not in the general registry](https://discourse.julialang.org/t/codecov-io-and-using-packages-not-in-the-general-registry/118488)

<div class="topic-metadata">

**Author:** [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Replies:** 1\
**Last updated:** [August 23, 2024, 6:40am UTC](https://discourse.julialang.org/t/codecov-io-and-using-packages-not-in-the-general-registry/118488 "2024-08-23T06:40:18Z")

</div>

I’ve created a package that uses another package which is not in the general registry. When the CI/coverage testing runs (github action) it fails, saying it expects the included package to be found in the general registr…

---

## [How to install OrdinaryDiffEq?](https://discourse.julialang.org/t/how-to-install-ordinarydiffeq/118572)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [August 24, 2024, 8:33pm UTC](https://discourse.julialang.org/t/how-to-install-ordinarydiffeq/118572 "2024-08-24T20:33:46Z")

</div>

I heard that this package was split into many smaller packages. How can I install less solvers? I only need: DFBDF DImplicitEuler KenCarp4 Any idea?

---

## [Why FlowDivider and Valve are not exported in MTK Standard Library?](https://discourse.julialang.org/t/why-flowdivider-and-valve-are-not-exported-in-mtk-standard-library/118571)

<div class="topic-metadata">

**Author:** [@romantimo](https://discourse.julialang.org/u/romantimo)\
**Replies:** 4\
**Last updated:** [August 24, 2024, 8:14pm UTC](https://discourse.julialang.org/t/why-flowdivider-and-valve-are-not-exported-in-mtk-standard-library/118571 "2024-08-24T20:14:51Z")

</div>

I see many useful components (FlowDivider, Valve, Actuator, SpoolValve…) in src/Hydraulic/IsothermalCompressible/components.jl Any reason why they are not exported? @ChrisRackauckas Thanks a lot for making MTK with st…

---

## [Rationale for dropmissing vs skipmissing](https://discourse.julialang.org/t/rationale-for-dropmissing-vs-skipmissing/118560)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 2\
**Last updated:** [August 24, 2024, 6:52pm UTC](https://discourse.julialang.org/t/rationale-for-dropmissing-vs-skipmissing/118560 "2024-08-24T18:52:55Z")

</div>

As outlined in How to remove rows containing missing from DataFrame? the way to get rid of missings in a DataFrame is to use dropmissing. This works really well and I use it all the time, but it bugs me that I cannot use…

---

## [Read DataFrame from Excel file skipping one line with units and "cleaning-up" column names](https://discourse.julialang.org/t/read-dataframe-from-excel-file-skipping-one-line-with-units-and-cleaning-up-column-names/114528)

<div class="topic-metadata">

**Author:** [@mjmat](https://discourse.julialang.org/u/mjmat)\
**Replies:** 11\
**Last updated:** [August 24, 2024, 6:14pm UTC](https://discourse.julialang.org/t/read-dataframe-from-excel-file-skipping-one-line-with-units-and-cleaning-up-column-names/114528 "2024-08-24T18:14:23Z")

</div>

I suspect this has been asked before, but I can’t seem to find an answer to this (apparently) simple problem. Let’s assume I have an Excel file with m columns, and the following rows: 1st row: variable names 2nd row: …

---

## [Improving the performance of a spatial clustering model](https://discourse.julialang.org/t/improving-the-performance-of-a-spatial-clustering-model/118552)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 8\
**Last updated:** [August 24, 2024, 5:48pm UTC](https://discourse.julialang.org/t/improving-the-performance-of-a-spatial-clustering-model/118552 "2024-08-24T17:48:36Z")

</div>

Hello, I am writing a statistical spatio-temporal model for clustering, using the target values Y\_{it} of the units, together with spatial coordinates {\\bf{s}}\_i and covariates {\\bf{x}}\_{it}. The choice of what to inclu…

---

## [There's a hole in a sphere generated by makie.surface](https://discourse.julialang.org/t/theres-a-hole-in-a-sphere-generated-by-makie-surface/118555)

<div class="topic-metadata">

**Author:** [@xczphysics](https://discourse.julialang.org/u/xczphysics)\
**Replies:** 8\
**Last updated:** [August 24, 2024, 5:38pm UTC](https://discourse.julialang.org/t/theres-a-hole-in-a-sphere-generated-by-makie-surface/118555 "2024-08-24T17:38:12Z")

</div>

Take a look at this Eye !!! Unlike mesh(spheremesh) method, current surface(x,y,z) method leaves a circular hole at the north pole of the ball, see: Transparent surfaces in Makie.jl - #2 by sdanisch CairoMakie inve…

---

## [Bitten by BLAS threading. Again. (Interaction w/ MPI.)](https://discourse.julialang.org/t/bitten-by-blas-threading-again-interaction-w-mpi/118533)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [August 24, 2024, 2:19pm UTC](https://discourse.julialang.org/t/bitten-by-blas-threading-again-interaction-w-mpi/118533 "2024-08-24T14:19:10Z")

</div>

I ran some MPI codes. On a Mac 2 Ultra (16 performance cores), and on a Grace+Grace system (two sockets, 72 cores each). The runs were carried out with 4 processes on a single machine (node). There was a weird mismatch …

---

## [Inline functions with default parameters](https://discourse.julialang.org/t/inline-functions-with-default-parameters/118548)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 6\
**Last updated:** [August 24, 2024, 1:58pm UTC](https://discourse.julialang.org/t/inline-functions-with-default-parameters/118548 "2024-08-24T13:58:06Z")

</div>

I have a doubt about default arguments. In the Functions documentation it says that I can use optional arguments aswell as defining a function with a simplyfied syntax of y(x)=x\*\*2, but can’t I have such a function with…

---

## [Excessively long TTFX with Optimization and OptimizationOptimJL](https://discourse.julialang.org/t/excessively-long-ttfx-with-optimization-and-optimizationoptimjl/118457)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 22\
**Last updated:** [August 24, 2024, 1:27pm UTC](https://discourse.julialang.org/t/excessively-long-ttfx-with-optimization-and-optimizationoptimjl/118457 "2024-08-24T13:27:28Z")

</div>

Suppose we would like to solve the following problem : min ||Ax - b||\_2^2, s.t. x.\>0 using OptimizationOptimJl. One way to write it would be as follows: using Optimization, OptimizationOptimJL function obj\_f(x,p)…

---

## [Mixed-integer quadratic programming doesn't seem to be working correctly](https://discourse.julialang.org/t/mixed-integer-quadratic-programming-doesnt-seem-to-be-working-correctly/118551)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 1\
**Last updated:** [August 24, 2024, 9:30am UTC](https://discourse.julialang.org/t/mixed-integer-quadratic-programming-doesnt-seem-to-be-working-correctly/118551 "2024-08-24T09:30:50Z")

</div>

DAQP was supposedly solving convex mixed-binary quadratic programming until I tried. The GitHub page said that the matrix must be positive semi-definite, which it is. (The objective expression literally cannot be less…

---

## [How to bypass the block for Julia on HTTP servers](https://discourse.julialang.org/t/how-to-bypass-the-block-for-julia-on-http-servers/118530)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 7\
**Last updated:** [August 24, 2024, 8:48am UTC](https://discourse.julialang.org/t/how-to-bypass-the-block-for-julia-on-http-servers/118530 "2024-08-24T08:48:08Z")

</div>

How to download html pages when the domain treats the query headers=\["User-Agent" =\> "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36"\] HTTP.get(url, h…

---

## [\[NEW\] CatPalette.jl - The best and easiest way to customize prints in terminal!](https://discourse.julialang.org/t/new-catpalette-jl-the-best-and-easiest-way-to-customize-prints-in-terminal/118505)

<div class="topic-metadata">

**Author:** [@lyriath.love](https://discourse.julialang.org/u/lyriath.love)\
**Replies:** 4\
**Last updated:** [August 24, 2024, 4:08am UTC](https://discourse.julialang.org/t/new-catpalette-jl-the-best-and-easiest-way-to-customize-prints-in-terminal/118505 "2024-08-24T04:08:47Z")

</div>

If you’re searching the best and easiest way to print text in terminal in different types, colors and more, maybe this package will interest you. CatPalette is a Julia package with the objective of making your prints …

---

## [What is the Julia equivalent of R's na.omit()?](https://discourse.julialang.org/t/what-is-the-julia-equivalent-of-rs-na-omit/118546)

<div class="topic-metadata">

**Author:** [@Susan.Thomas](https://discourse.julialang.org/u/Susan.Thomas)\
**Replies:** 2\
**Last updated:** [August 24, 2024, 2:47am UTC](https://discourse.julialang.org/t/what-is-the-julia-equivalent-of-rs-na-omit/118546 "2024-08-24T02:47:45Z")

</div>

An a’b operation to get the dot product of two vectors returns missing' if either (or both) vector has missing’ elements. There doesn’t seem to be a simple way to join a and b, do the equivalent of an na.omit() on the st…

---

## [Synchronize streams in CUDA.jl](https://discourse.julialang.org/t/synchronize-streams-in-cuda-jl/118127)

<div class="topic-metadata">

**Author:** [@Cibin\_Joseph](https://discourse.julialang.org/u/Cibin_Joseph)\
**Replies:** 11\
**Last updated:** [August 23, 2024, 10:58pm UTC](https://discourse.julialang.org/t/synchronize-streams-in-cuda-jl/118127 "2024-08-23T22:58:47Z")

</div>

Which of the synchronize commands is supposed to be used to synchronize the streams in CUDA? I am able to synchronize them with device\_synchronize(), but this seems to have a huge impact on speed. Is there perhaps a more…

---

## [Jacobian calculation with FastDifferentiation.jl](https://discourse.julialang.org/t/jacobian-calculation-with-fastdifferentiation-jl/118501)

<div class="topic-metadata">

**Author:** [@niro](https://discourse.julialang.org/u/niro)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 6:38pm UTC](https://discourse.julialang.org/t/jacobian-calculation-with-fastdifferentiation-jl/118501 "2024-08-23T18:38:15Z")

</div>

Hi there, I wanted to test this package to compute the Jacobian of a relatively lengthy function. However, I encounter an issue because the result is apparently not correct if I compare with other methods. Yet, the cod…

---

## [Postdoc position on Geoscientific Machine Learning](https://discourse.julialang.org/t/postdoc-position-on-geoscientific-machine-learning/117100)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 4\
**Last updated:** [August 23, 2024, 3:46pm UTC](https://discourse.julialang.org/t/postdoc-position-on-geoscientific-machine-learning/117100 "2024-08-23T15:46:05Z")

</div>

We are advertising a 2-year fully funded postdoc position to work at IGE - Université Grenoble Alpes , in Grenoble (France), on physics-informed machine learning modelling of glaciers. The goal will be to contribute to t…

---

## [MAP optimization in Turing with LBFGS doesn't move at all](https://discourse.julialang.org/t/map-optimization-in-turing-with-lbfgs-doesnt-move-at-all/118431)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 22\
**Last updated:** [August 23, 2024, 3:31pm UTC](https://discourse.julialang.org/t/map-optimization-in-turing-with-lbfgs-doesnt-move-at-all/118431 "2024-08-23T15:31:48Z")

</div>

I’m using maximum\_a\_posteriori to try to find a MAP fit for a complex model that I can’t show you at the moment. If I run it with SAMIN() simulated annealing, or BBO\_de\_... algorithms, it does move around and finds part…

---

## [Large allocation problem while simulating agents model](https://discourse.julialang.org/t/large-allocation-problem-while-simulating-agents-model/118522)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 12\
**Last updated:** [August 23, 2024, 2:18pm UTC](https://discourse.julialang.org/t/large-allocation-problem-while-simulating-agents-model/118522 "2024-08-23T14:18:30Z")

</div>

Hello, This is a continuation of previous thread multithreading in agents. I have put an example here which overall is weird as a model but gives idea of memory allocation regions in my original model. Please ignore if y…

---

## [Retrieve default values of keyword arguments](https://discourse.julialang.org/t/retrieve-default-values-of-keyword-arguments/19320)

<div class="topic-metadata">

**Author:** [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Replies:** 5\
**Last updated:** [August 23, 2024, 1:58pm UTC](https://discourse.julialang.org/t/retrieve-default-values-of-keyword-arguments/19320 "2024-08-23T13:58:16Z")

</div>

Sometimes I would find it useful to have access to the default values of keyword arguments of a function. I wrote this macro to achieve this for functions that I defined myself: julia\> macro kwvalues(func) …

---

## [What I learned using Julia to solve the first 50 Project Euler problems](https://discourse.julialang.org/t/what-i-learned-using-julia-to-solve-the-first-50-project-euler-problems/57934)

<div class="topic-metadata">

**Author:** [@rpmuller](https://discourse.julialang.org/u/rpmuller)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 1:40pm UTC](https://discourse.julialang.org/t/what-i-learned-using-julia-to-solve-the-first-50-project-euler-problems/57934 "2024-08-23T13:40:51Z")

</div>

I’m a 24-year veteran of Python programming, and during that time I’ve gotten really comfortable with the language. I first looked seriously at Julia 4 years ago; to learn Julia better, I rewrote much of the core of PyQu…

---

## [Compose Vector and Scalar Equations together](https://discourse.julialang.org/t/compose-vector-and-scalar-equations-together/118474)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 7\
**Last updated:** [August 23, 2024, 12:48pm UTC](https://discourse.julialang.org/t/compose-vector-and-scalar-equations-together/118474 "2024-08-23T12:48:47Z")

</div>

When I try to connect an equation of scalars with an equation of vectors, something on the compose step fails even though what is being connected is the same type (both scalar etc.). I am not sure why this is. An MWE is …

---

## [How to get default values of a functions kwargs](https://discourse.julialang.org/t/how-to-get-default-values-of-a-functions-kwargs/66158)

<div class="topic-metadata">

**Author:** [@juliascrub](https://discourse.julialang.org/u/juliascrub)\
**Replies:** 2\
**Last updated:** [August 23, 2024, 12:01pm UTC](https://discourse.julialang.org/t/how-to-get-default-values-of-a-functions-kwargs/66158 "2024-08-23T12:01:56Z")

</div>

I have a function f: function f(; a=1, b=2, c=3) return 1 end I can get the names of its kwargs using: Base.kwarg\_decl.(methods(f))\[1\] Is there any way to get the default values of those kwargs?

---

## [Implicit numerical method using NLsolve.jl](https://discourse.julialang.org/t/implicit-numerical-method-using-nlsolve-jl/118525)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 3\
**Last updated:** [August 23, 2024, 11:13am UTC](https://discourse.julialang.org/t/implicit-numerical-method-using-nlsolve-jl/118525 "2024-08-23T11:13:33Z")

</div>

I would like to implement Lobatto IIIA-IIIB which is an implicit method. To do so, a non-linear equations need to be solved. Then I used NLsolve.jl for my problem using NLsolve function NuMethod(fV::Function,fT::Func…

---

## [Installing Gurobi pakage and artifact failure](https://discourse.julialang.org/t/installing-gurobi-pakage-and-artifact-failure/118527)

<div class="topic-metadata">

**Author:** [@Max12](https://discourse.julialang.org/u/Max12)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 11:11am UTC](https://discourse.julialang.org/t/installing-gurobi-pakage-and-artifact-failure/118527 "2024-08-23T11:11:13Z")

</div>

Hi, I am encountering an issue while trying to install the Gurobi package in Julia. I have an academic license for Gurobi 11. Upon attempting to install the package, I receive the following error: ERROR: Unable to auto…

---

## [Error for solving ODEs by an implicit RK methods when using NLsolve.jl](https://discourse.julialang.org/t/error-for-solving-odes-by-an-implicit-rk-methods-when-using-nlsolve-jl/107764)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 9:36pm UTC](https://discourse.julialang.org/t/error-for-solving-odes-by-an-implicit-rk-methods-when-using-nlsolve-jl/107764 "2023-12-18T21:36:03Z")

</div>

Hi Guys!, I’m trying to an ODE system using implicit RK method. Defining the following system \\dot q\_i=p\_i,\\quad \\dot p\_i = -\\frac{q\_i}{||q||^3} and here q,p\\in \\mathbb R^3. I’m using this code using NLsolve function…

---

## [Multithreading in Agents.jl](https://discourse.julialang.org/t/multithreading-in-agents-jl/118452)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 11\
**Last updated:** [August 23, 2024, 8:21am UTC](https://discourse.julialang.org/t/multithreading-in-agents-jl/118452 "2024-08-23T08:21:24Z")

</div>

Hello everyone, Im trying to use multithreading in EventBasedModel. Im getting this error while doing this. Can someone comment ? What can be issue? What is this error trying to say? Threads.@threads for agen…

---

## [Handling Instability When Solving ODE Problems](https://discourse.julialang.org/t/handling-instability-when-solving-ode-problems/9019)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 14\
**Last updated:** [August 23, 2024, 6:48am UTC](https://discourse.julialang.org/t/handling-instability-when-solving-ode-problems/9019 "2024-08-23T06:48:55Z")

</div>

I have a model which have previously been constructed in matlab, now I want to try that model in Julia. (The model is a system of differential equations in 5 variables which oscillates) In matlab it is solved successfu…

---

## [Problem with Turing.jl](https://discourse.julialang.org/t/problem-with-turing-jl/117413)

<div class="topic-metadata">

**Author:** [@Houda\_Yaq](https://discourse.julialang.org/u/Houda_Yaq)\
**Replies:** 5\
**Last updated:** [July 27, 2024, 9:11am UTC](https://discourse.julialang.org/t/problem-with-turing-jl/117413 "2024-07-27T09:11:30Z")

</div>

Hello everyone, I am trying to estimate parameters of a SDE system using Turing.jl package, but I keep running into this issue and I cannot figure out how to solve it. This is my code: using Turing using Plots using S…

---

## [Matrix of SVectors allocating](https://discourse.julialang.org/t/matrix-of-svectors-allocating/117670)

<div class="topic-metadata">

**Author:** [@vincentxwang](https://discourse.julialang.org/u/vincentxwang)\
**Replies:** 7\
**Last updated:** [August 2, 2024, 7:56pm UTC](https://discourse.julialang.org/t/matrix-of-svectors-allocating/117670 "2024-08-02T19:56:58Z")

</div>

Hi, I’m trying to multiply a matrix of Float64 by a matrix of SVectors, but I’m finding that mul! will take a while to allocate some memory for this, and I’m not sure why. Is there some way to get around this? using St…

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

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