# Latest

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

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

**Page:** 277

---

## [Equivalent of np.delete?](https://discourse.julialang.org/t/equivalent-of-np-delete/122642)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 7\
**Last updated:** [November 15, 2024, 1:39am UTC](https://discourse.julialang.org/t/equivalent-of-np-delete/122642 "2024-11-15T01:39:04Z")

</div>

Hi, I would like to do the same as: import numpy as np a = np.array(\[\[\[\[1,2,3\],\[4,5,6\]\],\[\[7,8,9\],\[10,11,12\]\],\[\[13,14,15\],\[16,17,18\]\]\], \[\[\[1,2,3\],\[4,5,6\]\],\[\[7,8,9\],\[10,11,12\]\],\[\[13,14,15\],\[16,17,18\]\]\], …

---

## [Sparse non-square linear problem](https://discourse.julialang.org/t/sparse-non-square-linear-problem/122650)

<div class="topic-metadata">

**Author:** [@Nichola](https://discourse.julialang.org/u/Nichola)\
**Replies:** 3\
**Last updated:** [November 15, 2024, 1:00am UTC](https://discourse.julialang.org/t/sparse-non-square-linear-problem/122650 "2024-11-15T01:00:17Z")

</div>

I would like to solve Ax = b where A is a sparse non-square array. For example : using SparseArrays using LinearSolve n = 3 m = 4 A = sparse(rand(ComplexF64, m, n)) b = rand(ComplexF64, m) prob = LinearProblem(A, b) …

---

## [Does IJulia.jl Kernel Support Debugging in Jupyter Notebooks?](https://discourse.julialang.org/t/does-ijulia-jl-kernel-support-debugging-in-jupyter-notebooks/122653)

<div class="topic-metadata">

**Author:** [@ericcdammannjr](https://discourse.julialang.org/u/ericcdammannjr)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 10:54pm UTC](https://discourse.julialang.org/t/does-ijulia-jl-kernel-support-debugging-in-jupyter-notebooks/122653 "2024-11-14T22:54:14Z")

</div>

I am wondering how I can get the debugger to work (if it can) for Julia integration with JupyterLab via IJulia. The kernel works (I can run code scripts) but I there is no active debugger. I did not install Jupyter No…

---

## [Get list of parameters from Turing model](https://discourse.julialang.org/t/get-list-of-parameters-from-turing-model/66278)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 16\
**Last updated:** [November 14, 2024, 10:50pm UTC](https://discourse.julialang.org/t/get-list-of-parameters-from-turing-model/66278 "2024-11-14T22:50:09Z")

</div>

How can I get the list of parameters in a Turing model? I’m trying to generate programmatically a list of initial values to pass with init\_params, so I need to know the symbols, in the correct order. For example, given…

---

## [Combine rows but keep all columns](https://discourse.julialang.org/t/combine-rows-but-keep-all-columns/122593)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 9\
**Last updated:** [November 14, 2024, 9:42pm UTC](https://discourse.julialang.org/t/combine-rows-but-keep-all-columns/122593 "2024-11-14T21:42:54Z")

</div>

Hi all, due to the lack of copycalls kwarg in combine, I am not sure if there is a more efficient way to achieve what I want to do. The following code groups the example data frame by ID and then sums the values in Data…

---

## [Order of ran cells changes output, using DifferentialEquations](https://discourse.julialang.org/t/order-of-ran-cells-changes-output-using-differentialequations/122547)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 6\
**Last updated:** [November 14, 2024, 8:44pm UTC](https://discourse.julialang.org/t/order-of-ran-cells-changes-output-using-differentialequations/122547 "2024-11-14T20:44:22Z")

</div>

Hello, I’m running into a strange issue while using Pluto and DifferentialEquations. In a nutshell: I get a systematically different output depending on the order I run the cells in my notebook. I’ve managed to boil i…

---

## [Unexpected behavior: containerized expression automatically redefined when included in interval constraint](https://discourse.julialang.org/t/unexpected-behavior-containerized-expression-automatically-redefined-when-included-in-interval-constraint/122648)

<div class="topic-metadata">

**Author:** [@Eli\_Brock](https://discourse.julialang.org/u/Eli_Brock)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 8:32pm UTC](https://discourse.julialang.org/t/unexpected-behavior-containerized-expression-automatically-redefined-when-included-in-interval-constraint/122648 "2024-11-14T20:32:14Z")

</div>

When a containerized affine expression is included in an interval constraint, the expression seems to be automatically modified in-place to remove constants. MWE: using JuMP model = Model() @variable(model, x) @express…

---

## [UDPSocket sends short datagram using reinterpret](https://discourse.julialang.org/t/udpsocket-sends-short-datagram-using-reinterpret/122640)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 1\
**Last updated:** [November 14, 2024, 4:33pm UTC](https://discourse.julialang.org/t/udpsocket-sends-short-datagram-using-reinterpret/122640 "2024-11-14T16:33:55Z")

</div>

Is this a bug? Common use case for UDPSocket: I have a struct that isbits. I want to msg = reinterpret(UInt8, \[myobj\]) and transmit this via a UDP datagram to be read on another Julia process, where I’ll just recv the d…

---

## [How to convert a dataframe into a 1-D vector, line by line?](https://discourse.julialang.org/t/how-to-convert-a-dataframe-into-a-1-d-vector-line-by-line/122594)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 6\
**Last updated:** [November 14, 2024, 4:29pm UTC](https://discourse.julialang.org/t/how-to-convert-a-dataframe-into-a-1-d-vector-line-by-line/122594 "2024-11-14T16:29:19Z")

</div>

Hi, I have a dataframe looking like: using DataFrames df = DataFrame(a=1:4, b=5:8) 4×2 DataFrame Row │ a b │ Int64 Int64 ─────┼────────────── 1 │ 1 5 2 │ 2 6 3 │ 3 …

---

## [NonlinearSolve uses AD Jacobian even when I specify it analytically](https://discourse.julialang.org/t/nonlinearsolve-uses-ad-jacobian-even-when-i-specify-it-analytically/122608)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 3\
**Last updated:** [November 14, 2024, 3:32pm UTC](https://discourse.julialang.org/t/nonlinearsolve-uses-ad-jacobian-even-when-i-specify-it-analytically/122608 "2024-11-14T15:32:20Z")

</div>

Hm, I recently tried specification of the Jacobian in this way - however, NonlinearSolve still tries to attempt to construct the Jacobian using AD. Has anything changed here?

---

## [Improving parallel loop performance by using \`numpy\` for allocations](https://discourse.julialang.org/t/improving-parallel-loop-performance-by-using-numpy-for-allocations/122420)

<div class="topic-metadata">

**Author:** [@artemsolod](https://discourse.julialang.org/u/artemsolod)\
**Replies:** 11\
**Last updated:** [November 14, 2024, 2:58pm UTC](https://discourse.julialang.org/t/improving-parallel-loop-performance-by-using-numpy-for-allocations/122420 "2024-11-14T14:58:24Z")

</div>

This example might be interesting to help understand what performance improvement still can be made in multi-threaded worklfows. There was a related discussion on memory management in numpy not long ago Why is Julia's pe…

---

## [How to robustly interact with the REPL from outside a Julia process?](https://discourse.julialang.org/t/how-to-robustly-interact-with-the-repl-from-outside-a-julia-process/122623)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 5\
**Last updated:** [November 14, 2024, 2:47pm UTC](https://discourse.julialang.org/t/how-to-robustly-interact-with-the-repl-from-outside-a-julia-process/122623 "2024-11-14T14:47:12Z")

</div>

I want to make automated recordings of REPL activity with asciinema. Normally one would start julia via asciinema, interact with the REPL and then exit. But I want to write out all pressed keys programmatically. My first…

---

## [Is it possible to get an exception message as a string?](https://discourse.julialang.org/t/is-it-possible-to-get-an-exception-message-as-a-string/3201)

<div class="topic-metadata">

**Author:** [@izaid](https://discourse.julialang.org/u/izaid)\
**Replies:** 4\
**Last updated:** [April 14, 2017, 2:37am UTC](https://discourse.julialang.org/t/is-it-possible-to-get-an-exception-message-as-a-string/3201 "2017-04-14T02:37:32Z")

</div>

So, for language interop reasons, I’d like to translate Julia exceptions into a different kind of error. In the C API, it is pretty clear that jl\_exception\_occurred is what to use to check if an exception occurred or not…

---

## ["Names" of anonymous functions in loops](https://discourse.julialang.org/t/names-of-anonymous-functions-in-loops/58724)

<div class="topic-metadata">

**Author:** [@james-p-foster](https://discourse.julialang.org/u/james-p-foster)\
**Replies:** 6\
**Last updated:** [November 14, 2024, 2:40pm UTC](https://discourse.julialang.org/t/names-of-anonymous-functions-in-loops/58724 "2024-11-14T14:40:54Z")

</div>

I’ve recently been messing around with anonymous functions and loops, trying to generate arrays of functions that are “nested”, i.e. a function generated in a given loop iteration uses functions from previous loop iterat…

---

## [CairoMakie plots disappear once linked to an Illustrator file](https://discourse.julialang.org/t/cairomakie-plots-disappear-once-linked-to-an-illustrator-file/122492)

<div class="topic-metadata">

**Author:** [@LorenzoFioroni](https://discourse.julialang.org/u/LorenzoFioroni)\
**Replies:** 6\
**Last updated:** [November 14, 2024, 1:29pm UTC](https://discourse.julialang.org/t/cairomakie-plots-disappear-once-linked-to-an-illustrator-file/122492 "2024-11-14T13:29:06Z")

</div>

Hello everyone, I’m facing an issue with using CairoMakie and Adobe Illustrator 2025 that I hope someone here can help me with. The workflow involves generating some plots with CairoMakie, linking these plots into Illus…

---

## [OdsIO clear cells](https://discourse.julialang.org/t/odsio-clear-cells/122609)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [November 14, 2024, 12:08pm UTC](https://discourse.julialang.org/t/odsio-clear-cells/122609 "2024-11-14T12:08:11Z")

</div>

Is there an OdsIO.jl command to clear cells? It seems there is a VBA solution for Excel And ezodf does seem to have a clear command but I can’t say I understand it.

---

## [Need Help with Tyler.jl](https://discourse.julialang.org/t/need-help-with-tyler-jl/122295)

<div class="topic-metadata">

**Author:** [@Elvander](https://discourse.julialang.org/u/Elvander)\
**Replies:** 16\
**Last updated:** [November 14, 2024, 9:59am UTC](https://discourse.julialang.org/t/need-help-with-tyler-jl/122295 "2024-11-14T09:59:07Z")

</div>

I wish to plot a simple map of some EU country and superpose dots and lines ; This is supposedly simple, but alas - it doesnt work for me . # For plots using Tyler using GLMakie using GeoMakie using Tyler.TileProviders …

---

## [Storing separate Makie axes from a figure](https://discourse.julialang.org/t/storing-separate-makie-axes-from-a-figure/122620)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 1\
**Last updated:** [November 14, 2024, 9:19am UTC](https://discourse.julialang.org/t/storing-separate-makie-axes-from-a-figure/122620 "2024-11-14T09:19:23Z")

</div>

1. Storing axes separately When making figures for publications, I often find myself wanting to store individual axes from a figure with multiple axes. This is to reduce some redundant information, such as shared axis-la…

---

## [Why the compiler can't optimize this simple code?](https://discourse.julialang.org/t/why-the-compiler-cant-optimize-this-simple-code/122504)

<div class="topic-metadata">

**Author:** [@guoyongzhi](https://discourse.julialang.org/u/guoyongzhi)\
**Replies:** 20\
**Last updated:** [November 14, 2024, 9:07am UTC](https://discourse.julialang.org/t/why-the-compiler-cant-optimize-this-simple-code/122504 "2024-11-14T09:07:33Z")

</div>

In the following minimum example, the function f1 is optimized, but the function f2 is not. Is there any essential difficulty that hinders the compiler to do so? Can I make the setfield!(a, a.i, v) pattern faster? And h…

---

## [Newton + LineSearch in Hot Loop: Reduce allocations](https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 6\
**Last updated:** [November 14, 2024, 8:08am UTC](https://discourse.julialang.org/t/newton-linesearch-in-hot-loop-reduce-allocations/122585 "2024-11-14T08:08:18Z")

</div>

I really like the NLsolve.jl package in conjunction with LineSearches.jl - great stuff! I have a scalar, relatively simple nonlinear equation that I can solve using res = nlsolve(gamma -\> f(gamma\[1\], bla, bla, bla), …

---

## [How to cluster points with a maximum cluster size? Or find points with maximum diversity?](https://discourse.julialang.org/t/how-to-cluster-points-with-a-maximum-cluster-size-or-find-points-with-maximum-diversity/122348)

<div class="topic-metadata">

**Author:** [@Snowy](https://discourse.julialang.org/u/Snowy)\
**Replies:** 12\
**Last updated:** [November 14, 2024, 2:37am UTC](https://discourse.julialang.org/t/how-to-cluster-points-with-a-maximum-cluster-size-or-find-points-with-maximum-diversity/122348 "2024-11-14T02:37:05Z")

</div>

Hi all, Used to do Data Science / Analytics in a previous role but haven’t done much (any) over the past 3 years. At work, I’d offload this problem to our Data Science team, but they don’t have the bandwidth and I have …

---

## [Issue with DataFrame Column Type and Recognition in Julia Scripts](https://discourse.julialang.org/t/issue-with-dataframe-column-type-and-recognition-in-julia-scripts/122595)

<div class="topic-metadata">

**Author:** [@Tommi\_P\_Laiho](https://discourse.julialang.org/u/Tommi_P_Laiho)\
**Replies:** 2\
**Last updated:** [November 14, 2024, 12:56am UTC](https://discourse.julialang.org/t/issue-with-dataframe-column-type-and-recognition-in-julia-scripts/122595 "2024-11-14T00:56:47Z")

</div>

Hello Julia Community, I am currently working on a project involving statistical modeling in Julia, where I am facing an issue with reading and processing a DataFrame. My project includes three main scripts: generate\_…

---

## [Incorrect document display and non-display of examples of functions when using JuMP](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575)

<div class="topic-metadata">

**Author:** [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 8:40pm UTC](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575 "2024-11-13T20:40:34Z")

</div>

I’m using the latest JuMP(v1.23.4) on Win11, the documents of JuMP functions are displayed in an incorrect manner, which is exactly not the same with the document display on my another PC with JuMP(v.18.1, Win10 platform…

---

## [Stop \`CondaPkg\` for finding dependencies in other projects](https://discourse.julialang.org/t/stop-condapkg-for-finding-dependencies-in-other-projects/122562)

<div class="topic-metadata">

**Author:** [@facusapienza](https://discourse.julialang.org/u/facusapienza)\
**Replies:** 6\
**Last updated:** [November 13, 2024, 11:12pm UTC](https://discourse.julialang.org/t/stop-condapkg-for-finding-dependencies-in-other-projects/122562 "2024-11-13T23:12:45Z")

</div>

Hi, I am using CondaPkg and PythonCall for more than one of my projects. When I install a second project using CondaPkg, this second one finds the dependencies of the first one and tries to solve all the dependencies to…

---

## [Using ForwardDiff.gradient for numerical loop with static arrays and complex numbers](https://discourse.julialang.org/t/using-forwarddiff-gradient-for-numerical-loop-with-static-arrays-and-complex-numbers/122557)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 3\
**Last updated:** [November 13, 2024, 8:04pm UTC](https://discourse.julialang.org/t/using-forwarddiff-gradient-for-numerical-loop-with-static-arrays-and-complex-numbers/122557 "2024-11-13T20:04:05Z")

</div>

I’m having trouble getting ForwardDiff working with a numerical loop that involved complex numbers. Specifically I’m trying to use static arrays for speed (advised on my previous post), but it seems to be butting heads w…

---

## [Plots: use of \`twinx()\` and \`frame=:box\` looks ugly](https://discourse.julialang.org/t/plots-use-of-twinx-and-frame-box-looks-ugly/122581)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 7:32pm UTC](https://discourse.julialang.org/t/plots-use-of-twinx-and-frame-box-looks-ugly/122581 "2024-11-13T19:32:19Z")

</div>

I like to use the frame keyword when plotting with Plots.jl – it makes the plot nicer, in my view. However, if I use twin ordinate axes, the default is ugly with frame=:box: Here is without frame specification: Next…

---

## [Latest release and LTS versions from server (for use in CI)?](https://discourse.julialang.org/t/latest-release-and-lts-versions-from-server-for-use-in-ci/122537)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 7\
**Last updated:** [November 13, 2024, 7:25pm UTC](https://discourse.julialang.org/t/latest-release-and-lts-versions-from-server-for-use-in-ci/122537 "2024-11-13T19:25:08Z")

</div>

It has probably been asked before, but how can I programmatically and reliably get the latest stable julia version and latest lts stable version from an official server e.g. julialang.org or julialang.net using simple li…

---

## [Non-converging chains and slow runtime in Bayesian parameter estimation for wind turbine system](https://discourse.julialang.org/t/non-converging-chains-and-slow-runtime-in-bayesian-parameter-estimation-for-wind-turbine-system/122416)

<div class="topic-metadata">

**Author:** [@Alvaro98](https://discourse.julialang.org/u/Alvaro98)\
**Replies:** 7\
**Last updated:** [November 13, 2024, 7:02pm UTC](https://discourse.julialang.org/t/non-converging-chains-and-slow-runtime-in-bayesian-parameter-estimation-for-wind-turbine-system/122416 "2024-11-13T19:02:44Z")

</div>

Hello all, I’m quite new to Turing and Bayesian inference in general, and I’m trying to estimate parameters for the power coefficient Cp in a wind turbine aerodynamic model. The parametric expression for Cp has 6 parame…

---

## [Keep getting \`'apple-m3' is not a recognized processor for this target (ignoring processor)\`](https://discourse.julialang.org/t/keep-getting-apple-m3-is-not-a-recognized-processor-for-this-target-ignoring-processor/122573)

<div class="topic-metadata">

**Author:** [@facusapienza](https://discourse.julialang.org/u/facusapienza)\
**Replies:** 2\
**Last updated:** [November 13, 2024, 6:51pm UTC](https://discourse.julialang.org/t/keep-getting-apple-m3-is-not-a-recognized-processor-for-this-target-ignoring-processor/122573 "2024-11-13T18:51:01Z")

</div>

Hi all, Sorry for the noise, but I keep getting this error when compiling my Julia libraries: 'apple-m3' is not a recognized processor for this target (ignoring processor) I am using an M1 MacBook pro. I cannot fin…

---

## [Small Vectors](https://discourse.julialang.org/t/small-vectors/97121)

<div class="topic-metadata">

**Author:** [@olynch](https://discourse.julialang.org/u/olynch)\
**Replies:** 19\
**Last updated:** [November 13, 2024, 6:45pm UTC](https://discourse.julialang.org/t/small-vectors/97121 "2024-11-13T18:45:29Z")

</div>

Rust has a smallvec package, which behaves like a vector except it stores the first n elements inline to the struct. Thus, there’s no allocation as long as you stay below n elements. Is there anything comparable to this …

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

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