# Latest

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

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

**Page:** 1645

---

## [Any touchscreen APIs for Julia?](https://discourse.julialang.org/t/any-touchscreen-apis-for-julia/45614)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 9\
**Last updated:** [August 31, 2020, 3:28pm UTC](https://discourse.julialang.org/t/any-touchscreen-apis-for-julia/45614 "2020-08-31T15:28:31Z")

</div>

Are there any packages that measure touchscreen gestures? I want to make something like this virtual piano (Virtual Piano Keyboard | Online Piano at Apronus.com) but in an offline interactive window. So far I’m imagining…

---

## [Efficient conversion from StaticArray to Base Array?](https://discourse.julialang.org/t/efficient-conversion-from-staticarray-to-base-array/45825)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 6\
**Last updated:** [August 31, 2020, 3:25pm UTC](https://discourse.julialang.org/t/efficient-conversion-from-staticarray-to-base-array/45825 "2020-08-31T15:25:41Z")

</div>

Hello! Suppose I have an array defined as such: using StaticArrays b = Array{StaticArrays.SArray{Tuple{3},Float32,1,3},1}(\[\[1,1,1\],\[2,2,2\],\[3,3,3\]\]) And I want it to be transformed to a convential: Array{Array{Float…

---

## [Indexing into Matrix](https://discourse.julialang.org/t/indexing-into-matrix/45806)

<div class="topic-metadata">

**Author:** [@grunst](https://discourse.julialang.org/u/grunst)\
**Replies:** 7\
**Last updated:** [August 31, 2020, 10:31am UTC](https://discourse.julialang.org/t/indexing-into-matrix/45806 "2020-08-31T10:31:40Z")

</div>

Is there a github issue or discourse post that discusses why A\[1,:\] returns a column vector instead of a row vector (Adjoint) for a matrix A? From the pattern A\[\[1\],:\] return a 1xn matrix A\[:,\[1\]\] return a nx1 matri…

---

## [Weird behavior of range with .-](https://discourse.julialang.org/t/weird-behavior-of-range-with/45804)

<div class="topic-metadata">

**Author:** [@schoersch](https://discourse.julialang.org/u/schoersch)\
**Replies:** 6\
**Last updated:** [August 31, 2020, 8:03am UTC](https://discourse.julialang.org/t/weird-behavior-of-range-with/45804 "2020-08-31T08:03:40Z")

</div>

I came around the following behavior using range I did not expect: creating the range specified below and subtracting its last element results in a range with a fairly wide difference to 0 at the last element. a = rang…

---

## [Make plots in separate windows](https://discourse.julialang.org/t/make-plots-in-separate-windows/45815)

<div class="topic-metadata">

**Author:** [@Sanji\_Vinsmoke](https://discourse.julialang.org/u/Sanji_Vinsmoke)\
**Replies:** 7\
**Last updated:** [August 31, 2020, 8:01am UTC](https://discourse.julialang.org/t/make-plots-in-separate-windows/45815 "2020-08-31T08:01:22Z")

</div>

I want to plot different arrays and show the plot in separate windows when I run the julia script from the REPL using the include("\<name\>.jl") I searched it on the internet and I got to know about reuse = false, but whe…

---

## [\[ANN\] VS Code extension v0.15 released - with debugger](https://discourse.julialang.org/t/ann-vs-code-extension-v0-15-released-with-debugger/36415)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 21\
**Last updated:** [August 31, 2020, 7:33am UTC](https://discourse.julialang.org/t/ann-vs-code-extension-v0-15-released-with-debugger/36415 "2020-08-31T07:33:05Z")

</div>

We just released the first build from the v0.15 series of the VS Code Julia extension to the marketplace. The main new feature in this release is an experimental debugger. The rest of this post will describe what debuggi…

---

## [RemoteChannel allows more inputs than I defined](https://discourse.julialang.org/t/remotechannel-allows-more-inputs-than-i-defined/45814)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 3\
**Last updated:** [August 31, 2020, 7:04am UTC](https://discourse.julialang.org/t/remotechannel-allows-more-inputs-than-i-defined/45814 "2020-08-31T07:04:54Z")

</div>

Hellos I am creating a pipeline with RemoteChannel (if it does not work, I’ll create other post asking for help again), and I noticed that I can add more data than I specified. I don’t know if I am just confused with t…

---

## [Passing on a variable to Julia run() command](https://discourse.julialang.org/t/passing-on-a-variable-to-julia-run-command/45817)

<div class="topic-metadata">

**Author:** [@Evgeniia](https://discourse.julialang.org/u/Evgeniia)\
**Replies:** 0\
**Last updated:** [August 31, 2020, 6:49am UTC](https://discourse.julialang.org/t/passing-on-a-variable-to-julia-run-command/45817 "2020-08-31T06:49:20Z")

</div>

Hi! I am new to running API calls in general but I would like to use Julia to run API calls. Here, I am trying to run the curl command from Julia using run( ): call="https://rxn.res.ibm.com/rxn/api/api/v1/predictions/…

---

## [Julia v1.5.1 has been released](https://discourse.julialang.org/t/julia-v1-5-1-has-been-released/45583)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 3\
**Last updated:** [August 31, 2020, 5:29am UTC](https://discourse.julialang.org/t/julia-v1-5-1-has-been-released/45583 "2020-08-31T05:29:14Z")

</div>

Julia version 1.5.1, the first patch release in the 1.5 series of releases, is now available. You can get binaries for glibc Linux (i686, x86-64, AArch64), musl Linux (x86-64), FreeBSD (x86-64), macOS, and Windows (32-, …

---

## [PrettyTables number of decimals displayed](https://discourse.julialang.org/t/prettytables-number-of-decimals-displayed/45802)

<div class="topic-metadata">

**Author:** [@nfatkhiyev](https://discourse.julialang.org/u/nfatkhiyev)\
**Replies:** 1\
**Last updated:** [August 31, 2020, 1:04am UTC](https://discourse.julialang.org/t/prettytables-number-of-decimals-displayed/45802 "2020-08-31T01:04:26Z")

</div>

I am using PrettyTables to create a table that is getting the values directly from a function. I would like each entry to have the same number of digits after the decimal. Can this even be done in PrettyTables? q6\_table…

---

## [LightGraphs: get all of the the shortest paths between 2 points?](https://discourse.julialang.org/t/lightgraphs-get-all-of-the-the-shortest-paths-between-2-points/28775)

<div class="topic-metadata">

**Author:** [@wherrera](https://discourse.julialang.org/u/wherrera)\
**Replies:** 1\
**Last updated:** [August 30, 2020, 8:46pm UTC](https://discourse.julialang.org/t/lightgraphs-get-all-of-the-the-shortest-paths-between-2-points/28775 "2020-08-30T20:46:33Z")

</div>

Consider using LightGraphs g = SimpleDiGraph(7) add\_edge!(g, 1, 2) add\_edge!(g, 2, 3) add\_edge!(g, 4, 5) add\_edge!(g, 5, 3) add\_edge!(g, 1, 5) add\_edge!(g, 6, 7) add\_edge!(g, 7, 3) add\_edge!(g, 1, 7) p = dijkstra\_shor…

---

## [Error building CPLEX](https://discourse.julialang.org/t/error-building-cplex/45798)

<div class="topic-metadata">

**Author:** [@Glaucio](https://discourse.julialang.org/u/Glaucio)\
**Replies:** 1\
**Last updated:** [August 30, 2020, 8:29pm UTC](https://discourse.julialang.org/t/error-building-cplex/45798 "2020-08-30T20:29:52Z")

</div>

me ajudem

---

## [MCHammer 0.1.4: Martingales, Risk Events and Markov Chains](https://discourse.julialang.org/t/mchammer-0-1-4-martingales-risk-events-and-markov-chains/45799)

<div class="topic-metadata">

**Author:** [@etorkia](https://discourse.julialang.org/u/etorkia)\
**Replies:** 0\
**Last updated:** [August 30, 2020, 8:17pm UTC](https://discourse.julialang.org/t/mchammer-0-1-4-martingales-risk-events-and-markov-chains/45799 "2020-08-30T20:17:57Z")

</div>

Hi everybody, We finally got around to solving some issues with the registration all while adding some new tools. We hope you give it a whirl and let us know your thoughts or perhaps make a feature suggestion. You can…

---

## [MCHammer Monte-Carlo Simulation 0.1.3 is now released](https://discourse.julialang.org/t/mchammer-monte-carlo-simulation-0-1-3-is-now-released/31826)

<div class="topic-metadata">

**Author:** [@etorkia](https://discourse.julialang.org/u/etorkia)\
**Replies:** 9\
**Last updated:** [August 30, 2020, 8:11pm UTC](https://discourse.julialang.org/t/mchammer-monte-carlo-simulation-0-1-3-is-now-released/31826 "2020-08-30T20:11:03Z")

</div>

MCHammer.jl is a package designed in raw Julia to quickly analyze probabilistic and build Monte-Carlo simulations more easily and with less lines of code. A complete set of charts and functions to analyze, visualize, cor…

---

## [Fed yield curve site data to in memory model need advice about Julia package selection](https://discourse.julialang.org/t/fed-yield-curve-site-data-to-in-memory-model-need-advice-about-julia-package-selection/45796)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 7:57pm UTC](https://discourse.julialang.org/t/fed-yield-curve-site-data-to-in-memory-model-need-advice-about-julia-package-selection/45796 "2020-08-30T19:57:52Z")

</div>

I’m looking at using Julia to populate an in memory data structure. My first attempt will be to gather the data from the Fed’s yield curve site. There are multiple models, different refresh rates and lashings of nice p…

---

## [Performant piecewise function evaluation](https://discourse.julialang.org/t/performant-piecewise-function-evaluation/45762)

<div class="topic-metadata">

**Author:** [@archermarx](https://discourse.julialang.org/u/archermarx)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 7:31pm UTC](https://discourse.julialang.org/t/performant-piecewise-function-evaluation/45762 "2020-08-30T19:31:20Z")

</div>

I’m working on developing a solver that requires piecewise-defined polynomial functions to be evaluated very frequently. The easiest way to define such a function would be something like function piecewise\_hardcoded(x) …

---

## [How to sample a clustered group from a DataFrame?](https://discourse.julialang.org/t/how-to-sample-a-clustered-group-from-a-dataframe/45777)

<div class="topic-metadata">

**Author:** [@Jaepil\_Lee](https://discourse.julialang.org/u/Jaepil_Lee)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 3:37pm UTC](https://discourse.julialang.org/t/how-to-sample-a-clustered-group-from-a-dataframe/45777 "2020-08-30T15:37:46Z")

</div>

Hello Julia users! I have been trying to implement a Bootstrap from a panel data, stored in DataFrames. I think I got it working, but I am doing it in a super inefficient way. For example, as soon as I draw a vector of…

---

## [TextAnalysis.jl Naive Bayes Error](https://discourse.julialang.org/t/textanalysis-jl-naive-bayes-error/44895)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 4:43pm UTC](https://discourse.julialang.org/t/textanalysis-jl-naive-bayes-error/44895 "2020-08-30T16:43:34Z")

</div>

I am trying to use TextAnalysis.jl for some text classification using the Naive Bayes Classifier. However, I’ve been unable to begin as I’m getting an error before I can even load the classifier. using TextAnalysis: Na…

---

## [Setting number of threads after launch](https://discourse.julialang.org/t/setting-number-of-threads-after-launch/45792)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 3:47pm UTC](https://discourse.julialang.org/t/setting-number-of-threads-after-launch/45792 "2020-08-30T15:47:36Z")

</div>

When I use the Distributed module, I can add/remove the number of processes after launching Julia or within a Jupyter notebook. Is there any similar functionality with Threads, or must the thread count be set at launch? …

---

## [Plotting coefplot](https://discourse.julialang.org/t/plotting-coefplot/45779)

<div class="topic-metadata">

**Author:** [@qwerytyui1234](https://discourse.julialang.org/u/qwerytyui1234)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 3:25pm UTC](https://discourse.julialang.org/t/plotting-coefplot/45779 "2020-08-30T15:25:26Z")

</div>

Hello everyone, I am trying to plot something like this (attached below), but I am not able to find how to plot this particular way. How would you plot something like this? Thanks in advance.

---

## [\[WIP\] Announcing Volcanito.jl: a backend-agnostic interface for tabular data](https://discourse.julialang.org/t/wip-announcing-volcanito-jl-a-backend-agnostic-interface-for-tabular-data/45695)

<div class="topic-metadata">

**Author:** [@johnmyleswhite](https://discourse.julialang.org/u/johnmyleswhite)\
**Replies:** 44\
**Last updated:** [August 30, 2020, 3:13pm UTC](https://discourse.julialang.org/t/wip-announcing-volcanito-jl-a-backend-agnostic-interface-for-tabular-data/45695 "2020-08-30T15:13:01Z")

</div>

I want to announce a public demo release of a package I’ve been working on to test the viability of building a backend agnostic interface for tabular data in Julia that would let the ecosystem move towards an architectur…

---

## [Package dependency uninstallation](https://discourse.julialang.org/t/package-dependency-uninstallation/45788)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 1\
**Last updated:** [August 30, 2020, 1:48pm UTC](https://discourse.julialang.org/t/package-dependency-uninstallation/45788 "2020-08-30T13:48:54Z")

</div>

Let’s say package A depends on B when first installed. After a while, a new version of A no longer depends on B. If I update A, will Julia automatically uninstall B if it is not a dependency for any other packages?

---

## [Base.Inf for other Number types?](https://discourse.julialang.org/t/base-inf-for-other-number-types/45783)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 9\
**Last updated:** [August 30, 2020, 1:42pm UTC](https://discourse.julialang.org/t/base-inf-for-other-number-types/45783 "2020-08-30T13:42:51Z")

</div>

Currently, it seems Inf is only defined for Float\*. I am wondering if it possible to extend this to other data types, such as Integer? Then just like zero and one, we can have julia\> infinity(1.0) Inf julia\> infinity(1)…

---

## [Bug in floating-point range?](https://discourse.julialang.org/t/bug-in-floating-point-range/45706)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kagalenko](https://discourse.julialang.org/u/Mikhail_Kagalenko)\
**Replies:** 12\
**Last updated:** [August 29, 2020, 12:58pm UTC](https://discourse.julialang.org/t/bug-in-floating-point-range/45706 "2020-08-29T12:58:42Z")

</div>

julia\> rng=range(big(1)/100, stop=big(10)/100, length=10) 10-element LinRange{BigFloat}: 0.010,0.020,0.030,0.040,0.050,0.060,0.070,0.080,0.090,0.10 julia\> Float64(maximum(abs.(angle.(exp.(im\*rng\[1:9\]))-rng\[1:9\]))) 1.07…

---

## [How can i separate between two arrays inside a parent array?](https://discourse.julialang.org/t/how-can-i-separate-between-two-arrays-inside-a-parent-array/45744)

<div class="topic-metadata">

**Author:** [@marouane1994](https://discourse.julialang.org/u/marouane1994)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 8:57am UTC](https://discourse.julialang.org/t/how-can-i-separate-between-two-arrays-inside-a-parent-array/45744 "2020-08-30T08:57:33Z")

</div>

this code is a small example of what i want to do, i have this small example right here: y=\[\[\[1,0\],\[0,0\],\[1,1\],\[1,0\],\[1,0\],\[0,1\]\],\[\[1,0\],\[0,0\],\[1,1\],\[0,0\]\],\[\[1,0\],\[0,0\],\[1,1\],\[1,0\],\[1,0\],\[1,0\]\]\] array=\[\] all\_array=\[\] fo…

---

## [Debugger.@enter: failed to lookup source code, showing lowered code](https://discourse.julialang.org/t/debugger-enter-failed-to-lookup-source-code-showing-lowered-code/45774)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 8:34am UTC](https://discourse.julialang.org/t/debugger-enter-failed-to-lookup-source-code-showing-lowered-code/45774 "2020-08-30T08:34:13Z")

</div>

I’m trying to use Debugger.@enter via the REPL (not via VS Code or Juno). However, I’m getting a message that says failed to lookup source code, showing lowered code: In an older thread the only recommendation was to…

---

## [Approximating via step function](https://discourse.julialang.org/t/approximating-via-step-function/43577)

<div class="topic-metadata">

**Author:** [@danicaratelli](https://discourse.julialang.org/u/danicaratelli)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 6:53am UTC](https://discourse.julialang.org/t/approximating-via-step-function/43577 "2020-08-30T06:53:10Z")

</div>

Hello, I was wondering whether anyone knows of a package/function that approximates a function with a step function. As an example, below in blue is the data I am trying to approximate, in red is my wanted output (a ste…

---

## [\[Video\] Achieving R's \`df1\[B\]= df2\[B\]\` with Julia multiple-dispatch](https://discourse.julialang.org/t/video-achieving-rs-df1-b-df2-b-with-julia-multiple-dispatch/45782)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [August 30, 2020, 6:38am UTC](https://discourse.julialang.org/t/video-achieving-rs-df1-b-df2-b-with-julia-multiple-dispatch/45782 "2020-08-30T06:38:40Z")

</div>

It was asked on Twitter “Hey #JuliaLang, is it possibly to sunset a DataFrame using a logical/Boolean matrix like you can in #rstats? Anything close would be helpful!” So I made a video to show how to do this in Julia …

---

## [How to create a loss function with 3 inputs in Flux?](https://discourse.julialang.org/t/how-to-create-a-loss-function-with-3-inputs-in-flux/45755)

<div class="topic-metadata">

**Author:** [@DeepQ](https://discourse.julialang.org/u/DeepQ)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 3:51am UTC](https://discourse.julialang.org/t/how-to-create-a-loss-function-with-3-inputs-in-flux/45755 "2020-08-30T03:51:26Z")

</div>

How could I create a loss function with 3 inputs like loss(w,x,y)? Could someone show me an example?

---

## [Recommended Saves and Loads of DataFrame : JLD, CSV, etc](https://discourse.julialang.org/t/recommended-saves-and-loads-of-dataframe-jld-csv-etc/9074)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://discourse.julialang.org/u/ivo_welch)\
**Replies:** 8\
**Last updated:** [August 30, 2020, 3:36am UTC](https://discourse.julialang.org/t/recommended-saves-and-loads-of-dataframe-jld-csv-etc/9074 "2020-08-30T03:36:22Z")

</div>

I am using 0.6.2, but am planning to move to 1.0 when available. I read in an earlier discussion (/suggested-formats-for-saving-and-serialization/3230) that JLD has not been working. I have tried to save() some datafra…

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

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