# Latest

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

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

**Page:** 1985

---

## [ExcelReaders issue never happened before](https://discourse.julialang.org/t/excelreaders-issue-never-happened-before/24880)

<div class="topic-metadata">

**Author:** [@juliauser](https://discourse.julialang.org/u/juliauser)\
**Replies:** 5\
**Last updated:** [June 4, 2019, 2:18am UTC](https://discourse.julialang.org/t/excelreaders-issue-never-happened-before/24880 "2019-06-04T02:18:38Z")

</div>

Hi, I have used ExcelReaders.jl for a while without any problem. Few days ago it started showing the error “key open\_workbook not found”. I have always read files using readxlsheet(“data.xls”,“Sheet1”)

---

## [How do you move the ylabel away from the yaxis? Changing the margins doesn't help](https://discourse.julialang.org/t/how-do-you-move-the-ylabel-away-from-the-yaxis-changing-the-margins-doesnt-help/23710)

<div class="topic-metadata">

**Author:** [@Shea\_Fitzgerald](https://discourse.julialang.org/u/Shea_Fitzgerald)\
**Replies:** 1\
**Last updated:** [June 4, 2019, 2:14am UTC](https://discourse.julialang.org/t/how-do-you-move-the-ylabel-away-from-the-yaxis-changing-the-margins-doesnt-help/23710 "2019-06-04T02:14:14Z")

</div>

Here’s my sample: using Plots using Plots.PlotMeasures fo = font(18) gr(titlefont=fo, guidefont=fo, tickfont=fo, legendfont=fo, show = true, size=(700,200)) plot( plot(\[0.01,0.02,0.03,0.04\],label = L"\\sigma\_E") …

---

## [ANN: Strided.jl , a high-level dense array acceleration package](https://discourse.julialang.org/t/ann-strided-jl-a-high-level-dense-array-acceleration-package/16434)

<div class="topic-metadata">

**Author:** [@juthohaegeman](https://discourse.julialang.org/u/juthohaegeman)\
**Replies:** 17\
**Last updated:** [June 4, 2019, 1:26am UTC](https://discourse.julialang.org/t/ann-strided-jl-a-high-level-dense-array-acceleration-package/16434 "2019-06-04T01:26:40Z")

</div>

Dear Julia users, I have recently registered a package called Strided.jl that can speed up certain tasks with dense arrays. Its primary use is when you combine arrays whose memory layout is strided but with strides that…

---

## [Any Julia library for managing data series with automatic transformation](https://discourse.julialang.org/t/any-julia-library-for-managing-data-series-with-automatic-transformation/24818)

<div class="topic-metadata">

**Author:** [@nxtruong](https://discourse.julialang.org/u/nxtruong)\
**Replies:** 7\
**Last updated:** [June 3, 2019, 6:03pm UTC](https://discourse.julialang.org/t/any-julia-library-for-managing-data-series-with-automatic-transformation/24818 "2019-06-03T18:03:36Z")

</div>

I need to manage multiple data series (each is like a sequence of values, or a column in a data frame). Associated with each is an automatic transformation of the data in and out of the storage. For example, these can be…

---

## [Global scope: the meaning of the first-hit rule](https://discourse.julialang.org/t/global-scope-the-meaning-of-the-first-hit-rule/24845)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 12\
**Last updated:** [June 3, 2019, 5:15pm UTC](https://discourse.julialang.org/t/global-scope-the-meaning-of-the-first-hit-rule/24845 "2019-06-03T17:15:40Z")

</div>

I would like to figure out the following example: x = 1 for i in 1:3 x += 1 end println("x = $(x)") This fragment pasted into the repl fails, ERROR: UndefVarError: x not defined. I think the scoping rules are that…

---

## [How to read a gzipped HTTP response?](https://discourse.julialang.org/t/how-to-read-a-gzipped-http-response/24854)

<div class="topic-metadata">

**Author:** [@anon67531922](https://discourse.julialang.org/u/anon67531922)\
**Replies:** 4\
**Last updated:** [June 3, 2019, 4:31pm UTC](https://discourse.julialang.org/t/how-to-read-a-gzipped-http-response/24854 "2019-06-03T16:31:56Z")

</div>

Hi, I’m working with a third-party API and apparently Accept-Encoding: identity is not possible, so I am receiving a gzipped response body whether I like it or not. I’ve been looking at TranscodingStreams.jl for a whil…

---

## [Atom doesn't run called function correctly](https://discourse.julialang.org/t/atom-doesnt-run-called-function-correctly/24873)

<div class="topic-metadata">

**Author:** [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Replies:** 5\
**Last updated:** [June 3, 2019, 3:35pm UTC](https://discourse.julialang.org/t/atom-doesnt-run-called-function-correctly/24873 "2019-06-03T15:35:30Z")

</div>

I am trying to run JuliaMatrixBenchmark.jl and JuliaMatrixBenchmark0001.jl from the repository MatlabJuliaMatrixOperationsBenchmark, that I forked from an old repository for comparing MATLAB and Julia, and edited files t…

---

## [Mapping Vector{MyType} to a DataFrame](https://discourse.julialang.org/t/mapping-vector-mytype-to-a-dataframe/24797)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 13\
**Last updated:** [June 3, 2019, 3:24pm UTC](https://discourse.julialang.org/t/mapping-vector-mytype-to-a-dataframe/24797 "2019-06-03T15:24:57Z")

</div>

I have a vector with a custom type (struct). Suppose I want the data in a DataFrame. Can I do this more efficiently than below? (i.e. without copying data) Of course, I could generate a DataFrame in the beginning (inst…

---

## [Change float into color or change array of Floats into colormap](https://discourse.julialang.org/t/change-float-into-color-or-change-array-of-floats-into-colormap/24861)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 3:09pm UTC](https://discourse.julialang.org/t/change-float-into-color-or-change-array-of-floats-into-colormap/24861 "2019-06-03T15:09:40Z")

</div>

Hi, I want to change array of Floats(Calculated Values of Magnetic Induction) into colormap in cimgui app. I want something like this(matlab colormaps). I wrote simillar question here. I just thinked how to achieve this…

---

## [DifferentialEquations with nested functions + Callbacks](https://discourse.julialang.org/t/differentialequations-with-nested-functions-callbacks/24737)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 8\
**Last updated:** [June 3, 2019, 3:02pm UTC](https://discourse.julialang.org/t/differentialequations-with-nested-functions-callbacks/24737 "2019-06-03T15:02:14Z")

</div>

Hello, now that I (sort of) know how to calculate differential equations with nested functions I would like to learn how to use it with callbacks. Callbacks are used to run a differential equation to a certain point, cha…

---

## [Removing label from a contour plot](https://discourse.julialang.org/t/removing-label-from-a-contour-plot/24891)

<div class="topic-metadata">

**Author:** [@srb](https://discourse.julialang.org/u/srb)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 2:53pm UTC](https://discourse.julialang.org/t/removing-label-from-a-contour-plot/24891 "2019-06-03T14:53:35Z")

</div>

Hello, I am trying to remove the following labels from a contour plot, but I cannot find the attribute for it. This is the code to generate the plot: using Plots julia\> c(x,y) = x^2 + y^2 -1 c (generic function with 1…

---

## [Question about constant propagation and inference](https://discourse.julialang.org/t/question-about-constant-propagation-and-inference/24889)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 6\
**Last updated:** [June 3, 2019, 1:23pm UTC](https://discourse.julialang.org/t/question-about-constant-propagation-and-inference/24889 "2019-06-03T13:23:46Z")

</div>

I am puzzled by this julia\> test(flag) = flag ? 1.0 : 1 test (generic function with 2 methods) julia\> @code\_warntype test(true) Variables #self#::Core.Compiler.Const(test, false) flag::Bool Body::Union{Float64, In…

---

## [How to parallelize computation and plotting?](https://discourse.julialang.org/t/how-to-parallelize-computation-and-plotting/24746)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 7\
**Last updated:** [June 3, 2019, 1:11pm UTC](https://discourse.julialang.org/t/how-to-parallelize-computation-and-plotting/24746 "2019-06-03T13:11:58Z")

</div>

The title is a bit misleading, because I would like to get a sensor’s data and plot it immadiately (so not a result of simulation or something). I get the values via TCP connection (which I can setup and print the values…

---

## [Running Julia REPL in administrator mode on Windows automatically](https://discourse.julialang.org/t/running-julia-repl-in-administrator-mode-on-windows-automatically/20018)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 6\
**Last updated:** [June 3, 2019, 1:05pm UTC](https://discourse.julialang.org/t/running-julia-repl-in-administrator-mode-on-windows-automatically/20018 "2019-06-03T13:05:37Z")

</div>

In order to install \[some\] packages successfully on Windows, Julia REPL has to be run in administrator mode or bad things will happen, e.g. unrecoverable (for mere mortals) Cairo installation problems. Is there a way to …

---

## [Improve error message on mapreduce (sum)?](https://discourse.julialang.org/t/improve-error-message-on-mapreduce-sum/24882)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 3\
**Last updated:** [June 3, 2019, 1:00pm UTC](https://discourse.julialang.org/t/improve-error-message-on-mapreduce-sum/24882 "2019-06-03T13:00:12Z")

</div>

hi is it worth filing an issue that this error message could be improved? julia\> x = rand(3,4) 3×4 Array{Float64,2}: 0.0393155 0.125126 0.019893 0.377598 0.785163 0.950731 0.968909 0.620597 0.999954 0.672…

---

## [Initial "\] update" fails on Windows 10 Pro with Julia 1.1.1](https://discourse.julialang.org/t/initial-update-fails-on-windows-10-pro-with-julia-1-1-1/24559)

<div class="topic-metadata">

**Author:** [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Replies:** 3\
**Last updated:** [June 3, 2019, 11:56am UTC](https://discourse.julialang.org/t/initial-update-fails-on-windows-10-pro-with-julia-1-1-1/24559 "2019-06-03T11:56:04Z")

</div>

We just received a nice new Windows 10 Pro computer and my first step was to setup Julia 1.1.1. It installed without a problem but fails on the initial \] update. It gives me the following error. ERROR: failed to clone f…

---

## [Issues with inplace updates to triangular matrices, using lmul!, rmul!, ldiv! and rdiv!](https://discourse.julialang.org/t/issues-with-inplace-updates-to-triangular-matrices-using-lmul-rmul-ldiv-and-rdiv/24887)

<div class="topic-metadata">

**Author:** [@bsxfan](https://discourse.julialang.org/u/bsxfan)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 11:31am UTC](https://discourse.julialang.org/t/issues-with-inplace-updates-to-triangular-matrices-using-lmul-rmul-ldiv-and-rdiv/24887 "2019-06-03T11:31:06Z")

</div>

In the LinearAlgebra package, some provision is made for inplace updates to triangular matrices via the functions lmul!, rmul!, ldiv! and rdiv!. To be clear, this post concerns only those cases in which both arguments …

---

## [How to change Julia GIT settings?](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730)

<div class="topic-metadata">

**Author:** [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 11:27am UTC](https://discourse.julialang.org/t/how-to-change-julia-git-settings/24730 "2019-06-03T11:27:45Z")

</div>

How can I change the GIT settings that Julia uses? It doesn’t seem to obey the .gitconfig file in my home directory. In my case I would like to change the default from https:// to git://. This is related to my other pr…

---

## [Pmap structure master process computes too](https://discourse.julialang.org/t/pmap-structure-master-process-computes-too/24886)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 11:18am UTC](https://discourse.julialang.org/t/pmap-structure-master-process-computes-too/24886 "2019-06-03T11:18:09Z")

</div>

What does happen if the master process handles the part part after remotecall\_fetch but computes itself as well? Does everything work or are there some catches? I have two pmap like functions nested and the first calls …

---

## [Clang.jl generates lower case structs](https://discourse.julialang.org/t/clang-jl-generates-lower-case-structs/24881)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 11:14am UTC](https://discourse.julialang.org/t/clang-jl-generates-lower-case-structs/24881 "2019-06-03T11:14:45Z")

</div>

I am trying to make a wrapper for a C-library and everything seems to work nicely except that Clang.jl emits the struct names in lower case. I guess I am missing something in the the generate.jl script?

---

## [PlotlyJS reverse x-axis](https://discourse.julialang.org/t/plotlyjs-reverse-x-axis/24874)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 9:42am UTC](https://discourse.julialang.org/t/plotlyjs-reverse-x-axis/24874 "2019-06-03T09:42:34Z")

</div>

For a line plot (with one line, sorted data) there should be four “options”: both the data and the x-axis can be sorted from high to low and vice versa. In the example below, I can easily reverse the ‘data’, but not the…

---

## [Append!() with two dataframe throws PooledArray error](https://discourse.julialang.org/t/append-with-two-dataframe-throws-pooledarray-error/24850)

<div class="topic-metadata">

**Author:** [@notpeerreviewed](https://discourse.julialang.org/u/notpeerreviewed)\
**Replies:** 4\
**Last updated:** [June 3, 2019, 8:07am UTC](https://discourse.julialang.org/t/append-with-two-dataframe-throws-pooledarray-error/24850 "2019-06-03T08:07:04Z")

</div>

Hi everyone, I’m very new to Julia and have been working through replicating a relatively simple R script in Julia 1.0. Currently it’s a data cleaning exercise and I’ve been using DataFrames and DataFramesMeta, as I am…

---

## [Unsatisfiable requirements detected for package ImageCore](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-for-package-imagecore/24810)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 5\
**Last updated:** [June 3, 2019, 7:49am UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-for-package-imagecore/24810 "2019-06-03T07:49:34Z")

</div>

This started when I realized my ImageDraw was stuck on v0.1.0. So I tried adding its #master but was told ImageCore was holding it back, so I removed ImageDraw, tried to update ImageCore to #master, but got this: (v1.1)…

---

## [Plots.jl atrribute for full border](https://discourse.julialang.org/t/plots-jl-atrribute-for-full-border/15934)

<div class="topic-metadata">

**Author:** [@ecx2093](https://discourse.julialang.org/u/ecx2093)\
**Replies:** 5\
**Last updated:** [June 3, 2019, 2:03am UTC](https://discourse.julialang.org/t/plots-jl-atrribute-for-full-border/15934 "2019-06-03T02:03:30Z")

</div>

Hello Does anybody know the plot attribute for creating a border around the entire plot (here I need borders on the top and right without ticks, just the lines)

---

## [A faster pow(x,1/12) function available in Fast12thRoot.jl](https://discourse.julialang.org/t/a-faster-pow-x-1-12-function-available-in-fast12throot-jl/10893)

<div class="topic-metadata">

**Author:** [@MrBelette](https://discourse.julialang.org/u/MrBelette)\
**Replies:** 12\
**Last updated:** [June 3, 2019, 1:47am UTC](https://discourse.julialang.org/t/a-faster-pow-x-1-12-function-available-in-fast12throot-jl/10893 "2019-06-03T01:47:13Z")

</div>

New to Julia, so hopefully I’ve chosen the correct category for posting this. Actuaries use x^(1/12) very often in order to convert annualized numbers to their monthly compounded equivalent. I had an itch that had to be…

---

## [Julian python](https://discourse.julialang.org/t/julian-python/24857)

<div class="topic-metadata">

**Author:** [@loco](https://discourse.julialang.org/u/loco)\
**Replies:** 3\
**Last updated:** [June 3, 2019, 1:02am UTC](https://discourse.julialang.org/t/julian-python/24857 "2019-06-03T01:02:06Z")

</div>

I’ve been learning Julia since the 1.0 release, but had to slow down because my job is python-centric and I need to improve my python skills quickly to keep up. For the 2 projects I’m assigned the team is using python a…

---

## [METADATA.jl still maintained?](https://discourse.julialang.org/t/metadata-jl-still-maintained/24835)

<div class="topic-metadata">

**Author:** [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Replies:** 3\
**Last updated:** [June 2, 2019, 9:32pm UTC](https://discourse.julialang.org/t/metadata-jl-still-maintained/24835 "2019-06-02T21:32:49Z")

</div>

After registering a new version of my package with JuliaRegistrator, tagbot reported the following issue with METADATA.jl: https://github.com/JuliaAstro/CALCEPH.jl/issues/5 This is because the repository has moved. Ho…

---

## [Command line parameters in parallel](https://discourse.julialang.org/t/command-line-parameters-in-parallel/24863)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 8:26pm UTC](https://discourse.julialang.org/t/command-line-parameters-in-parallel/24863 "2019-06-02T20:26:38Z")

</div>

If I’ve got a julia script that’s using Distributed for shared memory parallel computing, and I want to read in a command line parameter (i.e., number of iterations per worker), what’s the right way to do this?

---

## [Speed up solution system of ODEs](https://discourse.julialang.org/t/speed-up-solution-system-of-odes/24620)

<div class="topic-metadata">

**Author:** [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Replies:** 23\
**Last updated:** [June 2, 2019, 6:56pm UTC](https://discourse.julialang.org/t/speed-up-solution-system-of-odes/24620 "2019-06-02T18:56:14Z")

</div>

I’m working in a mathematical model developed using Julia. I’ve the same model done in Mathematica and, strangely, the solution for the system of ODEs takes more time in Julia than in Mathematica (around 60s vs 24s). As…

---

## [Some iterative solvers do not accept subarray argument?](https://discourse.julialang.org/t/some-iterative-solvers-do-not-accept-subarray-argument/24855)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 4:30pm UTC](https://discourse.julialang.org/t/some-iterative-solvers-do-not-accept-subarray-argument/24855 "2019-06-02T16:30:10Z")

</div>

Hi, I am surprised that IterativeSolvers.gauss\_seidel can take views for vector arguments while jacobi, sor and ssor cannot. Any reason for this ? function test() nx=ny=10 dx=dy=2 A=poissonSparse(nx,ny,dx,…

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

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