# Latest

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

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

**Page:** 649

---

## [How can I move the x axis and ticks at top of the graph?](https://discourse.julialang.org/t/how-can-i-move-the-x-axis-and-ticks-at-top-of-the-graph/101479)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 3:45pm UTC](https://discourse.julialang.org/t/how-can-i-move-the-x-axis-and-ticks-at-top-of-the-graph/101479 "2023-07-11T15:45:04Z")

</div>

Hi all! I’m trying to plot a heatmap of a distance matrix: julia\> distance\_matrix\_measures 12×12 Matrix{Float64}: 0.0 0.0242429 0.0217801 … 0.0443951 0.0124709 0.0114215 0.0242429 0.0 0.0024…

---

## [How to avoid global variables in JuMP](https://discourse.julialang.org/t/how-to-avoid-global-variables-in-jump/101488)

<div class="topic-metadata">

**Author:** [@leima0521](https://discourse.julialang.org/u/leima0521)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 3:38pm UTC](https://discourse.julialang.org/t/how-to-avoid-global-variables-in-jump/101488 "2023-07-11T15:38:33Z")

</div>

I am reading the performance tips of JuMP. It says “The most important rule is to avoid global variables”, but I am not sure what it means in the JuMP context and how to implement it. In the example below, the value of …

---

## [Minimal example for highlighting type instability's impact on performance](https://discourse.julialang.org/t/minimal-example-for-highlighting-type-instabilitys-impact-on-performance/101484)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 8\
**Last updated:** [July 11, 2023, 3:04pm UTC](https://discourse.julialang.org/t/minimal-example-for-highlighting-type-instabilitys-impact-on-performance/101484 "2023-07-11T15:04:52Z")

</div>

Hey all, I am updating some old material from a Julia course I’ve given in the past (Zero2Hero intensive Julia workshop - YouTube) . Due to the huge progress of Julia release after release, I am struggling to find a sim…

---

## [Julia and Gitlab self-hosted : a state-of-the-art?](https://discourse.julialang.org/t/julia-and-gitlab-self-hosted-a-state-of-the-art/86685)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 31\
**Last updated:** [July 11, 2023, 2:49pm UTC](https://discourse.julialang.org/t/julia-and-gitlab-self-hosted-a-state-of-the-art/86685 "2023-07-11T14:49:16Z")

</div>

I have been working since last year with julia, and I developed several packages for internal use in my company. Up to now, these developments were my own and did not require much input from other developers. I am mostly…

---

## [JuMP: many small problems or one combined problem?](https://discourse.julialang.org/t/jump-many-small-problems-or-one-combined-problem/101415)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 1:29pm UTC](https://discourse.julialang.org/t/jump-many-small-problems-or-one-combined-problem/101415 "2023-07-11T13:29:12Z")

</div>

I am solving many independent assignment/matching problems using JuMP. Since the problems are independent, it is theoretically no different if I solve each of them separately or if I solve one big combined problem. Howev…

---

## [Unabridged printing of long strings, either in a Vector or in a DataFrame?](https://discourse.julialang.org/t/unabridged-printing-of-long-strings-either-in-a-vector-or-in-a-dataframe/101365)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 6\
**Last updated:** [July 11, 2023, 12:32pm UTC](https://discourse.julialang.org/t/unabridged-printing-of-long-strings-either-in-a-vector-or-in-a-dataframe/101365 "2023-07-11T12:32:00Z")

</div>

Sometimes when I’m working with long strings, usually in the form of a Vector{String}, I’d like to be able to see them in their entirety in the REPL, even if each one gets wrapped to multiple lines. Is there an easy way …

---

## [Eliminate runtime dispatch for repeated @async calls](https://discourse.julialang.org/t/eliminate-runtime-dispatch-for-repeated-async-calls/101480)

<div class="topic-metadata">

**Author:** [@erathorn](https://discourse.julialang.org/u/erathorn)\
**Replies:** 0\
**Last updated:** [July 11, 2023, 11:54am UTC](https://discourse.julialang.org/t/eliminate-runtime-dispatch-for-repeated-async-calls/101480 "2023-07-11T11:54:05Z")

</div>

Hi all! I am writing some code where I need to call a function repeatedly, which is executed in a distributed fashion. Below you find some pseudocode to illustrate the problem. In outer\_function I followed the suggestio…

---

## [Boundserror: attempt to access 120 times 1 matrix{Float} at index \[1,3\]](https://discourse.julialang.org/t/boundserror-attempt-to-access-120-times-1-matrix-float-at-index-1-3/101466)

<div class="topic-metadata">

**Author:** [@Xiaoting\_Wang](https://discourse.julialang.org/u/Xiaoting_Wang)\
**Replies:** 6\
**Last updated:** [July 11, 2023, 11:12am UTC](https://discourse.julialang.org/t/boundserror-attempt-to-access-120-times-1-matrix-float-at-index-1-3/101466 "2023-07-11T11:12:03Z")

</div>

Pout\[:, 3:5\] = X\[:, 3:5\] for i in 1:3 PF\_coe = Param\_5\[2 + i\] for j in 1:120 Qout\[j, 2 + i\] = Pout\[j, 2 + i\] \* PF\_coe end end Not understand why it keeps resulting in the boundserror, I did not find where it is wr…

---

## [Julia Blogging Workflow](https://discourse.julialang.org/t/julia-blogging-workflow/101444)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 10:59am UTC](https://discourse.julialang.org/t/julia-blogging-workflow/101444 "2023-07-11T10:59:54Z")

</div>

I am working on a couple blog posts right now, and I was hoping to get some insight from the many wonderful Julia bloggers about how you put together a post. I’d love to know: What tool do you use for turning text int…

---

## [Host Pluto server in the cloud, eg, Digital Ocean?](https://discourse.julialang.org/t/host-pluto-server-in-the-cloud-eg-digital-ocean/92737)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 13\
**Last updated:** [July 11, 2023, 10:53am UTC](https://discourse.julialang.org/t/host-pluto-server-in-the-cloud-eg-digital-ocean/92737 "2023-07-11T10:53:52Z")

</div>

Does anyone have pointers for hosting Pluto on a cloud-based server, such as Digital Ocean? I’m interested in a regular Pluto server for developing notebooks, but not interested in PlutoSliderServer.

---

## [Links to PRs in News.md not working?](https://discourse.julialang.org/t/links-to-prs-in-news-md-not-working/101302)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 3\
**Last updated:** [July 11, 2023, 10:16am UTC](https://discourse.julialang.org/t/links-to-prs-in-news-md-not-working/101302 "2023-07-11T10:16:14Z")

</div>

When I load https://github.com/JuliaLang/julia/blob/release-1.10/NEWS.md, none of the PR numbers show up as links for me. I just see, e.g., (\[#46372\]). Is it just me, or do others see the same? It would have been nice to…

---

## [How to draw directed acyclic graphs (DAGs) in ASCII code for terminal display in Julia?](https://discourse.julialang.org/t/how-to-draw-directed-acyclic-graphs-dags-in-ascii-code-for-terminal-display-in-julia/101373)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 8\
**Last updated:** [July 11, 2023, 9:49am UTC](https://discourse.julialang.org/t/how-to-draw-directed-acyclic-graphs-dags-in-ascii-code-for-terminal-display-in-julia/101373 "2023-07-11T09:49:13Z")

</div>

I’m working on a project in Julia where I need to visualize Directed Acyclic Graphs (DAG) directly in the terminal. I’m searching for a way to represent these graphs using ASCII characters. The idea is to have nodes and…

---

## [HTTP.request("POST"...) seems to be using "GET" instead](https://discourse.julialang.org/t/http-request-post-seems-to-be-using-get-instead/101461)

<div class="topic-metadata">

**Author:** [@Titas22](https://discourse.julialang.org/u/Titas22)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 9:19am UTC](https://discourse.julialang.org/t/http-request-post-seems-to-be-using-get-instead/101461 "2023-07-11T09:19:27Z")

</div>

Hi, I’m having an issue with a POST request using HTTP.jl where it seems to be doing a GET request instead. Versions: Julia 1.9.0 HTTP.jl 1.7.3 Code: import HTTP response = HTTP.request("POST", "http://fiaweather.m…

---

## [The Julia Forem is live: https://forem.julialang.org](https://discourse.julialang.org/t/the-julia-forem-is-live-https-forem-julialang-org/82055)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 40\
**Last updated:** [July 11, 2023, 8:36am UTC](https://discourse.julialang.org/t/the-julia-forem-is-live-https-forem-julialang-org/82055 "2023-07-11T08:36:20Z")

</div>

Hey folks! Some of you may recall that we have been experimenting with setting up a Julia Forem since November of last year. Well today, I am super excited to share that the Julia Forem is live and ready: https://forem.…

---

## [In-place cholesky decomposition fails even if the matrix is hermitian](https://discourse.julialang.org/t/in-place-cholesky-decomposition-fails-even-if-the-matrix-is-hermitian/101473)

<div class="topic-metadata">

**Author:** [@taka255](https://discourse.julialang.org/u/taka255)\
**Replies:** 2\
**Last updated:** [July 11, 2023, 8:27am UTC](https://discourse.julialang.org/t/in-place-cholesky-decomposition-fails-even-if-the-matrix-is-hermitian/101473 "2023-07-11T08:27:19Z")

</div>

Hi, I am encountering an issue with Cholesky decomposition in Julia. The code I am using is as follows: using StaticArrays, LinearAlgebra sigma = @MMatrix \[20+1.0\*cos(2.0) 3.0; 3.0 20-1.0 \*cos(2.0)\] sigma1 = @SMatrix …

---

## [\[ANN\] Training course “Julia for HPC” in Stuttgart, Germany on Oct 24-27, 2023](https://discourse.julialang.org/t/ann-training-course-julia-for-hpc-in-stuttgart-germany-on-oct-24-27-2023/101251)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 1\
**Last updated:** [July 11, 2023, 8:22am UTC](https://discourse.julialang.org/t/ann-training-course-julia-for-hpc-in-stuttgart-germany-on-oct-24-27-2023/101251 "2023-07-11T08:22:15Z")

</div>

After the great positive feedback we received at last year’s Julia for HPC training course at HLRS, there will be another opportunity to learn more about using Julia for high-performance computing this fall! At HLRS, we…

---

## [Compiling Packages to Bitcode with PackageCompiler.jl](https://discourse.julialang.org/t/compiling-packages-to-bitcode-with-packagecompiler-jl/101376)

<div class="topic-metadata">

**Author:** [@ludgerpaehler](https://discourse.julialang.org/u/ludgerpaehler)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 8:16am UTC](https://discourse.julialang.org/t/compiling-packages-to-bitcode-with-packagecompiler-jl/101376 "2023-07-11T08:16:38Z")

</div>

Hey everyone, Am currently trying to compile a bunch of packages with PackageCompiler.jl into bitcode, using Gen.jl as a placeholder package from hereon out. After looking at a bunch of the documentation, and the docto…

---

## [Positioning \`contour\_labels\` for contour plots](https://discourse.julialang.org/t/positioning-contour-labels-for-contour-plots/101265)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 8\
**Last updated:** [July 11, 2023, 7:58am UTC](https://discourse.julialang.org/t/positioning-contour-labels-for-contour-plots/101265 "2023-07-11T07:58:29Z")

</div>

Folks, I am using Plots.jl with GR backend. Basically, what I am trying to do is to draw the lines of a 2d curvilinear coordinate system. Specifically, I do two contour plots on the same axes, that give me two sets of …

---

## [Tips on how to use let blocks to shadow local variables and avoid accidentally modifying the original variable](https://discourse.julialang.org/t/tips-on-how-to-use-let-blocks-to-shadow-local-variables-and-avoid-accidentally-modifying-the-original-variable/101467)

<div class="topic-metadata">

**Author:** [@Ethan\_Diao](https://discourse.julialang.org/u/Ethan_Diao)\
**Replies:** 9\
**Last updated:** [July 11, 2023, 7:38am UTC](https://discourse.julialang.org/t/tips-on-how-to-use-let-blocks-to-shadow-local-variables-and-avoid-accidentally-modifying-the-original-variable/101467 "2023-07-11T07:38:18Z")

</div>

I recently adapted my code using new scopes and shadowing to avoid thinking of new variable names. The simplified code is something like the following example. I originally used begin blocks instead of let blocks, so the…

---

## [How are (mutually) recursive methods inferred correctly?](https://discourse.julialang.org/t/how-are-mutually-recursive-methods-inferred-correctly/101463)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 3\
**Last updated:** [July 11, 2023, 7:02am UTC](https://discourse.julialang.org/t/how-are-mutually-recursive-methods-inferred-correctly/101463 "2023-07-11T07:02:20Z")

</div>

This is something I took for granted and never really thought of. A C example I pulled from wikipedia will help me explain: # really inefficient check of evenness or oddness # "is n even" -\> "is n-1 odd" -\> "is n-2 even…

---

## [Install packages on machine not connected to internet](https://discourse.julialang.org/t/install-packages-on-machine-not-connected-to-internet/100650)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 28\
**Last updated:** [July 11, 2023, 6:37am UTC](https://discourse.julialang.org/t/install-packages-on-machine-not-connected-to-internet/100650 "2023-07-11T06:37:38Z")

</div>

Hi, I work on a windows machine connected to internet. (I can’t use Docker on it) From that machine I can connect to a ubuntu server which is not connected to internet. I manage to install Julia on the server by downl…

---

## [Dictionary with keywargs not working](https://discourse.julialang.org/t/dictionary-with-keywargs-not-working/101441)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 2:09am UTC](https://discourse.julialang.org/t/dictionary-with-keywargs-not-working/101441 "2023-07-11T02:09:35Z")

</div>

Hello! I have been struggling with a small issue when I pass a dictionary to a function with the keywargs values assigned. Here is minimum reproducible example: function mySimpleFun(; T::Integer, δ::Float64, σ::Float…

---

## [Documenter.jl expects my local project to be registered](https://discourse.julialang.org/t/documenter-jl-expects-my-local-project-to-be-registered/101437)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 4\
**Last updated:** [July 11, 2023, 2:35am UTC](https://discourse.julialang.org/t/documenter-jl-expects-my-local-project-to-be-registered/101437 "2023-07-11T02:35:20Z")

</div>

I have a local project, say MyProject. It has a docs directory with its own Project.toml file, which contains \[deps\] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" MyProject = "\<UUID\>" Plots = "91a5bcdd-55d7-5caf-…

---

## [Two Weeks Until JuliaCon 2023!](https://discourse.julialang.org/t/two-weeks-until-juliacon-2023/101462)

<div class="topic-metadata">

**Author:** [@Steven\_Kell](https://discourse.julialang.org/u/Steven_Kell)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 11:49pm UTC](https://discourse.julialang.org/t/two-weeks-until-juliacon-2023/101462 "2023-07-10T23:49:27Z")

</div>

Just a couple more weeks until JuliaCon 2023 hosted by the Massachusetts Institute of Technology begins! Focused on the Julia Language the conference starts on July 25th with a day of workshops and online talks. To find …

---

## [RFC: Non-standard string literals should be quotable](https://discourse.julialang.org/t/rfc-non-standard-string-literals-should-be-quotable/101460)

<div class="topic-metadata">

**Author:** [@savq](https://discourse.julialang.org/u/savq)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 11:06pm UTC](https://discourse.julialang.org/t/rfc-non-standard-string-literals-should-be-quotable/101460 "2023-07-10T23:06:19Z")

</div>

While working on tree-sitter-julia, I’ve found some inconsistencies in the way Julia treats non-standard string literals versus similar syntactic forms of the language. In Julia, you can quote identifiers, literals and …

---

## [Transpose of QR factorization](https://discourse.julialang.org/t/transpose-of-qr-factorization/101457)

<div class="topic-metadata">

**Author:** [@shce](https://discourse.julialang.org/u/shce)\
**Replies:** 1\
**Last updated:** [July 10, 2023, 10:52pm UTC](https://discourse.julialang.org/t/transpose-of-qr-factorization/101457 "2023-07-10T22:52:35Z")

</div>

Hello, It seems that I am not able to call the transpose function to a QR factorization object. In version 1.9.1: julia\> using LinearAlgebra julia\> A = rand(3,3); julia\> F = qr(A); julia\> typeof(F) LinearAlgebra.QRC…

---

## [Local package precompilation issues in 1.9](https://discourse.julialang.org/t/local-package-precompilation-issues-in-1-9/101459)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 10:26pm UTC](https://discourse.julialang.org/t/local-package-precompilation-issues-in-1-9/101459 "2023-07-10T22:26:17Z")

</div>

I’d like to fully adopt Julia version 1.9 in my workflow, and also to recommend it to some new staff who are joining us at work soon, but I continue to have problems with local package development. (See my original issue…

---

## [Efficient approach to multiply three matrices (M1\*M2\*M3) and two vectors and a matrix (x\*M\*y)](https://discourse.julialang.org/t/efficient-approach-to-multiply-three-matrices-m1-m2-m3-and-two-vectors-and-a-matrix-x-m-y/66130)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 18\
**Last updated:** [July 10, 2023, 10:16pm UTC](https://discourse.julialang.org/t/efficient-approach-to-multiply-three-matrices-m1-m2-m3-and-two-vectors-and-a-matrix-x-m-y/66130 "2023-07-10T22:16:18Z")

</div>

I am trying to optimise a small function in which I am performing linear algebra operations. This function is called in a loop about a thousand times and thus speed is critical. The main points that I would like to opti…

---

## [\[ANN\] JuliaHub.jl — client library for JuliaHub](https://discourse.julialang.org/t/ann-juliahub-jl-client-library-for-juliahub/101456)

<div class="topic-metadata">

**Author:** [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 9:43pm UTC](https://discourse.julialang.org/t/ann-juliahub-jl-client-library-for-juliahub/101456 "2023-07-10T21:43:57Z")

</div>

I am happy to announce JuliaHub.jl – the Julia package for interfacing with JuliaHub. It allows you to programmatically interact with the platform, either from your local computer, or from within a JuliaHub environment (…

---

## [Likelihood of a set of events originating from a set of sources](https://discourse.julialang.org/t/likelihood-of-a-set-of-events-originating-from-a-set-of-sources/101455)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 0\
**Last updated:** [July 10, 2023, 9:31pm UTC](https://discourse.julialang.org/t/likelihood-of-a-set-of-events-originating-from-a-set-of-sources/101455 "2023-07-10T21:31:25Z")

</div>

I’m hoping there’s a more performant way to do this, but I’m missing something. I’m migrating some MATLAB code that uses reversible-jump MCMC to produce optimal sets of point sources to explain observed events (2d coord…

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

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