# Latest

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

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

**Page:** 1423

---

## [Neural ODE: MethodError: no method matching copyto!](https://discourse.julialang.org/t/neural-ode-methoderror-no-method-matching-copyto/59306)

<div class="topic-metadata">

**Author:** [@Shivam](https://discourse.julialang.org/u/Shivam)\
**Replies:** 3\
**Last updated:** [April 17, 2021, 11:03am UTC](https://discourse.julialang.org/t/neural-ode-methoderror-no-method-matching-copyto/59306 "2021-04-17T11:03:25Z")

</div>

Hello, I have been trying to implement the neural ODE code example in the blogpost for a random 1 dimensional array data. But I am getting the error InexactError: Int64(-1.8308279662274551) If I switch to abs instead …

---

## [\[ANN\] BranchTests.jl - simplify complex state tests](https://discourse.julialang.org/t/ann-branchtests-jl-simplify-complex-state-tests/59470)

<div class="topic-metadata">

**Author:** [@dm3](https://discourse.julialang.org/u/dm3)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 10:09am UTC](https://discourse.julialang.org/t/ann-branchtests-jl-simplify-complex-state-tests/59470 "2021-04-17T10:09:36Z")

</div>

BranchTests.jl simplifies testing complex state. The package offers a single @testbranch macro - an alternative to the @testset. The difference shows when you nest the “test branches” defined with @testbranch. Every path…

---

## [\[ANN\] DictionaryIndexing.jl](https://discourse.julialang.org/t/ann-dictionaryindexing-jl/59267)

<div class="topic-metadata">

**Author:** [@kool7d](https://discourse.julialang.org/u/kool7d)\
**Replies:** 14\
**Last updated:** [April 16, 2021, 9:53pm UTC](https://discourse.julialang.org/t/ann-dictionaryindexing-jl/59267 "2021-04-16T21:53:19Z")

</div>

Dictionary indexing can be useful if, for instance, you don’t remember the key for something but you know what place it is in. Warning this package commits type piracy since it adds functionality to existing types (Abstr…

---

## [\[ANN\] Makie - Axis3, text in screen space and nonlinear scales](https://discourse.julialang.org/t/ann-makie-axis3-text-in-screen-space-and-nonlinear-scales/59364)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 5:14pm UTC](https://discourse.julialang.org/t/ann-makie-axis3-text-in-screen-space-and-nonlinear-scales/59364 "2021-04-15T17:14:43Z")

</div>

In case you don’t follow the Makie Slack channel, or watch the repository, you probably haven’t noticed that we recently added three features that many people wanted for a long time. There’s a 3D axis now that behaves …

---

## [Operation yields different results on other machine](https://discourse.julialang.org/t/operation-yields-different-results-on-other-machine/59442)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 3\
**Last updated:** [April 17, 2021, 4:31am UTC](https://discourse.julialang.org/t/operation-yields-different-results-on-other-machine/59442 "2021-04-17T04:31:48Z")

</div>

We’re running the same code on machine A and machine B (same Manifest file), and the results are not the same. We’re doing fairly straight-forward linear algebra on StaticArrays. Is that a bug, or is it generally accepte…

---

## [Function-like objects terminology](https://discourse.julialang.org/t/function-like-objects-terminology/59454)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 4\
**Last updated:** [April 17, 2021, 2:53am UTC](https://discourse.julialang.org/t/function-like-objects-terminology/59454 "2021-04-17T02:53:16Z")

</div>

Methods · The Julia Language says Methods are associated with types, so it is possible to make any arbitrary Julia object “callable” by adding methods to its type. (Such “callable” objects are sometimes called “functor…

---

## [Select observations in a DataFrame from variable with some missing observations](https://discourse.julialang.org/t/select-observations-in-a-dataframe-from-variable-with-some-missing-observations/59427)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 15\
**Last updated:** [April 17, 2021, 2:02am UTC](https://discourse.julialang.org/t/select-observations-in-a-dataframe-from-variable-with-some-missing-observations/59427 "2021-04-17T02:02:44Z")

</div>

using CSV, HTTP, DataFrames link = "https://raw.githubusercontent.com/azev77/azev77/main/HP\_m.csv"; r = HTTP.get(link) d = CSV.read(r.body, DataFrame) d = d\[(d.sizerank .\<= 50), :\] ERROR: ArgumentError: unable to check …

---

## [Controlling size of Gadfly plots with hstack and vstack](https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 5\
**Last updated:** [April 17, 2021, 1:03am UTC](https://discourse.julialang.org/t/controlling-size-of-gadfly-plots-with-hstack-and-vstack/59425 "2021-04-17T01:03:56Z")

</div>

I am building up plots in Gadfly using hstack, and then combining those with vstack. This is in VS Code. My main concern is that the individual subplots are excessively compressed, and I wonder how to control that. Id…

---

## [Understanding Stheno example](https://discourse.julialang.org/t/understanding-stheno-example/59450)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 11:40pm UTC](https://discourse.julialang.org/t/understanding-stheno-example/59450 "2021-04-16T23:40:35Z")

</div>

This example fits a GP and plots something. I am trying to understand all the objects here. using Stheno using Stheno.AbstractGPs using CairoMakie # Short length-scale and small variance. const l1 = 0.4 const s1 = 0.2…

---

## [How to create a \`range\` centered around zero?](https://discourse.julialang.org/t/how-to-create-a-range-centered-around-zero/59344)

<div class="topic-metadata">

**Author:** [@Jorge\_Vieyra](https://discourse.julialang.org/u/Jorge_Vieyra)\
**Replies:** 26\
**Last updated:** [April 16, 2021, 11:27pm UTC](https://discourse.julialang.org/t/how-to-create-a-range-centered-around-zero/59344 "2021-04-16T23:27:24Z")

</div>

is there a way to make a range(-max, max, step=n) that is guaranteed to go through zero?, i.e. I want it to be symmetrical/centered around zero

---

## [Second Order DE producing incorrect results](https://discourse.julialang.org/t/second-order-de-producing-incorrect-results/59380)

<div class="topic-metadata">

**Author:** [@daviiinsky](https://discourse.julialang.org/u/daviiinsky)\
**Replies:** 3\
**Last updated:** [April 16, 2021, 10:38pm UTC](https://discourse.julialang.org/t/second-order-de-producing-incorrect-results/59380 "2021-04-16T22:38:10Z")

</div>

Hello! I was working on the following problem where I’m integrating a second order differential equation. Initially I tried putting it into the 2nd Order Solver in DifferentialEquations.jl, where it did produce a plot s…

---

## [Missing samples in profiler?](https://discourse.julialang.org/t/missing-samples-in-profiler/59430)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 2\
**Last updated:** [April 16, 2021, 10:36pm UTC](https://discourse.julialang.org/t/missing-samples-in-profiler/59430 "2021-04-16T22:36:07Z")

</div>

Using julia 1.6 it seems the the number reported for the top level of the call I make in @profile is often much smaller than the reported number of samples: julia\> @profile (for i=1:100; RBSilly.fit(RBSilly.yx, 0.0002, …

---

## [CUDA.jl v3.0](https://discourse.julialang.org/t/cuda-jl-v3-0/58921)

<div class="topic-metadata">

**Author:** [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Replies:** 10\
**Last updated:** [April 16, 2021, 10:26pm UTC](https://discourse.julialang.org/t/cuda-jl-v3-0/58921 "2021-04-16T22:26:36Z")

</div>

Hi all, I’ve just release CUDA.jl v3.0, a slightly-breaking release with a lot of new features. You can read all about it on the JuliaGPU blog: CUDA.jl 3.0 ⋅ JuliaGPU. A summary of the new features: task-based concu…

---

## [Why use unevaluated expression to refer to a column name](https://discourse.julialang.org/t/why-use-unevaluated-expression-to-refer-to-a-column-name/59424)

<div class="topic-metadata">

**Author:** [@quazirfan](https://discourse.julialang.org/u/quazirfan)\
**Replies:** 8\
**Last updated:** [April 16, 2021, 8:00pm UTC](https://discourse.julialang.org/t/why-use-unevaluated-expression-to-refer-to-a-column-name/59424 "2021-04-16T20:00:34Z")

</div>

I understand that I need to use : operator to represent a variable in an unevaluated expression in Julia. But I am confused as to why I am using : to get column name here - the column name do not appear to be an unevalua…

---

## [Julia in a VM](https://discourse.julialang.org/t/julia-in-a-vm/12781)

<div class="topic-metadata">

**Author:** [@ckoe-bccms](https://discourse.julialang.org/u/ckoe-bccms)\
**Replies:** 13\
**Last updated:** [April 16, 2021, 9:44pm UTC](https://discourse.julialang.org/t/julia-in-a-vm/12781 "2021-04-16T21:44:13Z")

</div>

Hello, just a quick question. I tried to start julia 0.7.0 beta2 from some nightly build tar.gz available from the website in a VM which gave me an error ERROR: Unable to find compatible target in system image. The VM…

---

## [\[ANN\] Memoization.jl](https://discourse.julialang.org/t/ann-memoization-jl/31556)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 12\
**Last updated:** [April 16, 2021, 9:41pm UTC](https://discourse.julialang.org/t/ann-memoization-jl/31556 "2021-04-16T21:41:20Z")

</div>

I created Memoization.jl to address some of the limitations of Memoize.jl. It’s API compatible with Memoize.jl (just @memoize your function definitions): julia\> using Memoization julia\> @memoize f(x) = (println("Compu…

---

## [Jupyter Lab LSP: argv path](https://discourse.julialang.org/t/jupyter-lab-lsp-argv-path/48115)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 9\
**Last updated:** [April 16, 2021, 9:36pm UTC](https://discourse.julialang.org/t/jupyter-lab-lsp-argv-path/48115 "2021-04-16T21:36:17Z")

</div>

I’d like to be able to use Julia’s language server within Jupyter Lab. There’s an extension for Jupyter Lab that adds LSP integration. There’s a list of languages that are well-supported by the extension, unfortunately J…

---

## [Notes on \`CUDA.sync\_threads\` and dispatch on \`Union\`](https://discourse.julialang.org/t/notes-on-cuda-sync-threads-and-dispatch-on-union/59375)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 3\
**Last updated:** [April 16, 2021, 9:11pm UTC](https://discourse.julialang.org/t/notes-on-cuda-sync-threads-and-dispatch-on-union/59375 "2021-04-16T21:11:56Z")

</div>

I’ve been playing with Union-typed objects on CUDA GPU and I found an interesting quirk due to how sync\_threads and Union-splitting interacts. I thought to share this here since it’s not really a CUDA.jl issue. MWE If C…

---

## [Faster groupwise joins to complete implicitly missing rows](https://discourse.julialang.org/t/faster-groupwise-joins-to-complete-implicitly-missing-rows/59414)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 2\
**Last updated:** [April 16, 2021, 9:05pm UTC](https://discourse.julialang.org/t/faster-groupwise-joins-to-complete-implicitly-missing-rows/59414 "2021-04-16T21:05:53Z")

</div>

I have a grouped DataFrame with dates and values but only observe dates in which a value was observed. I’d like to create the rows that are implicitly missing and have them as missing e.g. for interpolation later. I came…

---

## [Covariance matrix estimation using HF data](https://discourse.julialang.org/t/covariance-matrix-estimation-using-hf-data/59440)

<div class="topic-metadata">

**Author:** [@Shahal](https://discourse.julialang.org/u/Shahal)\
**Replies:** 0\
**Last updated:** [April 16, 2021, 8:48pm UTC](https://discourse.julialang.org/t/covariance-matrix-estimation-using-hf-data/59440 "2021-04-16T20:48:42Z")

</div>

Hello, can anyone guide me where I can find Julia code for the estimation of cov matrix using the Hayashi Yoshida and Fourier methods?

---

## [CUDA not working after today's update](https://discourse.julialang.org/t/cuda-not-working-after-todays-update/59329)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 2\
**Last updated:** [April 16, 2021, 8:35pm UTC](https://discourse.julialang.org/t/cuda-not-working-after-todays-update/59329 "2021-04-16T20:35:45Z")

</div>

Hi, yesterday I read the message about the new CUDA package. Today I just did an update (julia 1.6.0 on ubuntu mate 20.04) and the CUDA package did upgrade. After that julia\> using CUDA julia\> CUDA.zeros(10) ┌ Error:…

---

## [Distributed Sampling with Turing with project environment](https://discourse.julialang.org/t/distributed-sampling-with-turing-with-project-environment/59368)

<div class="topic-metadata">

**Author:** [@bdeonovic](https://discourse.julialang.org/u/bdeonovic)\
**Replies:** 3\
**Last updated:** [April 16, 2021, 7:43pm UTC](https://discourse.julialang.org/t/distributed-sampling-with-turing-with-project-environment/59368 "2021-04-16T19:43:52Z")

</div>

I have some code in a project (that I setup with DrWatson.jl but I don’t think that is too important). I try to get Turing available on all procs with using Turing using Distributed addprocs(4) @everywhere using DrWa…

---

## [Transform() within missing column names](https://discourse.julialang.org/t/transform-within-missing-column-names/59434)

<div class="topic-metadata">

**Author:** [@mengxiaoliu](https://discourse.julialang.org/u/mengxiaoliu)\
**Replies:** 0\
**Last updated:** [April 16, 2021, 7:38pm UTC](https://discourse.julialang.org/t/transform-within-missing-column-names/59434 "2021-04-16T19:38:59Z")

</div>

I am using the transform() function on a simple dataframe to achieve two purposes: I want to create the same number of columns (with the same names) as rows. I want to create a column named “Total” which adds up the nu…

---

## [Apply transform() to all DataFrame columns of a certain type?](https://discourse.julialang.org/t/apply-transform-to-all-dataframe-columns-of-a-certain-type/59433)

<div class="topic-metadata">

**Author:** [@florian](https://discourse.julialang.org/u/florian)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 7:15pm UTC](https://discourse.julialang.org/t/apply-transform-to-all-dataframe-columns-of-a-certain-type/59433 "2021-04-16T19:15:22Z")

</div>

What’s the ‘standard’ way to apply the transform function to all columns of a certain type in a DataFrame? For example, the best way to double all numeric columns I could come up with was: df = DataFrame(a="hello", b=1…

---

## [CAS Best Practices](https://discourse.julialang.org/t/cas-best-practices/58092)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 87\
**Last updated:** [April 16, 2021, 6:41pm UTC](https://discourse.julialang.org/t/cas-best-practices/58092 "2021-04-16T18:41:59Z")

</div>

{@admin, if it makes good sense, please create a domain for all things Symbolically Maths+Logics (Symbolic Solutions? \[your choice\] ) and move this topic there - - thank you} @rfateman @certik @carette What is your pers…

---

## [Help with register\_error\_hint](https://discourse.julialang.org/t/help-with-register-error-hint/56140)

<div class="topic-metadata">

**Author:** [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Replies:** 5\
**Last updated:** [April 16, 2021, 6:34pm UTC](https://discourse.julialang.org/t/help-with-register-error-hint/56140 "2021-04-16T18:34:45Z")

</div>

Hi, I want to add some useful hints but for some reason I can’t trigger the callback for a UndefVarError exception. module Hinter only\_int(x::Int) = 1 any\_number(x::Number) = 2 function \_\_init\_\_() …

---

## [Julia has exited](https://discourse.julialang.org/t/julia-has-exited/59359)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 5\
**Last updated:** [April 16, 2021, 6:05pm UTC](https://discourse.julialang.org/t/julia-has-exited/59359 "2021-04-16T18:05:37Z")

</div>

i have julia 1.2 on my pc windows 10 and i just installed Atom, Juno also is installed, my problem is that the Julia console doesn’t work at all my packages in Atom are up to date i uninstalled Julia-client and ink and r…

---

## [ArgumentError: Package Interact does not have Reexport in its dependencies](https://discourse.julialang.org/t/argumenterror-package-interact-does-not-have-reexport-in-its-dependencies/59211)

<div class="topic-metadata">

**Author:** [@kilyig](https://discourse.julialang.org/u/kilyig)\
**Replies:** 4\
**Last updated:** [April 16, 2021, 5:44pm UTC](https://discourse.julialang.org/t/argumenterror-package-interact-does-not-have-reexport-in-its-dependencies/59211 "2021-04-16T17:44:09Z")

</div>

Hello everyone, I have been struggling with this error for the past few weeks, and finally decided to ask it here. Background: I am trying to work on the Jupyter notebooks that supplement a course. These notebooks use…

---

## [Gadfly: How to change width and opacity of lines in Geom.density?](https://discourse.julialang.org/t/gadfly-how-to-change-width-and-opacity-of-lines-in-geom-density/37823)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 5\
**Last updated:** [April 16, 2021, 5:17pm UTC](https://discourse.julialang.org/t/gadfly-how-to-change-width-and-opacity-of-lines-in-geom-density/37823 "2021-04-16T17:17:08Z")

</div>

I tried Theme(alphas = \[0.3\], line\_width=10cm), but it didn’t work.

---

## [Build PyCall error](https://discourse.julialang.org/t/build-pycall-error/59252)

<div class="topic-metadata">

**Author:** [@marllos](https://discourse.julialang.org/u/marllos)\
**Replies:** 17\
**Last updated:** [April 16, 2021, 5:11pm UTC](https://discourse.julialang.org/t/build-pycall-error/59252 "2021-04-16T17:11:01Z")

</div>

Hello everyone, it’s been a while since I had any errors while installing Julia. When Julia tries to install PyCall, it runs the script .julia/packages/PyCall/tqyST/deps/find\_libpython.py is generates many error messag…

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

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