# Latest

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

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

**Page:** 1602

---

## [\[ANN\] TheFix.jl for the REPL](https://discourse.julialang.org/t/ann-thefix-jl-for-the-repl/48304)

<div class="topic-metadata">

**Author:** [@MikaelSlevinsky](https://discourse.julialang.org/u/MikaelSlevinsky)\
**Replies:** 10\
**Last updated:** [October 15, 2020, 9:30pm UTC](https://discourse.julialang.org/t/ann-thefix-jl-for-the-repl/48304 "2020-10-15T21:30:58Z")

</div>

I’m happy to announce TheFix.jl for the most common errors encountered in the REPL. Some syntactical or typographical errors wouldn’t have been made in a perfect world; this package tries to fix them for you. Here are so…

---

## [SCIP is giving me solution, but CPLEX v12.9 is not](https://discourse.julialang.org/t/scip-is-giving-me-solution-but-cplex-v12-9-is-not/48216)

<div class="topic-metadata">

**Author:** [@sogrbilja](https://discourse.julialang.org/u/sogrbilja)\
**Replies:** 8\
**Last updated:** [October 15, 2020, 9:05pm UTC](https://discourse.julialang.org/t/scip-is-giving-me-solution-but-cplex-v12-9-is-not/48216 "2020-10-15T21:05:37Z")

</div>

I understand now that you will say that you can’t help me without providing the whole code to test, but can you at least point me is there anything that I can check for ie: some logging mechanism, debug, the default sett…

---

## [Efficiently extracting rows from VectorAffineFunction structs in MOI](https://discourse.julialang.org/t/efficiently-extracting-rows-from-vectoraffinefunction-structs-in-moi/48408)

<div class="topic-metadata">

**Author:** [@asa](https://discourse.julialang.org/u/asa)\
**Replies:** 3\
**Last updated:** [October 15, 2020, 8:59pm UTC](https://discourse.julialang.org/t/efficiently-extracting-rows-from-vectoraffinefunction-structs-in-moi/48408 "2020-10-15T20:59:33Z")

</div>

The MOI.VectorAffineFunction type is used to define linear vector valued functions in MathOptInterface. I am trying to extract a row of such an object itself with type VectorAffineFunction, for example with f = MOI.Vect…

---

## [Why doesn't modifying a shallow copy of an array reflect on the original?](https://discourse.julialang.org/t/why-doesnt-modifying-a-shallow-copy-of-an-array-reflect-on-the-original/48445)

<div class="topic-metadata">

**Author:** [@anon60034542](https://discourse.julialang.org/u/anon60034542)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 7:43pm UTC](https://discourse.julialang.org/t/why-doesnt-modifying-a-shallow-copy-of-an-array-reflect-on-the-original/48445 "2020-10-15T19:43:32Z")

</div>

Suppose if I had the following array: even\_numbers = Int32\[2,4,6,8,10\] # Creating a 5 element array. and I made a shallow copy: b = copy(even\_numbers) If I were to modify or delete an element from b why doesn’t it re…

---

## [Performance of time series packages](https://discourse.julialang.org/t/performance-of-time-series-packages/48447)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 5\
**Last updated:** [October 15, 2020, 5:25pm UTC](https://discourse.julialang.org/t/performance-of-time-series-packages/48447 "2020-10-15T17:25:38Z")

</div>

Are there performance benchmark of ARCHModels.jl vs. rugarch & rmgarch? rugarch is pretty slow, and I kind of remember a while ago someone mentioned ARCHModels has a performance issue.

---

## [Reset Main without restarting the REPL](https://discourse.julialang.org/t/reset-main-without-restarting-the-repl/48393)

<div class="topic-metadata">

**Author:** [@Ginter](https://discourse.julialang.org/u/Ginter)\
**Replies:** 7\
**Last updated:** [October 15, 2020, 5:46pm UTC](https://discourse.julialang.org/t/reset-main-without-restarting-the-repl/48393 "2020-10-15T17:46:33Z")

</div>

I understand that we can’t delete existing bindings or redefine structs without replacing the entire module. Is there a way of reinitializing the Main module without having to close the REPL?

---

## [Different spawning behavior of @spawn and Channel(..., spawn=true)](https://discourse.julialang.org/t/different-spawning-behavior-of-spawn-and-channel-spawn-true/48413)

<div class="topic-metadata">

**Author:** [@pbayer](https://discourse.julialang.org/u/pbayer)\
**Replies:** 4\
**Last updated:** [October 15, 2020, 5:42pm UTC](https://discourse.julialang.org/t/different-spawning-behavior-of-spawn-and-channel-spawn-true/48413 "2020-10-15T17:42:18Z")

</div>

Channel(..., spawn=true) seems to spawn not to all available threads. An MWE: using .Threads function tinfo(ch::Channel) from = take!(ch) put!(from, threadid()) end me = Channel(10) If I use Threads.@spawn to…

---

## [How can we create a leaner ecosystem for Julia?](https://discourse.julialang.org/t/how-can-we-create-a-leaner-ecosystem-for-julia/32904)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 100\
**Last updated:** [October 15, 2020, 5:27pm UTC](https://discourse.julialang.org/t/how-can-we-create-a-leaner-ecosystem-for-julia/32904 "2020-10-15T17:27:17Z")

</div>

Comparisons of Julia w/ other languages often say one disadvantage of Julia is that it has fewer 3rd party packages. I tend to disagree. Julia doesn’t need more packages, it needs better packages (w/ more functionality)…

---

## [Subsampling an ODESolution at Integer Times (and then plotting)](https://discourse.julialang.org/t/subsampling-an-odesolution-at-integer-times-and-then-plotting/48440)

<div class="topic-metadata">

**Author:** [@Sam\_Power](https://discourse.julialang.org/u/Sam_Power)\
**Replies:** 6\
**Last updated:** [October 15, 2020, 5:07pm UTC](https://discourse.julialang.org/t/subsampling-an-odesolution-at-integer-times-and-then-plotting/48440 "2020-10-15T17:07:58Z")

</div>

Hi, I’m currently playing around with DifferentialEquations.jl and Catalyst.jl for simulating the paths of Markov Jump Processes, with an end goal of eventually using it to prototype some Bayesian inference algorithms. …

---

## [Why Julia values types are inmutable?](https://discourse.julialang.org/t/why-julia-values-types-are-inmutable/48228)

<div class="topic-metadata">

**Author:** [@gabomgp4](https://discourse.julialang.org/u/gabomgp4)\
**Replies:** 6\
**Last updated:** [October 13, 2020, 1:57pm UTC](https://discourse.julialang.org/t/why-julia-values-types-are-inmutable/48228 "2020-10-13T13:57:52Z")

</div>

In C#, you have structs, that are value types. Value types are types that are passed by value, and can be efficently inlined in stack for example. The more similar thing that I can see in Julia are inmutable types. As I …

---

## [Help understanding Metagraphs.filter\_vertices(g, fn)](https://discourse.julialang.org/t/help-understanding-metagraphs-filter-vertices-g-fn/48441)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 4:56pm UTC](https://discourse.julialang.org/t/help-understanding-metagraphs-filter-vertices-g-fn/48441 "2020-10-15T16:56:50Z")

</div>

I’m having trouble grasping basic usage of filtering based on v-\>f(v), MWE: g = MetaDiGraph(3) set\_props!(g,1,Dict(:a=\>"a",:b=\>1)) set\_props!(g,2,Dict(:🐰=\>1)) set\_props!(g,3,Dict(:🐰=\>1,:a=\>"a")) #sanity check @test col…

---

## [Is there any ETL GUI for Julia?](https://discourse.julialang.org/t/is-there-any-etl-gui-for-julia/9097)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 6\
**Last updated:** [October 15, 2020, 4:37pm UTC](https://discourse.julialang.org/t/is-there-any-etl-gui-for-julia/9097 "2020-10-15T16:37:13Z")

</div>

Is there any ETL GUI addon or package for Julia? Or any tool such as Knime, Tableau, Rapidminer… able to run Julia code integrating properly the results (numeric, plots, file operations…)?

---

## [ODE-LSTM implementation](https://discourse.julialang.org/t/ode-lstm-implementation/48437)

<div class="topic-metadata">

**Author:** [@lungd](https://discourse.julialang.org/u/lungd)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 4:26pm UTC](https://discourse.julialang.org/t/ode-lstm-implementation/48437 "2020-10-15T16:26:42Z")

</div>

I am working on implementing the ODELSTM cell https://github.com/SciML/DiffEqFlux.jl/issues/422 The cell expects hidden states and a tuple of a feature vector and the elapsed time between the observations (or a 2D featu…

---

## [Tests not giving good error info](https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389)

<div class="topic-metadata">

**Author:** [@Abram\_Demski](https://discourse.julialang.org/u/Abram_Demski)\
**Replies:** 11\
**Last updated:** [October 15, 2020, 4:05pm UTC](https://discourse.julialang.org/t/tests-not-giving-good-error-info/48389 "2020-10-15T16:05:45Z")

</div>

Hi all! I am porting some code from a very old Julia (0.4.6) to 1.5, using the latest version of Juno (where previously I was using a similarly old version of Juno). I’m noticing some weird things going on with tests. I…

---

## [Reading tfrecord files](https://discourse.julialang.org/t/reading-tfrecord-files/26316)

<div class="topic-metadata">

**Author:** [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 3:57pm UTC](https://discourse.julialang.org/t/reading-tfrecord-files/26316 "2020-10-15T15:57:43Z")

</div>

I want to play a bit with the Youtube 8M dataset. Did somebody already work on reading tfrecord files? I tried julia\> using TensorFlow julia\> it = TensorFlow.io.TFRecord.RecordIterator("train0111.tfrecord") julia\> firs…

---

## [Interpreting error screen in Jupyter notebook](https://discourse.julialang.org/t/interpreting-error-screen-in-jupyter-notebook/48430)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 3:29pm UTC](https://discourse.julialang.org/t/interpreting-error-screen-in-jupyter-notebook/48430 "2020-10-15T15:29:34Z")

</div>

Hello, I am running simulations in Jupyter notebook, suddenly I get this kind of screens: Does anyone know what might be causing this? This is all happening on Chrome on Ubuntu 18.

---

## [Plot window showing up when run from terminal in Plots.jl](https://discourse.julialang.org/t/plot-window-showing-up-when-run-from-terminal-in-plots-jl/48428)

<div class="topic-metadata">

**Author:** [@libensvivit](https://discourse.julialang.org/u/libensvivit)\
**Replies:** 10\
**Last updated:** [October 15, 2020, 3:03pm UTC](https://discourse.julialang.org/t/plot-window-showing-up-when-run-from-terminal-in-plots-jl/48428 "2020-10-15T15:03:50Z")

</div>

Hi, my problem is as described here. I’m using Plots.jl with the default backend to plot an image and save the figure. using Plots: plot, savefig plot(rangex,rangey,some\_image,xticks,yticks,...); savefig("name.jpg"); t…

---

## [Is it possible to define a default argument value based on the function's internal variables at the moment of return?](https://discourse.julialang.org/t/is-it-possible-to-define-a-default-argument-value-based-on-the-functions-internal-variables-at-the-moment-of-return/48409)

<div class="topic-metadata">

**Author:** [@kapple](https://discourse.julialang.org/u/kapple)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 2:46pm UTC](https://discourse.julialang.org/t/is-it-possible-to-define-a-default-argument-value-based-on-the-functions-internal-variables-at-the-moment-of-return/48409 "2020-10-15T14:46:26Z")

</div>

Would it possible and appropriate for Julia to extend functionality of function definitions to include ones like this? function f(x, z = y^2) y = 2x return x + y + z end It would need to evaluate the default va…

---

## [Sublime Text 4: indentation vexation](https://discourse.julialang.org/t/sublime-text-4-indentation-vexation/48320)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 4\
**Last updated:** [October 15, 2020, 2:32pm UTC](https://discourse.julialang.org/t/sublime-text-4-indentation-vexation/48320 "2020-10-15T14:32:44Z")

</div>

Is anyone else having trouble with ST 4 indentation? https://github.com/JuliaEditorSupport/Julia-sublime/issues/90#issuecomment-707996405

---

## [Multiple Dispatch seems to be acting odd on AbstractSparseMatrixCSC](https://discourse.julialang.org/t/multiple-dispatch-seems-to-be-acting-odd-on-abstractsparsematrixcsc/40070)

<div class="topic-metadata">

**Author:** [@irhum](https://discourse.julialang.org/u/irhum)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 12:22pm UTC](https://discourse.julialang.org/t/multiple-dispatch-seems-to-be-acting-odd-on-abstractsparsematrixcsc/40070 "2020-05-24T12:22:12Z")

</div>

If I recall correctly, multiple dispatch is supposed to select the most specific method available when calling a function. In this case, when the Array type is specified as AbstractSparseMatrix, the specialization based…

---

## [Make function which changes varriable](https://discourse.julialang.org/t/make-function-which-changes-varriable/48423)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 9\
**Last updated:** [October 15, 2020, 1:58pm UTC](https://discourse.julialang.org/t/make-function-which-changes-varriable/48423 "2020-10-15T13:58:06Z")

</div>

The example is pretty self-explanatory, I want to make a function which changes a variable. But it doesn’t work, how do I make it to? a = 2 function change\_a!(a) a = 3 nothing end change\_a!(a) display(a); the o…

---

## [Result\_dual vs getdual. signs are the opposite](https://discourse.julialang.org/t/result-dual-vs-getdual-signs-are-the-opposite/16355)

<div class="topic-metadata">

**Author:** [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Replies:** 12\
**Last updated:** [October 15, 2020, 1:48pm UTC](https://discourse.julialang.org/t/result-dual-vs-getdual-signs-are-the-opposite/16355 "2020-10-15T13:48:46Z")

</div>

JuMP v0.19: using JuMP, Clp m = Model(with\_optimizer(Clp.Optimizer)) @variable(m, y\>=0) @objective(m, Max, y) @constraint(m, con, y \<= 3) JuMP.optimize!(m) pi\_val = JuMP.result\_dual(con) @show pi\_val I obtained pi\_val …

---

## [Plots window as a pane in VS Code](https://discourse.julialang.org/t/plots-window-as-a-pane-in-vs-code/48426)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 12:53pm UTC](https://discourse.julialang.org/t/plots-window-as-a-pane-in-vs-code/48426 "2020-10-15T12:53:39Z")

</div>

I’m using Plots in the terminal in VS Code. I use the GR back end. Whenever I make a plot in the REPL the plot opens in a separate GR window (invariably behind my VS Code window). How do I make my plots appear in a panel…

---

## [Scalar multiplication makes array reallocation](https://discourse.julialang.org/t/scalar-multiplication-makes-array-reallocation/48421)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 14\
**Last updated:** [October 15, 2020, 11:39am UTC](https://discourse.julialang.org/t/scalar-multiplication-makes-array-reallocation/48421 "2020-10-15T11:39:47Z")

</div>

Hi everyone, While testing the fastest approach to multiply a matrix to a vector a discovered a nasty fact about reallocation. Multiplying a matrix for a constant-defined value (namely a scalar) makes Julia reallocate …

---

## [Image Super Resolution](https://discourse.julialang.org/t/image-super-resolution/48282)

<div class="topic-metadata">

**Author:** [@kungfooman](https://discourse.julialang.org/u/kungfooman)\
**Replies:** 3\
**Last updated:** [October 15, 2020, 11:32am UTC](https://discourse.julialang.org/t/image-super-resolution/48282 "2020-10-15T11:32:15Z")

</div>

Hi, is there any Julia project focusing on Image Super Resolution? There are lots of these libraries for e.g. Python or Mathematica, but found not one for Julia:

---

## [16000 cases lost in UK Covid reporting](https://discourse.julialang.org/t/16000-cases-lost-in-uk-covid-reporting/47783)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 16\
**Last updated:** [October 15, 2020, 11:21am UTC](https://discourse.julialang.org/t/16000-cases-lost-in-uk-covid-reporting/47783 "2020-10-15T11:21:00Z")

</div>

This is being reported by the media as a failure with Excel. It seems more likely it is a problem with CSV Format files being used for data exchange. Should have been using Julia of course!

---

## [PackageCompiler: enable --trace-compile for Jupyter session](https://discourse.julialang.org/t/packagecompiler-enable-trace-compile-for-jupyter-session/48364)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 2\
**Last updated:** [October 15, 2020, 11:28am UTC](https://discourse.julialang.org/t/packagecompiler-enable-trace-compile-for-jupyter-session/48364 "2020-10-15T11:28:00Z")

</div>

I am using Jupyter notebook with Interact and Makie for displaying widgets and plots and I would like to quicken the startup time. I already compiled a sysimage with Makie and it’s getting better, but displaying a scene…

---

## [How to configure CI for depending packages](https://discourse.julialang.org/t/how-to-configure-ci-for-depending-packages/48417)

<div class="topic-metadata">

**Author:** [@tisztamo](https://discourse.julialang.org/u/tisztamo)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 10:45am UTC](https://discourse.julialang.org/t/how-to-configure-ci-for-depending-packages/48417 "2020-10-15T10:45:02Z")

</div>

I am working on some “Low” and “High” packages in tandem, High depends on Low, both registered. On my machine I Pkg.dev-ed Low from High so when I add a feature to Low, it is immediately visible in High. When I push Lo…

---

## [Getting Julia on Kaggle](https://discourse.julialang.org/t/getting-julia-on-kaggle/48359)

<div class="topic-metadata">

**Author:** [@ven-k](https://discourse.julialang.org/u/ven-k)\
**Replies:** 3\
**Last updated:** [October 15, 2020, 10:05am UTC](https://discourse.julialang.org/t/getting-julia-on-kaggle/48359 "2020-10-15T10:05:14Z")

</div>

Kaggle’s annual survey is here: https://google.qualtrics.com/jfe/form/SV\_8vuiBypoM1Xuixf If the questions like: “Which language would you recommend for a beginner?”, and “The frameworks/tools you use” have enough resp…

---

## [String interpolation in docstring](https://discourse.julialang.org/t/string-interpolation-in-docstring/48371)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 10\
**Last updated:** [October 15, 2020, 9:11am UTC](https://discourse.julialang.org/t/string-interpolation-in-docstring/48371 "2020-10-15T09:11:57Z")

</div>

Hey community :slight\_smile: That’s probably a quick question. I’m writing docstrings and want to show an little example like """ f(s::String)::Nothing # Example for i in 1:10 f("i = $i") end """ function f(s::…

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

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