# Latest

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

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

**Page:** 657

---

## [\[REALLY OT\] Need help with a fake travel site scam](https://discourse.julialang.org/t/really-ot-need-help-with-a-fake-travel-site-scam/100686)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 13\
**Last updated:** [July 2, 2023, 1:33pm UTC](https://discourse.julialang.org/t/really-ot-need-help-with-a-fake-travel-site-scam/100686 "2023-07-02T13:33:33Z")

</div>

Hello, sorry if it is really OT, perhaps also for the OT category, but I need your (bit of) help. A close friend of mine got scammed by a fake travel agency that advertise on Facebook promising super cheap flights, it “…

---

## [Mathematical Explanation of log(x^20) and 20 log(x) Plot](https://discourse.julialang.org/t/mathematical-explanation-of-log-x-20-and-20-log-x-plot/101075)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 6\
**Last updated:** [July 2, 2023, 1:16pm UTC](https://discourse.julialang.org/t/mathematical-explanation-of-log-x-20-and-20-log-x-plot/101075 "2023-07-02T13:16:05Z")

</div>

Hi all, There is this weird thing since the formula saying that: log (a^b) = b log(a) But the plot says different: But if we use calculator, the plot is correct, since we can plot log((-5)^20) just the same as …

---

## [Region Bounded Between $\\sin (x)$ and $\\cos (x)$](https://discourse.julialang.org/t/region-bounded-between-sin-x-and-cos-x/101008)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 6\
**Last updated:** [July 2, 2023, 11:45am UTC](https://discourse.julialang.org/t/region-bounded-between-sin-x-and-cos-x/101008 "2023-07-02T11:45:09Z")

</div>

Hi all, I want to ask whether I am right that the triangle region between 0 and \\pi/2 should not be included for region bounded by \\sin (x) and \\cos (x) between x = - \\pi / 4 and x = 3 \\pi / 4 ? But, In the plot below …

---

## [What is "incremental compilation" and what does it mean for it to be "broken"?](https://discourse.julialang.org/t/what-is-incremental-compilation-and-what-does-it-mean-for-it-to-be-broken/100956)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 16\
**Last updated:** [July 2, 2023, 9:30am UTC](https://discourse.julialang.org/t/what-is-incremental-compilation-and-what-does-it-mean-for-it-to-be-broken/100956 "2023-07-02T09:30:29Z")

</div>

I’ve seen posts talking about a warning “incremental compilation may be fatally broken for this module”. Sometimes it’s not clear why, sometimes it happens because they overwrote a method in a package. What does this mea…

---

## [Coefficients on Univariate Polynomial Ring](https://discourse.julialang.org/t/coefficients-on-univariate-polynomial-ring/101071)

<div class="topic-metadata">

**Author:** [@blociss](https://discourse.julialang.org/u/blociss)\
**Replies:** 0\
**Last updated:** [July 2, 2023, 8:48am UTC](https://discourse.julialang.org/t/coefficients-on-univariate-polynomial-ring/101071 "2023-07-02T08:48:24Z")

</div>

Let R,q=QQ\["q"\] and S,(x,q)=QQ\["x","q"\] two polynomial Ring. let p = q^4 - 2\*q^2 + q + 1 defined in R and S. collect(coefficients(p)) in R give me 5-element Vector{QQFieldElem}: 1 1 -2 0 1 while in the ri…

---

## [DataDrivenDiffEq.jl: LoadError upon creating DataDrivenProblem from solution object](https://discourse.julialang.org/t/datadrivendiffeq-jl-loaderror-upon-creating-datadrivenproblem-from-solution-object/101065)

<div class="topic-metadata">

**Author:** [@AlbertEmil](https://discourse.julialang.org/u/AlbertEmil)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 7:29am UTC](https://discourse.julialang.org/t/datadrivendiffeq-jl-loaderror-upon-creating-datadrivenproblem-from-solution-object/101065 "2023-07-02T07:29:14Z")

</div>

I just started to make my first steps with DataDrivenDiffEq.jl and was able to reproduce the introductory example from the docs without any problems. However, I stumbled upon two very similar errors when I try to adapt …

---

## [\`component\_centroids\` did not recognize \`Matrix{Int32}\`](https://discourse.julialang.org/t/component-centroids-did-not-recognize-matrix-int32/101067)

<div class="topic-metadata">

**Author:** [@Adam\_Page](https://discourse.julialang.org/u/Adam_Page)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 3:17am UTC](https://discourse.julialang.org/t/component-centroids-did-not-recognize-matrix-int32/101067 "2023-07-02T03:17:18Z")

</div>

I’m new to Julia. I was trying to execute center = component\_centroids(cq)\[2:end\] where cq is of type Matrix{Int32}, but got the following error: MethodError: no method matching component\_centroids(::Matrix{Int32}) Clo…

---

## [GPU generalized eigendecomposition](https://discourse.julialang.org/t/gpu-generalized-eigendecomposition/101042)

<div class="topic-metadata">

**Author:** [@smartalecH](https://discourse.julialang.org/u/smartalecH)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 8:48pm UTC](https://discourse.julialang.org/t/gpu-generalized-eigendecomposition/101042 "2023-07-01T20:48:48Z")

</div>

I’d like to perform a generalized eigendecomp on my (CUDA-enabled) GPU. My matrix is dense, complex, and non-hermitian. I’d like the full decomposition (all the eigenvectors), not just a targeted eigensolve. I know tha…

---

## [Disable all GPU support when using Lux](https://discourse.julialang.org/t/disable-all-gpu-support-when-using-lux/100076)

<div class="topic-metadata">

**Author:** [@contradict](https://discourse.julialang.org/u/contradict)\
**Replies:** 5\
**Last updated:** [July 2, 2023, 2:26am UTC](https://discourse.julialang.org/t/disable-all-gpu-support-when-using-lux/100076 "2023-07-02T02:26:26Z")

</div>

I have an old GPU which is no longer supported and would like to run Lux anyway using just the CPU. $ nvidia-smi -L GPU 0: NVIDIA GeForce GTX 680 (UUID: GPU-49fc79e3-b888-22fe-dc46-f3233d654e1b) I tried the suggestion …

---

## [Clang Edit Requirements](https://discourse.julialang.org/t/clang-edit-requirements/101031)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 12:52am UTC](https://discourse.julialang.org/t/clang-edit-requirements/101031 "2023-07-02T00:52:19Z")

</div>

I did some work on making a Julia interface for the MCC172. It has a c language library which I wrapped into Julia code. Then I came across Clang and thought I would try it and compare. For the simpler functions I get…

---

## [RCall UndefVarError](https://discourse.julialang.org/t/rcall-undefvarerror/101027)

<div class="topic-metadata">

**Author:** [@eweiss](https://discourse.julialang.org/u/eweiss)\
**Replies:** 4\
**Last updated:** [July 1, 2023, 9:29pm UTC](https://discourse.julialang.org/t/rcall-undefvarerror/101027 "2023-07-01T21:29:53Z")

</div>

I’m running the REPL with this code: using RCall function demo() @rlibrary tidyquant R"tidyquant::tq\_index(‘DOW’)" end And I get the error message: Warning: RCall.jl: Registered S3 method overwritten by ‘quantmod’…

---

## [Hardship lying ahead for the Julia community](https://discourse.julialang.org/t/hardship-lying-ahead-for-the-julia-community/101013)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 9\
**Last updated:** [July 1, 2023, 9:03pm UTC](https://discourse.julialang.org/t/hardship-lying-ahead-for-the-julia-community/101013 "2023-07-01T21:03:58Z")

</div>

Julia was created on greed. We wanted everything of a programming language. Now, we have this cool language, a good foundation. Now, we want Julia to get into applications. We want Julia to DO something. Hardship lies…

---

## [Why are there two websites for packages?](https://discourse.julialang.org/t/why-are-there-two-websites-for-packages/101058)

<div class="topic-metadata">

**Author:** [@The\_Mastermage](https://discourse.julialang.org/u/The_Mastermage)\
**Replies:** 3\
**Last updated:** [July 1, 2023, 8:45pm UTC](https://discourse.julialang.org/t/why-are-there-two-websites-for-packages/101058 "2023-07-01T20:45:44Z")

</div>

Always when i want to search for packages in Julia I find myself struggling which one to search: https://juliahub.com/ui/Packages https://juliapackages.com/ Can someone tell me which one is the one to use? I would als…

---

## [Assemble dirac delta in all nodes](https://discourse.julialang.org/t/assemble-dirac-delta-in-all-nodes/101063)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 8:33pm UTC](https://discourse.julialang.org/t/assemble-dirac-delta-in-all-nodes/101063 "2023-07-01T20:33:50Z")

</div>

Hi, I have a problem in assembling matrix of o in all nodes. can anyone help me? below is s sample which assemble o in domain for one point function MatrixOf(fem\_params) x0 = VectorValue(0,300) # Position of the fi…

---

## [Topology optimization using NLopt](https://discourse.julialang.org/t/topology-optimization-using-nlopt/101032)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 4\
**Last updated:** [July 1, 2023, 8:28pm UTC](https://discourse.julialang.org/t/topology-optimization-using-nlopt/101032 "2023-07-01T20:28:24Z")

</div>

Hi, I am doing a topology optimization using Nlop. I have two question i really appreciate your helps. after defining objective and gradients by using below line nlopt understand to minimize the objective function? …

---

## [Fast recursion with big rationals](https://discourse.julialang.org/t/fast-recursion-with-big-rationals/101023)

<div class="topic-metadata">

**Author:** [@Denis\_Ivanov](https://discourse.julialang.org/u/Denis_Ivanov)\
**Replies:** 4\
**Last updated:** [July 1, 2023, 3:56pm UTC](https://discourse.julialang.org/t/fast-recursion-with-big-rationals/101023 "2023-07-01T15:56:24Z")

</div>

Hi! Now I’m doing one task for OEIS. In particular, I need to implement a fast algorithm for finding egyptian fractions of shortest length. There is the next algorithm for to find just the shortest length: If there…

---

## [London meetup on July 3rd 2023](https://discourse.julialang.org/t/london-meetup-on-july-3rd-2023/101052)

<div class="topic-metadata">

**Author:** [@giordano](https://discourse.julialang.org/u/giordano)\
**Replies:** 0\
**Last updated:** [July 1, 2023, 3:18pm UTC](https://discourse.julialang.org/t/london-meetup-on-july-3rd-2023/101052 "2023-07-01T15:18:29Z")

</div>

This is a short notice announcement, but we’re organising a new meetup in London (UK) for next Monday July 3rd, 2023 at the UCL Artificial Intelligence centre in 90 High Holborn: I’ll be giving a sneak preview of my Ju…

---

## [Distributing a julia package that contains Fortran and C code](https://discourse.julialang.org/t/distributing-a-julia-package-that-contains-fortran-and-c-code/101024)

<div class="topic-metadata">

**Author:** [@mesonepigreco](https://discourse.julialang.org/u/mesonepigreco)\
**Replies:** 4\
**Last updated:** [July 1, 2023, 3:05pm UTC](https://discourse.julialang.org/t/distributing-a-julia-package-that-contains-fortran-and-c-code/101024 "2023-07-01T15:05:40Z")

</div>

Dear julia experts I am developing a package that requires a lot of fortran code with Lapack and Blas dependencies developed long time ago. While it should be straightforward to compile it manually for myself as a shar…

---

## [This month in Julia world - 2023-06](https://discourse.julialang.org/t/this-month-in-julia-world-2023-06/100906)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 16\
**Last updated:** [July 1, 2023, 1:33pm UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2023-06/100906 "2023-07-01T13:33:00Z")

</div>

A (potentially?) monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. “I…

---

## [How to specify a Turing model to have the 2 vectors as input for a distribution that returns a tuple](https://discourse.julialang.org/t/how-to-specify-a-turing-model-to-have-the-2-vectors-as-input-for-a-distribution-that-returns-a-tuple/100493)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 19\
**Last updated:** [July 1, 2023, 1:23pm UTC](https://discourse.julialang.org/t/how-to-specify-a-turing-model-to-have-the-2-vectors-as-input-for-a-distribution-that-returns-a-tuple/100493 "2023-07-01T13:23:06Z")

</div>

The SequentialSamplingModels.jl package implements distributions that are used in psychology research. One such model, the Linear Ballistic Accumulator (LBA), is used to model simultaneously reaction time (RT) and choice…

---

## [How to get methods of functor?](https://discourse.julialang.org/t/how-to-get-methods-of-functor/101050)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 1:04pm UTC](https://discourse.julialang.org/t/how-to-get-methods-of-functor/101050 "2023-07-01T13:04:51Z")

</div>

How to get methods of functor? julia\> foo() = 2; julia\> foo(x) = x + 2; julia\> methods(foo) # 2 methods for generic function "foo": \[1\] foo() in Main at REPL\[21\]:1 \[2\] foo(x) in Main at REPL\[22\]:1 julia\> struct Foo x en…

---

## [Principal angles between subspaces](https://discourse.julialang.org/t/principal-angles-between-subspaces/101044)

<div class="topic-metadata">

**Author:** [@fph](https://discourse.julialang.org/u/fph)\
**Replies:** 2\
**Last updated:** [July 1, 2023, 12:53pm UTC](https://discourse.julialang.org/t/principal-angles-between-subspaces/101044 "2023-07-01T12:53:42Z")

</div>

Does Julia have a function to compute canonical / principal angles between subspaces, like scipy.linalg.subspace\_angles or even just Matlab’s subspace which computes the maximum angle only? The computation is essentiall…

---

## [How to get value attribute from an \< li \> element of HTML in Julia?](https://discourse.julialang.org/t/how-to-get-value-attribute-from-an-li-element-of-html-in-julia/101010)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 16\
**Last updated:** [July 1, 2023, 12:05pm UTC](https://discourse.julialang.org/t/how-to-get-value-attribute-from-an-li-element-of-html-in-julia/101010 "2023-07-01T12:05:27Z")

</div>

I want to get value attribute from all \< li \> element of HTML. Like 34123, 34122 etc, in a array form so that i can use them for identification.

---

## [Convert (N)D Array to (N-2)D Array of SMatrix elements](https://discourse.julialang.org/t/convert-n-d-array-to-n-2-d-array-of-smatrix-elements/85555)

<div class="topic-metadata">

**Author:** [@andrewkhardy](https://discourse.julialang.org/u/andrewkhardy)\
**Replies:** 3\
**Last updated:** [July 1, 2023, 10:45am UTC](https://discourse.julialang.org/t/convert-n-d-array-to-n-2-d-array-of-smatrix-elements/85555 "2023-07-01T10:45:28Z")

</div>

I want to do matrix inversion on a stack of matrices, based on this post. I’m having difficulty recasting the arrays though. In my case, the array will come as data or an input to a function, but here is a minimal exampl…

---

## [Error in .julia$cmd(paste0(Rhomeset, "Base.include(Main,\\"", system.file("julia/setup.jl",](https://discourse.julialang.org/t/error-in-julia-cmd-paste0-rhomeset-base-include-main-system-file-julia-setup-jl/101043)

<div class="topic-metadata">

**Author:** [@Faraz564](https://discourse.julialang.org/u/Faraz564)\
**Replies:** 2\
**Last updated:** [July 1, 2023, 10:58am UTC](https://discourse.julialang.org/t/error-in-julia-cmd-paste0-rhomeset-base-include-main-system-file-julia-setup-jl/101043 "2023-07-01T10:58:43Z")

</div>

My Julia\_Setup is not running. Which create error. Kindly write your suggestion. Please see it below. Julia version 1.9.1 at location C:\\Users\\PC\\AppData\\Local\\Programs\\JULIA-~1.1\\bin will be used. Loading setup scrip…

---

## [How to pass name of macro argument into result struct parameter](https://discourse.julialang.org/t/how-to-pass-name-of-macro-argument-into-result-struct-parameter/101049)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 10:36am UTC](https://discourse.julialang.org/t/how-to-pass-name-of-macro-argument-into-result-struct-parameter/101049 "2023-07-01T10:36:47Z")

</div>

Hello, please help to pass name of macro argument into result struct parameter struct Foo{x} end macro foo(x) return esc(:($x = Foo{QuoteNode($x)})) # ??? end @macroexpand @foo x # need - \> # x = Foo{:x} x = …

---

## [List all live(non gc'ed) tasks?](https://discourse.julialang.org/t/list-all-live-non-gced-tasks/9217)

<div class="topic-metadata">

**Author:** [@TsurHerman](https://discourse.julialang.org/u/TsurHerman)\
**Replies:** 5\
**Last updated:** [July 1, 2023, 6:53am UTC](https://discourse.julialang.org/t/list-all-live-non-gced-tasks/9217 "2023-07-01T06:53:12Z")

</div>

Is there a way to get a list of all “live” tasks in the current session?

---

## [Strange --- seemingly out-of-bounds access --- bug in Julia v1.6](https://discourse.julialang.org/t/strange-seemingly-out-of-bounds-access-bug-in-julia-v1-6/101041)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 4:42am UTC](https://discourse.julialang.org/t/strange-seemingly-out-of-bounds-access-bug-in-julia-v1-6/101041 "2023-07-01T04:42:37Z")

</div>

Using Julia v1.6.7, I obtain julia\> using LinearAlgebra, FillArrays julia\> for (dv, ev) in ((Fill(2,3), Fill(6,2)), (Zeros(2), Zeros(1))) display(Tridiagonal(ev, dv, ev)) end 3×3…

---

## [A question about install GLMakie](https://discourse.julialang.org/t/a-question-about-install-glmakie/101037)

<div class="topic-metadata">

**Author:** [@yu\_xiong](https://discourse.julialang.org/u/yu_xiong)\
**Replies:** 1\
**Last updated:** [July 1, 2023, 1:59am UTC](https://discourse.julialang.org/t/a-question-about-install-glmakie/101037 "2023-07-01T01:59:11Z")

</div>

when I install GLMakie，A question ERROR: LoadError: InitError: could not load library “C:\\Users\\xiongyu.julia\\artifacts\\a9f1da02e36476372227c9067f101c4385fc3f38\\bin\\libqhull\_r.dll” %1 is not a valid Win32 application.

---

## [\[ANN\] SemanticAST.jl - semantic AST analysis for Julia source code](https://discourse.julialang.org/t/ann-semanticast-jl-semantic-ast-analysis-for-julia-source-code/101034)

<div class="topic-metadata">

**Author:** [@ckfinite](https://discourse.julialang.org/u/ckfinite)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 10:49pm UTC](https://discourse.julialang.org/t/ann-semanticast-jl-semantic-ast-analysis-for-julia-source-code/101034 "2023-06-30T22:49:59Z")

</div>

SemanticAST.jl If you’ve tried to do analysis of existing Julia code (or have written a macro) then you’re probably familiar with how arcane Julia’s Expr grammar is. There isn’t a coherent source of truth for what forms…

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

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