# Latest

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

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

**Page:** 1364

---

## [Binning polar values with Julia](https://discourse.julialang.org/t/binning-polar-values-with-julia/62754)

<div class="topic-metadata">

**Author:** [@danrib07](https://discourse.julialang.org/u/danrib07)\
**Replies:** 7\
**Last updated:** [June 11, 2021, 10:53pm UTC](https://discourse.julialang.org/t/binning-polar-values-with-julia/62754 "2021-06-11T22:53:00Z")

</div>

Hello, I have to bin periodic data. I was wondering if there are packages that can deal with polar binning in Julia. I have not been able to find it online. Any help is appreciated! Thank you in advance!

---

## [Zygote Performance (Again...)](https://discourse.julialang.org/t/zygote-performance-again/62753)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 17\
**Last updated:** [June 11, 2021, 10:46pm UTC](https://discourse.julialang.org/t/zygote-performance-again/62753 "2021-06-11T22:46:55Z")

</div>

On simple reduction tasks Zygote seems to perform exceptionally poorly, and I would be grateful to hear why and what alternative patterns I should use to avoid these problems? I’ve started implementing custom adjoints vi…

---

## [Sublime Text and LinearAlgebra and .julia folder](https://discourse.julialang.org/t/sublime-text-and-linearalgebra-and-julia-folder/62767)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 10:26pm UTC](https://discourse.julialang.org/t/sublime-text-and-linearalgebra-and-julia-folder/62767 "2021-06-11T22:26:22Z")

</div>

ST4 has nice autocompletion which can index source folders and extract the information there. I noticed that the standard library source is apparently NOT present in .julia. (a) How come? and (b) How can I get its source…

---

## [How to access docstrings without REPL](https://discourse.julialang.org/t/how-to-access-docstrings-without-repl/62422)

<div class="topic-metadata">

**Author:** [@reinermartin](https://discourse.julialang.org/u/reinermartin)\
**Replies:** 7\
**Last updated:** [June 11, 2021, 9:44pm UTC](https://discourse.julialang.org/t/how-to-access-docstrings-without-repl/62422 "2021-06-11T21:44:17Z")

</div>

The user guide describes clearly how to access the docstring of a function via the help mode of the REPL. But how can I access the docstring without the REPL (from a program)?

---

## [Question about allocations and generators](https://discourse.julialang.org/t/question-about-allocations-and-generators/62693)

<div class="topic-metadata">

**Author:** [@RomainPct](https://discourse.julialang.org/u/RomainPct)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 7:51pm UTC](https://discourse.julialang.org/t/question-about-allocations-and-generators/62693 "2021-06-11T19:51:08Z")

</div>

Hello, this this question is out of curiosity, hoping to understand more about Julia. Those three functions allocate differently: g1(v::Vector{Int64}) = SVector{length(v), Int64}(v...) g2(v::Vector{Int64}, n) = SVector…

---

## [JuliaCon video introduction](https://discourse.julialang.org/t/juliacon-video-introduction/62758)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 7:46pm UTC](https://discourse.julialang.org/t/juliacon-video-introduction/62758 "2021-06-11T19:46:24Z")

</div>

I like to watch JuliaCon videos but the JuliaCon 2020 videos have a 20-second introduction which gets old after the first couple videos. Could the future JuliaCon videos have a shorter intro, like 5 seconds…

---

## [Unsatisfiable for CUDA](https://discourse.julialang.org/t/unsatisfiable-for-cuda/52355)

<div class="topic-metadata">

**Author:** [@basernapairs](https://discourse.julialang.org/u/basernapairs)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 7:38pm UTC](https://discourse.julialang.org/t/unsatisfiable-for-cuda/52355 "2021-06-11T19:38:43Z")

</div>

I want to try Yao quantum, but CUDA unsatisfiable me

---

## [Reset REPL terminal mode to working/default settings](https://discourse.julialang.org/t/reset-repl-terminal-mode-to-working-default-settings/51892)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 3\
**Last updated:** [June 11, 2021, 5:03pm UTC](https://discourse.julialang.org/t/reset-repl-terminal-mode-to-working-default-settings/51892 "2021-06-11T17:03:46Z")

</div>

If I start the julia REPL on win10 and then use shell mode to run a cygwin program (e.g. bash or whatever) when I exit the cygwin program the REPL model prompt is messed up. Is there a way to reset the REPL terminal (li…

---

## [Why does worker throw error when importing local package on master process?](https://discourse.julialang.org/t/why-does-worker-throw-error-when-importing-local-package-on-master-process/62748)

<div class="topic-metadata">

**Author:** [@lukeburns](https://discourse.julialang.org/u/lukeburns)\
**Replies:** 3\
**Last updated:** [June 11, 2021, 4:39pm UTC](https://discourse.julialang.org/t/why-does-worker-throw-error-when-importing-local-package-on-master-process/62748 "2021-06-11T16:39:10Z")

</div>

If I add processes after importing a local package, things work as expected: julia\> using Pkg julia\> Pkg.activate(".") Activating environment at \`~/MyPackage/Project.toml\` julia\> using Distributed julia\> julia\> using …

---

## [Cross product with CUDA.jl](https://discourse.julialang.org/t/cross-product-with-cuda-jl/62734)

<div class="topic-metadata">

**Author:** [@lodygaw](https://discourse.julialang.org/u/lodygaw)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 4:31pm UTC](https://discourse.julialang.org/t/cross-product-with-cuda-jl/62734 "2021-06-11T16:31:53Z")

</div>

Hello, I am looking for the way to compute cross product on a GPU. Basically something similar to this: function cross(w::CuArray{Float32,1}, u::CuArray{Float32,1}, v::CuArray{Float32,1}) w\[1\] = u\[2\] \* v\[3\] - u\[3\] \* v…

---

## [Pkg.add"Genie") Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden."](https://discourse.julialang.org/t/pkg-add-genie-exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/62747)

<div class="topic-metadata">

**Author:** [@bww00](https://discourse.julialang.org/u/bww00)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 3:50pm UTC](https://discourse.julialang.org/t/pkg-add-genie-exception-calling-downloadfile-with-2-argument-s-the-remote-server-returned-an-error-403-forbidden/62747 "2021-06-11T15:50:57Z")

</div>

Got this error on Pkg.add(“Genie”) julia\> Pkg.add(“Genie”) Resolving package versions… Installed JuliaInterpreter ─ v0.8.18 Downloading artifact: Nettle Exception calling “DownloadFile” with “2” argument(s): “The re…

---

## [Mean function does not work in parallel calculations](https://discourse.julialang.org/t/mean-function-does-not-work-in-parallel-calculations/62685)

<div class="topic-metadata">

**Author:** [@Beh123](https://discourse.julialang.org/u/Beh123)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 3:04pm UTC](https://discourse.julialang.org/t/mean-function-does-not-work-in-parallel-calculations/62685 "2021-06-11T15:04:04Z")

</div>

hi, i want to calculate mean with @distributed. it is my code. Using SharedArrays , Distributed , Statistics addprocs(5) @everywhere using SharedArrays t=zeros(120,100,8)+zeros(120,100,8)\*im s=convert(SharedArray,t) fu…

---

## [Precompiling Interpolations.jl failing](https://discourse.julialang.org/t/precompiling-interpolations-jl-failing/60090)

<div class="topic-metadata">

**Author:** [@timmm](https://discourse.julialang.org/u/timmm)\
**Replies:** 6\
**Last updated:** [June 11, 2021, 1:59pm UTC](https://discourse.julialang.org/t/precompiling-interpolations-jl-failing/60090 "2021-06-11T13:59:34Z")

</div>

Using Julia 1.6: using Interpolations \[ Info: Precompiling Interpolations \[a98d9a8b-a2ab-59e6-89dd-64a1c18fca59\] ERROR: LoadError: LoadError: UndefVarError: SA not defined Stacktrace: \[1\] top-level scope @ C:\\User…

---

## [How to use Pluto with DrWatson effectively?](https://discourse.julialang.org/t/how-to-use-pluto-with-drwatson-effectively/61582)

<div class="topic-metadata">

**Author:** [@amit1](https://discourse.julialang.org/u/amit1)\
**Replies:** 5\
**Last updated:** [June 11, 2021, 12:50pm UTC](https://discourse.julialang.org/t/how-to-use-pluto-with-drwatson-effectively/61582 "2021-06-11T12:50:06Z")

</div>

I would like to use Pkg, DrWatson and Pluto notebooks as my main workflow. However I am not able to understand how to effectively use it. Mostly every notebook i open it takes about a min to load libraries. For example d…

---

## [IDE and available functions](https://discourse.julialang.org/t/ide-and-available-functions/62677)

<div class="topic-metadata">

**Author:** [@panos.asproulis](https://discourse.julialang.org/u/panos.asproulis)\
**Replies:** 8\
**Last updated:** [June 11, 2021, 12:48pm UTC](https://discourse.julialang.org/t/ide-and-available-functions/62677 "2021-06-11T12:48:23Z")

</div>

When writing an application on a typical IDE using an OOP language one does not have to remember all functions that can be used on specific objects. The IDE provides support for that and so when the developer types a dot…

---

## [Store graph adjacency lists on GPU](https://discourse.julialang.org/t/store-graph-adjacency-lists-on-gpu/62735)

<div class="topic-metadata">

**Author:** [@aswanthkrishna](https://discourse.julialang.org/u/aswanthkrishna)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 12:43pm UTC](https://discourse.julialang.org/t/store-graph-adjacency-lists-on-gpu/62735 "2021-06-11T12:43:39Z")

</div>

I want to represent a adjacency list of a graph on GPU. I need to store the adjacency list and access neighbours of different nodes from the kernel efficiently. how can i do this? I am new to julia and CUDA. Any pointers…

---

## [Pluto show\_image course Computational Thinking](https://discourse.julialang.org/t/pluto-show-image-course-computational-thinking/62728)

<div class="topic-metadata">

**Author:** [@adcsilva](https://discourse.julialang.org/u/adcsilva)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 11:09am UTC](https://discourse.julialang.org/t/pluto-show-image-course-computational-thinking/62728 "2021-06-11T11:09:33Z")

</div>

I am following the lectures of the course Computational Thinking, MIT 18.S191. I would like to run the function show\_image() used extensively in class 8. The course provides a Pluto notebook here. I create a new Pluto n…

---

## [Optim: return inverse Hessian](https://discourse.julialang.org/t/optim-return-inverse-hessian/62709)

<div class="topic-metadata">

**Author:** [@yingqiuz](https://discourse.julialang.org/u/yingqiuz)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 12:03am UTC](https://discourse.julialang.org/t/optim-return-inverse-hessian/62709 "2021-06-11T00:03:52Z")

</div>

Hi all I am using Optim.jl BFGS() to optimise a function. I would like the function to return the negative Hessian, for example function f(x) return (1.0 - x\[1\])^2 + 100.0 \* (x\[2\] - x\[1\]^2)^2 end function g!(storag…

---

## [What features does the \`show\` method have?](https://discourse.julialang.org/t/what-features-does-the-show-method-have/62720)

<div class="topic-metadata">

**Author:** [@Sugbaable](https://discourse.julialang.org/u/Sugbaable)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 9:38am UTC](https://discourse.julialang.org/t/what-features-does-the-show-method-have/62720 "2021-06-11T09:38:51Z")

</div>

I’m looking at this project called ComputationalHomology.jl, and learning some Julia along the way. I notice that at line 122 of file constructions.jl there is this line: splxs = map(Simplex, 1:n) Which if I just (af…

---

## [Flux: gradient of Chain returns nothing](https://discourse.julialang.org/t/flux-gradient-of-chain-returns-nothing/62725)

<div class="topic-metadata">

**Author:** [@jgbrasier](https://discourse.julialang.org/u/jgbrasier)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 9:37am UTC](https://discourse.julialang.org/t/flux-gradient-of-chain-returns-nothing/62725 "2021-06-11T09:37:27Z")

</div>

I have defined a MLP (multi layer perceptron) with the Chain command, and this MLP is wrapped in a mutable structure. The gradient of this Chain (2 layer dense NN) returns nothing. Is this a bug, or am I doing this the …

---

## [@lorem\_ipsum for generating code](https://discourse.julialang.org/t/lorem-ipsum-for-generating-code/62723)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 8:07am UTC](https://discourse.julialang.org/t/lorem-ipsum-for-generating-code/62723 "2021-06-11T08:07:30Z")

</div>

Hey all :slight\_smile: Does anyone know a package which implements a @lorem\_ipsum for generating working code with no side effects. This code would optimally deleted from the compiler. thx

---

## [Physics World Quantum Week](https://discourse.julialang.org/t/physics-world-quantum-week/62721)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 7:39am UTC](https://discourse.julialang.org/t/physics-world-quantum-week/62721 "2021-06-11T07:39:56Z")

</div>

Physics World magazine is organising a week of Quantum themed webinars. (scroll down the page a little)

---

## [Secure hashing algorithm in Julia for passwords](https://discourse.julialang.org/t/secure-hashing-algorithm-in-julia-for-passwords/19913)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 8\
**Last updated:** [January 23, 2019, 10:40pm UTC](https://discourse.julialang.org/t/secure-hashing-algorithm-in-julia-for-passwords/19913 "2019-01-23T22:40:02Z")

</div>

Is there an algorithm implemented in Julia for the purpose of hashing passwords? In Go, I used to use the bcrypt package which implements Provos and Mazières’s bcrypt adaptive hashing algorithm I want to do this for the…

---

## [\`(x, y)\` works but \`x =\> y\` doesn't](https://discourse.julialang.org/t/x-y-works-but-x-y-doesnt/62703)

<div class="topic-metadata">

**Author:** [@Samuel\_Ainsworth](https://discourse.julialang.org/u/Samuel_Ainsworth)\
**Replies:** 17\
**Last updated:** [June 11, 2021, 12:42am UTC](https://discourse.julialang.org/t/x-y-works-but-x-y-doesnt/62703 "2021-06-11T00:42:47Z")

</div>

This really seems like a bug to me, but perhaps I’m missing some kind of obscure difference between (x, y) and x =\> y syntax… import Base: ==, big import IntervalArithmetic: Interval struct Foo \<: Real v end # Neces…

---

## [Generate structured problem matrices](https://discourse.julialang.org/t/generate-structured-problem-matrices/62688)

<div class="topic-metadata">

**Author:** [@matthiasbe](https://discourse.julialang.org/u/matthiasbe)\
**Replies:** 1\
**Last updated:** [June 10, 2021, 11:07pm UTC](https://discourse.julialang.org/t/generate-structured-problem-matrices/62688 "2021-06-10T23:07:04Z")

</div>

Hello, I am studying the low rank approximations of matrices, for example by truncated the Singular Value Decomposition of a matrix. In order to test any algorithm, I need some test matrices that have internal structur…

---

## [Chaining in named arguments](https://discourse.julialang.org/t/chaining-in-named-arguments/62696)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 2\
**Last updated:** [June 10, 2021, 11:00pm UTC](https://discourse.julialang.org/t/chaining-in-named-arguments/62696 "2021-06-10T23:00:54Z")

</div>

I stumbled upon this when trying to debug something that had happened for a user: foo(; x=1, y=1) = print("x: $x, y: $y") foo() # x: 1, y: 1 foo(; x=y=0) # x: 0, y: 1 initially I thought that the last one would just f…

---

## [GPUs for Neural ODEs](https://discourse.julialang.org/t/gpus-for-neural-odes/62697)

<div class="topic-metadata">

**Author:** [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Replies:** 2\
**Last updated:** [June 10, 2021, 10:28pm UTC](https://discourse.julialang.org/t/gpus-for-neural-odes/62697 "2021-06-10T22:28:04Z")

</div>

Hey I am building a GPU server, I have the possibility to buy 8 tesla k80 GDDR5 24GB for $300 each. Is it good for training a Neural ODE Network. Thanks

---

## [Pathbird: Experiential teaching & learning platform for computational courses](https://discourse.julialang.org/t/pathbird-experiential-teaching-learning-platform-for-computational-courses/62705)

<div class="topic-metadata">

**Author:** [@travigd](https://discourse.julialang.org/u/travigd)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 10:23pm UTC](https://discourse.julialang.org/t/pathbird-experiential-teaching-learning-platform-for-computational-courses/62705 "2021-06-10T22:23:49Z")

</div>

Hi, friends & colleagues! I’m posting here to solicit feedback from people in the Julia community about the cool stuff my startup is working on in educational technology! Pathbird is an online teaching/learning platform …

---

## [Problem with 3d graph](https://discourse.julialang.org/t/problem-with-3d-graph/62700)

<div class="topic-metadata">

**Author:** [@klamar33](https://discourse.julialang.org/u/klamar33)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 8:44pm UTC](https://discourse.julialang.org/t/problem-with-3d-graph/62700 "2021-06-10T20:44:46Z")

</div>

I have a project where I have to show the magnus effect on a flying ball. I created a graph in 3d, unfortunately I don’t know how to change the code to make the graph rotate, I also wanted to add a background, does anyon…

---

## [Sparse Matrix with CUDA.jl](https://discourse.julialang.org/t/sparse-matrix-with-cuda-jl/62627)

<div class="topic-metadata">

**Author:** [@boutor2](https://discourse.julialang.org/u/boutor2)\
**Replies:** 3\
**Last updated:** [June 10, 2021, 4:14pm UTC](https://discourse.julialang.org/t/sparse-matrix-with-cuda-jl/62627 "2021-06-10T16:14:32Z")

</div>

Hi everyone, I am looking for the most performant way to create a CuArray where coefficients are 0 everywhere but 1 at specified indices. An easy way to do that with regular arrays would be a = randn(1000,1000) imin = …

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

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