# Latest

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

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

**Page:** 324

---

## [Plans for Viewing Heap Snapshots?](https://discourse.julialang.org/t/plans-for-viewing-heap-snapshots/98696)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 4\
**Last updated:** [September 11, 2024, 9:21pm UTC](https://discourse.julialang.org/t/plans-for-viewing-heap-snapshots/98696 "2024-09-11T21:21:31Z")

</div>

Hello! I know its a bit early, but with 1.9 out and the ability to view heap snapshots with Chromium, I’m wondering if there are any plans to integrate the ability to view the snapshots in VSCode via the Julia extension…

---

## [Can't find Project (environment)](https://discourse.julialang.org/t/cant-find-project-environment/119294)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 6\
**Last updated:** [September 11, 2024, 7:54pm UTC](https://discourse.julialang.org/t/cant-find-project-environment/119294 "2024-09-11T19:54:59Z")

</div>

I have created a custom environment (different from the default one) named “juML”. However, in the Windows 10 explorer I cannot find the C:\\Users\\USUARIO\\juML Where can I find directory juML? How can I delete this p…

---

## [Method tracing in Julia?](https://discourse.julialang.org/t/method-tracing-in-julia/85387)

<div class="topic-metadata">

**Author:** [@bertschi](https://discourse.julialang.org/u/bertschi)\
**Replies:** 5\
**Last updated:** [September 11, 2024, 7:52pm UTC](https://discourse.julialang.org/t/method-tracing-in-julia/85387 "2024-09-11T19:52:35Z")

</div>

One of my favourite (and most missed) tools for exploring and debugging code is the trace facility often seen in Lisp. I.e., in Common Lisp, I can just trace any function and get a view of its stack trace: CL-USER\> (tra…

---

## [Set up Bitbucket pipelines for automatic testing of Julia packages](https://discourse.julialang.org/t/set-up-bitbucket-pipelines-for-automatic-testing-of-julia-packages/7040)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 3\
**Last updated:** [September 11, 2024, 6:49pm UTC](https://discourse.julialang.org/t/set-up-bitbucket-pipelines-for-automatic-testing-of-julia-packages/7040 "2024-09-11T18:49:53Z")

</div>

I am trying to setup automatic testing (on each commit) for a package hosted on Bitbucket. Something like what Trevis-CI does for packages in Github. I think it should use Bitbucket pipelines somehow, but I have no idea …

---

## [Type Stability of DifferentialEquations.jl](https://discourse.julialang.org/t/type-stability-of-differentialequations-jl/119293)

<div class="topic-metadata">

**Author:** [@densmojd](https://discourse.julialang.org/u/densmojd)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 6:33pm UTC](https://discourse.julialang.org/t/type-stability-of-differentialequations-jl/119293 "2024-09-11T18:33:28Z")

</div>

I’m learning how to use DifferentialEquations.jl, specifically the OrdinaryDiffEq.jl package, and making sure I do everything “type stable”. I’m seeing some issues when I use @report\_opt from JET.jl. Here’s a MWE: usi…

---

## [Efficient Vector^T \* Jacobian matrix?](https://discourse.julialang.org/t/efficient-vector-t-jacobian-matrix/21329)

<div class="topic-metadata">

**Author:** [@Christian\_Dengler](https://discourse.julialang.org/u/Christian_Dengler)\
**Replies:** 7\
**Last updated:** [September 11, 2024, 5:41pm UTC](https://discourse.julialang.org/t/efficient-vector-t-jacobian-matrix/21329 "2024-09-11T17:41:37Z")

</div>

I’m trying to find a way to efficiently compute the product of a transposed vector with a Jacobian matrix. So given a vector function f and two large vectors v and x of same length, I want to compute v^T \* jacobian(f)(x)…

---

## [Passive elements implementation in helmholtz PDE](https://discourse.julialang.org/t/passive-elements-implementation-in-helmholtz-pde/119288)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 4:52pm UTC](https://discourse.julialang.org/t/passive-elements-implementation-in-helmholtz-pde/119288 "2024-09-11T16:52:55Z")

</div>

Hi, I am using gridap to solve helmholtz PDE. I have some passive elements which has fixed values of solution there. I have defined this elements as Dirichlet BC as below in two ways once fixing those elements surface an…

---

## [QuantumOptics.jl Time dependent Hamiltonian definition](https://discourse.julialang.org/t/quantumoptics-jl-time-dependent-hamiltonian-definition/119287)

<div class="topic-metadata">

**Author:** [@Bruno\_Piveta](https://discourse.julialang.org/u/Bruno_Piveta)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 4:30pm UTC](https://discourse.julialang.org/t/quantumoptics-jl-time-dependent-hamiltonian-definition/119287 "2024-09-11T16:30:51Z")

</div>

I’m having some problems trying to implement the evolution of a time dependent Hamiltonian using the TimeDependentSum method, as recommended in the documentation. In the documentation the Hamiltonian H = sin(t)\*sigmax i…

---

## [Save the optimization results while the optimization is running (Optim.jl)](https://discourse.julialang.org/t/save-the-optimization-results-while-the-optimization-is-running-optim-jl/119116)

<div class="topic-metadata">

**Author:** [@mesonepigreco](https://discourse.julialang.org/u/mesonepigreco)\
**Replies:** 7\
**Last updated:** [September 11, 2024, 4:25pm UTC](https://discourse.julialang.org/t/save-the-optimization-results-while-the-optimization-is-running-optim-jl/119116 "2024-09-11T16:25:51Z")

</div>

Hi, I am running a minimization using Optim. Since it is very slow, I would like to save the results while running so that if I need to switch off the computer and brutally interrupt the minimization, I still have someth…

---

## [Complexity/implementation of disjoint-set (union-find) in \`DataStructures.jl\`](https://discourse.julialang.org/t/complexity-implementation-of-disjoint-set-union-find-in-datastructures-jl/119050)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 4\
**Last updated:** [September 11, 2024, 4:11pm UTC](https://discourse.julialang.org/t/complexity-implementation-of-disjoint-set-union-find-in-datastructures-jl/119050 "2024-09-11T16:11:10Z")

</div>

I didn’t see it in the docs and am trying to identify what algorithm is used in the implementation of find (and union) in the DisjointSets object in the DataStructures.jl package. find The docs say that “path compressi…

---

## [Julia regularly crashing when trying to use packages](https://discourse.julialang.org/t/julia-regularly-crashing-when-trying-to-use-packages/115829)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 32\
**Last updated:** [September 11, 2024, 2:12pm UTC](https://discourse.julialang.org/t/julia-regularly-crashing-when-trying-to-use-packages/115829 "2024-09-11T14:12:44Z")

</div>

I originally thought this was a VSCode issue but it seems to just happen most times I try and use a package since I can reproduce this inside of a terminal. If I startup Julia and try and use a package, 90% of the time I…

---

## [Convert scatter to surface](https://discourse.julialang.org/t/convert-scatter-to-surface/119276)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 6\
**Last updated:** [September 11, 2024, 1:13pm UTC](https://discourse.julialang.org/t/convert-scatter-to-surface/119276 "2024-09-11T13:13:49Z")

</div>

Hello there :smiley: I have data that can be plotted as scatter (GLMakie). I would like to convert the scatter into a surface. I tried to interpolate the data as following but it does not work (probably because of the w…

---

## [Choosing environments in VSCode](https://discourse.julialang.org/t/choosing-environments-in-vscode/119279)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 1:13pm UTC](https://discourse.julialang.org/t/choosing-environments-in-vscode/119279 "2024-09-11T13:13:12Z")

</div>

What is the difference between starting a Julia REPL in VSCode and activating the environment of the folder with Pkg versus clicking on the “Julia env” button as described in the docs? The button performs additiona…

---

## [Solving Geoscience questions using Julia:](https://discourse.julialang.org/t/solving-geoscience-questions-using-julia/119262)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 9:08am UTC](https://discourse.julialang.org/t/solving-geoscience-questions-using-julia/119262 "2024-09-11T09:08:33Z")

</div>

Okay, so, I’m trying to become proficient at using Julia for various applications and not just cleaning and crunching datasets. One of my graduate classes assigned a few problems that we can do by hand, but we are also …

---

## [Fall in love with Julia: 101 on JuMP and DisjunctiveProgramming.jl](https://discourse.julialang.org/t/fall-in-love-with-julia-101-on-jump-and-disjunctiveprogramming-jl/110519)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 10:03am UTC](https://discourse.julialang.org/t/fall-in-love-with-julia-101-on-jump-and-disjunctiveprogramming-jl/110519 "2024-03-20T10:03:14Z")

</div>

Join us on :spiral\_calendar: Monday 4. March 2024 :clock630: 18:30 CET online, organized via meetup Fall in love with Julia: JuMP and DisjunctiveProgramming ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ If you ever wanted to plan your s…

---

## [ReadStatTables, type conversion](https://discourse.julialang.org/t/readstattables-type-conversion/119270)

<div class="topic-metadata">

**Author:** [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 8:34am UTC](https://discourse.julialang.org/t/readstattables-type-conversion/119270 "2024-09-11T08:34:12Z")

</div>

My .dta (STATA) file has some columns as Float32, others as Int8, etc. Especially the Int8 casuses lots of problems in the code, so they must be converted to Int64. Is there a simple way of telling readstat() to do that?…

---

## [Rearrange Data depending on coordinates](https://discourse.julialang.org/t/rearrange-data-depending-on-coordinates/119267)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 8:02am UTC](https://discourse.julialang.org/t/rearrange-data-depending-on-coordinates/119267 "2024-09-11T08:02:37Z")

</div>

Hello =) I have some data - typeof(palier\_2) Vector{Float64} (alias for Array{Float64, 1}) - that are associated to x, y and z coordinates : typeof(coord\_x) - Vector{Float64} (alias for Array{Float64, 1}) typeof(coord…

---

## [Keep dimensionality of slices](https://discourse.julialang.org/t/keep-dimensionality-of-slices/119261)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 11:48pm UTC](https://discourse.julialang.org/t/keep-dimensionality-of-slices/119261 "2024-09-10T23:48:52Z")

</div>

The slices are rows internally but they come out as columns. julia\> let x = \[1 2 3 4 5 6 7 8\] collect(first(eachslice(x; dims=1))) end 4-element Vector{Int64}: 1 2 3 4 How can …

---

## [Need advice on pecuzal\_embedding and RecurrenceMatrix](https://discourse.julialang.org/t/need-advice-on-pecuzal-embedding-and-recurrencematrix/119257)

<div class="topic-metadata">

**Author:** [@NumberCruncher](https://discourse.julialang.org/u/NumberCruncher)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 7:55pm UTC](https://discourse.julialang.org/t/need-advice-on-pecuzal-embedding-and-recurrencematrix/119257 "2024-09-10T19:55:15Z")

</div>

I’m new to Julia and looking to use it to analyse time-series. My current aim is to compare MatrixProfile to RecurrenceMatrix for my application. The trouble is that with the code below, I am encountering: ERROR: Com…

---

## [Finding function definition in package](https://discourse.julialang.org/t/finding-function-definition-in-package/119243)

<div class="topic-metadata">

**Author:** [@el\_desesperado](https://discourse.julialang.org/u/el_desesperado)\
**Replies:** 2\
**Last updated:** [September 10, 2024, 7:28pm UTC](https://discourse.julialang.org/t/finding-function-definition-in-package/119243 "2024-09-10T19:28:19Z")

</div>

I am trying to understand how a particular package is working and I don’t know how to find the definitions of some functions. I can Ctrl click some functions to go to the definitions but others I don’t know how to reach,…

---

## ["Compiling" HIR produced by \`ZXCalculus.jl\`](https://discourse.julialang.org/t/compiling-hir-produced-by-zxcalculus-jl/119221)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 5\
**Last updated:** [September 10, 2024, 5:12pm UTC](https://discourse.julialang.org/t/compiling-hir-produced-by-zxcalculus-jl/119221 "2024-09-10T17:12:13Z")

</div>

I would like to explore the affects of ZX calculus on the synthesis of certain quantum circuits. Thankfully, I saw that Yao has a native Julia implementation in ZXCalculus.jl! However, it seems to me its documentation mi…

---

## [Polar Histogram](https://discourse.julialang.org/t/polar-histogram/103113)

<div class="topic-metadata">

**Author:** [@VincentPoupart](https://discourse.julialang.org/u/VincentPoupart)\
**Replies:** 7\
**Last updated:** [September 10, 2024, 5:08pm UTC](https://discourse.julialang.org/t/polar-histogram/103113 "2024-09-10T17:08:25Z")

</div>

Hi! I wrote a little function to plot polar histograms using PolarAxis. I wonder if it’s a good idea to add something like this to makie? using StatsBase using Distributions using CairoMakie #set of angles in radian an…

---

## [LaTeX-syntax in docstrings with \`DocStringExtensions.jl\`](https://discourse.julialang.org/t/latex-syntax-in-docstrings-with-docstringextensions-jl/119251)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 6\
**Last updated:** [September 10, 2024, 3:49pm UTC](https://discourse.julialang.org/t/latex-syntax-in-docstrings-with-docstringextensions-jl/119251 "2024-09-10T15:49:58Z")

</div>

I am working on a package that will be used by a small team, so I am trying to use Documenter.jl in conjunction with DocStringExtensions.jl to generate the documentation while writing an decorating functions – as one sho…

---

## [CALL FOR NOMINATIONS: 20th Annual "COIN-OR Cup"](https://discourse.julialang.org/t/call-for-nominations-20th-annual-coin-or-cup/119250)

<div class="topic-metadata">

**Author:** [@sshin23](https://discourse.julialang.org/u/sshin23)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 1:09pm UTC](https://discourse.julialang.org/t/call-for-nominations-20th-annual-coin-or-cup/119250 "2024-09-10T13:09:37Z")

</div>

Hello Julia Commiunity, Nominations for the 20th Annual COIN-OR Cup Competition are now open! More details about the nomination can be found at the link below: The COIN-OR Cup recognizes and celebrates the best contri…

---

## [Issue with add function for genie webframe for adding numbers](https://discourse.julialang.org/t/issue-with-add-function-for-genie-webframe-for-adding-numbers/119171)

<div class="topic-metadata">

**Author:** [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Replies:** 2\
**Last updated:** [September 10, 2024, 1:09pm UTC](https://discourse.julialang.org/t/issue-with-add-function-for-genie-webframe-for-adding-numbers/119171 "2024-09-10T13:09:19Z")

</div>

Hi Team, I have been doing some test for a school project for a math’s function, Need help I am trying to create a function for adding numbers with steps returned as JSON output. using Genie, Genie.Router, Genie.Render…

---

## [From a DataFrame, how do I create multiple new columns that each take multiple columns as input in a set name pattern?](https://discourse.julialang.org/t/from-a-dataframe-how-do-i-create-multiple-new-columns-that-each-take-multiple-columns-as-input-in-a-set-name-pattern/119245)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 12:37pm UTC](https://discourse.julialang.org/t/from-a-dataframe-how-do-i-create-multiple-new-columns-that-each-take-multiple-columns-as-input-in-a-set-name-pattern/119245 "2024-09-10T12:37:32Z")

</div>

There’s a similar question about R on here. However, I can’t find the solution in Julia. Imagine I have a DataFrame using DataFrames df = DataFrame( group = rand(1:3, 100), a1 = 1:100, a2=1:100, a3=1:100, b1 …

---

## [Why do simple arithmetics cause weird Precision bugs](https://discourse.julialang.org/t/why-do-simple-arithmetics-cause-weird-precision-bugs/119218)

<div class="topic-metadata">

**Author:** [@The\_Mastermage](https://discourse.julialang.org/u/The_Mastermage)\
**Replies:** 10\
**Last updated:** [September 10, 2024, 11:44am UTC](https://discourse.julialang.org/t/why-do-simple-arithmetics-cause-weird-precision-bugs/119218 "2024-09-10T11:44:49Z")

</div>

Why does it happen when i do 295.8 - 360.0 that i am returned with -64.19999999999999 I know this has something todo with Loss of Precission due to the way floating point numbers work. But i Find it a bit weird that …

---

## [Corrupted double-linked list DifferentialEquations.jl](https://discourse.julialang.org/t/corrupted-double-linked-list-differentialequations-jl/119120)

<div class="topic-metadata">

**Author:** [@mm-crj](https://discourse.julialang.org/u/mm-crj)\
**Replies:** 4\
**Last updated:** [September 10, 2024, 9:13am UTC](https://discourse.julialang.org/t/corrupted-double-linked-list-differentialequations-jl/119120 "2024-09-10T09:13:20Z")

</div>

I am trying to solve a large system of odes as a finite volume discretisation of the heat equation on an unstructured mesh. However, as I approach the 10-15k equations mark, by deceasing grid size the solvers start to fa…

---

## [Julia 0.6.3 on Windows 10 ERROR: GitError(Code:ENOTFOUND, Class:Repository, Could not find repository from 'C:\\Users\\user\\.julia\\v0.6\\.cache\\BinDeps')](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455)

<div class="topic-metadata">

**Author:** [@suiato](https://discourse.julialang.org/u/suiato)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 8:16am UTC](https://discourse.julialang.org/t/julia-0-6-3-on-windows-10-error-giterror-code-enotfound-class-repository-could-not-find-repository-from-c-users-user-julia-v0-6-cache-bindeps/11455 "2024-09-10T08:16:32Z")

</div>

Getting the following error on Julia 0.6.3. Will appreciate any advice on how to handle it. julia\> Pkg.update() INFO: Updating METADATA... INFO: Computing changes... ERROR: GitError(Code:ENOTFOUND, Class:Repository, Cou…

---

## [Where is the excessive memory consumption](https://discourse.julialang.org/t/where-is-the-excessive-memory-consumption/119174)

<div class="topic-metadata">

**Author:** [@Betristor](https://discourse.julialang.org/u/Betristor)\
**Replies:** 13\
**Last updated:** [September 10, 2024, 6:20am UTC](https://discourse.julialang.org/t/where-is-the-excessive-memory-consumption/119174 "2024-09-10T06:20:53Z")

</div>

I have a JuMP model with about 0.2 billion variables. Gurobi reports 50 GB of memory consumption and htop reports consistent 350 GB of memory consumption during solving. I’m most curious about the excessive memory consu…

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

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