# Latest

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

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

**Page:** 721

---

## [How can I add a custom ssl certificate so that HTTP.jl recognizes it by default?](https://discourse.julialang.org/t/how-can-i-add-a-custom-ssl-certificate-so-that-http-jl-recognizes-it-by-default/97698)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [April 23, 2023, 4:01am UTC](https://discourse.julialang.org/t/how-can-i-add-a-custom-ssl-certificate-so-that-http-jl-recognizes-it-by-default/97698 "2023-04-23T04:01:40Z")

</div>

Hi there, I spend a couple of hours without success. Let’s assume we have the julia docker running - how can I add a custom certificate (self-signed) which my website uses so that everything is trusted correctly? I tri…

---

## [Problem getting HTTP.Websocket Server example working](https://discourse.julialang.org/t/problem-getting-http-websocket-server-example-working/97801)

<div class="topic-metadata">

**Author:** [@bryaan](https://discourse.julialang.org/u/bryaan)\
**Replies:** 4\
**Last updated:** [April 23, 2023, 3:56am UTC](https://discourse.julialang.org/t/problem-getting-http-websocket-server-example-working/97801 "2023-04-23T03:56:11Z")

</div>

I am using the canonical HTTP.WebSockets example but getting an iterator error on ws. using HTTP.WebSockets WebSockets.listen(host, convert(UInt16, port)) do ws for message in ws @show messa…

---

## [Configuring a subdomain with subdirectories for each project’s documentation](https://discourse.julialang.org/t/configuring-a-subdomain-with-subdirectories-for-each-project-s-documentation/97802)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 0\
**Last updated:** [April 23, 2023, 3:39am UTC](https://discourse.julialang.org/t/configuring-a-subdomain-with-subdirectories-for-each-project-s-documentation/97802 "2023-04-23T03:39:35Z")

</div>

Continuing the discussion from How do I publish documenter.jl-generated docs to a subdirectory of a custom subddomain?: I am trying to replicate this, and I’m confused about what “custom domain” I should use in my GitHu…

---

## [How to represent struct component](https://discourse.julialang.org/t/how-to-represent-struct-component/97770)

<div class="topic-metadata">

**Author:** [@David\_Sagan](https://discourse.julialang.org/u/David_Sagan)\
**Replies:** 7\
**Last updated:** [April 23, 2023, 1:34am UTC](https://discourse.julialang.org/t/how-to-represent-struct-component/97770 "2023-04-23T01:34:41Z")

</div>

I want to be able to define a variable that represents a component of a structure and then use this variable to set or get the structure component. One thought I have is to do something like: julia\> mutable struct A …

---

## [Jlcode, greek letters, subscripts, etc](https://discourse.julialang.org/t/jlcode-greek-letters-subscripts-etc/97580)

<div class="topic-metadata">

**Author:** [@aquarelleX332](https://discourse.julialang.org/u/aquarelleX332)\
**Replies:** 9\
**Last updated:** [April 22, 2023, 9:26pm UTC](https://discourse.julialang.org/t/jlcode-greek-letters-subscripts-etc/97580 "2023-04-22T21:26:16Z")

</div>

Hello everyone, I am preparing a small book to invite future (and young) chemists to use Julia in order to solve problems in kinetics, quantum chemistry, etc. (ODEs, Catalyst, Flux, Neural ODEs, etc). My text is writte…

---

## [Optimizing function barrier for mapreduce](https://discourse.julialang.org/t/optimizing-function-barrier-for-mapreduce/97795)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 2\
**Last updated:** [April 22, 2023, 7:47pm UTC](https://discourse.julialang.org/t/optimizing-function-barrier-for-mapreduce/97795 "2023-04-22T19:47:47Z")

</div>

I have a function that counts the number of nodes in a binary tree: struct Node degree::Int l::Node r::Node # possibly undefined; assume degree is correct Node(::Int) = new(0) Node(::Int, l::Node) =…

---

## [Request for the Juliacon 2023 schedule and hackathon plan](https://discourse.julialang.org/t/request-for-the-juliacon-2023-schedule-and-hackathon-plan/96514)

<div class="topic-metadata">

**Author:** [@OmarElrefaei](https://discourse.julialang.org/u/OmarElrefaei)\
**Replies:** 2\
**Last updated:** [April 22, 2023, 6:28pm UTC](https://discourse.julialang.org/t/request-for-the-juliacon-2023-schedule-and-hackathon-plan/96514 "2023-04-22T18:28:27Z")

</div>

Hi, So it seems that details are still light on the website since we are a little early and the schedule hasn’t beer released yet (soon?). I had a question regarding the different tickets. it says the Talks+Workshop t…

---

## [VariantVisualization](https://discourse.julialang.org/t/variantvisualization/97707)

<div class="topic-metadata">

**Author:** [@charbel2998](https://discourse.julialang.org/u/charbel2998)\
**Replies:** 2\
**Last updated:** [April 22, 2023, 6:24pm UTC](https://discourse.julialang.org/t/variantvisualization/97707 "2023-04-22T18:24:17Z")

</div>

I’m new to Julia and New to the field of bioinformatics in general so please Help. I’ve downloaded Julia on command line on a cloud ubuntu, Got it running added VariantVisualization.jl Following the instruction and t…

---

## [Pkg: unable to connect to sa.pkg.julialang.org](https://discourse.julialang.org/t/pkg-unable-to-connect-to-sa-pkg-julialang-org/91278)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 12\
**Last updated:** [April 22, 2023, 5:48pm UTC](https://discourse.julialang.org/t/pkg-unable-to-connect-to-sa-pkg-julialang-org/91278 "2023-04-22T17:48:25Z")

</div>

Cheers, I’m having this issue under Julia 1.8.2. A clean Julia install has not been able to solve it. (@v1.8) pkg\> up ┌ Warning: could not download https://pkg.julialang.org/registries │ exception = HTTP/2 301 (Faile…

---

## [Where does StdlibArtifacts.toml come from?](https://discourse.julialang.org/t/where-does-stdlibartifacts-toml-come-from/97752)

<div class="topic-metadata">

**Author:** [@Barget](https://discourse.julialang.org/u/Barget)\
**Replies:** 3\
**Last updated:** [April 22, 2023, 5:36pm UTC](https://discourse.julialang.org/t/where-does-stdlibartifacts-toml-come-from/97752 "2023-04-22T17:36:54Z")

</div>

Hello all, While exploring a bit how packages and artifacts are stored locally, I came across a couple of StdlibArtifacts.toml files. Apparently, this is not returned by Artifacts.find\_artifacts\_toml. So the question(…

---

## [Dry run of adding a package](https://discourse.julialang.org/t/dry-run-of-adding-a-package/97783)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 1\
**Last updated:** [April 22, 2023, 1:34pm UTC](https://discourse.julialang.org/t/dry-run-of-adding-a-package/97783 "2023-04-22T13:34:54Z")

</div>

It happens occassinally to me that after adding a registerered package to a given already populated environment, I observe downgrade of several already installed packages. Depending on how much I need or want the new pac…

---

## [Setting the PATH variable from within julia](https://discourse.julialang.org/t/setting-the-path-variable-from-within-julia/97692)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 12\
**Last updated:** [April 22, 2023, 10:45am UTC](https://discourse.julialang.org/t/setting-the-path-variable-from-within-julia/97692 "2023-04-22T10:45:05Z")

</div>

Hi. I’m writing a julia package to teach julia to my students as a basis for learning maths and physics. I find that particularly students with little computer experience can have great difficulties setting things up for…

---

## [Do I understand Enzyme properly?](https://discourse.julialang.org/t/do-i-understand-enzyme-properly/97760)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 7\
**Last updated:** [April 22, 2023, 8:43am UTC](https://discourse.julialang.org/t/do-i-understand-enzyme-properly/97760 "2023-04-22T08:43:45Z")

</div>

I think I finally have a grasp on how Enzyme works, but I would like an expert to validate this. Consider a possibly mutating vector function f(x, y) which outputs a scalar value z. We denote by x\_a and y\_a the contents…

---

## [Syntax errors at terminal (new installation)](https://discourse.julialang.org/t/syntax-errors-at-terminal-new-installation/97776)

<div class="topic-metadata">

**Author:** [@rcomm](https://discourse.julialang.org/u/rcomm)\
**Replies:** 5\
**Last updated:** [April 22, 2023, 8:42am UTC](https://discourse.julialang.org/t/syntax-errors-at-terminal-new-installation/97776 "2023-04-22T08:42:51Z")

</div>

I have just installed Julia and VS code on a Win10 Pro platform. New to both Julia & VSC. A trial run of a \*.jl program off the Net worked fine. So then I tried to experiment with simple commands at the Terminal. I ha…

---

## [Distributed.ProcessExitedException Error in Pluto](https://discourse.julialang.org/t/distributed-processexitedexception-error-in-pluto/97755)

<div class="topic-metadata">

**Author:** [@kondjenim](https://discourse.julialang.org/u/kondjenim)\
**Replies:** 1\
**Last updated:** [April 22, 2023, 6:36am UTC](https://discourse.julialang.org/t/distributed-processexitedexception-error-in-pluto/97755 "2023-04-22T06:36:57Z")

</div>

I am currently using the fit() function in the MLJ package but I am getting this error on Windows 11.

---

## [Immutable types](https://discourse.julialang.org/t/immutable-types/97751)

<div class="topic-metadata">

**Author:** [@lancejnelson](https://discourse.julialang.org/u/lancejnelson)\
**Replies:** 3\
**Last updated:** [April 22, 2023, 6:05am UTC](https://discourse.julialang.org/t/immutable-types/97751 "2023-04-22T06:05:41Z")

</div>

I have an immutable struct designed like this: struct crystal lVecs::Matrix{Float64} nBasis:: Vector{Int64} latpar::Float64 atomicBasis::Vector{Matrix{Float64}} coordSys::Vector{String} end and an i…

---

## [Parametric type which contains the abstract type it subtypes](https://discourse.julialang.org/t/parametric-type-which-contains-the-abstract-type-it-subtypes/97774)

<div class="topic-metadata">

**Author:** [@nharr](https://discourse.julialang.org/u/nharr)\
**Replies:** 3\
**Last updated:** [April 22, 2023, 6:08am UTC](https://discourse.julialang.org/t/parametric-type-which-contains-the-abstract-type-it-subtypes/97774 "2023-04-22T06:08:03Z")

</div>

I’m creating a type that is a matrix with value bounds. This works: struct Map{M\<:AbstractMatrix{\<:Real}} data::M lb ub end But I want it to behave like a matrix itself too, so a subtype. This works: str…

---

## [What Is a Simple Example of Julia Solving the Two Language Problem?](https://discourse.julialang.org/t/what-is-a-simple-example-of-julia-solving-the-two-language-problem/97659)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 25\
**Last updated:** [April 22, 2023, 5:07am UTC](https://discourse.julialang.org/t/what-is-a-simple-example-of-julia-solving-the-two-language-problem/97659 "2023-04-22T05:07:24Z")

</div>

Hi folks, I am giving a talk soon and something I want to highlight is the two language problem and how Julia addresses/solves this. Does anyone have a snippet of code that shows a simple Julia implementation of some fu…

---

## [Structs defined with different fields based on concrete parameters?](https://discourse.julialang.org/t/structs-defined-with-different-fields-based-on-concrete-parameters/97772)

<div class="topic-metadata">

**Author:** [@nharr](https://discourse.julialang.org/u/nharr)\
**Replies:** 2\
**Last updated:** [April 22, 2023, 4:45am UTC](https://discourse.julialang.org/t/structs-defined-with-different-fields-based-on-concrete-parameters/97772 "2023-04-22T04:45:48Z")

</div>

Is it possible to define two different structs with the same name but different concrete parameters? I have a single type that changes and I want the rest of my code to react to that, including how other types are struct…

---

## [Problems using LsqFit inside a module](https://discourse.julialang.org/t/problems-using-lsqfit-inside-a-module/97748)

<div class="topic-metadata">

**Author:** [@amarquez](https://discourse.julialang.org/u/amarquez)\
**Replies:** 5\
**Last updated:** [April 21, 2023, 10:52pm UTC](https://discourse.julialang.org/t/problems-using-lsqfit-inside-a-module/97748 "2023-04-21T22:52:28Z")

</div>

Hello all! Thank you very much for this space. I found a problem using LsqFit within a module in Julia 1.8.5 installed on Ubuntu 22.04. If I create a simple module as as in the following MWE, I got long list of warnin…

---

## [Reading sequential fortran files with variable record length](https://discourse.julialang.org/t/reading-sequential-fortran-files-with-variable-record-length/97721)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 3\
**Last updated:** [April 21, 2023, 10:03pm UTC](https://discourse.julialang.org/t/reading-sequential-fortran-files-with-variable-record-length/97721 "2023-04-21T22:03:53Z")

</div>

Hello, new to Julia, coming from python. I have data files produced by sequential fortran write with records of the following format: First goes a header with metadata, an array of 14 float32 numbers; The next record i…

---

## [Terminating a process on Windows](https://discourse.julialang.org/t/terminating-a-process-on-windows/87481)

<div class="topic-metadata">

**Author:** [@Ashlin\_Harris](https://discourse.julialang.org/u/Ashlin_Harris)\
**Replies:** 1\
**Last updated:** [April 21, 2023, 8:26pm UTC](https://discourse.julialang.org/t/terminating-a-process-on-windows/87481 "2023-04-21T20:26:41Z")

</div>

I’m not able to kill a Julia process on Windows. Instead, its status remains as ProcessSignaled, and it never terminates. The issue doesn’t exist on MacOS and Linux, and it occurs regardless of Julia version. I didn’t ex…

---

## [Optimization.jl, DataInterpolations.jl and Gradients](https://discourse.julialang.org/t/optimization-jl-datainterpolations-jl-and-gradients/97676)

<div class="topic-metadata">

**Author:** [@astrobc1](https://discourse.julialang.org/u/astrobc1)\
**Replies:** 4\
**Last updated:** [April 21, 2023, 7:27pm UTC](https://discourse.julialang.org/t/optimization-jl-datainterpolations-jl-and-gradients/97676 "2023-04-21T19:27:03Z")

</div>

Hello - This is sort of a follow-up to this post here which didn’t receive attention. Below I provide a more explicit example of what I’m trying to do with interpolating and gradients during optimization. I understand th…

---

## [ElectronDisplay crashing](https://discourse.julialang.org/t/electrondisplay-crashing/97756)

<div class="topic-metadata">

**Author:** [@Ritu\_Lahkar](https://discourse.julialang.org/u/Ritu_Lahkar)\
**Replies:** 0\
**Last updated:** [April 21, 2023, 7:21pm UTC](https://discourse.julialang.org/t/electrondisplay-crashing/97756 "2023-04-21T19:21:07Z")

</div>

Please help ElectronDisplay crashing with the error: \[3352:0422/003537.739221:FATAL:gpu\_data\_manager\_impl\_private.cc(439)\] GPU process isn't usable. Goodbye. Electron.Window(Application(Base.PipeEndpoint(RawFD(22) open,…

---

## [Choosing a plotting library](https://discourse.julialang.org/t/choosing-a-plotting-library/97556)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 30\
**Last updated:** [April 21, 2023, 4:31pm UTC](https://discourse.julialang.org/t/choosing-a-plotting-library/97556 "2023-04-21T16:31:35Z")

</div>

Since 9 months I am trying to find a good Julia plotting library, but I was not successful. So I am going back to PythonPlot.jl, the latest wrapper for the Python based matplotlib library. What does it offer that the…

---

## [Call for Google Summer of Code Mentors / Projects 2023](https://discourse.julialang.org/t/call-for-google-summer-of-code-mentors-projects-2023/92452)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 7\
**Last updated:** [April 21, 2023, 5:34am UTC](https://discourse.julialang.org/t/call-for-google-summer-of-code-mentors-projects-2023/92452 "2023-04-21T05:34:26Z")

</div>

It is that time of the year again, Google Summer of Code is just around the corner. The heart of GSoC are the mentors. We are lucky enough to have many folks helping support the Julia ecosystem through mentorship of new …

---

## [Changing the headers in Base.download to simulate Chrome usage](https://discourse.julialang.org/t/changing-the-headers-in-base-download-to-simulate-chrome-usage/97744)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 1\
**Last updated:** [April 21, 2023, 3:22pm UTC](https://discourse.julialang.org/t/changing-the-headers-in-base-download-to-simulate-chrome-usage/97744 "2023-04-21T15:22:46Z")

</div>

Hi, How do you use specifics headers in Base.download to simulate Chrome usage? I have found this curl example and I have tried to replicate it with the latest Chrome user-agent for Linux. However, when trying to speci…

---

## [Metal throws ERROR: Exception handler triggered on unmanaged thread](https://discourse.julialang.org/t/metal-throws-error-exception-handler-triggered-on-unmanaged-thread/97727)

<div class="topic-metadata">

**Author:** [@pitsianis](https://discourse.julialang.org/u/pitsianis)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 3:07pm UTC](https://discourse.julialang.org/t/metal-throws-error-exception-handler-triggered-on-unmanaged-thread/97727 "2023-04-21T15:07:49Z")

</div>

This is my very first try to use the M2 GPU using the 1.9-rc2 aa64. The following implements a straight forward imperative bitonic sort. However, when running from the REPL, from time to time, it throws ERROR: Exception…

---

## [Weird behaviour of Identity matrix with symbolic type](https://discourse.julialang.org/t/weird-behaviour-of-identity-matrix-with-symbolic-type/97186)

<div class="topic-metadata">

**Author:** [@DerongXu](https://discourse.julialang.org/u/DerongXu)\
**Replies:** 7\
**Last updated:** [April 21, 2023, 2:20pm UTC](https://discourse.julialang.org/t/weird-behaviour-of-identity-matrix-with-symbolic-type/97186 "2023-04-21T14:20:27Z")

</div>

Hi all, I’m utilizing SymPy within Julia to perform symbolic calculations, but I’ve noticed that the symbolic identity matrix operation is producing inaccurate outcomes. Can you explain why this is happening? Please fi…

---

## [Julia Plots compilation EXCEPTION\_ACCESS\_VIOLATION error on Windows](https://discourse.julialang.org/t/julia-plots-compilation-exception-access-violation-error-on-windows/97742)

<div class="topic-metadata">

**Author:** [@RickardoMM](https://discourse.julialang.org/u/RickardoMM)\
**Replies:** 0\
**Last updated:** [April 21, 2023, 2:05pm UTC](https://discourse.julialang.org/t/julia-plots-compilation-exception-access-violation-error-on-windows/97742 "2023-04-21T14:05:29Z")

</div>

I am using Julia 1.8.5 on Windows. I wanted to use the package Plots, which I was able to do in another PC, but in my current one the kernel dies whenever I try to plot anything. After reinstalling Plots and Julia, and p…

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

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