# Latest

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

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

**Page:** 1558

---

## [Using Plots, pgfplotsx(), multi-line ylabel?](https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 8:16pm UTC](https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140 "2020-12-02T20:16:29Z")

</div>

For some reason using “\\n” has not worked for me? Could anyone show me a way of doing it? Kind regards

---

## [Why is \`depwarn=no\` by default?](https://discourse.julialang.org/t/why-is-depwarn-no-by-default/51094)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 11\
**Last updated:** [December 2, 2020, 7:49pm UTC](https://discourse.julialang.org/t/why-is-depwarn-no-by-default/51094 "2020-12-02T19:49:51Z")

</div>

This is reported as a change in Julia 1.5. I wonder what motivated it, since deprecation warnings are so useful to adapt your code to suggested good practice, and anticipate future breaking changes.

---

## [Older builds](https://discourse.julialang.org/t/older-builds/51100)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 4\
**Last updated:** [December 2, 2020, 7:40pm UTC](https://discourse.julialang.org/t/older-builds/51100 "2020-12-02T19:40:01Z")

</div>

Hi All, I will be interested to know if the older binaries are archived anywhere to be downloaded and tested for debugging purposes. I find it useful to see if there is any feature that has changed or there has been any…

---

## [Unable to register package: ErrorException("type User has no field login")](https://discourse.julialang.org/t/unable-to-register-package-errorexception-type-user-has-no-field-login/51138)

<div class="topic-metadata">

**Author:** [@Volker\_Weissmann](https://discourse.julialang.org/u/Volker_Weissmann)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 6:20pm UTC](https://discourse.julialang.org/t/unable-to-register-package-errorexception-type-user-has-no-field-login/51138 "2020-12-02T18:20:58Z")

</div>

When I try to use the Registrator, I get the error message: ErrorException("type User has no field login") See the screenshot below:

---

## [\[SOLVED\] Usage of CSV.read recently deprecated?](https://discourse.julialang.org/t/solved-usage-of-csv-read-recently-deprecated/51129)

<div class="topic-metadata">

**Author:** [@danilo-bc](https://discourse.julialang.org/u/danilo-bc)\
**Replies:** 8\
**Last updated:** [December 2, 2020, 5:57pm UTC](https://discourse.julialang.org/t/solved-usage-of-csv-read-recently-deprecated/51129 "2020-12-02T17:57:55Z")

</div>

In 1 week, I used the following lines: using CSV: read In\_vec = read(in\_vec\_file,header=false); In\_vec = In\_vec\[1\] #turn into usable Julia vector They would return me an Array{Float64,1} of the size of my file.…

---

## [Extracting Fourier Coefficients of an arbitrary periodic signal?](https://discourse.julialang.org/t/extracting-fourier-coefficients-of-an-arbitrary-periodic-signal/51036)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 8\
**Last updated:** [December 2, 2020, 4:57pm UTC](https://discourse.julialang.org/t/extracting-fourier-coefficients-of-an-arbitrary-periodic-signal/51036 "2020-12-02T16:57:53Z")

</div>

Hello! Does a package exist in Julia which takes a signal and return the Fourier Coefficients needed to approximate this signal? Kind regards

---

## [PostDoc Position at INRIA Sophia Antipolis](https://discourse.julialang.org/t/postdoc-position-at-inria-sophia-antipolis/51128)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 4:57pm UTC](https://discourse.julialang.org/t/postdoc-position-at-inria-sophia-antipolis/51128 "2020-12-02T16:57:14Z")

</div>

At INRIA Sophia Antipolis Méditerranée, we are looking for a postdoc interested in applying algorithmic techniques to the problem of compressing artificial neural networks and related problems. Example themes are: compr…

---

## [Reinterpreting a matrix view?](https://discourse.julialang.org/t/reinterpreting-a-matrix-view/51069)

<div class="topic-metadata">

**Author:** [@cgeoga](https://discourse.julialang.org/u/cgeoga)\
**Replies:** 4\
**Last updated:** [December 2, 2020, 4:55pm UTC](https://discourse.julialang.org/t/reinterpreting-a-matrix-view/51069 "2020-12-02T16:55:48Z")

</div>

Hi all. I have a use case where I make a large memory buffer for a matrix, but I will regularly want to take a slightly smaller sub-array of it. Views are great, particularly for version 1.5+, but I’m wondering what happ…

---

## [How to use higher-order functions in Julia properly?](https://discourse.julialang.org/t/how-to-use-higher-order-functions-in-julia-properly/51101)

<div class="topic-metadata">

**Author:** [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Replies:** 5\
**Last updated:** [December 2, 2020, 4:46pm UTC](https://discourse.julialang.org/t/how-to-use-higher-order-functions-in-julia-properly/51101 "2020-12-02T16:46:27Z")

</div>

As was pointed out by Steven G. Johnson, higher-order functions are great part of Julia language (topic for another big discusion) and often much more suitable to solve problems that metaprogramming tools, which are for …

---

## [Complex numbers introduction using Julia ...and a Pluto notebook](https://discourse.julialang.org/t/complex-numbers-introduction-using-julia-and-a-pluto-notebook/50693)

<div class="topic-metadata">

**Author:** [@forestacorn](https://discourse.julialang.org/u/forestacorn)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 3:59pm UTC](https://discourse.julialang.org/t/complex-numbers-introduction-using-julia-and-a-pluto-notebook/50693 "2020-12-02T15:59:03Z")

</div>

This introductory video by Juan Klopper may be of interest to some: Complex numbers introduction using Julia And nicely demonstrates the use of a Pluto notebook along the way.

---

## [Rectangle using pyplot vs. gr?](https://discourse.julialang.org/t/rectangle-using-pyplot-vs-gr/51117)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 2:28pm UTC](https://discourse.julialang.org/t/rectangle-using-pyplot-vs-gr/51117 "2020-12-02T14:28:29Z")

</div>

Using pyplot as backend, the following draws a rectangle: pyplot() plot(\[(1,1),(5,1),(5,3),(1,3),(1,1)\]) while if I change pyplot() to gr(), a partial rectangle is drawn, and then an error message is generated: GKS: Re…

---

## [Silence \`const\` re-definition warning](https://discourse.julialang.org/t/silence-const-re-definition-warning/51095)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 7\
**Last updated:** [December 2, 2020, 2:00pm UTC](https://discourse.julialang.org/t/silence-const-re-definition-warning/51095 "2020-12-02T14:00:45Z")

</div>

Is there a way to silence the const re-definition warning? julia\> const x = 2 2 julia\> x = 3 WARNING: redefinition of constant x. This may fail, cause incorrect answers, or produce other errors. 3 Maybe a macro, like: …

---

## [X++ operator](https://discourse.julialang.org/t/x-operator/51066)

<div class="topic-metadata">

**Author:** [@marllos](https://discourse.julialang.org/u/marllos)\
**Replies:** 12\
**Last updated:** [December 2, 2020, 1:59pm UTC](https://discourse.julialang.org/t/x-operator/51066 "2020-12-02T13:59:11Z")

</div>

Are there plans to implement an operator like x++? Can it be created by the user? Thanks.

---

## [Using ... uses outdated Package](https://discourse.julialang.org/t/using-uses-outdated-package/51111)

<div class="topic-metadata">

**Author:** [@Volker\_Weissmann](https://discourse.julialang.org/u/Volker_Weissmann)\
**Replies:** 1\
**Last updated:** [December 2, 2020, 1:09pm UTC](https://discourse.julialang.org/t/using-uses-outdated-package/51111 "2020-12-02T13:09:11Z")

</div>

Why does @which set\_cache\_path("arg") find something in the following example? \[volker@battle SimpleCache\]$ cat src/SimpleCache.jl module SimpleCache end # module \[volker@battle SimpleCache\]$ julia \_ …

---

## [Question about Javis.jl](https://discourse.julialang.org/t/question-about-javis-jl/50811)

<div class="topic-metadata">

**Author:** [@adeil](https://discourse.julialang.org/u/adeil)\
**Replies:** 31\
**Last updated:** [December 2, 2020, 12:21pm UTC](https://discourse.julialang.org/t/question-about-javis-jl/50811 "2020-12-02T12:21:08Z")

</div>

Hello, @sudomaze I’m following tutorial 1: Making Your First Javis Animation. However, I do not understand this error warning. myvideo = Video(500,500) Background(1:70, ground) red\_ball = Object(1:70, (args...) -\> objec…

---

## [Struct syntax](https://discourse.julialang.org/t/struct-syntax/51099)

<div class="topic-metadata">

**Author:** [@j2b2](https://discourse.julialang.org/u/j2b2)\
**Replies:** 5\
**Last updated:** [December 2, 2020, 11:05am UTC](https://discourse.julialang.org/t/struct-syntax/51099 "2020-12-02T11:05:06Z")

</div>

Hi, I wonder why line breaks are required when defining fields of a structure, and where this is documented: julia\> struct S a b end julia\> struct S a b end ERROR: syntax: extra token "b" after en…

---

## [JuliaPro-1.5.3-1\_build-142.sh does not run in my Linux Mint](https://discourse.julialang.org/t/juliapro-1-5-3-1-build-142-sh-does-not-run-in-my-linux-mint/51103)

<div class="topic-metadata">

**Author:** [@redceglow](https://discourse.julialang.org/u/redceglow)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 10:48am UTC](https://discourse.julialang.org/t/juliapro-1-5-3-1-build-142-sh-does-not-run-in-my-linux-mint/51103 "2020-12-02T10:48:08Z")

</div>

Hi, I’ve previously worked with Julia using the Juno IDE on Windows. I’ve migrated one laptop to Linux Mint and ensured devices and apps are up to date. I have installed Julia and it runs in the terminal. In followin…

---

## [How to use the CSV.read? error "provide a valid sink argument"](https://discourse.julialang.org/t/how-to-use-the-csv-read-error-provide-a-valid-sink-argument/51076)

<div class="topic-metadata">

**Author:** [@Marc\_Hillocks](https://discourse.julialang.org/u/Marc_Hillocks)\
**Replies:** 10\
**Last updated:** [December 2, 2020, 10:15am UTC](https://discourse.julialang.org/t/how-to-use-the-csv-read-error-provide-a-valid-sink-argument/51076 "2020-12-02T10:15:08Z")

</div>

Hey everyone, I’m trying to use the CSV.read method, however I keep getting the argument “provide a valid sink argument”. I’ve tried putting in the path to my csv file I’m trying to load, but it still doesn’t work. The c…

---

## [Using Julia to solve the student final project allocation problem](https://discourse.julialang.org/t/using-julia-to-solve-the-student-final-project-allocation-problem/51019)

<div class="topic-metadata">

**Author:** [@sui](https://discourse.julialang.org/u/sui)\
**Replies:** 7\
**Last updated:** [December 2, 2020, 8:56am UTC](https://discourse.julialang.org/t/using-julia-to-solve-the-student-final-project-allocation-problem/51019 "2020-12-02T08:56:26Z")

</div>

I am doing a project that I have to use Julia code to solve a student’s final project allocation problem. I am kind of new to this kind of coding and new for Julia. I need some help with this. Start with the problem, I …

---

## [Named tuples - construction, unpacking](https://discourse.julialang.org/t/named-tuples-construction-unpacking/51074)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 8:13am UTC](https://discourse.julialang.org/t/named-tuples-construction-unpacking/51074 "2020-12-02T08:13:45Z")

</div>

I stumbled by accident upon the fact that you can create a named tuple by naming one or more of the elements, not all of them. At least, it seems, as long as the un-named elements are given by existing variables: julia\> …

---

## [Name of dataframe column created by function](https://discourse.julialang.org/t/name-of-dataframe-column-created-by-function/51058)

<div class="topic-metadata">

**Author:** [@jo-fleck](https://discourse.julialang.org/u/jo-fleck)\
**Replies:** 5\
**Last updated:** [December 2, 2020, 7:10am UTC](https://discourse.julialang.org/t/name-of-dataframe-column-created-by-function/51058 "2020-12-02T07:10:08Z")

</div>

I am computing weighted means of subgroups using the groupby and transform approach. See below for an illustration. My understanding is that the new name is sourcevar1\_sourcevar2\_function because the weighted mean funct…

---

## [Question on parallel code](https://discourse.julialang.org/t/question-on-parallel-code/51060)

<div class="topic-metadata">

**Author:** [@stebett](https://discourse.julialang.org/u/stebett)\
**Replies:** 7\
**Last updated:** [December 2, 2020, 6:49am UTC](https://discourse.julialang.org/t/question-on-parallel-code/51060 "2020-12-02T06:49:04Z")

</div>

Hi all, I’m trying to parallelize a simulation, but it takes just a little less than the serial version, would somebody be able to suggest me what I’m doing wrong? function noise\_vs\_hebb(hebb\_range, noise\_range, seed=se…

---

## [Recommended transition to LazyArtifacts](https://discourse.julialang.org/t/recommended-transition-to-lazyartifacts/50870)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 3\
**Last updated:** [December 2, 2020, 3:55am UTC](https://discourse.julialang.org/t/recommended-transition-to-lazyartifacts/50870 "2020-12-02T03:55:16Z")

</div>

Is there a recommended path for packages that use Artifacts to transition from using Pkg.Artifacts to using LazyArtifacts I’m a bit confused about how to modify Project.toml so that it works with both the 1.5 and 1.6…

---

## [How to prevent plot! from over-writing earlier saved plot](https://discourse.julialang.org/t/how-to-prevent-plot-from-over-writing-earlier-saved-plot/51072)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 3:40am UTC](https://discourse.julialang.org/t/how-to-prevent-plot-from-over-writing-earlier-saved-plot/51072 "2020-12-02T03:40:14Z")

</div>

Hi, I’ve asked this as part of an earlier question, but no resolution yet. In my program, I have this contour plot extracted from data after many hours of execution, and I have to add new data on top of the contour plo…

---

## [CoolProp fluid property database reinforces its availability for Julia users](https://discourse.julialang.org/t/coolprop-fluid-property-database-reinforces-its-availability-for-julia-users/1325)

<div class="topic-metadata">

**Author:** [@DANA-Laboratory](https://discourse.julialang.org/u/DANA-Laboratory)\
**Replies:** 27\
**Last updated:** [December 2, 2020, 3:38am UTC](https://discourse.julialang.org/t/coolprop-fluid-property-database-reinforces-its-availability-for-julia-users/1325 "2020-12-02T03:38:03Z")

</div>

CoolProp, Is an open-source, cross-platform, reference-quality fluid property database that mirrors many of the functionalities of REFPROP. The codebase is written in C++ and wrappers are available for Python and C#. A …

---

## [Package to solve the Maxey-Riley equation with Basset history term](https://discourse.julialang.org/t/package-to-solve-the-maxey-riley-equation-with-basset-history-term/51079)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 0\
**Last updated:** [December 2, 2020, 2:44am UTC](https://discourse.julialang.org/t/package-to-solve-the-maxey-riley-equation-with-basset-history-term/51079 "2020-12-02T02:44:18Z")

</div>

Hello, Is there a Julia package to solve the Maxey-Riley equation (equation (1) of this paper https://arxiv.org/pdf/1310.2450.pdf), that governs the motion of a small sphere immersed in a fluid. This equation is a secon…

---

## [How to plot an array of plots?](https://discourse.julialang.org/t/how-to-plot-an-array-of-plots/51078)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 2:33am UTC](https://discourse.julialang.org/t/how-to-plot-an-array-of-plots/51078 "2020-12-02T02:33:51Z")

</div>

I am trying to just plot a bunch of heatmaps in a script, but am not seeing the expected performance. p1 = Plots.heatmap(rand(256,256)) p2 = Plots.heatmap(rand(256,256)) p3 = Plots.heatmap(rand(256,256)) p4 = Plots.heat…

---

## [Where is the file location](https://discourse.julialang.org/t/where-is-the-file-location/50674)

<div class="topic-metadata">

**Author:** [@baddate](https://discourse.julialang.org/u/baddate)\
**Replies:** 4\
**Last updated:** [December 2, 2020, 1:55am UTC](https://discourse.julialang.org/t/where-is-the-file-location/50674 "2020-12-02T01:55:27Z")

</div>

if i created a file in julia REPL, where to find it?

---

## [Local sensitivities via ForwardSensitivity from DifferentialEquations in optimization with AD](https://discourse.julialang.org/t/local-sensitivities-via-forwardsensitivity-from-differentialequations-in-optimization-with-ad/50286)

<div class="topic-metadata">

**Author:** [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Replies:** 2\
**Last updated:** [December 2, 2020, 1:47am UTC](https://discourse.julialang.org/t/local-sensitivities-via-forwardsensitivity-from-differentialequations-in-optimization-with-ad/50286 "2020-12-02T01:47:24Z")

</div>

I am trying to optimize local sensitivities of an ode problem using ODEForwardSensitivityProblem from the DifferentialEquations suite, but the last line throws a TypeError. I am using forward sensitivites as the ode sys…

---

## [Proper way to concatenate higher-dimensional arrays?](https://discourse.julialang.org/t/proper-way-to-concatenate-higher-dimensional-arrays/50927)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 23\
**Last updated:** [December 2, 2020, 12:49am UTC](https://discourse.julialang.org/t/proper-way-to-concatenate-higher-dimensional-arrays/50927 "2020-12-02T00:49:39Z")

</div>

Hi all, I’m extending data arrays from 2 dimensions to 4 dimensions, and I want to make sure that the concatenation is doing what I think it’s doing. Previously, I used command loops like: DatArr = Array{Float64,2}(unde…

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

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