# Latest

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

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

**Page:** 1641

---

## [Question about Image output](https://discourse.julialang.org/t/question-about-image-output/46055)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 4\
**Last updated:** [September 5, 2020, 3:54am UTC](https://discourse.julialang.org/t/question-about-image-output/46055 "2020-09-05T03:54:30Z")

</div>

May I ask if Julia can realize dynamic 3D map? For example, you can interact with the mouse or rotate advanced images by yourself. thank you！！

---

## [Stipple.jl Issues on Heroku](https://discourse.julialang.org/t/stipple-jl-issues-on-heroku/46086)

<div class="topic-metadata">

**Author:** [@nucklass](https://discourse.julialang.org/u/nucklass)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 3:10am UTC](https://discourse.julialang.org/t/stipple-jl-issues-on-heroku/46086 "2020-09-05T03:10:59Z")

</div>

Hi all, I’ve been trying out stipple the last few days as an alternative to RShiny and Tableau. I’ve been able to get a nice little dashboard and I wanted to post it online to share with a few other students. By followi…

---

## [A simple macro to transform \`newcol = fn(:col)\` to \`:col =\> fn =\> :newcol\`; friendly with DataFrames.jl](https://discourse.julialang.org/t/a-simple-macro-to-transform-newcol-fn-col-to-col-fn-newcol-friendly-with-dataframes-jl/45893)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [September 5, 2020, 2:52am UTC](https://discourse.julialang.org/t/a-simple-macro-to-transform-newcol-fn-col-to-col-fn-newcol-friendly-with-dataframes-jl/45893 "2020-09-05T02:52:30Z")

</div>

In DataFrames.jl there are a number of places where you have use this syntax :col =\> fn =\> :newcol to compute new columns. This makes sense once you get used to it, but sometimes you want a traditional syntax of newcol =…

---

## [Apache Arrow 1.0 release](https://discourse.julialang.org/t/apache-arrow-1-0-release/43786)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 7\
**Last updated:** [September 5, 2020, 1:28am UTC](https://discourse.julialang.org/t/apache-arrow-1-0-release/43786 "2020-09-05T01:28:45Z")

</div>

Version 1.0.0 of the Apache Arrow specification and implementations in several languages has been released Apache Arrow 1.0.0 Release | Apache Arrow As part of this release the Feather file specification (a file format …

---

## [Regression Random Forests: Mean coeff of determination in cross-validation surprisingly too good for pure noise inputs](https://discourse.julialang.org/t/regression-random-forests-mean-coeff-of-determination-in-cross-validation-surprisingly-too-good-for-pure-noise-inputs/46073)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 11:26pm UTC](https://discourse.julialang.org/t/regression-random-forests-mean-coeff-of-determination-in-cross-validation-surprisingly-too-good-for-pure-noise-inputs/46073 "2020-09-04T23:26:46Z")

</div>

I fitted a regression RF model on random (low dimensional) noise data and got surprising good estimates of the Mean Coeff of Determination using Cross-Validation. Here is my code, based on the example in https://github.…

---

## [Recording entry and exit time of state space sets with DifferentialEquations.jl](https://discourse.julialang.org/t/recording-entry-and-exit-time-of-state-space-sets-with-differentialequations-jl/46029)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 14\
**Last updated:** [September 4, 2020, 11:05pm UTC](https://discourse.julialang.org/t/recording-entry-and-exit-time-of-state-space-sets-with-differentialequations-jl/46029 "2020-09-04T23:05:55Z")

</div>

I am trying to estimate entry and exit times in sets of the state space, as functionality for DynamicalSystems.jl. I have a working implementation for discrete systems but for continuous it turns out it is much harder. O…

---

## [Generate new array using conditional selections from existing arrays](https://discourse.julialang.org/t/generate-new-array-using-conditional-selections-from-existing-arrays/46081)

<div class="topic-metadata">

**Author:** [@yold6](https://discourse.julialang.org/u/yold6)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 10:43pm UTC](https://discourse.julialang.org/t/generate-new-array-using-conditional-selections-from-existing-arrays/46081 "2020-09-04T22:43:41Z")

</div>

Hello, I am attempting to generate an new array C by using conditional selections from two existing DataFrames (A and B). The first pre-existing DataFrame (A) is 18 x 18 and contains Float64 values that I would like to…

---

## [How to write device code?](https://discourse.julialang.org/t/how-to-write-device-code/11527)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 10:32pm UTC](https://discourse.julialang.org/t/how-to-write-device-code/11527 "2020-09-04T22:32:48Z")

</div>

hi there newcomer question here. suppose i am looking at some cuda code that has a function like \_\_device\_\_ int binaryVal(const REAL x, const int n, const REAL\* X) { } where I read the \_\_device\_\_ thing as saying that …

---

## [Using LightXML I error out when using "free(xdoc)" in Atom, but not in terminal?](https://discourse.julialang.org/t/using-lightxml-i-error-out-when-using-free-xdoc-in-atom-but-not-in-terminal/46075)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 8:00pm UTC](https://discourse.julialang.org/t/using-lightxml-i-error-out-when-using-free-xdoc-in-atom-but-not-in-terminal/46075 "2020-09-04T20:00:36Z")

</div>

Hello! I am trying to play around with making xml files. I have made this simple XML: using LightXML # create an empty XML document xdoc = XMLDocument() # create & attach a root node xroot = create\_root(xdoc, "case")…

---

## [Pipe operator quiz! Can you guess the result?](https://discourse.julialang.org/t/pipe-operator-quiz-can-you-guess-the-result/46054)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 5:20pm UTC](https://discourse.julialang.org/t/pipe-operator-quiz-can-you-guess-the-result/46054 "2020-09-04T17:20:37Z")

</div>

Question 1 A=\[1,2,3\]; B=\[1,1,1\]; A.\>B |\> sum Question 2 1:2 .|\> x-\>x^2 |\> sum |\> inv Question 3 (warning: spoilers) The behaviors above seem just… evil! :wink:. Can we fix this? Changing the operator precedence is …

---

## [Tennis Lineup Optimizer](https://discourse.julialang.org/t/tennis-lineup-optimizer/46036)

<div class="topic-metadata">

**Author:** [@Cameron\_Taylor](https://discourse.julialang.org/u/Cameron_Taylor)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 4:03pm UTC](https://discourse.julialang.org/t/tennis-lineup-optimizer/46036 "2020-09-04T16:03:31Z")

</div>

Hi all, I’m putting together a little tennis lineup optimizer program to play some daily fantasy contests during the US Open here. I’m trying to write a constraint that picks a set of players on the condition that a pl…

---

## [Changing size of ODE system: resize! works but deleteat! doesn't](https://discourse.julialang.org/t/changing-size-of-ode-system-resize-works-but-deleteat-doesnt/45900)

<div class="topic-metadata">

**Author:** [@levasco](https://discourse.julialang.org/u/levasco)\
**Replies:** 5\
**Last updated:** [September 4, 2020, 3:54pm UTC](https://discourse.julialang.org/t/changing-size-of-ode-system-resize-works-but-deleteat-doesnt/45900 "2020-09-04T15:54:51Z")

</div>

I am playing around with the capacity of changing the size of an ODE system by tweaking the example presented here. For some reason, shrinking the model by resize!()ing the integrator works as expected, but the (equivale…

---

## [\[ANN\] Configs.jl: Opinionated tool for managing deployment configurations](https://discourse.julialang.org/t/ann-configs-jl-opinionated-tool-for-managing-deployment-configurations/45847)

<div class="topic-metadata">

**Author:** [@citkane](https://discourse.julialang.org/u/citkane)\
**Replies:** 12\
**Last updated:** [September 4, 2020, 3:29pm UTC](https://discourse.julialang.org/t/ann-configs-jl-opinionated-tool-for-managing-deployment-configurations/45847 "2020-09-04T15:29:34Z")

</div>

I am new to Julia, so firstly a “Hello” to everybody in the community. Coming from a Node.js background, I miss some generic tools that I have become accustomed to, specifically managing deployment configurations with t…

---

## [Remove spaces and units in Dataframe header?](https://discourse.julialang.org/t/remove-spaces-and-units-in-dataframe-header/46061)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 2:11pm UTC](https://discourse.julialang.org/t/remove-spaces-and-units-in-dataframe-header/46061 "2020-09-04T14:11:45Z")

</div>

Hello! I am using DataFrames on a CSV file with space and unit declarations next to the variable, for an example: time \[s\] So when I import it, it looks like: How would I go about removing " \[s\]", so it would becom…

---

## [Continue a loop in Julia when the time out](https://discourse.julialang.org/t/continue-a-loop-in-julia-when-the-time-out/46002)

<div class="topic-metadata">

**Author:** [@yangqifan](https://discourse.julialang.org/u/yangqifan)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 1:58pm UTC](https://discourse.julialang.org/t/continue-a-loop-in-julia-when-the-time-out/46002 "2020-09-04T13:58:25Z")

</div>

When I use the DifferentialEquations.jl to solve a ODEs, some parameters set is time-consuming. I have write a loop to solve the ODEs at diverse parameters. I want to early terminate the time-consuming parameters set, fo…

---

## [Regular expression How do I find a line that contains this rule but also something else?](https://discourse.julialang.org/t/regular-expression-how-do-i-find-a-line-that-contains-this-rule-but-also-something-else/46010)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 10\
**Last updated:** [September 4, 2020, 1:06pm UTC](https://discourse.julialang.org/t/regular-expression-how-do-i-find-a-line-that-contains-this-rule-but-also-something-else/46010 "2020-09-04T13:06:38Z")

</div>

How do I find a line that contains this rule but also something else? rx=r"^\[0-9\]{2}-\[0-9\]{3}$" occursin.( rx ,string.(dane\[:,6\])) Thx, Paul

---

## [Build from a master or development branch](https://discourse.julialang.org/t/build-from-a-master-or-development-branch/46056)

<div class="topic-metadata">

**Author:** [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 12:51pm UTC](https://discourse.julialang.org/t/build-from-a-master-or-development-branch/46056 "2020-09-04T12:51:33Z")

</div>

How can I force BinaryBuilder to make a local build for a development branch? using BinaryBuilder name = "my\_package" version = v"?.?.?" \<= e.g., my\_package#development

---

## [Array{Float64,2} -\> Array{Float64,1}](https://discourse.julialang.org/t/array-float64-2-array-float64-1/45979)

<div class="topic-metadata">

**Author:** [@Jhall7529](https://discourse.julialang.org/u/Jhall7529)\
**Replies:** 5\
**Last updated:** [September 4, 2020, 12:48pm UTC](https://discourse.julialang.org/t/array-float64-2-array-float64-1/45979 "2020-09-04T12:48:41Z")

</div>

When indexing an Array{Float64,2} julia\> A = ones(1,5) 1×5 Array{Float64,2}: 1.0 1.0 1.0 1.0 1.0 julia\> A\[1,2:5\] 4-element Array{Float64,1}: 1.0 1.0 1.0 1.0 Why am I being given an Array{Float64,1}? I’m ex…

---

## ["Python is undoubtedly faster in helping programmers express their concept in fewer lines of code"](https://discourse.julialang.org/t/python-is-undoubtedly-faster-in-helping-programmers-express-their-concept-in-fewer-lines-of-code/45872)

<div class="topic-metadata">

**Author:** [@DaymondLing](https://discourse.julialang.org/u/DaymondLing)\
**Replies:** 27\
**Last updated:** [September 4, 2020, 12:48pm UTC](https://discourse.julialang.org/t/python-is-undoubtedly-faster-in-helping-programmers-express-their-concept-in-fewer-lines-of-code/45872 "2020-09-04T12:48:30Z")

</div>

Julia vs Python: Which is best for Data Science? | TechGig says “Python is undoubtedly faster in helping programmers express their concept in fewer lines of code”. Really? I find Julia can express mathematical ideas ve…

---

## [@show\_code macro](https://discourse.julialang.org/t/show-code-macro/46050)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 11:50am UTC](https://discourse.julialang.org/t/show-code-macro/46050 "2020-09-04T11:50:45Z")

</div>

Hey :slight\_smile: Is there a @show\_code yet? e.g.: julia\> @show\_code sqrt(1+1) sqrt(1+1) in Main at REPL\[10\]:1 In file.jl 1: 2:@show\_code sqrt(1+1) 3: after running returns: sqrt(1+1) in file.jl:2 So I can do: …

---

## [Fetch value stored in a File or FileTree node on Windows 10](https://discourse.julialang.org/t/fetch-value-stored-in-a-file-or-filetree-node-on-windows-10/46045)

<div class="topic-metadata">

**Author:** [@evad](https://discourse.julialang.org/u/evad)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 8:26am UTC](https://discourse.julialang.org/t/fetch-value-stored-in-a-file-or-filetree-node-on-windows-10/46045 "2020-09-04T08:26:29Z")

</div>

I have stored a dataframe in the following file node. But can’t retrieve it using the get function. What did I do wrong? thanks

---

## [3D Quiver Plot and animation](https://discourse.julialang.org/t/3d-quiver-plot-and-animation/44645)

<div class="topic-metadata">

**Author:** [@sriharitn](https://discourse.julialang.org/u/sriharitn)\
**Replies:** 5\
**Last updated:** [September 4, 2020, 8:47am UTC](https://discourse.julialang.org/t/3d-quiver-plot-and-animation/44645 "2020-09-04T08:47:17Z")

</div>

I’m trying to plot 3D Quiver plot with Julia Plots package, it appears that Plots still does not support 3D Quiver. so I’m trying to see if there are any other packages such as PyPlot that has the facility to plot 3D Qui…

---

## [Find dependent variables as GenericAffExpr](https://discourse.julialang.org/t/find-dependent-variables-as-genericaffexpr/46009)

<div class="topic-metadata">

**Author:** [@umbe](https://discourse.julialang.org/u/umbe)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 7:56am UTC](https://discourse.julialang.org/t/find-dependent-variables-as-genericaffexpr/46009 "2020-09-04T07:56:27Z")

</div>

Hi everybody! I’m trying to find a way to obtain the dependent variables of a nonlinear system as GenericAffExpr, expressed as a function only of the independent variables of an optimization problem. To be more precise…

---

## [Julia hangs while displaying an SMatrix](https://discourse.julialang.org/t/julia-hangs-while-displaying-an-smatrix/45918)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [September 4, 2020, 7:37am UTC](https://discourse.julialang.org/t/julia-hangs-while-displaying-an-smatrix/45918 "2020-09-04T07:37:29Z")

</div>

The following code hangs on Windows 10 and Julia 1.5.0 on two different computers: using StaticArrays struct Points{N,T\<:Number} p::SMatrix{3,N,T} end Points(x::Matrix{T}) where {T} = Points{size(x,2),T}(x) points…

---

## [Error when installing registry](https://discourse.julialang.org/t/error-when-installing-registry/45999)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 5\
**Last updated:** [September 4, 2020, 6:13am UTC](https://discourse.julialang.org/t/error-when-installing-registry/45999 "2020-09-04T06:13:22Z")

</div>

When you did the update, the following alert is displayed :. pkg\>up Installing known registries into C:\\Users\\hermesr\\.julia ERROR: SystemError: opening file “C:\\Users\\hermesr\\.julia\\registries\\General\\Registry.toml”:…

---

## [How to use cases in docstring math mode?](https://discourse.julialang.org/t/how-to-use-cases-in-docstring-math-mode/46039)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 5:36am UTC](https://discourse.julialang.org/t/how-to-use-cases-in-docstring-math-mode/46039 "2020-09-04T05:36:03Z")

</div>

I am using Documenter.jl to generate the documentation, and would like to use \\cases to define piecewise functions. Currently I am adding the equation to the docstring. Something like this doesn’t seem to render as latex…

---

## [How to prevent memory build-up?](https://discourse.julialang.org/t/how-to-prevent-memory-build-up/45929)

<div class="topic-metadata">

**Author:** [@adevaucorbeil](https://discourse.julialang.org/u/adevaucorbeil)\
**Replies:** 11\
**Last updated:** [September 4, 2020, 1:42am UTC](https://discourse.julialang.org/t/how-to-prevent-memory-build-up/45929 "2020-09-04T01:42:01Z")

</div>

Hi there, I have a complex modeling code that involves a while loop which could be run a million times. In this loop, there are many, but some no-so complex mathematical operations involving SVectors and Arrays of SVect…

---

## [Error evaluating sparse, analytical Jacobian from ModelingToolkit in DAE system](https://discourse.julialang.org/t/error-evaluating-sparse-analytical-jacobian-from-modelingtoolkit-in-dae-system/45764)

<div class="topic-metadata">

**Author:** [@DAEhelp](https://discourse.julialang.org/u/DAEhelp)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 1:30am UTC](https://discourse.julialang.org/t/error-evaluating-sparse-analytical-jacobian-from-modelingtoolkit-in-dae-system/45764 "2020-09-04T01:30:25Z")

</div>

I am having trouble with taking a sparse, analytical Jacobian generated in ModelingToolkit and passing it to my Sundials IDA solver. Here is an MWE adapted from a previous question. Running this segment of code with a p…

---

## [Config information in Project.toml](https://discourse.julialang.org/t/config-information-in-project-toml/46016)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 3\
**Last updated:** [September 4, 2020, 12:14am UTC](https://discourse.julialang.org/t/config-information-in-project-toml/46016 "2020-09-04T00:14:53Z")

</div>

Is it reasonable / possible to put config information in Project.toml? For instance, my\_app\_port = 8889. Are there facilities for parsing them? Or am I simply better off using environment variables somehow?

---

## [Can't catch InitErrors?](https://discourse.julialang.org/t/cant-catch-initerrors/46033)

<div class="topic-metadata">

**Author:** [@jwveysey](https://discourse.julialang.org/u/jwveysey)\
**Replies:** 0\
**Last updated:** [September 3, 2020, 11:35pm UTC](https://discourse.julialang.org/t/cant-catch-initerrors/46033 "2020-09-03T23:35:01Z")

</div>

There’s probably an obvious answer to this question, but I can’t seem to find it. I have a package that loads another package with a using statement. The package that’s loaded has an init function that may error, so I’ve…

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

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