# Latest

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

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

**Page:** 1788

---

## [Run CUDA.jl on AMD devices](https://discourse.julialang.org/t/run-cuda-jl-on-amd-devices/36782)

<div class="topic-metadata">

**Author:** [@DeepQ](https://discourse.julialang.org/u/DeepQ)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 9:23am UTC](https://discourse.julialang.org/t/run-cuda-jl-on-amd-devices/36782 "2020-03-31T09:23:19Z")

</div>

Is there a way to run CUDA scripts on AMD GPUs?

---

## [Read signed 16 bits of PCM data in python](https://discourse.julialang.org/t/read-signed-16-bits-of-pcm-data-in-python/36778)

<div class="topic-metadata">

**Author:** [@vishnu-cs](https://discourse.julialang.org/u/vishnu-cs)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 8:27am UTC](https://discourse.julialang.org/t/read-signed-16-bits-of-pcm-data-in-python/36778 "2020-03-31T08:27:14Z")

</div>

My scenario is I will be getting a raw PCM data from the file pcm\_data.bin . This may not be the exact PCM data. I am simply creating my own hex values. pcm\_data.bin file contains the hex values 0010FFF47FFF8000FFFF …

---

## [Comma in function call](https://discourse.julialang.org/t/comma-in-function-call/36746)

<div class="topic-metadata">

**Author:** [@Marques](https://discourse.julialang.org/u/Marques)\
**Replies:** 4\
**Last updated:** [March 31, 2020, 8:23am UTC](https://discourse.julialang.org/t/comma-in-function-call/36746 "2020-03-31T08:23:54Z")

</div>

Hi guys, can someone help me?. While I was studying functions I came across a situacion, example: function soma(n) soma(1,n, positive). What I didn’t understand is the use of the comma when the function is called. Coul…

---

## [CuArrays v2.0.1 results in segmentation fault for LinearAlgebra.mul!](https://discourse.julialang.org/t/cuarrays-v2-0-1-results-in-segmentation-fault-for-linearalgebra-mul/36755)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 4\
**Last updated:** [March 31, 2020, 7:56am UTC](https://discourse.julialang.org/t/cuarrays-v2-0-1-results-in-segmentation-fault-for-linearalgebra-mul/36755 "2020-03-31T07:56:51Z")

</div>

The following code with CuArrays v2.0.1 results in segmentation fault on my computer: import CuArrays import LinearAlgebra N = 1024 y = CuArrays.zeros(N) x = CuArrays.zeros(N) A = CuArrays.zeros((N, N)) LinearAlgebra…

---

## [Course: Introduction to computational thinking + applications to modelling the COVID-19 pandemic](https://discourse.julialang.org/t/course-introduction-to-computational-thinking-applications-to-modelling-the-covid-19-pandemic/36776)

<div class="topic-metadata">

**Author:** [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 7:36am UTC](https://discourse.julialang.org/t/course-introduction-to-computational-thinking-applications-to-modelling-the-covid-19-pandemic/36776 "2020-03-31T07:36:41Z")

</div>

Together with Alan Edelman, we are teaching an MIT course on Introduction to Computational Thinking with Julia, with applications to modelling the COVID-19 pandemic: It’s designed for people with basic programming exp…

---

## [Configure debugger to start in compiled mode](https://discourse.julialang.org/t/configure-debugger-to-start-in-compiled-mode/36783)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 7:30am UTC](https://discourse.julialang.org/t/configure-debugger-to-start-in-compiled-mode/36783 "2020-03-31T07:30:11Z")

</div>

Is it possible to configure Juno or JuliaInterpreter to start directly in compiled mode? I know it’s just a click away, but I’m curious.

---

## [Quick Way to Disable/Enable Juno](https://discourse.julialang.org/t/quick-way-to-disable-enable-juno/31068)

<div class="topic-metadata">

**Author:** [@duncanam](https://discourse.julialang.org/u/duncanam)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 3:52am UTC](https://discourse.julialang.org/t/quick-way-to-disable-enable-juno/31068 "2020-03-31T03:52:45Z")

</div>

I hope I haven’t missed this anywhere, but I was wondering if there was a quick way to disable Juno and then re-enable it again. I use Atom for other languages besides Julia so having Juno around all the time isn’t perfe…

---

## [How do I open a remote jupyter notebook with IJulia](https://discourse.julialang.org/t/how-do-i-open-a-remote-jupyter-notebook-with-ijulia/36764)

<div class="topic-metadata">

**Author:** [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 3:51am UTC](https://discourse.julialang.org/t/how-do-i-open-a-remote-jupyter-notebook-with-ijulia/36764 "2020-03-31T03:51:03Z")

</div>

I frequently log into remote servers to work on large data sets. I usually run jupyter --no-browser --port=xxx on the server and forward the port to my local machine. In this mode, jupyter replies with the address where …

---

## [Alternative to deprecated NetworkViz?](https://discourse.julialang.org/t/alternative-to-deprecated-networkviz/36713)

<div class="topic-metadata">

**Author:** [@Xarg](https://discourse.julialang.org/u/Xarg)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 3:21am UTC](https://discourse.julialang.org/t/alternative-to-deprecated-networkviz/36713 "2020-03-31T03:21:12Z")

</div>

Hi, I’m looking to convert one of my R notebooks to Julia, and one of the packages I’m using is VisNetwork which gives me an interactive graph I can click on nodes to get additional information on, and drag them around. …

---

## [Debugger ignores breakpoints when using @everywhere](https://discourse.julialang.org/t/debugger-ignores-breakpoints-when-using-everywhere/36774)

<div class="topic-metadata">

**Author:** [@Aguila\_Cudicio](https://discourse.julialang.org/u/Aguila_Cudicio)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 2:27am UTC](https://discourse.julialang.org/t/debugger-ignores-breakpoints-when-using-everywhere/36774 "2020-03-31T02:27:58Z")

</div>

I’m trying to debug a piece of code I didn’t write and I’m having some problems. I’m new to Julia. In some cases Juno Debugger seems to be ignoring the breakpoints. This is my toy code: using Debugger function test\_b(…

---

## [Non-blocking asyncio calls with PyCall](https://discourse.julialang.org/t/non-blocking-asyncio-calls-with-pycall/36685)

<div class="topic-metadata">

**Author:** [@mkosch](https://discourse.julialang.org/u/mkosch)\
**Replies:** 5\
**Last updated:** [March 31, 2020, 12:38am UTC](https://discourse.julialang.org/t/non-blocking-asyncio-calls-with-pycall/36685 "2020-03-31T00:38:08Z")

</div>

Hello everyone, I am currently trying to integrate asyncronous Python functions that use asyncio into Julia’s coroutine framework. My problem is similar to the following example: using PyCall asyncio = pyimport("asynci…

---

## [Problem building installing Julia](https://discourse.julialang.org/t/problem-building-installing-julia/36769)

<div class="topic-metadata">

**Author:** [@PhillHS](https://discourse.julialang.org/u/PhillHS)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 11:41pm UTC](https://discourse.julialang.org/t/problem-building-installing-julia/36769 "2020-03-30T23:41:15Z")

</div>

Hi there, I’m trying to get julia 1.4.0 setup on our departmental cluster. My build environment is : Centos 7.2, gcc 8.1.0, downloaded the full tarball and unpacked in my build directory. We use the modules package …

---

## [Arpack\_jll artifacts unable to see OpenBLAS\_jll artifacts for linking](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711)

<div class="topic-metadata">

**Author:** [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 10:45pm UTC](https://discourse.julialang.org/t/arpack-jll-artifacts-unable-to-see-openblas-jll-artifacts-for-linking/36711 "2020-03-30T22:45:32Z")

</div>

I’m on Archlinux and I’m currently trying to import the Arpack module but getting an error with a missing library: ERROR: LoadError: InitError: could not load library "/home/pengwyn/.julia/artifacts/8a63e55e4ce37cc04c03…

---

## [Loading first few lines from data file](https://discourse.julialang.org/t/loading-first-few-lines-from-data-file/21412)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 19\
**Last updated:** [March 30, 2020, 10:24pm UTC](https://discourse.julialang.org/t/loading-first-few-lines-from-data-file/21412 "2020-03-30T22:24:47Z")

</div>

Hi, I have a data file with 100 rows of data of the form 1 2 3 4 5 6.1 … I want to load the first 10 lines as a 10X2 array. However, I do not see any option in readdlm() for doing that, although it should be an easy…

---

## [How to get a sub matrix of a large sparse matrix / array efficiently?](https://discourse.julialang.org/t/how-to-get-a-sub-matrix-of-a-large-sparse-matrix-array-efficiently/36741)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 11\
**Last updated:** [March 30, 2020, 8:51pm UTC](https://discourse.julialang.org/t/how-to-get-a-sub-matrix-of-a-large-sparse-matrix-array-efficiently/36741 "2020-03-30T20:51:04Z")

</div>

Hi all, I have a large sparse matrix / 2-d-array, some random indices and want to obtain a sub matrix of the large sparse matrix for these random indices. I noticed that a view() is quite fast for doing this (order of ~…

---

## [Dispatch function based on values of a parametric structure](https://discourse.julialang.org/t/dispatch-function-based-on-values-of-a-parametric-structure/36681)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 11\
**Last updated:** [March 30, 2020, 8:08pm UTC](https://discourse.julialang.org/t/dispatch-function-based-on-values-of-a-parametric-structure/36681 "2020-03-30T20:08:44Z")

</div>

Hello everyone, I am using a parametric structure parameterized by an integer parameter p. Depending on the value of p, the function f will have different behaviors. What is the best solution: write an if elseif else …

---

## [\[ANN\] Juno 0.12](https://discourse.julialang.org/t/ann-juno-0-12/34717)

<div class="topic-metadata">

**Author:** [@aviatesk](https://discourse.julialang.org/u/aviatesk)\
**Replies:** 80\
**Last updated:** [March 30, 2020, 6:29pm UTC](https://discourse.julialang.org/t/ann-juno-0-12/34717 "2020-03-30T18:29:31Z")

</div>

Hi all, Juno 0.12 is out ! Since we have tons of bugfixes and improvements for this release, here I’m going to pick some of the key highlights, but we hope you will like all the improvements and features added …

---

## [Composing new and default Kwargs](https://discourse.julialang.org/t/composing-new-and-default-kwargs/36745)

<div class="topic-metadata">

**Author:** [@alejandrovpm](https://discourse.julialang.org/u/alejandrovpm)\
**Replies:** 4\
**Last updated:** [March 30, 2020, 4:54pm UTC](https://discourse.julialang.org/t/composing-new-and-default-kwargs/36745 "2020-03-30T16:54:56Z")

</div>

Hello, I upgraded Julia from version 0.63 to version 1.4. To compose new and default Kwargs in Julia v0.63 I used the following function: function foo(; kwargs...) defaults = (; x="default") merge!(defa…

---

## [A Julia equivalent to R's stop()?](https://discourse.julialang.org/t/a-julia-equivalent-to-rs-stop/36568)

<div class="topic-metadata">

**Author:** [@vlandau](https://discourse.julialang.org/u/vlandau)\
**Replies:** 14\
**Last updated:** [March 30, 2020, 4:13pm UTC](https://discourse.julialang.org/t/a-julia-equivalent-to-rs-stop/36568 "2020-03-30T16:13:34Z")

</div>

Is there an equivalent in Julia to the stop() function in R? The nice thing about stop() is that it can be run from any scope (e.g. a function within a function) and it will throw an error and terminate the function that…

---

## [What LLVM version to use, 10, 11 possible? And how to reduce startup time (for the Benchmark Game)?](https://discourse.julialang.org/t/what-llvm-version-to-use-10-11-possible-and-how-to-reduce-startup-time-for-the-benchmark-game/36743)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 4:03pm UTC](https://discourse.julialang.org/t/what-llvm-version-to-use-10-11-possible-and-how-to-reduce-startup-time-for-the-benchmark-game/36743 "2020-03-30T16:03:32Z")

</div>

A. I know I’m using LLVM 9.0.1, but is latest 10 (or 11) coming to master? I’m just curious if Julia will optimize better (it’s already good, better than C), no rush. It seems JuliaLang/julia uses LLVM, not LLVM from …

---

## [Julia Equivalent for ismember in MATLAB for rows](https://discourse.julialang.org/t/julia-equivalent-for-ismember-in-matlab-for-rows/36658)

<div class="topic-metadata">

**Author:** [@Donald\_Lacombe](https://discourse.julialang.org/u/Donald_Lacombe)\
**Replies:** 14\
**Last updated:** [March 30, 2020, 3:50pm UTC](https://discourse.julialang.org/t/julia-equivalent-for-ismember-in-matlab-for-rows/36658 "2020-03-30T15:50:32Z")

</div>

Hello! I’m trying to convert the following MATLAB code into Julia: bt\_edges = 6 7 6 8 7 8 bt\_edges(i,:) ans = 7 8 uval = ismember(bt\_edges,bt\_edges(i,:),'rows'); uval = 3×1 …

---

## [Is there a standard way to add missing-propagation](https://discourse.julialang.org/t/is-there-a-standard-way-to-add-missing-propagation/36727)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 2\
**Last updated:** [March 30, 2020, 2:48pm UTC](https://discourse.julialang.org/t/is-there-a-standard-way-to-add-missing-propagation/36727 "2020-03-30T14:48:02Z")

</div>

By “add missing-propagation,” I mean making a function return missing if any one of its arguments is missing. So far the few times I wanted to do that, I add a one-liner method for each argument as type Missing, like so: …

---

## [Smart kwargs... dispatch](https://discourse.julialang.org/t/smart-kwargs-dispatch/14571)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 16\
**Last updated:** [March 30, 2020, 2:37pm UTC](https://discourse.julialang.org/t/smart-kwargs-dispatch/14571 "2020-03-30T14:37:32Z")

</div>

Let’s say a function f() involves another function with multiple arguments. From what I understood, one can avoid listing them with with the kwargs... argument that “passes” the optional arguments down to the other funct…

---

## [Julia and conda](https://discourse.julialang.org/t/julia-and-conda/36731)

<div class="topic-metadata">

**Author:** [@serhii](https://discourse.julialang.org/u/serhii)\
**Replies:** 2\
**Last updated:** [March 30, 2020, 2:19pm UTC](https://discourse.julialang.org/t/julia-and-conda/36731 "2020-03-30T14:19:26Z")

</div>

Hi The version of Julia that is available on conda is 1.1. However, it seems that the latest version is 1.4. I was wondering when 1.4 is going to be updated on conda. Also, where can I read about best practices regar…

---

## [String representation of expression](https://discourse.julialang.org/t/string-representation-of-expression/36729)

<div class="topic-metadata">

**Author:** [@pfarndt](https://discourse.julialang.org/u/pfarndt)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 1:40pm UTC](https://discourse.julialang.org/t/string-representation-of-expression/36729 "2020-03-30T13:40:08Z")

</div>

I once developed a macro which would take the enclosed code block and write it to a file which would then later be included in another julia process. In principle I just printed the expression into the file which would …

---

## [Trouble making a pivot table](https://discourse.julialang.org/t/trouble-making-a-pivot-table/36610)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 19\
**Last updated:** [March 30, 2020, 1:21pm UTC](https://discourse.julialang.org/t/trouble-making-a-pivot-table/36610 "2020-03-30T13:21:00Z")

</div>

df1 = DataFrame(XLSX.readtable("C:/Users/Brett/Documents/Soc332Assignment3.xlsx","TestData")...) #change everything to Float64 for name in names(df1) df1\[!, name\] = identity.(df1\[:, name\]) end #change everythin…

---

## [GraphPlot.jl: possible to change font family?](https://discourse.julialang.org/t/graphplot-jl-possible-to-change-font-family/36699)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 1:04pm UTC](https://discourse.julialang.org/t/graphplot-jl-possible-to-change-font-family/36699 "2020-03-30T13:04:28Z")

</div>

I’m using gplot() from the GraphPlot.jl package to plot a graph created with LightGraphs.jl. I’d like to change the font family used for the node labels, but can’t find in the documentation how to do that. Does anyone kn…

---

## [Multiple variable assignment and ODE solution extracting](https://discourse.julialang.org/t/multiple-variable-assignment-and-ode-solution-extracting/36647)

<div class="topic-metadata">

**Author:** [@jmaffi](https://discourse.julialang.org/u/jmaffi)\
**Replies:** 4\
**Last updated:** [March 30, 2020, 12:11pm UTC](https://discourse.julialang.org/t/multiple-variable-assignment-and-ode-solution-extracting/36647 "2020-03-30T12:11:33Z")

</div>

Hi there! I am quite new to Julia and have read manuals, tutorials, FAQs, and almost all question threads regarding the following, but have not yet found a solution. I have a system of 17 ordinary differential equation…

---

## [Issues with PKG (Authentication Procedure) with Julia Pro 1.4.0-1 on Windows 10](https://discourse.julialang.org/t/issues-with-pkg-authentication-procedure-with-julia-pro-1-4-0-1-on-windows-10/36705)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 10:40am UTC](https://discourse.julialang.org/t/issues-with-pkg-authentication-procedure-with-julia-pro-1-4-0-1-on-windows-10/36705 "2020-03-30T10:40:23Z")

</div>

I installed the current latest version of JulaiPro - 1.4.0-1 on my Windows machine. I’m having some issues with the PKG manager. When I try to add a package this is what I get: The broswe opens and I log on onto my…

---

## [ERROR: The following package names could not be resolved: Pyplot](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-pyplot/36726)

<div class="topic-metadata">

**Author:** [@zaikoe](https://discourse.julialang.org/u/zaikoe)\
**Replies:** 1\
**Last updated:** [March 30, 2020, 9:21am UTC](https://discourse.julialang.org/t/error-the-following-package-names-could-not-be-resolved-pyplot/36726 "2020-03-30T09:21:56Z")

</div>

Hello ! For a course I am trying to use julia for the first time. I tries to use the package Pyplot (I had it with python). But, when I run the command: Pkg.add(“Pyplot”) I get this error I didn’t find about on intern…

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

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