# Latest

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

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

**Page:** 973

---

## [Cloned Quant Econ Julia Notebooks to VSCode](https://discourse.julialang.org/t/cloned-quant-econ-julia-notebooks-to-vscode/84725)

<div class="topic-metadata">

**Author:** [@ejlongman](https://discourse.julialang.org/u/ejlongman)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 4:21am UTC](https://discourse.julialang.org/t/cloned-quant-econ-julia-notebooks-to-vscode/84725 "2022-07-25T04:21:54Z")

</div>

When I clone Quant Econ’s notebooks, I do not get copies of “\_static” and “\_panels\_static.” Does anyone know if this is an issue, or if QE’s instructions screenshot is just outdated and those modules have been deleted? T…

---

## [Assign a struct variable to a new variable](https://discourse.julialang.org/t/assign-a-struct-variable-to-a-new-variable/84723)

<div class="topic-metadata">

**Author:** [@yang\_chen](https://discourse.julialang.org/u/yang_chen)\
**Replies:** 7\
**Last updated:** [July 25, 2022, 1:17am UTC](https://discourse.julialang.org/t/assign-a-struct-variable-to-a-new-variable/84723 "2022-07-25T01:17:10Z")

</div>

Hi, I defined a struct. Then I create a new variable like A = Pos(“id1”, 1, 2, 1, 2) Then I assign the A to another variable B. B = A; Next, I tried to modify B, B.posX1 = 3 B.posY1 = 4 However, when I check A, I …

---

## [@code\_typed: positiveReal^realExponent](https://discourse.julialang.org/t/code-typed-positivereal-realexponent/84727)

<div class="topic-metadata">

**Author:** [@mongi](https://discourse.julialang.org/u/mongi)\
**Replies:** 1\
**Last updated:** [July 25, 2022, 12:57am UTC](https://discourse.julialang.org/t/code-typed-positivereal-realexponent/84727 "2022-07-25T00:57:33Z")

</div>

Hi, using @code\_typed in the code below, shows that julia checks for the sign of a number X when raised to the power of a real number (pow function). is it possible to avoid this if X is positive X=abs(…)? code: cTime+…

---

## [\[ANN\] Julia Snail, an Emacs development environment — first beta release](https://discourse.julialang.org/t/ann-julia-snail-an-emacs-development-environment-first-beta-release/35786)

<div class="topic-metadata">

**Author:** [@gcv](https://discourse.julialang.org/u/gcv)\
**Replies:** 31\
**Last updated:** [July 24, 2022, 10:23pm UTC](https://discourse.julialang.org/t/ann-julia-snail-an-emacs-development-environment-first-beta-release/35786 "2022-07-24T22:23:30Z")

</div>

I’d like to announce the first beta release of Julia Snail, an Emacs development environment for Julia. Snail provides a workflow for Julia similar to that of Common Lisp’s SLIME and Clojure’s CIDER. It enables convenien…

---

## [No Julia Debugger](https://discourse.julialang.org/t/no-julia-debugger/84683)

<div class="topic-metadata">

**Author:** [@Christopher\_Miller](https://discourse.julialang.org/u/Christopher_Miller)\
**Replies:** 5\
**Last updated:** [July 24, 2022, 9:10pm UTC](https://discourse.julialang.org/t/no-julia-debugger/84683 "2022-07-24T21:10:21Z")

</div>

In all the beginner guides I see behavior like this: see https://www.julia-vscode.org/docs/dev/assets/debugger/5.png When I attempt a debug I get: Everything works, but it feels like something is off. I’ve not been…

---

## ["Orthogonal Library" meaning](https://discourse.julialang.org/t/orthogonal-library-meaning/84717)

<div class="topic-metadata">

**Author:** [@ejlongman](https://discourse.julialang.org/u/ejlongman)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 8:38pm UTC](https://discourse.julialang.org/t/orthogonal-library-meaning/84717 "2022-07-24T20:38:55Z")

</div>

Hello! I am working through the Julia Academy module and it says that “by using an orthogonal library, we also enable performance improvements.” I am familiar with the linear algebra term orthogonal (perpendicular), but …

---

## [How do I get PyPlot to always be in interactive mode in the REPL?](https://discourse.julialang.org/t/how-do-i-get-pyplot-to-always-be-in-interactive-mode-in-the-repl/84724)

<div class="topic-metadata">

**Author:** [@danielc](https://discourse.julialang.org/u/danielc)\
**Replies:** 0\
**Last updated:** [July 24, 2022, 8:23pm UTC](https://discourse.julialang.org/t/how-do-i-get-pyplot-to-always-be-in-interactive-mode-in-the-repl/84724 "2022-07-24T20:23:36Z")

</div>

So I recently had to reinstall Julia and I just can’t get PyPlot working the way it should. In the REPL, PyPlot defaults to interactive mode, meaning that plots are updated immediately and you don’t have to run show(). E…

---

## [Passing parameters to a python function via pycall that need to be in a dict form](https://discourse.julialang.org/t/passing-parameters-to-a-python-function-via-pycall-that-need-to-be-in-a-dict-form/84691)

<div class="topic-metadata">

**Author:** [@conalbrown](https://discourse.julialang.org/u/conalbrown)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 5:25pm UTC](https://discourse.julialang.org/t/passing-parameters-to-a-python-function-via-pycall-that-need-to-be-in-a-dict-form/84691 "2022-07-24T17:25:43Z")

</div>

I’m trying to use the Date Parser package from Python in a Pluto notebook. The example from the package documentation I am trying to replicate is this: parse(‘December 2015’, settings={‘STRICT\_PARSING’: True}) I can ge…

---

## [Can't make \*.dll from julia code?](https://discourse.julialang.org/t/cant-make-dll-from-julia-code/84718)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 1\
**Last updated:** [July 24, 2022, 5:11pm UTC](https://discourse.julialang.org/t/cant-make-dll-from-julia-code/84718 "2022-07-24T17:11:30Z")

</div>

I found that post about how i can read dll: Dynamic Linker · The Julia Language But how can i write \*.dll files? Is there a good library or not? (or all question are nonsense?)

---

## [a=string(Pkg.status()) \> "nothing". How to get and save Pkg.status())?](https://discourse.julialang.org/t/a-string-pkg-status-nothing-how-to-get-and-save-pkg-status/24571)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 4\
**Last updated:** [July 24, 2022, 12:31pm UTC](https://discourse.julialang.org/t/a-string-pkg-status-nothing-how-to-get-and-save-pkg-status/24571 "2022-07-24T12:31:14Z")

</div>

Julia 0.7.0 How to get and save Pkg.status()) ? julia\> using Pkg julia\> a=string(Pkg.status()) Status \`C:\\Users\\PC\\.julia\\environments\\v0.7\\Project.toml\` \[686f71d1\] ASDF v1.0.3 \[f9309374\] ApplicationBuilder v0…

---

## [How to generate an array by broadcasting an existing function?(any dim)](https://discourse.julialang.org/t/how-to-generate-an-array-by-broadcasting-an-existing-function-any-dim/82353)

<div class="topic-metadata">

**Author:** [@acsofie](https://discourse.julialang.org/u/acsofie)\
**Replies:** 9\
**Last updated:** [July 24, 2022, 3:19pm UTC](https://discourse.julialang.org/t/how-to-generate-an-array-by-broadcasting-an-existing-function-any-dim/82353 "2022-07-24T15:19:34Z")

</div>

julia has very useful broadcasting for vector julia\> f(a,b)=a^2+b-1 f (generic function with 1 method) julia\> f(2,3) 6 julia\> f.(1:3,6) # or @. f(1:3,6) 3-element Vector{Int64}: 6 9 14 julia\> f.(1:3,6:8…

---

## [Push! to reshape-d vector unshares data with parent array](https://discourse.julialang.org/t/push-to-reshape-d-vector-unshares-data-with-parent-array/84664)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 9\
**Last updated:** [July 24, 2022, 12:45pm UTC](https://discourse.julialang.org/t/push-to-reshape-d-vector-unshares-data-with-parent-array/84664 "2022-07-24T12:45:57Z")

</div>

Minimal example below. Pushing to a reshaped vector y seems to allocate a copy of the original matrix x so that they no longer share data, but it’s strange because it doesn’t seem to reassign y, which would print a warni…

---

## ["Good Enough Practices in Scientific Computing"](https://discourse.julialang.org/t/good-enough-practices-in-scientific-computing/588)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 2\
**Last updated:** [July 24, 2022, 8:27am UTC](https://discourse.julialang.org/t/good-enough-practices-in-scientific-computing/588 "2022-07-24T08:27:19Z")

</div>

This material is worthwhile; the advice is sound. Good Enough Practices in Scientific Computing We present … computing tools and techniques that every researcher can and should adopt. These recommendations synthesi…

---

## [Fast, simple graphics?](https://discourse.julialang.org/t/fast-simple-graphics/84694)

<div class="topic-metadata">

**Author:** [@Nathaniel](https://discourse.julialang.org/u/Nathaniel)\
**Replies:** 12\
**Last updated:** [July 24, 2022, 8:09am UTC](https://discourse.julialang.org/t/fast-simple-graphics/84694 "2022-07-24T08:09:47Z")

</div>

I’m running a simulation and would like to watch my agents moving around as the simulation runs. Currently, I’m using Plots, just running plot(...) in a loop. However, this is very slow - plotting each frame takes at lea…

---

## [Decompose Tuple or Union type into constituents?](https://discourse.julialang.org/t/decompose-tuple-or-union-type-into-constituents/84696)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 11\
**Last updated:** [July 24, 2022, 7:06am UTC](https://discourse.julialang.org/t/decompose-tuple-or-union-type-into-constituents/84696 "2022-07-24T07:06:29Z")

</div>

Is it possible to iterate over the parameters of a Tuple or Union? Given Tuple{A, B, C, D, E, ...}, is it possible to extract the parameters (A, B, C, D, E, …)? A partial solution/hack is something like this, for extrac…

---

## [How can a macro create functions that are handled at compile time?](https://discourse.julialang.org/t/how-can-a-macro-create-functions-that-are-handled-at-compile-time/84692)

<div class="topic-metadata">

**Author:** [@mongi](https://discourse.julialang.org/u/mongi)\
**Replies:** 1\
**Last updated:** [July 24, 2022, 12:38am UTC](https://discourse.julialang.org/t/how-can-a-macro-create-functions-that-are-handled-at-compile-time/84692 "2022-07-24T00:38:19Z")

</div>

Hi, how can a one macro create multiple functions that are handled at compile time ? (not just one function) thanks

---

## [Removing manifest file for packages](https://discourse.julialang.org/t/removing-manifest-file-for-packages/84690)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 3\
**Last updated:** [July 24, 2022, 12:12am UTC](https://discourse.julialang.org/t/removing-manifest-file-for-packages/84690 "2022-07-24T00:12:25Z")

</div>

I have this issue discussed, e.g. link should I remove manifest files from my packages?

---

## [Why am I getting the message Failed to Revise](https://discourse.julialang.org/t/why-am-i-getting-the-message-failed-to-revise/84675)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 2\
**Last updated:** [July 24, 2022, 12:05am UTC](https://discourse.julialang.org/t/why-am-i-getting-the-message-failed-to-revise/84675 "2022-07-24T00:05:04Z")

</div>

I installed the package FinancialToolbox, and tested it as recommended: Pkg.test("FinancialToolbox") The package passed the test but there was a ‘Failed tp Revise’ message. There was a also a recommendation to try Revi…

---

## [Julia package dealing with propagation of uncertainty](https://discourse.julialang.org/t/julia-package-dealing-with-propagation-of-uncertainty/84472)

<div class="topic-metadata">

**Author:** [@Firstname\_Lastname](https://discourse.julialang.org/u/Firstname_Lastname)\
**Replies:** 3\
**Last updated:** [July 23, 2022, 11:39pm UTC](https://discourse.julialang.org/t/julia-package-dealing-with-propagation-of-uncertainty/84472 "2022-07-23T23:39:40Z")

</div>

In a static problem, there is uncertainty in some input, like I = a \\pm b. The output \[a function of spatial variables, i.e. f(x,y)\] is uncertain due to uncertain input. For each input sample, randomly generated, the fun…

---

## [Saving time-dependent variable inside ODE](https://discourse.julialang.org/t/saving-time-dependent-variable-inside-ode/84552)

<div class="topic-metadata">

**Author:** [@jpro](https://discourse.julialang.org/u/jpro)\
**Replies:** 7\
**Last updated:** [July 23, 2022, 11:30pm UTC](https://discourse.julialang.org/t/saving-time-dependent-variable-inside-ode/84552 "2022-07-23T23:30:50Z")

</div>

Hi, I’d like to extract time-dependent variable from inside an ODE, but am having trouble doing so given that it is not in the state vector. I have my du function (called pendulum!) inside a system function. I use this s…

---

## [Senior High-Performance Software Engineer - Liquid Analytics](https://discourse.julialang.org/t/senior-high-performance-software-engineer-liquid-analytics/84689)

<div class="topic-metadata">

**Author:** [@Nathalie\_Burstein](https://discourse.julialang.org/u/Nathalie_Burstein)\
**Replies:** 0\
**Last updated:** [July 23, 2022, 11:09pm UTC](https://discourse.julialang.org/t/senior-high-performance-software-engineer-liquid-analytics/84689 "2022-07-23T23:09:02Z")

</div>

We solve unique, complex problems with highly dynamic data sets. Be part of a team building a specific high-performance mainline database with Apache Arrow. Get the best of both worlds! Liquid Analytics is a vibrant team…

---

## [Representing very big numbers](https://discourse.julialang.org/t/representing-very-big-numbers/84589)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 17\
**Last updated:** [July 23, 2022, 10:30pm UTC](https://discourse.julialang.org/t/representing-very-big-numbers/84589 "2022-07-23T22:30:40Z")

</div>

How can I perform arithmetic on numbers on the order of a googloplex i.e. 10^(10^100)? I don’t have enough memory to express them exactly as integers with all their digits, but I’d like to be able to represent them as B…

---

## [Multiple Makie display windows](https://discourse.julialang.org/t/multiple-makie-display-windows/26295)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 21\
**Last updated:** [July 23, 2022, 4:45pm UTC](https://discourse.julialang.org/t/multiple-makie-display-windows/26295 "2022-07-23T16:45:56Z")

</div>

Hi, I am wandering if multiply Makie Display Windows could be created with different scenes, could be very useful when compare several 3D plots.

---

## [How to check how free RAM is available?](https://discourse.julialang.org/t/how-to-check-how-free-ram-is-available/15288)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 8\
**Last updated:** [July 23, 2022, 4:22pm UTC](https://discourse.julialang.org/t/how-to-check-how-free-ram-is-available/15288 "2022-07-23T16:22:27Z")

</div>

How to check how free RAM is available ? Is any call in Julia ? Paul

---

## [How to get unique values of list of struct based on condition?](https://discourse.julialang.org/t/how-to-get-unique-values-of-list-of-struct-based-on-condition/84678)

<div class="topic-metadata">

**Author:** [@Phuntsho](https://discourse.julialang.org/u/Phuntsho)\
**Replies:** 2\
**Last updated:** [July 23, 2022, 4:20pm UTC](https://discourse.julialang.org/t/how-to-get-unique-values-of-list-of-struct-based-on-condition/84678 "2022-07-23T16:20:57Z")

</div>

I have a list of struct as shown struct probs A::Tuple{Int64, Int64}; C::Tuple{Int64, Int64}; Cost::Int64 end pop\_vect = \[probs((rand(1:20),rand(1:20)),(rand(1:20),rand(1:20)), rand(1:20)) for i = 1:100\] Now I want…

---

## [Does svd() not support forwarddiff?](https://discourse.julialang.org/t/does-svd-not-support-forwarddiff/84662)

<div class="topic-metadata">

**Author:** [@F-YF](https://discourse.julialang.org/u/F-YF)\
**Replies:** 6\
**Last updated:** [July 23, 2022, 3:51pm UTC](https://discourse.julialang.org/t/does-svd-not-support-forwarddiff/84662 "2022-07-23T15:51:43Z")

</div>

julia\> using LinearAlgebra julia\> using ForwardDiff julia\> function f(x) a=\[1 2;3 4\] a=a.\*x \_,s,\_=svd(a) return sum(s) end f (generic function with 1 method) julia\> ForwardDiff.deriv…

---

## [Matlab 3d linear equation ploting](https://discourse.julialang.org/t/matlab-3d-linear-equation-ploting/84564)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 10\
**Last updated:** [July 23, 2022, 3:22pm UTC](https://discourse.julialang.org/t/matlab-3d-linear-equation-ploting/84564 "2022-07-23T15:22:12Z")

</div>

Hello, good evening. How I can port this matlab code for julia? \[x, y\] = meshgrid(-5:0.5:5); %define o número de passos no intervalo \[-5,5\] z = 2\*x - 3\*y + 2; surf(x, y, z);

---

## [LinearAlgebraX Result Output Format](https://discourse.julialang.org/t/linearalgebrax-result-output-format/84669)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 4\
**Last updated:** [July 23, 2022, 2:33pm UTC](https://discourse.julialang.org/t/linearalgebrax-result-output-format/84669 "2022-07-23T14:33:22Z")

</div>

Hi all, I am trying LinearALgebraX package, the result is quite funny, why there are //1 in all entries? How to discard all the //1? most people will be confused, unless you are already experienced with Julia and Li…

---

## [Threading, Threads.@threads vs polyester.@batch vs LoopVectorization.@tturbo](https://discourse.julialang.org/t/threading-threads-threads-vs-polyester-batch-vs-loopvectorization-tturbo/84576)

<div class="topic-metadata">

**Author:** [@fft](https://discourse.julialang.org/u/fft)\
**Replies:** 4\
**Last updated:** [July 23, 2022, 2:28pm UTC](https://discourse.julialang.org/t/threading-threads-threads-vs-polyester-batch-vs-loopvectorization-tturbo/84576 "2022-07-23T14:28:25Z")

</div>

I’m trying to understand the multithreading options in julia. Seems that there are at least three options Threads.@threads, polyester.@batch, and LoopVectorization.@tturbo. Reading it sounds like @batch can be faster tha…

---

## [Should Julia be able to optimize away small temporary arrays?](https://discourse.julialang.org/t/should-julia-be-able-to-optimize-away-small-temporary-arrays/84648)

<div class="topic-metadata">

**Author:** [@hsgg](https://discourse.julialang.org/u/hsgg)\
**Replies:** 10\
**Last updated:** [July 23, 2022, 1:25pm UTC](https://discourse.julialang.org/t/should-julia-be-able-to-optimize-away-small-temporary-arrays/84648 "2022-07-23T13:25:17Z")

</div>

The following code comes from a real-world example with a beginner Julia-programmer calculating the position vector for a scalar field. The second version with the array replaced by a tuple is about 10x faster. This is b…

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

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