# Latest

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

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

**Page:** 998

---

## [How to draw Julia's logo with TikZ?](https://discourse.julialang.org/t/how-to-draw-julias-logo-with-tikz/83442)

<div class="topic-metadata">

**Author:** [@mathliker](https://discourse.julialang.org/u/mathliker)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 5:50am UTC](https://discourse.julialang.org/t/how-to-draw-julias-logo-with-tikz/83442 "2022-06-28T05:50:26Z")

</div>

\\begin{tikzpicture} \\node\[font=\\fontsize{50}{0}\\selectfont\] at (0,0){\\textbf{julia}}; \\filldraw\[blue\] (-1.55,0.66) ellipse (0.17 and 0.17); \\filldraw\[red\] (0.65,0.66) ellipse (0.17 and 0.17); \\filldraw\[magenta\] (1.1…

---

## [Error while installing and using GlobalEnergyGIS package - syntax error?](https://discourse.julialang.org/t/error-while-installing-and-using-globalenergygis-package-syntax-error/83349)

<div class="topic-metadata">

**Author:** [@moda](https://discourse.julialang.org/u/moda)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 3:01am UTC](https://discourse.julialang.org/t/error-while-installing-and-using-globalenergygis-package-syntax-error/83349 "2022-06-28T03:01:40Z")

</div>

Error while installing and using GlobalEnergyGIS package - syntax error? As it is rather urgent, whoever helps to solve and download the data will get $50 through Venmo, thank you very much!!! :innocent: My ultimate go…

---

## [Is MolecularGraph.jl abandoned?](https://discourse.julialang.org/t/is-moleculargraph-jl-abandoned/82728)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 11:39pm UTC](https://discourse.julialang.org/t/is-moleculargraph-jl-abandoned/82728 "2022-06-27T23:39:19Z")

</div>

The latest update of MolecularGraph.jl, as far as I can see, is 9 months ago. This is a booming field where this kind of package is crucial. I’ve seen that ChemistryFeaturization.jl seem to be rather active but seems mor…

---

## [Error: SciMLBase not defined](https://discourse.julialang.org/t/error-scimlbase-not-defined/63049)

<div class="topic-metadata">

**Author:** [@Apple](https://discourse.julialang.org/u/Apple)\
**Replies:** 17\
**Last updated:** [June 27, 2022, 11:37pm UTC](https://discourse.julialang.org/t/error-scimlbase-not-defined/63049 "2022-06-27T23:37:09Z")

</div>

Hello, I’m new to julia, and just installed it a couple days ago. I’m getting a precompiling error when I try to use DiffEqSensitivity. When I run: using DiffEqSensitivity I get the Error: LoadError: UndefVarError: Sc…

---

## [Capturing PrettyTables output in Franknlin](https://discourse.julialang.org/t/capturing-prettytables-output-in-franknlin/83403)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 3\
**Last updated:** [June 27, 2022, 10:12pm UTC](https://discourse.julialang.org/t/capturing-prettytables-output-in-franknlin/83403 "2022-06-27T22:12:09Z")

</div>

Hi, Anyone knows how to capture the output of PrettyTables in a Franklin page? Of two examples below (second is from Franklin’s manual), the first shows the output via PrettyTables and it doesn’t show up in the genera…

---

## [Smoothing Data with Dates](https://discourse.julialang.org/t/smoothing-data-with-dates/83416)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 10:08pm UTC](https://discourse.julialang.org/t/smoothing-data-with-dates/83416 "2022-06-27T22:08:49Z")

</div>

I have some data with an abscissa of DateTime type that I would like to smooth. I am familiar with SmoothingSplines so created my minimum non-working example with it. I need to figure out how to put the DateTime into a…

---

## [3d animation plot of 2 ode solutions](https://discourse.julialang.org/t/3d-animation-plot-of-2-ode-solutions/83408)

<div class="topic-metadata">

**Author:** [@jpro](https://discourse.julialang.org/u/jpro)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 9:40pm UTC](https://discourse.julialang.org/t/3d-animation-plot-of-2-ode-solutions/83408 "2022-06-27T21:40:07Z")

</div>

Hi, I’m very new to Julia and the plots package. I’d like to plot 2 ode solutions within the same gif. For example, say I’m solving the lorenz function and want to plot two solutions with different parameters in the same…

---

## [Plotting of PDF of distributions not returning correct plot](https://discourse.julialang.org/t/plotting-of-pdf-of-distributions-not-returning-correct-plot/83421)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 9:34pm UTC](https://discourse.julialang.org/t/plotting-of-pdf-of-distributions-not-returning-correct-plot/83421 "2022-06-27T21:34:13Z")

</div>

Using the following code: using Distributions dist = Normal() plot(pdf.(dist,collect(-2.0:0.1:2.0))) The plot returns as The x-axis values are incorrect, is there a reason is it not centred at 0 as it should be? …

---

## [Exclude packages from PackageCompiler create\_app precompilation](https://discourse.julialang.org/t/exclude-packages-from-packagecompiler-create-app-precompilation/76134)

<div class="topic-metadata">

**Author:** [@bclyons12](https://discourse.julialang.org/u/bclyons12)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 9:15pm UTC](https://discourse.julialang.org/t/exclude-packages-from-packagecompiler-create-app-precompilation/76134 "2022-06-27T21:15:17Z")

</div>

Is there a way to avoid PackageCompiler.jl’s create\_app compiling specific packages within a Project.toml? I have a package I’m working on that includes Plots in the Project.toml for debugging and testing. Any calls to …

---

## [Help with animations in Makie.jl](https://discourse.julialang.org/t/help-with-animations-in-makie-jl/83422)

<div class="topic-metadata">

**Author:** [@Adi\_Rai](https://discourse.julialang.org/u/Adi_Rai)\
**Replies:** 5\
**Last updated:** [June 27, 2022, 8:59pm UTC](https://discourse.julialang.org/t/help-with-animations-in-makie-jl/83422 "2022-06-27T20:59:16Z")

</div>

Hi Everyone, I was using Observables in Makie to update my plots. Along with observables I was trying to animate the plots using record function. This is my code: cbe\_img\_calib = zeros(156,400) points1 = Observable(Poi…

---

## [Can Julia do this algorithm faster?](https://discourse.julialang.org/t/can-julia-do-this-algorithm-faster/74516)

<div class="topic-metadata">

**Author:** [@jzakiya](https://discourse.julialang.org/u/jzakiya)\
**Replies:** 56\
**Last updated:** [June 27, 2022, 7:53pm UTC](https://discourse.julialang.org/t/can-julia-do-this-algorithm-faster/74516 "2022-06-27T19:53:50Z")

</div>

So I’ve developed the fastest algorithm to find Twin (Cousin) Primes. Here’s the paper on it. If you’re REALLY interested in the math also check out these: and its video: https://www.youtube.com/watch?v=HCUiPknHtfY …

---

## [Cannot install CUDA.jl on WIndows](https://discourse.julialang.org/t/cannot-install-cuda-jl-on-windows/83372)

<div class="topic-metadata">

**Author:** [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 5:37pm UTC](https://discourse.julialang.org/t/cannot-install-cuda-jl-on-windows/83372 "2022-06-27T17:37:15Z")

</div>

Cannot install CUDA.jl on WIndows. Is there a workaround for this? Should I try it with WSL or manualy download and install CUDA toolkit? julia\> using CUDA julia\> CUDA.versioninfo() Downloaded artifact: CUDA ┌ Warnin…

---

## [Renting a multi-GPU cloud computing cluster](https://discourse.julialang.org/t/renting-a-multi-gpu-cloud-computing-cluster/25920)

<div class="topic-metadata">

**Author:** [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 5:08pm UTC](https://discourse.julialang.org/t/renting-a-multi-gpu-cloud-computing-cluster/25920 "2022-06-27T17:08:35Z")

</div>

Hey everyone! i need to use julia for massively parallel GPU computing, what are the best/cheapest options available? i heard about Amazon AWS, Microsoft Azure, Google Cloud Computing but for this kind of HPC, i’m c…

---

## [Pytorch clamp method in Julia?](https://discourse.julialang.org/t/pytorch-clamp-method-in-julia/83393)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 4:15pm UTC](https://discourse.julialang.org/t/pytorch-clamp-method-in-julia/83393 "2022-06-27T16:15:55Z")

</div>

torch.clamp\_(out, 0.0, 1.0) in Julia ?

---

## [Morgan Finger print](https://discourse.julialang.org/t/morgan-finger-print/79258)

<div class="topic-metadata">

**Author:** [@YitaoCai](https://discourse.julialang.org/u/YitaoCai)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 3:50pm UTC](https://discourse.julialang.org/t/morgan-finger-print/79258 "2022-06-27T15:50:26Z")

</div>

Is there any package we can get Morgan Finger print same as rdkit’s AllChem.GetMorganFingerprintAsBitVect(mol, radius=3, nBits=fp\_length) Thank you!

---

## [Strange behavior of BlockDiagonal constructor with Vector of BandedMatrices](https://discourse.julialang.org/t/strange-behavior-of-blockdiagonal-constructor-with-vector-of-bandedmatrices/83409)

<div class="topic-metadata">

**Author:** [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Replies:** 3\
**Last updated:** [June 27, 2022, 3:35pm UTC](https://discourse.julialang.org/t/strange-behavior-of-blockdiagonal-constructor-with-vector-of-bandedmatrices/83409 "2022-06-27T15:35:25Z")

</div>

As you can see from the MWE I have to call D = BlockDiagonal(\[Dbv\[1\], Dbv\[2\], Dbv\[3\]\]) instead of D = BlockDiagonal(Dbv) . It seems that some type information is lost when the Vector is banded matrices is created, but th…

---

## [Argument validation using Struct](https://discourse.julialang.org/t/argument-validation-using-struct/83397)

<div class="topic-metadata">

**Author:** [@4mSwell](https://discourse.julialang.org/u/4mSwell)\
**Replies:** 7\
**Last updated:** [June 27, 2022, 3:08pm UTC](https://discourse.julialang.org/t/argument-validation-using-struct/83397 "2022-06-27T15:08:07Z")

</div>

I am having trouble executing the code snippet below that was contributed on an old thread. My objective is to define a struct that I can use to validate arguments inside function definitions. Any argument that is not …

---

## [GC problem](https://discourse.julialang.org/t/gc-problem/83391)

<div class="topic-metadata">

**Author:** [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Replies:** 12\
**Last updated:** [June 27, 2022, 2:30pm UTC](https://discourse.julialang.org/t/gc-problem/83391 "2022-06-27T14:30:55Z")

</div>

First I run this kind of code: GC.enable(false) Do something heavy work, which allocate 64GB or more memory allocation GC.enable(true) Then, I go to relase the memory: GC.gc(true) But it the program keeps runing, n…

---

## [PackageCompiler library fail to find artifacts when relocated](https://discourse.julialang.org/t/packagecompiler-library-fail-to-find-artifacts-when-relocated/83405)

<div class="topic-metadata">

**Author:** [@stefanjon](https://discourse.julialang.org/u/stefanjon)\
**Replies:** 0\
**Last updated:** [June 27, 2022, 2:23pm UTC](https://discourse.julialang.org/t/packagecompiler-library-fail-to-find-artifacts-when-relocated/83405 "2022-06-27T14:23:06Z")

</div>

Hi, I am building a julia library using create\_library that I use in a larger python standalone app to be run on windows machines. It works fine on several machine but when I try to relocate the app to a computer witho…

---

## [Estimate Empirical CDF using ecdf() on sample](https://discourse.julialang.org/t/estimate-empirical-cdf-using-ecdf-on-sample/83371)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 6\
**Last updated:** [June 27, 2022, 12:42pm UTC](https://discourse.julialang.org/t/estimate-empirical-cdf-using-ecdf-on-sample/83371 "2022-06-27T12:42:07Z")

</div>

If I generate a sample of some distribution, for instance of the Exponential distribution then there is no issue using ecdf to plot the Empirical CDF. However, if I apply a function and take a sample I get the error ERR…

---

## [Function that only accepts odd number argument](https://discourse.julialang.org/t/function-that-only-accepts-odd-number-argument/27502)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 14\
**Last updated:** [June 27, 2022, 12:16pm UTC](https://discourse.julialang.org/t/function-that-only-accepts-odd-number-argument/27502 "2022-06-27T12:16:30Z")

</div>

If I have a function that should only accept odd integers, what’s the best way to implement this? Should I create a new OddInt type and only allow that, or just check whether the integer is odd inside the function and th…

---

## [Julia's equivalent to Python's Paramiko](https://discourse.julialang.org/t/julias-equivalent-to-pythons-paramiko/83398)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 0\
**Last updated:** [June 27, 2022, 12:10pm UTC](https://discourse.julialang.org/t/julias-equivalent-to-pythons-paramiko/83398 "2022-06-27T12:10:01Z")

</div>

I am trying to port Python’s code to Julia that makes use of the low level library Paramiko to execute remote commands over ssh. Is there an equivalent library available for Julia?

---

## [\`fill\` is dangerous :-(](https://discourse.julialang.org/t/fill-is-dangerous/83396)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 11:52am UTC](https://discourse.julialang.org/t/fill-is-dangerous/83396 "2022-06-27T11:52:20Z")

</div>

I propose to add an extra keyword argument to fill (and fill!) to specify copy instead of reference and switch to copy in Julia 2.0 :slight\_smile: While it makes sense to have call by sharing in functions, there is not …

---

## [Calling functions with arbitrary combination of given argument names inside other functions](https://discourse.julialang.org/t/calling-functions-with-arbitrary-combination-of-given-argument-names-inside-other-functions/83388)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 11:07am UTC](https://discourse.julialang.org/t/calling-functions-with-arbitrary-combination-of-given-argument-names-inside-other-functions/83388 "2022-06-27T11:07:38Z")

</div>

For ease of use and readability in a program that I’m writing, I would like users to be able to define functions with any combination (and if possible order) of a fixed set of symbols, say {a,b,c,d}. This function needs …

---

## [Blog post: How to optimise Julia code: A practical guide](https://discourse.julialang.org/t/blog-post-how-to-optimise-julia-code-a-practical-guide/82473)

<div class="topic-metadata">

**Author:** [@jakobnissen](https://discourse.julialang.org/u/jakobnissen)\
**Replies:** 27\
**Last updated:** [June 27, 2022, 10:37am UTC](https://discourse.julialang.org/t/blog-post-how-to-optimise-julia-code-a-practical-guide/82473 "2022-06-27T10:37:19Z")

</div>

Hello all! I made a new blog post on how to optimise Julia code. Any comments are welcome! https://viralinstruction.com/posts/optimise/

---

## [Defining My Own Module, is indentation required?](https://discourse.julialang.org/t/defining-my-own-module-is-indentation-required/83392)

<div class="topic-metadata">

**Author:** [@ekiral](https://discourse.julialang.org/u/ekiral)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 10:23am UTC](https://discourse.julialang.org/t/defining-my-own-module-is-indentation-required/83392 "2022-06-27T10:23:21Z")

</div>

I created a module but it wouldn’t compile (in ATOM) unless I indent all the code inside the module. Is there a reason for this? Here’s a minimal-ish working example. module MyModule using Distributions, Statistics, L…

---

## [How to report intercept iterm in FixedEffectModels?](https://discourse.julialang.org/t/how-to-report-intercept-iterm-in-fixedeffectmodels/83386)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 3\
**Last updated:** [June 27, 2022, 9:21am UTC](https://discourse.julialang.org/t/how-to-report-intercept-iterm-in-fixedeffectmodels/83386 "2022-06-27T09:21:18Z")

</div>

Dear all, In FixedEffectModels with fe, the result doesn’t report intercept term. Anyone knows how to report constant term? julia\> df = dataset("plm", "GrunFeld") julia\> reg(df, @formula(Inv ~ Value + Capital + Year + …

---

## [DoctreePages : 1.0.0](https://discourse.julialang.org/t/doctreepages-1-0-0/83357)

<div class="topic-metadata">

**Author:** [@Rratic](https://discourse.julialang.org/u/Rratic)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 9:15am UTC](https://discourse.julialang.org/t/doctreepages-1-0-0/83357 "2022-06-27T09:15:18Z")

</div>

This is a lightweight interactive document generator, repo is here | sample It’s not mainly used for general package docs, but for knowledge-like documentation and/or personal/organization blogs. Here’re the features: …

---

## [Plots plotlyjs subplots: linking x axis across columns of subplots](https://discourse.julialang.org/t/plots-plotlyjs-subplots-linking-x-axis-across-columns-of-subplots/79122)

<div class="topic-metadata">

**Author:** [@rjgill](https://discourse.julialang.org/u/rjgill)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 8:07am UTC](https://discourse.julialang.org/t/plots-plotlyjs-subplots-linking-x-axis-across-columns-of-subplots/79122 "2022-06-27T08:07:52Z")

</div>

Is it possible to link x-axis across columns of subplots with Julia plots (without linking their y-axis)? using Plots plotlyjs() # or pyplot() plot(rand(100, 2), layout = (1,2), link = :x) If I zoom or pan on one of th…

---

## [Unable to install Plots (Unable to automatically install OpenSSL)](https://discourse.julialang.org/t/unable-to-install-plots-unable-to-automatically-install-openssl/58239)

<div class="topic-metadata">

**Author:** [@zealseeker](https://discourse.julialang.org/u/zealseeker)\
**Replies:** 3\
**Last updated:** [June 27, 2022, 8:17am UTC](https://discourse.julialang.org/t/unable-to-install-plots-unable-to-automatically-install-openssl/58239 "2022-06-27T08:17:03Z")

</div>

Hi. I am new to Juila and want to install Plots package. I checked previous topics about it but none of the solutions helps. E.g. It’s not Windows and I cannot upgrade the OS. Is it possible to install Plots without Op…

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

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