# Latest

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

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

**Page:** 1637

---

## [One column arrays and vectors](https://discourse.julialang.org/t/one-column-arrays-and-vectors/46321)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 3\
**Last updated:** [September 9, 2020, 1:31pm UTC](https://discourse.julialang.org/t/one-column-arrays-and-vectors/46321 "2020-09-09T13:31:59Z")

</div>

I have a function that accepts your choice of one column arrays or vectors. Now I want to add a method and dispatch on one column arrays or vectors to get my original method. How do I create a type to let me do that? Th…

---

## [Is @time not tracking the full evaluation time?](https://discourse.julialang.org/t/is-time-not-tracking-the-full-evaluation-time/46327)

<div class="topic-metadata">

**Author:** [@johnmyleswhite](https://discourse.julialang.org/u/johnmyleswhite)\
**Replies:** 6\
**Last updated:** [September 9, 2020, 1:13pm UTC](https://discourse.julialang.org/t/is-time-not-tracking-the-full-evaluation-time/46327 "2020-09-09T13:13:40Z")

</div>

If I type something like the following into the 1.5.1 REPL, I find the results very surprising: julia\> @time NTuple{10000, Int}\[\] 0.000001 seconds (1 allocation: 80 bytes) NTuple{10000,Int64}\[\] @time reports a very s…

---

## [Met a weird error; UndefVarError](https://discourse.julialang.org/t/met-a-weird-error-undefvarerror/46312)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 5\
**Last updated:** [September 9, 2020, 12:06pm UTC](https://discourse.julialang.org/t/met-a-weird-error-undefvarerror/46312 "2020-09-09T12:06:27Z")

</div>

Hi, I’m now writing my codes and encountered a really strange error: As can be seen, the error said “obj\_path\_tmp not defined”. However, in debugging mode (using Debugger), I can read the value (even add to obj\_line…

---

## [Question about Clustering.silhouettes](https://discourse.julialang.org/t/question-about-clustering-silhouettes/46323)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 0\
**Last updated:** [September 9, 2020, 11:30am UTC](https://discourse.julialang.org/t/question-about-clustering-silhouettes/46323 "2020-09-09T11:30:53Z")

</div>

The silhouettes function can examine the effect of a cluster as well as predict its number. But when I apply this method to estimate the number of classes, why do I get a different graph every time I run it? the first …

---

## [How to build julia with existing llvm compiler](https://discourse.julialang.org/t/how-to-build-julia-with-existing-llvm-compiler/46319)

<div class="topic-metadata">

**Author:** [@bluefish](https://discourse.julialang.org/u/bluefish)\
**Replies:** 2\
**Last updated:** [September 9, 2020, 11:27am UTC](https://discourse.julialang.org/t/how-to-build-julia-with-existing-llvm-compiler/46319 "2020-09-09T11:27:30Z")

</div>

Hi, i have latest llvm compiler (v 12.0.0) on my pc. how to build julia with it?

---

## [Makie downgrade help?](https://discourse.julialang.org/t/makie-downgrade-help/46267)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 5\
**Last updated:** [September 9, 2020, 10:54am UTC](https://discourse.julialang.org/t/makie-downgrade-help/46267 "2020-09-09T10:54:26Z")

</div>

So, I just ran add MiniFB to try out a new package and this triggered an update which downgrades Updating \`~/.julia/environments/v1.5/Project.toml\` \[537997a7\] ↓ AbstractPlotting v0.12.9 ⇒ v0.10.6 \[3da002f7\] ↓ ColorT…

---

## [Please bring workspace() or an equivalent back](https://discourse.julialang.org/t/please-bring-workspace-or-an-equivalent-back/27948)

<div class="topic-metadata">

**Author:** [@stochastic\_guy](https://discourse.julialang.org/u/stochastic_guy)\
**Replies:** 6\
**Last updated:** [September 9, 2020, 7:25am UTC](https://discourse.julialang.org/t/please-bring-workspace-or-an-equivalent-back/27948 "2020-09-09T07:25:35Z")

</div>

From all the discussions I have read about Julia, I have got the impression that you are supposed to use Julia in long sessions than quitting and restarting Julia every now and then. But then the problem faced is an over…

---

## [Please help me to find a easiest Algorithm for this case](https://discourse.julialang.org/t/please-help-me-to-find-a-easiest-algorithm-for-this-case/46186)

<div class="topic-metadata">

**Author:** [@xp-gamer](https://discourse.julialang.org/u/xp-gamer)\
**Replies:** 9\
**Last updated:** [September 8, 2020, 10:03pm UTC](https://discourse.julialang.org/t/please-help-me-to-find-a-easiest-algorithm-for-this-case/46186 "2020-09-08T22:03:39Z")

</div>

I am working on strings on Julia language. I working on a function where input string format is need to be converted to respective output mentioned below, please help me in finding a easier algorithm for this condition. …

---

## [Cummean, cumall, and cumany](https://discourse.julialang.org/t/cummean-cumall-and-cumany/46219)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 7\
**Last updated:** [September 9, 2020, 6:15am UTC](https://discourse.julialang.org/t/cummean-cumall-and-cumany/46219 "2020-09-09T06:15:20Z")

</div>

Currently, these functions exist in Base: cumsum cumprod cummin (using accumulate) cummax (using accumulate) I’m just checking out dplyr’s functions and they have cummean cumall (logical bit vector) cumany (logical …

---

## [Automatically fusing together several for-loops](https://discourse.julialang.org/t/automatically-fusing-together-several-for-loops/46097)

<div class="topic-metadata">

**Author:** [@Adam\_Haber](https://discourse.julialang.org/u/Adam_Haber)\
**Replies:** 23\
**Last updated:** [September 9, 2020, 4:01am UTC](https://discourse.julialang.org/t/automatically-fusing-together-several-for-loops/46097 "2020-09-09T04:01:12Z")

</div>

I’m trying to speed up an algorithm that computes various graph statistics. The relevant part of the code is: struct erg{G \<: AbstractArray{Bool},F \<: Function} \<: AbstractGraph{Int} m::G fs::Vector{F} trans…

---

## [Set struct's parameters using a function whose first argument is for the struct](https://discourse.julialang.org/t/set-structs-parameters-using-a-function-whose-first-argument-is-for-the-struct/46264)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 9\
**Last updated:** [September 9, 2020, 2:46am UTC](https://discourse.julialang.org/t/set-structs-parameters-using-a-function-whose-first-argument-is-for-the-struct/46264 "2020-09-09T02:46:42Z")

</div>

Hi, I’m trying to reuse a function to set parameters of a struct. For example, I have a function whose the first argument should have type MyStruct: function set\_parameter(mystruct::MyStruct) mystruct.a = 1 end An…

---

## [Installing jupyterlab-vim](https://discourse.julialang.org/t/installing-jupyterlab-vim/46289)

<div class="topic-metadata">

**Author:** [@rcnlee](https://discourse.julialang.org/u/rcnlee)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 10:06pm UTC](https://discourse.julialang.org/t/installing-jupyterlab-vim/46289 "2020-09-08T22:06:36Z")

</div>

Hello! I am running Jupyterlab from IJulia. I would like to install jupyterlab-vim. The instructions say to issue this command jupyter labextension install jupyterlab\_vim. How do you do this in IJulia or Conda.jl? T…

---

## [Registry Issue- Haven't been able to resolve](https://discourse.julialang.org/t/registry-issue-havent-been-able-to-resolve/46291)

<div class="topic-metadata">

**Author:** [@newlearn](https://discourse.julialang.org/u/newlearn)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 9:31pm UTC](https://discourse.julialang.org/t/registry-issue-havent-been-able-to-resolve/46291 "2020-09-08T21:31:18Z")

</div>

I have been trying to install a package in IJulia, but I get the following error: Using Pkg Pkg.add(“CVS”) Installing known registries into ~/.julia ###################################################################…

---

## [Diffeq.jl problem terminology](https://discourse.julialang.org/t/diffeq-jl-problem-terminology/46024)

<div class="topic-metadata">

**Author:** [@pkairys](https://discourse.julialang.org/u/pkairys)\
**Replies:** 3\
**Last updated:** [September 8, 2020, 8:09pm UTC](https://discourse.julialang.org/t/diffeq-jl-problem-terminology/46024 "2020-09-08T20:09:03Z")

</div>

I’m trying to clarify a bit of terminology that is popping up in the DifferentialEquations.jl documentation relating to the “problem size” and “large systems.” I have a linear matrix differential equation like \\partial\_…

---

## [Error launching slurm job: no method matching replace(::String, ::String, ::String)](https://discourse.julialang.org/t/error-launching-slurm-job-no-method-matching-replace-string-string-string/46279)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 6:16pm UTC](https://discourse.julialang.org/t/error-launching-slurm-job-no-method-matching-replace-string-string-string/46279 "2020-09-08T18:16:40Z")

</div>

Steps to reproduce: log in and request an interactive session: srun -A me -p free --pty bash -i cd to a network share that is accessible from every node on the cluster: cd /dfs5/myshare/ open the REPL, activate env…

---

## [Mutating array in gradients?](https://discourse.julialang.org/t/mutating-array-in-gradients/46275)

<div class="topic-metadata">

**Author:** [@kc104](https://discourse.julialang.org/u/kc104)\
**Replies:** 4\
**Last updated:** [September 8, 2020, 5:27pm UTC](https://discourse.julialang.org/t/mutating-array-in-gradients/46275 "2020-09-08T17:27:11Z")

</div>

I’m a Julia newbie trying to switch over from Python! I’m trying to implement a bayes neural net. for some practice. When trying to track gradients in my model I’m getting the following error: “Mutating arrays is not su…

---

## [CSV read fails with keyword arguments](https://discourse.julialang.org/t/csv-read-fails-with-keyword-arguments/46231)

<div class="topic-metadata">

**Author:** [@madeleineudell](https://discourse.julialang.org/u/madeleineudell)\
**Replies:** 7\
**Last updated:** [September 8, 2020, 4:59pm UTC](https://discourse.julialang.org/t/csv-read-fails-with-keyword-arguments/46231 "2020-09-08T16:59:19Z")

</div>

I’m having difficulties getting a basic CSV file to read. I can read a file without keyword options: acs = CSV.read("file.csv", limit=10); but adding keyword options, like acs = CSV.read("file.csv"; null="NA"); resul…

---

## [Iterating over types of tuple elements in @generated function](https://discourse.julialang.org/t/iterating-over-types-of-tuple-elements-in-generated-function/46271)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 3:47pm UTC](https://discourse.julialang.org/t/iterating-over-types-of-tuple-elements-in-generated-function/46271 "2020-09-08T15:47:45Z")

</div>

I am writing a generated function and want to iterate over the types of the inputs to generate some splendid code. This works @generated function foo(t...) for c ∈ t Core.println(c) end return :( C…

---

## [Why these two ways of function definition lead to different optimization statuses?](https://discourse.julialang.org/t/why-these-two-ways-of-function-definition-lead-to-different-optimization-statuses/46272)

<div class="topic-metadata">

**Author:** [@DShiu](https://discourse.julialang.org/u/DShiu)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 3:35pm UTC](https://discourse.julialang.org/t/why-these-two-ways-of-function-definition-lead-to-different-optimization-statuses/46272 "2020-09-08T15:35:06Z")

</div>

I define the same objective function in two ways: function logit1(α, X, y) loglike = -sum(y\[i\]\*α'\*X\[i,:\] .- log.(1 .+ exp.(α'\*X\[i,:\])) for i=1:length(y)) return loglike end function logit2(α, X, y) loglike …

---

## [\[ANN\] ClickHouse.jl v0.2.0](https://discourse.julialang.org/t/ann-clickhouse-jl-v0-2-0/46266)

<div class="topic-metadata">

**Author:** [@athre0z](https://discourse.julialang.org/u/athre0z)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 1:45pm UTC](https://discourse.julialang.org/t/ann-clickhouse-jl-v0-2-0/46266 "2020-09-08T13:45:57Z")

</div>

Version v0.2.0 of our pure Julia client for the ClickHouse native TCP protocol is out now! This is the first release of the library where I’d say that it can now be called a functioning and practically useful client for…

---

## [Revise.jl randomly fails to notice rsynced code changes](https://discourse.julialang.org/t/revise-jl-randomly-fails-to-notice-rsynced-code-changes/23589)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 3\
**Last updated:** [September 8, 2020, 1:14pm UTC](https://discourse.julialang.org/t/revise-jl-randomly-fails-to-notice-rsynced-code-changes/23589 "2020-09-08T13:14:08Z")

</div>

I’ve been using Revise.jl successfully on my local system, but on my remote server (x86-64 linux with nightly Julia), it will silently fail to use new code that I’ve rsynced over. I can confirm that the remote files are…

---

## [No method matching \`save\` error upon calling \`load\` for a .png file \`using Images\`](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 12:44pm UTC](https://discourse.julialang.org/t/no-method-matching-save-error-upon-calling-load-for-a-png-file-using-images/46257 "2020-09-08T12:44:31Z")

</div>

The following code using Images Img = load("Img.png") produces the following error ERROR: MethodError: no method matching save(::Base64.Base64EncodePipe, ::Array{RGBA{Float32},2}, ::Pair{Symbol,ImageShow.var"#14#16"})…

---

## [Arrays, Matrix, append!](https://discourse.julialang.org/t/arrays-matrix-append/46177)

<div class="topic-metadata">

**Author:** [@Lucas\_Gartner](https://discourse.julialang.org/u/Lucas_Gartner)\
**Replies:** 10\
**Last updated:** [September 8, 2020, 12:42pm UTC](https://discourse.julialang.org/t/arrays-matrix-append/46177 "2020-09-08T12:42:50Z")

</div>

Hey all, may you can tell me some insights about the arrays in julia and their dimension. I came from python3.7 and want to translate a python script to julia. I need to create a list, and iterate through a set of vecs…

---

## [Cannot Access variable values through Gurobi callback](https://discourse.julialang.org/t/cannot-access-variable-values-through-gurobi-callback/46138)

<div class="topic-metadata">

**Author:** [@hassanis](https://discourse.julialang.org/u/hassanis)\
**Replies:** 2\
**Last updated:** [September 8, 2020, 12:38pm UTC](https://discourse.julialang.org/t/cannot-access-variable-values-through-gurobi-callback/46138 "2020-09-08T12:38:26Z")

</div>

Hello, I’m trying to access my variable values through a callback on Gurobi (Gurobi Optimizer version 9.0.2; Pkg v0.8.1) (& JuMP v0.21.3). I’m able to run a few functions (eg. cbget\_mipsol\_obj), but ‘mipsol\_sol’ is not …

---

## [Cannot install Zygote to Julia 1.5.0](https://discourse.julialang.org/t/cannot-install-zygote-to-julia-1-5-0/46259)

<div class="topic-metadata">

**Author:** [@iegorval](https://discourse.julialang.org/u/iegorval)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 12:34pm UTC](https://discourse.julialang.org/t/cannot-install-zygote-to-julia-1-5-0/46259 "2020-09-08T12:34:33Z")

</div>

Hi all. I have installed Julia on my new device, also switching from 1.4.1 to 1.5.0. However, now I am having troubles installing Zygote. So, for whatever reason it is not detecting any available Zygote version (there ar…

---

## [Warp images and coordinates](https://discourse.julialang.org/t/warp-images-and-coordinates/46256)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 12:12pm UTC](https://discourse.julialang.org/t/warp-images-and-coordinates/46256 "2020-09-08T12:12:48Z")

</div>

I’m transforming an image using ImageTransformations.wrap, but I also want to use the same transformation to transform some coordinates. The idea is that a coordinate in the original image should be transformed to a coor…

---

## [Issorted for Dataframe rows](https://discourse.julialang.org/t/issorted-for-dataframe-rows/46251)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 5\
**Last updated:** [September 8, 2020, 12:11pm UTC](https://discourse.julialang.org/t/issorted-for-dataframe-rows/46251 "2020-09-08T12:11:30Z")

</div>

I have a dataframe with a few dozen columns. For each row I want to ensure that a subset of the columns (let’s say the relevant columns are named x1 to x6) is sorted I was wondering whether there is a faster approach t…

---

## [\[ANN\] Announcing Flux3D.jl, 3D Vision library](https://discourse.julialang.org/t/ann-announcing-flux3d-jl-3d-vision-library/46258)

<div class="topic-metadata">

**Author:** [@Nirmal\_Suthar](https://discourse.julialang.org/u/Nirmal_Suthar)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 12:09pm UTC](https://discourse.julialang.org/t/ann-announcing-flux3d-jl-3d-vision-library/46258 "2020-09-08T12:09:25Z")

</div>

Dear Julia Community, I am really excited to share Flux3D.jl with all. It is a 3D vision library, written completely in Julia. This package utilizes Flux.jl and Zygote.jl as its building blocks for training 3D vision mo…

---

## [Statically compiled and statically linked](https://discourse.julialang.org/t/statically-compiled-and-statically-linked/12290)

<div class="topic-metadata">

**Author:** [@nobody](https://discourse.julialang.org/u/nobody)\
**Replies:** 35\
**Last updated:** [September 8, 2020, 11:57am UTC](https://discourse.julialang.org/t/statically-compiled-and-statically-linked/12290 "2020-09-08T11:57:58Z")

</div>

I love the syntax of julia, but, unless julia became statically compiled & statically linked and enables cross compilation, i will use julia as my one and only language. For the mean time there’s https://golang.org/ and h…

---

## [Faster date parsing?](https://discourse.julialang.org/t/faster-date-parsing/46248)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 6\
**Last updated:** [September 8, 2020, 10:34am UTC](https://discourse.julialang.org/t/faster-date-parsing/46248 "2020-09-08T10:34:50Z")

</div>

I wonder if there is a faster date parsing package in Julia for example where the default Date parsing is quite slow versus a custom algorithm. using Dates date = Dates.format(Date(2020, 08, 09), "mm/dd/yyyy") using Be…

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

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