# Latest

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

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

**Page:** 1509

---

## [VSCode & Distributed](https://discourse.julialang.org/t/vscode-distributed/54216)

<div class="topic-metadata">

**Author:** [@smogendrr](https://discourse.julialang.org/u/smogendrr)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 7:21pm UTC](https://discourse.julialang.org/t/vscode-distributed/54216 "2021-01-29T19:21:17Z")

</div>

Hello, everyone! All executions of REPL or Debugger in VSCode crashes, then i add “-p 2” argument to julia.additionalArgs in Julia extension settings in VSCode. ┌ Info: waiting for lock on pidfile └ path = "C:\\\\User…

---

## [USDAQuickStats 0.2.0](https://discourse.julialang.org/t/usdaquickstats-0-2-0/54213)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 6:59pm UTC](https://discourse.julialang.org/t/usdaquickstats-0-2-0/54213 "2021-01-29T18:59:08Z")

</div>

It’s been out for a while but I recently did some refactoring to remove a lot of the IO dependencies that should be handled by the user. After that, I’m pretty happy to publicly announce my package USDAQuickStats.jl . T…

---

## [Why this happens on Windows:\`\`\`julia&gt; run(\`echo hello\`)ERROR: IOError: could](https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 6:49pm UTC](https://discourse.julialang.org/t/why-this-happens-on-windows-julia-gt-run-echo-hello-error-ioerror-could/54209 "2021-01-29T18:49:35Z")

</div>

Why this happens on Windows: julia&gt; run(\`echo hello\`) ERROR: IOError: could not spawn \`echo hello\`: no such file or directory (ENOENT) (Original message :slack:)

---

## [I have a DataFrame with multiple columns of type Union{Missing, String}. What is the most concise manner of converting the non-missing values in Float?](https://discourse.julialang.org/t/i-have-a-dataframe-with-multiple-columns-of-type-union-missing-string-what-is-the-most-concise-manner-of-converting-the-non-missing-values-in-float/54205)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 6:44pm UTC](https://discourse.julialang.org/t/i-have-a-dataframe-with-multiple-columns-of-type-union-missing-string-what-is-the-most-concise-manner-of-converting-the-non-missing-values-in-float/54205 "2021-01-29T18:44:03Z")

</div>

Hi! I have a DataFrame with multiple columns of type Union{Missing, String}. What is the most concise manner of converting the non-missing values in Float? (Original message :slack:)

---

## [Is it possible to delete a row or column from a multi-dimensional array in-place?](https://discourse.julialang.org/t/is-it-possible-to-delete-a-row-or-column-from-a-multi-dimensional-array-in-place/54182)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 6:23pm UTC](https://discourse.julialang.org/t/is-it-possible-to-delete-a-row-or-column-from-a-multi-dimensional-array-in-place/54182 "2021-01-29T18:23:29Z")

</div>

Hey guys, is it possible to delete a row or column from a multi-dimensional array (say a matrix) “in-place”? Somewhat similar to what deleteat! does for vectors. I guess the answer is no but I thought I’d ask (and test o…

---

## [Hello got a quick question.. I am using \`walkdir\` to scan the file system for file](https://discourse.julialang.org/t/hello-got-a-quick-question-i-am-using-walkdir-to-scan-the-file-system-for-file/54194)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 5:07pm UTC](https://discourse.julialang.org/t/hello-got-a-quick-question-i-am-using-walkdir-to-scan-the-file-system-for-file/54194 "2021-01-29T17:07:46Z")

</div>

I am using walkdir to scan the file system for files. I am running into an error where everything craps the bed at the first sign of a file that has too high of permissions. I see that walkdir accepts onerror=throws. Wha…

---

## [Looking for programming/computing internship with julia starting from Apr. 2021](https://discourse.julialang.org/t/looking-for-programming-computing-internship-with-julia-starting-from-apr-2021/54193)

<div class="topic-metadata">

**Author:** [@EuRoXy](https://discourse.julialang.org/u/EuRoXy)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 4:46pm UTC](https://discourse.julialang.org/t/looking-for-programming-computing-internship-with-julia-starting-from-apr-2021/54193 "2021-01-29T16:46:57Z")

</div>

Dear Julians, I am actively looking for a programming/computing internship after my MSc thesis, preferably in Julia, but also other languages such as Python, R, MATLAB, JavaScript, HTML/CSS etc. I am also ready to learn…

---

## [MethodError: no method matching isless(::Int64, ::Array{UnitRange{Int64},1})](https://discourse.julialang.org/t/methoderror-no-method-matching-isless-int64-array-unitrange-int64-1/53970)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 20\
**Last updated:** [January 29, 2021, 4:45pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-isless-int64-array-unitrange-int64-1/53970 "2021-01-29T16:45:43Z")

</div>

Hi I am a newbie to JuMP(Julia) and coding too, I am currently computing the following constraints in code below however, it is returning the following error and I am not exactly sure how to solve and I do not understan…

---

## [One colorbar for all subplots using cartopy mapping via PyCall](https://discourse.julialang.org/t/one-colorbar-for-all-subplots-using-cartopy-mapping-via-pycall/54134)

<div class="topic-metadata">

**Author:** [@EuRoXy](https://discourse.julialang.org/u/EuRoXy)\
**Replies:** 6\
**Last updated:** [January 29, 2021, 4:16pm UTC](https://discourse.julialang.org/t/one-colorbar-for-all-subplots-using-cartopy-mapping-via-pycall/54134 "2021-01-29T16:16:04Z")

</div>

I try to generate a shared colorbar for several subplots using cartopy via PyCall and PyPlot but haven’t succeeded. Here’s a minimal code example with separate colorbars: using PyCall, PyPlot plt = pyimport("matplotlib…

---

## [Packages for Drawing and Graphics](https://discourse.julialang.org/t/packages-for-drawing-and-graphics/54153)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 14\
**Last updated:** [January 29, 2021, 4:14pm UTC](https://discourse.julialang.org/t/packages-for-drawing-and-graphics/54153 "2021-01-29T16:14:12Z")

</div>

What packages do I use for graphics? I found Cairo.jl and Graphics.jl the latter says it uses the former as a backend, but Graphics.jl is missing a lot of docstrings and looks abandoned.

---

## [A nice explanation of memory stack vs. heap](https://discourse.julialang.org/t/a-nice-explanation-of-memory-stack-vs-heap/53915)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 11\
**Last updated:** [January 29, 2021, 3:54pm UTC](https://discourse.julialang.org/t/a-nice-explanation-of-memory-stack-vs-heap/53915 "2021-01-29T15:54:00Z")

</div>

This is from the Rust Book: Both the stack and the heap are parts of memory that are available to your code to use at runtime, but they are structured in different ways. The stack stores values in the order it gets the…

---

## [How to plot mnist of kaggle data?](https://discourse.julialang.org/t/how-to-plot-mnist-of-kaggle-data/54188)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 3:27pm UTC](https://discourse.julialang.org/t/how-to-plot-mnist-of-kaggle-data/54188 "2021-01-29T15:27:49Z")

</div>

whenever i try to plot mnist dataset it plot tilt… why? 28 \* 28 pixel I’m reshape here my code link https://drive.google.com/file/d/1qH4rKO3LbgB4L1lMqHBBr4NmTXurDV2B/view?usp=sharing

---

## [Julia Language Server won't start](https://discourse.julialang.org/t/julia-language-server-wont-start/50456)

<div class="topic-metadata">

**Author:** [@colebrookson](https://discourse.julialang.org/u/colebrookson)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 1:08pm UTC](https://discourse.julialang.org/t/julia-language-server-wont-start/50456 "2021-01-29T13:08:11Z")

</div>

I’m new to VSCode, just moving my Julia work over from Juno. I’m having trouble getting the Julia extension to work on Windows 10. When I install the extension, I have the executable path set up, and I select inline res…

---

## [Make transparent square in Gadfly](https://discourse.julialang.org/t/make-transparent-square-in-gadfly/54116)

<div class="topic-metadata">

**Author:** [@fredih](https://discourse.julialang.org/u/fredih)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 12:54pm UTC](https://discourse.julialang.org/t/make-transparent-square-in-gadfly/54116 "2021-01-29T12:54:07Z")

</div>

I want to plot a transparent square over certain time ranges in the Gantt chart @Mattriks created here. It looks like this: And I want it to look somtehing like this: How could I do it?

---

## [Overloading \`Base.getproperty\` performance](https://discourse.julialang.org/t/overloading-base-getproperty-performance/54178)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 12:23pm UTC](https://discourse.julialang.org/t/overloading-base-getproperty-performance/54178 "2021-01-29T12:23:05Z")

</div>

Inspired by this post I wanted to add extra properties to my type, but noted a significant performance hit: julia\> using BenchmarkTools julia\> struct AType{T} data::T end julia\> struct BType{T} …

---

## [Different Results When Saving Plots as png or pdf](https://discourse.julialang.org/t/different-results-when-saving-plots-as-png-or-pdf/54169)

<div class="topic-metadata">

**Author:** [@fermion4](https://discourse.julialang.org/u/fermion4)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 12:06pm UTC](https://discourse.julialang.org/t/different-results-when-saving-plots-as-png-or-pdf/54169 "2021-01-29T12:06:23Z")

</div>

I try to save my plots as pdf files for a publication. Before I used the png file format and everything worked as expected, as seen in the first figure. But when I use the same code and save my plots as a pdf or svg, fo…

---

## [What is the best workflow when juggling with many modules and files?](https://discourse.julialang.org/t/what-is-the-best-workflow-when-juggling-with-many-modules-and-files/54067)

<div class="topic-metadata">

**Author:** [@agatheLG](https://discourse.julialang.org/u/agatheLG)\
**Replies:** 13\
**Last updated:** [January 29, 2021, 11:50am UTC](https://discourse.julialang.org/t/what-is-the-best-workflow-when-juggling-with-many-modules-and-files/54067 "2021-01-29T11:50:09Z")

</div>

Hi, I’m a bit unsure about what would be the best way to import a module with using. I understand, looking throught past julia topics, that if you want to import a local module, let’s say Users.jl, you should do include(…

---

## [Vscode and Julia 1.5.3 - stetup](https://discourse.julialang.org/t/vscode-and-julia-1-5-3-stetup/54168)

<div class="topic-metadata">

**Author:** [@Peter-Jolly](https://discourse.julialang.org/u/Peter-Jolly)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 11:17am UTC](https://discourse.julialang.org/t/vscode-and-julia-1-5-3-stetup/54168 "2021-01-29T11:17:41Z")

</div>

I am having a difficult time to get Vscode to work with Julia 1.5.3 after I upgraded from Julia 1.5.2. I am sure it is due to my settings but I cannot find examples of how to fix. When I start Vscode now I cannot run any…

---

## [Importance of offset](https://discourse.julialang.org/t/importance-of-offset/54170)

<div class="topic-metadata">

**Author:** [@Ruchitha\_Kumar](https://discourse.julialang.org/u/Ruchitha_Kumar)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 10:54am UTC](https://discourse.julialang.org/t/importance-of-offset/54170 "2021-01-29T10:54:07Z")

</div>

What does the offset 20 signify in the below code? using ModelingToolkit @variables x y z @parameters a b c ----Define a nonlinear system eqs = \[0 ~ - y - (z+20), 0 ~ x + a \* y, 0 ~ b + (z+20) \* (x - c)\] ns = Non…

---

## [Debugger with CSV read](https://discourse.julialang.org/t/debugger-with-csv-read/54172)

<div class="topic-metadata">

**Author:** [@LinasBa](https://discourse.julialang.org/u/LinasBa)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 10:25am UTC](https://discourse.julialang.org/t/debugger-with-csv-read/54172 "2021-01-29T10:25:22Z")

</div>

Can’t debug code calling CSV.read, without debugging it runs fine. using CSV, DataFrames function main() df = CSV.read("outputs/test.csv", DataFrame; header=false) println(df) end julia\> include("test.jl") mai…

---

## [Obtaining variable scalar coefficients in objective](https://discourse.julialang.org/t/obtaining-variable-scalar-coefficients-in-objective/54128)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 7:59am UTC](https://discourse.julialang.org/t/obtaining-variable-scalar-coefficients-in-objective/54128 "2021-01-29T07:59:37Z")

</div>

Hello! I would like to extend NREL’s progressive hedging package to include a scaled penalty parameter, i.e. one which is proportional to the coefficients of the variable being penalised in the objective function. Long …

---

## [JuMP 0.21.6 released](https://discourse.julialang.org/t/jump-0-21-6-released/54161)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 5:10am UTC](https://discourse.julialang.org/t/jump-0-21-6-released/54161 "2021-01-29T05:10:20Z")

</div>

Dear all, We are pleased to announce the release of JuMP 0.21.6. You can find more information about the release on our blog: JuMP 0.21.6 is released | JuMP. The major change for most users is that we have over-hauled …

---

## [Gurobi how to get variable coefficients in constraints](https://discourse.julialang.org/t/gurobi-how-to-get-variable-coefficients-in-constraints/54150)

<div class="topic-metadata">

**Author:** [@rezabayani](https://discourse.julialang.org/u/rezabayani)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 3:51am UTC](https://discourse.julialang.org/t/gurobi-how-to-get-variable-coefficients-in-constraints/54150 "2021-01-29T03:51:56Z")

</div>

I am trying to extract the variable coefficients in a constraint. According to Gurobi documentation, https://www.gurobi.com/documentation/9.1/refman/py\_model\_getcoeff.html, the function Model.getCoeff() should do the tri…

---

## [Simple question lightgraphs and matrix representation](https://discourse.julialang.org/t/simple-question-lightgraphs-and-matrix-representation/54104)

<div class="topic-metadata">

**Author:** [@AlexanderChen](https://discourse.julialang.org/u/AlexanderChen)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 3:16am UTC](https://discourse.julialang.org/t/simple-question-lightgraphs-and-matrix-representation/54104 "2021-01-29T03:16:52Z")

</div>

hi, T8 = star\_graph(8) how do I use the LinAlg module to get the adjacency matrix of this graph? best,

---

## [Attempted to port an RL algorithm from PyTorch to Flux and it's 10x slower](https://discourse.julialang.org/t/attempted-to-port-an-rl-algorithm-from-pytorch-to-flux-and-its-10x-slower/54036)

<div class="topic-metadata">

**Author:** [@DevJac](https://discourse.julialang.org/u/DevJac)\
**Replies:** 17\
**Last updated:** [January 29, 2021, 2:08am UTC](https://discourse.julialang.org/t/attempted-to-port-an-rl-algorithm-from-pytorch-to-flux-and-its-10x-slower/54036 "2021-01-29T02:08:29Z")

</div>

I ported an algorithm described in the book Grokking Deep Reinforcement Learning (which I recommend if you’re a beginner to RL) from PyTorch to Julia. This algorithm is described in chapter 8 of the book, and it is meant…

---

## [An interesting video about compiling R](https://discourse.julialang.org/t/an-interesting-video-about-compiling-r/54148)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 11:35pm UTC](https://discourse.julialang.org/t/an-interesting-video-about-compiling-r/54148 "2021-01-28T23:35:56Z")

</div>

---

## [Query.jl - User-set missing values in data frames not removed by @dropna](https://discourse.julialang.org/t/query-jl-user-set-missing-values-in-data-frames-not-removed-by-dropna/54094)

<div class="topic-metadata">

**Author:** [@danvinci](https://discourse.julialang.org/u/danvinci)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 2:13pm UTC](https://discourse.julialang.org/t/query-jl-user-set-missing-values-in-data-frames-not-removed-by-dropna/54094 "2021-01-28T14:13:42Z")

</div>

Hi everyone! I’m new to Julia and trying to learn how to use the Query package with data frames, and this question/issue is specific to it. I’m running into the following issue: after importing some CSV data, I need t…

---

## [Launching and managing a webserver](https://discourse.julialang.org/t/launching-and-managing-a-webserver/54112)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 1\
**Last updated:** [January 28, 2021, 10:31pm UTC](https://discourse.julialang.org/t/launching-and-managing-a-webserver/54112 "2021-01-28T22:31:55Z")

</div>

Hi all, I have developped an app in Julia that will served by a webserver made of HTTP.jl functions. I want to use it in a production environment. It means at least: to start it properly, keep it running in the back…

---

## [New tools for reducing compiler latency](https://discourse.julialang.org/t/new-tools-for-reducing-compiler-latency/52882)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 7\
**Last updated:** [January 28, 2021, 10:26pm UTC](https://discourse.julialang.org/t/new-tools-for-reducing-compiler-latency/52882 "2021-01-28T22:26:34Z")

</div>

I’m pleased to announce the release of SnoopCompile 2.2.0, a major enhancement in the suite of tools for reducing “time to first plot.” This release provides considerably better insight into the costs of type inference, …

---

## [Three state variable](https://discourse.julialang.org/t/three-state-variable/53632)

<div class="topic-metadata">

**Author:** [@user1200](https://discourse.julialang.org/u/user1200)\
**Replies:** 10\
**Last updated:** [January 28, 2021, 9:56pm UTC](https://discourse.julialang.org/t/three-state-variable/53632 "2021-01-28T21:56:07Z")

</div>

Edit1: Sorry i found lens next to avatar ^^ Hello Please can I ask newbie q, i need to make signum variable from another variable. (tried things like type Int in variable type / sign function in constrains but get err…

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

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