# Latest

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

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

**Page:** 250

---

## [Tell Documenter where symbols are imported from](https://discourse.julialang.org/t/tell-documenter-where-symbols-are-imported-from/124081)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 0\
**Last updated:** [December 22, 2024, 1:48am UTC](https://discourse.julialang.org/t/tell-documenter-where-symbols-are-imported-from/124081 "2024-12-22T01:48:08Z")

</div>

I want to organize my modules so that, among other things, when a user does import MainMod.A at the REPL, and then A.\[TAB\] they see to the extent possible, only symbols in the API. So I want to put the ugly code and the …

---

## [Testing type stability across Julia and JET versions](https://discourse.julialang.org/t/testing-type-stability-across-julia-and-jet-versions/116289)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 7\
**Last updated:** [December 22, 2024, 1:24am UTC](https://discourse.julialang.org/t/testing-type-stability-across-julia-and-jet-versions/116289 "2024-12-22T01:24:36Z")

</div>

In my package DifferentiationInterface.jl, the test suite includes type-stability checks for some differentiation operators. I perform these checks with JET.jl and the @test\_opt macro, which actually verifies a stronger …

---

## [SymbolServer, CSTParser and JuliaSyntax](https://discourse.julialang.org/t/symbolserver-cstparser-and-juliasyntax/124075)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [December 21, 2024, 11:43pm UTC](https://discourse.julialang.org/t/symbolserver-cstparser-and-juliasyntax/124075 "2024-12-21T23:43:48Z")

</div>

I am trying to understand the relationship between the packages used by LanguageServer.jl, which powers Julia VSCode. Question: which feature/ requirement is implemented by CSTParser/JuliaSyntax which feature/ requ…

---

## [Debugger crashed](https://discourse.julialang.org/t/debugger-crashed/123994)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 6\
**Last updated:** [December 21, 2024, 8:30pm UTC](https://discourse.julialang.org/t/debugger-crashed/123994 "2024-12-21T20:30:31Z")

</div>

I’m running into a problem where I don’t even know where to start looking for the problem. Well, it seems that there is an undefined variable in the error\_handler.jl file so I’m guessing it might be a bug in the VSCodeDe…

---

## [TestItems produces error in VSCode](https://discourse.julialang.org/t/testitems-produces-error-in-vscode/118591)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 10\
**Last updated:** [December 21, 2024, 8:12pm UTC](https://discourse.julialang.org/t/testitems-produces-error-in-vscode/118591 "2024-12-21T20:12:47Z")

</div>

Hello, I am trying to use TestItems.jl with VSCode, but I have encountered the following error: An error occurred attempting to run tests: Error: Pending response rejected since connection got disposed The output in t…

---

## [How to write a custom actor that also acts as an observable?](https://discourse.julialang.org/t/how-to-write-a-custom-actor-that-also-acts-as-an-observable/107808)

<div class="topic-metadata">

**Author:** [@oliviermilla](https://discourse.julialang.org/u/oliviermilla)\
**Replies:** 3\
**Last updated:** [December 21, 2024, 5:08pm UTC](https://discourse.julialang.org/t/how-to-write-a-custom-actor-that-also-acts-as-an-observable/107808 "2024-12-21T17:08:55Z")

</div>

Hello, in Rocket, I’d like to do something like this: struct CustomActor1 \<: Actor{Any} # Data end function Rocket.on\_next!(a::CustomActor1, data::Any) #Compute using a's data next!() # send result downstr…

---

## [JuMP: the other implication for indicator constraints](https://discourse.julialang.org/t/jump-the-other-implication-for-indicator-constraints/124048)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 3\
**Last updated:** [December 21, 2024, 4:20pm UTC](https://discourse.julialang.org/t/jump-the-other-implication-for-indicator-constraints/124048 "2024-12-21T16:20:53Z")

</div>

In JuMP there is some support for indicator constraints. The documentation reads Indicator constraints consist of a binary variable and a linear constraint. The constraint holds when the binary variable takes the value…

---

## [Circular dependency warning](https://discourse.julialang.org/t/circular-dependency-warning/123388)

<div class="topic-metadata">

**Author:** [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)\
**Replies:** 11\
**Last updated:** [December 21, 2024, 3:36pm UTC](https://discourse.julialang.org/t/circular-dependency-warning/123388 "2024-12-21T15:36:48Z")

</div>

Julia v1.10.7 and v1.11.1 shows circular dependency warning while adding CUDA.jl ┌ Warning: Circular dependency detected. Precompilation will be skipped for: │ Base.PkgId(Base.UUID("85068d23-b5fb-53f1-8204-05c2aba6942…

---

## [How to speed up converting Dict to Json?](https://discourse.julialang.org/t/how-to-speed-up-converting-dict-to-json/124061)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 2:12pm UTC](https://discourse.julialang.org/t/how-to-speed-up-converting-dict-to-json/124061 "2024-12-21T14:12:03Z")

</div>

I am using Julia and the JSON module to convert a Dict to JSON and sent it to LLM APIs. Below is the code I’m using: function send\_request(url, headers, payload) try @debug "Payload" payload json\_pay…

---

## [Unable to log long strings](https://discourse.julialang.org/t/unable-to-log-long-strings/99678)

<div class="topic-metadata">

**Author:** [@josephmm1](https://discourse.julialang.org/u/josephmm1)\
**Replies:** 2\
**Last updated:** [June 5, 2023, 3:22pm UTC](https://discourse.julialang.org/t/unable-to-log-long-strings/99678 "2023-06-05T15:22:03Z")

</div>

Hi all, I’m trying to log some long strings to the console to capture some inbound rest requests coming from another application. The problem is they are always limited in size to 1000 charecters, I’ve looked over the do…

---

## [What is the most performant way to create an array of functions?](https://discourse.julialang.org/t/what-is-the-most-performant-way-to-create-an-array-of-functions/124055)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 10:58am UTC](https://discourse.julialang.org/t/what-is-the-most-performant-way-to-create-an-array-of-functions/124055 "2024-12-21T10:58:56Z")

</div>

Is there a performant way to create an array of functions over which I can iterate? I’ve noticed that creating a Vector{Function}() has quite a performance hit due to the abstract Function type. I cannot use the concrete…

---

## [Two questions about Julia](https://discourse.julialang.org/t/two-questions-about-julia/123957)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 11\
**Last updated:** [December 21, 2024, 10:47am UTC](https://discourse.julialang.org/t/two-questions-about-julia/123957 "2024-12-21T10:47:24Z")

</div>

Hello, I have two questions: 1- Why can’t I assign '' to a variable? julia\> ch = '' ERROR: ParseError: # Error @ REPL\[17\]:1:7 ch = '' # └ ── empty character literal Stacktrace: \[1\] top-level scope @ none:1 2-…

---

## [Unreasonable memory usage with M4 GPU](https://discourse.julialang.org/t/unreasonable-memory-usage-with-m4-gpu/123890)

<div class="topic-metadata">

**Author:** [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Replies:** 2\
**Last updated:** [December 21, 2024, 8:48am UTC](https://discourse.julialang.org/t/unreasonable-memory-usage-with-m4-gpu/123890 "2024-12-21T08:48:08Z")

</div>

Dearests, my fight to make a reasonable use of my M4 GPU continues. Metal.versioninfo()macOS 15.1.1, Darwin 24.1.0 Toolchain: Julia: 1.11.2 LLVM: 16.0.6 Julia packages: Metal.jl: 1.4.2 GPUArrays: 10.3.1 GPUCompil…

---

## [RegressionTables.jl: How to Change Star Precision](https://discourse.julialang.org/t/regressiontables-jl-how-to-change-star-precision/124050)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 1\
**Last updated:** [December 21, 2024, 4:05am UTC](https://discourse.julialang.org/t/regressiontables-jl-how-to-change-star-precision/124050 "2024-12-21T04:05:05Z")

</div>

Does anybody know how to change the number of stars for different p-values in RegressionTables.jl?

---

## [JuMP Unable to register the function](https://discourse.julialang.org/t/jump-unable-to-register-the-function/124006)

<div class="topic-metadata">

**Author:** [@jgr](https://discourse.julialang.org/u/jgr)\
**Replies:** 1\
**Last updated:** [December 21, 2024, 12:01am UTC](https://discourse.julialang.org/t/jump-unable-to-register-the-function/124006 "2024-12-21T00:01:30Z")

</div>

The function I want to maximize is function L(params::Vector{Real}, df::DataFrame, mm::MMParams) θ1, α1, β1, D1, N1, ϵ1, θ2, α2, β2, D2, N2, ϵ2, ρ, pA, pF, σ, constant = params Π = mm.Π y\_star\_1 = y\_start((…

---

## [Generate a function via macro and pass to @cfunction. Possible?](https://discourse.julialang.org/t/generate-a-function-via-macro-and-pass-to-cfunction-possible/123988)

<div class="topic-metadata">

**Author:** [@tqml](https://discourse.julialang.org/u/tqml)\
**Replies:** 7\
**Last updated:** [December 20, 2024, 11:59pm UTC](https://discourse.julialang.org/t/generate-a-function-via-macro-and-pass-to-cfunction-possible/123988 "2024-12-20T23:59:09Z")

</div>

I’m trying to write a macro that takes a function, creates a wrapper for it, passes the wrapper to @cfunction and finally passes the function pointer to an external C library. To further clarify the use-case here: I wan…

---

## [(Plots) how to set color of ticks?](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 7\
**Last updated:** [December 20, 2024, 11:57pm UTC](https://discourse.julialang.org/t/plots-how-to-set-color-of-ticks/123974 "2024-12-20T23:57:51Z")

</div>

How to set color of ticks? Not font or axis, only ticks. Upd: using Plots.jl (gr backend) Like this:

---

## [Applying sin(-x)=-sin(x) with SymbolicUtils](https://discourse.julialang.org/t/applying-sin-x-sin-x-with-symbolicutils/124002)

<div class="topic-metadata">

**Author:** [@ValterDelft](https://discourse.julialang.org/u/ValterDelft)\
**Replies:** 3\
**Last updated:** [December 20, 2024, 9:27pm UTC](https://discourse.julialang.org/t/applying-sin-x-sin-x-with-symbolicutils/124002 "2024-12-20T21:27:18Z")

</div>

Hi, I am trying to simplify some trigonometric expressions using SymbolicUtils. After applying the product rules for sine and cosine terms, you can end up with negative arguments and I would like to implement the followi…

---

## [Latitude and longitude decimal range from degrees](https://discourse.julialang.org/t/latitude-and-longitude-decimal-range-from-degrees/123964)

<div class="topic-metadata">

**Author:** [@alecStewart1](https://discourse.julialang.org/u/alecStewart1)\
**Replies:** 33\
**Last updated:** [December 20, 2024, 8:28pm UTC](https://discourse.julialang.org/t/latitude-and-longitude-decimal-range-from-degrees/123964 "2024-12-20T20:28:05Z")

</div>

Hello friends! One of the use cases for Julia that I’m finding for work is for geographical purposes. However geography wasn’t my specialization in school. :sweat\_smile: One of the things I’m wanting to do is collect d…

---

## [Include static pluto/jupyter/marimo notebook in Documenter output](https://discourse.julialang.org/t/include-static-pluto-jupyter-marimo-notebook-in-documenter-output/124039)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 7:26pm UTC](https://discourse.julialang.org/t/include-static-pluto-jupyter-marimo-notebook-in-documenter-output/124039 "2024-12-20T19:26:43Z")

</div>

Is there some nice way to include any type of notebook, or even just raw HTML, in documentation generated by Documenter? I have several notebooks of sympy calculations that I use to verify lots of formulas in my code. …

---

## [Function arguments](https://discourse.julialang.org/t/function-arguments/61717)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 37\
**Last updated:** [December 20, 2024, 4:56pm UTC](https://discourse.julialang.org/t/function-arguments/61717 "2024-12-20T16:56:59Z")

</div>

Is it possible to pass a named tuple to a function and have the components available as variables without explicitly specifying them as arguments. f( X ) = A + B X = (A=1,B=2) f( X ) output : 3 Background: I have ab…

---

## [Frameworks and Libraries: The role of multiple dispatch](https://discourse.julialang.org/t/frameworks-and-libraries-the-role-of-multiple-dispatch/124013)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 4:48pm UTC](https://discourse.julialang.org/t/frameworks-and-libraries-the-role-of-multiple-dispatch/124013 "2024-12-20T16:48:14Z")

</div>

Hi there :slight\_smile: Reading stuff like this and and this and this makes me wonder, if I want to use or write any framework again. Besides the point, this is not the actual topic of this post. What I am really inte…

---

## [Overflow issue?](https://discourse.julialang.org/t/overflow-issue/124009)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 3\
**Last updated:** [December 20, 2024, 4:40pm UTC](https://discourse.julialang.org/t/overflow-issue/124009 "2024-12-20T16:40:48Z")

</div>

Hello everyone, Is this a bug ? Why is it false for some specific numbers while true for others? julia\> 3 \* 1e-5 \* 1e5 == 3.0 false julia\> 5 \* 1e-5 \* 1e5 == 5.0 true julia\> 6 \* 1e-5 \* 1e5 == 6.0 false julia\> 7 \*…

---

## [Rocket.jl - why is teardown logic never called?](https://discourse.julialang.org/t/rocket-jl-why-is-teardown-logic-never-called/123418)

<div class="topic-metadata">

**Author:** [@AUK1939](https://discourse.julialang.org/u/AUK1939)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 6:55am UTC](https://discourse.julialang.org/t/rocket-jl-why-is-teardown-logic-never-called/123418 "2024-12-20T06:55:48Z")

</div>

Here is an example struct MySubscribable \<: Subscribable{Int} end function Rocket.on\_subscribe!(subscribable::MySubscribable, actor) next!(actor, 1) next!(actor, 2) next!(actor, 3) complete!(actor) …

---

## [How to make vscode aware of user modules](https://discourse.julialang.org/t/how-to-make-vscode-aware-of-user-modules/22948)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 40\
**Last updated:** [December 20, 2024, 1:09pm UTC](https://discourse.julialang.org/t/how-to-make-vscode-aware-of-user-modules/22948 "2024-12-20T13:09:42Z")

</div>

The vscode plugin is taking the LOAD\_PATH of packages not into account, therefore symbols in my own code are not found. I am trying to fix that, but need some help. What I tried so far: tried to edit the file “~/.vsco…

---

## [A union of partially overlapping hyperrectangles?](https://discourse.julialang.org/t/a-union-of-partially-overlapping-hyperrectangles/124012)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 1:14pm UTC](https://discourse.julialang.org/t/a-union-of-partially-overlapping-hyperrectangles/124012 "2024-12-20T13:14:24Z")

</div>

I was browsing the helpdesk over at Zulip when I came across this question that I have no hope of answering. Say you have a union of partially overlapping Hyperrectangles and you want to describe the non-convex polygon…

---

## [Folding comments in VSCode](https://discourse.julialang.org/t/folding-comments-in-vscode/109896)

<div class="topic-metadata">

**Author:** [@cby](https://discourse.julialang.org/u/cby)\
**Replies:** 2\
**Last updated:** [December 20, 2024, 11:15am UTC](https://discourse.julialang.org/t/folding-comments-in-vscode/109896 "2024-12-20T11:15:13Z")

</div>

I moved over from Atom belatedly but find that the shortcuts for folding all or folding block comments are not working with Julia block comments. Atom also used to fold a series of single line comments, which I found hel…

---

## [Time traveling the dependencies of an older package version](https://discourse.julialang.org/t/time-traveling-the-dependencies-of-an-older-package-version/123874)

<div class="topic-metadata">

**Author:** [@MatthijsCox](https://discourse.julialang.org/u/MatthijsCox)\
**Replies:** 13\
**Last updated:** [December 20, 2024, 10:53am UTC](https://discourse.julialang.org/t/time-traveling-the-dependencies-of-an-older-package-version/123874 "2024-12-20T10:53:59Z")

</div>

Here’s a package installation problem I occasionally run into. I want to install an older package version, e.g. PackageA@v0.1, but when I install the older version it installs newer package dependency versions, say Packa…

---

## [Intersection of Ball and GeometrySet in LatLon crs](https://discourse.julialang.org/t/intersection-of-ball-and-geometryset-in-latlon-crs/123992)

<div class="topic-metadata">

**Author:** [@stepanoslejsek](https://discourse.julialang.org/u/stepanoslejsek)\
**Replies:** 6\
**Last updated:** [December 20, 2024, 8:37am UTC](https://discourse.julialang.org/t/intersection-of-ball-and-geometryset-in-latlon-crs/123992 "2024-12-20T08:37:26Z")

</div>

Hi, I’d like to find an intersection of a Ball with GeometrySet in LatLon coordinate reference system. However, when I construct my Ball b like b = GeoStats.Ball(GeoStats.Point(LatLon(48.34, 18.45)), 10) and ropes r a…

---

## [About pluto sliders and documentation](https://discourse.julialang.org/t/about-pluto-sliders-and-documentation/123982)

<div class="topic-metadata">

**Author:** [@Geoff\_Russell](https://discourse.julialang.org/u/Geoff_Russell)\
**Replies:** 6\
**Last updated:** [December 20, 2024, 8:10am UTC](https://discourse.julialang.org/t/about-pluto-sliders-and-documentation/123982 "2024-12-20T08:10:15Z")

</div>

Is there a formal description of the @bind command somewhere. I want to put labels before and after the slider … Slider Label: …slider… Units label e.g., Battery power: … MW Battery energy: … MWh I’m mai…

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

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