# Latest

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

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

**Page:** 1471

---

## [Help with crash in Oracle with threads](https://discourse.julialang.org/t/help-with-crash-in-oracle-with-threads/56464)

<div class="topic-metadata">

**Author:** [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 3:26am UTC](https://discourse.julialang.org/t/help-with-crash-in-oracle-with-threads/56464 "2021-03-05T03:26:15Z")

</div>

Hello, I need some help with this crash. I’m using Julia 1.5.3 It appears that when using threading, this crashes Julia. The crash disappears when using a simple for loop. Here is a simple MWE using Oracle conn = Or…

---

## [Sawmill 3D Scanning Company Hiring a Software Engineer](https://discourse.julialang.org/t/sawmill-3d-scanning-company-hiring-a-software-engineer/56514)

<div class="topic-metadata">

**Author:** [@joeynelson](https://discourse.julialang.org/u/joeynelson)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 11:30pm UTC](https://discourse.julialang.org/t/sawmill-3d-scanning-company-hiring-a-software-engineer/56514 "2021-03-04T23:30:49Z")

</div>

While our products and API’s a predominately (system)verilog, C++, and C#, we do use a fair amount of Julia for calibration software and data analysis. This would be a good fit for someone with polyglot inclinations, wh…

---

## [Just discovered Julia](https://discourse.julialang.org/t/just-discovered-julia/56457)

<div class="topic-metadata">

**Author:** [@Beta\_Raddish](https://discourse.julialang.org/u/Beta_Raddish)\
**Replies:** 9\
**Last updated:** [March 4, 2021, 10:21pm UTC](https://discourse.julialang.org/t/just-discovered-julia/56457 "2021-03-04T22:21:29Z")

</div>

I hope this is the right place to put this. I am a mature, 38, student studying mathematics with the Open University in the UK. I have started exploring mathematical concepts with computing and currently got round to do…

---

## [Bug with DelimtedFiles.readdlm when header=true](https://discourse.julialang.org/t/bug-with-delimtedfiles-readdlm-when-header-true/56057)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 11\
**Last updated:** [March 4, 2021, 9:45pm UTC](https://discourse.julialang.org/t/bug-with-delimtedfiles-readdlm-when-header-true/56057 "2021-03-04T21:45:49Z")

</div>

Hallo, Thanks for providing an easy and fast way to read delimited files. When I use header=true as an option. In the output Data it skips 2 columns instead of 1 which is a bug. Data, Header= DelimtedFiles.readdlm(pa…

---

## [I get this wierd error when i try to implement to\_index with a struct](https://discourse.julialang.org/t/i-get-this-wierd-error-when-i-try-to-implement-to-index-with-a-struct/56503)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 9:44pm UTC](https://discourse.julialang.org/t/i-get-this-wierd-error-when-i-try-to-implement-to-index-with-a-struct/56503 "2021-03-04T21:44:30Z")

</div>

I get this wierd error when i try to implement to\_index with a struct: Base.to\_index(s::State) = CartesianIndex(s.x,s.y) errors with “getindex for Array{Float64,2} with types Tuple{CartesianIndex{2}} is not supported” …

---

## [Is there a way of doing essentially a vcat of tuples in a way that still allows th](https://discourse.julialang.org/t/is-there-a-way-of-doing-essentially-a-vcat-of-tuples-in-a-way-that-still-allows-th/56493)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 8:02pm UTC](https://discourse.julialang.org/t/is-there-a-way-of-doing-essentially-a-vcat-of-tuples-in-a-way-that-still-allows-th/56493 "2021-03-04T20:02:51Z")

</div>

Is there a way of doing essentially a vcat of tuples in a way that still allows the type of each element of the resultant tuple to be inferred at compile time? My first instinct would be to do something like supertuple…

---

## [Call a Vue function in a Stipple app](https://discourse.julialang.org/t/call-a-vue-function-in-a-stipple-app/56466)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 7:56pm UTC](https://discourse.julialang.org/t/call-a-vue-function-in-a-stipple-app/56466 "2021-03-04T19:56:47Z")

</div>

(Hi @hhaensel, asking here so others can benefit) Given I have some function defined: Stipple.js\_methods(::MyModel) = raw""" badtoml () { this.$q.notify({ message: 'toml file has some errors in it', …

---

## [Beginner AMA featuring Dr. Katharine Hyatt and Dr. Rachel Kurchin, Saturday March 6th, 4 PM EST](https://discourse.julialang.org/t/beginner-ama-featuring-dr-katharine-hyatt-and-dr-rachel-kurchin-saturday-march-6th-4-pm-est/56482)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 5\
**Last updated:** [March 4, 2021, 6:38pm UTC](https://discourse.julialang.org/t/beginner-ama-featuring-dr-katharine-hyatt-and-dr-rachel-kurchin-saturday-march-6th-4-pm-est/56482 "2021-03-04T18:38:46Z")

</div>

Hey all, join us this Saturday and bring your questions for an “Ask Me Anything” (AMA) session! CC @kslimes @rkurchin

---

## [Format color scale ticks in contourf (Plots.jl)](https://discourse.julialang.org/t/format-color-scale-ticks-in-contourf-plots-jl/56494)

<div class="topic-metadata">

**Author:** [@churli](https://discourse.julialang.org/u/churli)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 6:36pm UTC](https://discourse.julialang.org/t/format-color-scale-ticks-in-contourf-plots-jl/56494 "2021-03-04T18:36:07Z")

</div>

In Plots.jl it is possible to specify a formatter axis attribute to customize the ticks format. I.e. to show the ticks in scientific notation, one can pass formatter=:scientific. It is also possible to format one singl…

---

## [Workflow when experimenting with types](https://discourse.julialang.org/t/workflow-when-experimenting-with-types/56483)

<div class="topic-metadata">

**Author:** [@basp](https://discourse.julialang.org/u/basp)\
**Replies:** 9\
**Last updated:** [March 4, 2021, 6:24pm UTC](https://discourse.julialang.org/t/workflow-when-experimenting-with-types/56483 "2021-03-04T18:24:57Z")

</div>

Hi all, longtime lurker and irregular Julia user here. Revise is absolutely great and I love it but I wonder if there’s a better workflow when experimenting with types. I try to get my types defined ASAP but especially…

---

## [Is there a way to hide warnings produced by a specific module/dependency? Specific](https://discourse.julialang.org/t/is-there-a-way-to-hide-warnings-produced-by-a-specific-module-dependency-specific/56486)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 5:45pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-hide-warnings-produced-by-a-specific-module-dependency-specific/56486 "2021-03-04T17:45:18Z")

</div>

Is there a way to hide warnings produced by a specific module/dependency? Specifically I’m using AdvancedHMC and produces a warning every time a sample is rejected. Note that the original poster on Slack cannot see your…

---

## [Surface plot not working in Makie](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 5:43pm UTC](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488 "2021-03-04T17:43:24Z")

</div>

Hello everyone. I am having troubles to plot a surface in Makie. Here is a MWE: \]add GLMakie using Makie a = 1:0.1:20; b = 5:0.05:30; c = \[x\*log10(y) for x in a, y in b\]; x,y,z = surface(a,b,c) this gets me: Error s…

---

## [Use private registry in GitLab CI job](https://discourse.julialang.org/t/use-private-registry-in-gitlab-ci-job/36179)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 20\
**Last updated:** [March 4, 2021, 5:32pm UTC](https://discourse.julialang.org/t/use-private-registry-in-gitlab-ci-job/36179 "2021-03-04T17:32:13Z")

</div>

I have setup a GitLab CI Job to test a package I wrote - it works. Now I want to test a second package that depends on the first - private - package. I have made a private regsitry that I can use to add the package on …

---

## [One-dimensional matrix and vectors in broadcast](https://discourse.julialang.org/t/one-dimensional-matrix-and-vectors-in-broadcast/56146)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 7\
**Last updated:** [March 4, 2021, 5:20pm UTC](https://discourse.julialang.org/t/one-dimensional-matrix-and-vectors-in-broadcast/56146 "2021-03-04T17:20:16Z")

</div>

In a recent thread I noticed that mutating a vector by broadcasting operations on one-dimensional matrices does not work: julia\> x = rand(3,1); julia\> z = zeros(3); julia\> z .= x ERROR: DimensionMismatch("cannot broa…

---

## [Building simple sequence-to-one RNN with Flux](https://discourse.julialang.org/t/building-simple-sequence-to-one-rnn-with-flux/56361)

<div class="topic-metadata">

**Author:** [@asyrov](https://discourse.julialang.org/u/asyrov)\
**Replies:** 8\
**Last updated:** [March 4, 2021, 4:44pm UTC](https://discourse.julialang.org/t/building-simple-sequence-to-one-rnn-with-flux/56361 "2021-03-04T16:44:13Z")

</div>

Can anyone please help with my sequence-to-one RNN. Here is where I am: Each of my sequences consists of seq\_length vectors (with zero padding if necessary for shorter sequences), each of size n\_features, and if it make…

---

## [Server dimensions using Genie.jl](https://discourse.julialang.org/t/server-dimensions-using-genie-jl/56359)

<div class="topic-metadata">

**Author:** [@Philippus12](https://discourse.julialang.org/u/Philippus12)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 4:43pm UTC](https://discourse.julialang.org/t/server-dimensions-using-genie-jl/56359 "2021-03-04T16:43:04Z")

</div>

Hi there, my colleagues and I are working on a project where an interactive text book is being built with Julia. Since we want to host the entire thing on a server to allow others to access and use the notebook we went…

---

## [SampleChains](https://discourse.julialang.org/t/samplechains/55937)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 27\
**Last updated:** [March 4, 2021, 4:28pm UTC](https://discourse.julialang.org/t/samplechains/55937 "2021-03-04T16:28:51Z")

</div>

I’m working on a new interface for chains from MCMC sampling: I’ve copied the README below. I’d love any feedback on the interface, or ideas for making it more useful and/or powerful. Gratuitous @-ing… @Tamas\_Papp t…

---

## [LP Relaxation in JuMP](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476)

<div class="topic-metadata">

**Author:** [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 4:12pm UTC](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476 "2021-03-04T16:12:01Z")

</div>

What is the best way to get the LP relaxation of a MIP? Should I call relax\_integrality() and optimize, or is there a better way?

---

## [Julia throws additional LoadError during exception handling](https://discourse.julialang.org/t/julia-throws-additional-loaderror-during-exception-handling/56446)

<div class="topic-metadata">

**Author:** [@jonasjonker](https://discourse.julialang.org/u/jonasjonker)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 3:42pm UTC](https://discourse.julialang.org/t/julia-throws-additional-loaderror-during-exception-handling/56446 "2021-03-04T15:42:49Z")

</div>

I’m not really sure if this is the right place for this question, so please let me know where I should be if this is not the right place. I’m new to Julia, and I am writing some scripts that I’d like to use from the Lin…

---

## [Julia Online Notebook](https://discourse.julialang.org/t/julia-online-notebook/56474)

<div class="topic-metadata">

**Author:** [@dariush-bahrami](https://discourse.julialang.org/u/dariush-bahrami)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 3:24pm UTC](https://discourse.julialang.org/t/julia-online-notebook/56474 "2021-03-04T15:24:43Z")

</div>

On my way to learn Julia, instructors referred to JuliaBox several times. After searching about it I realized it has now been changed to JuliaHub. If I’m wrong, correct me. I logged in to JuliaHub with my Google account …

---

## [Too many levels of nested for loops](https://discourse.julialang.org/t/too-many-levels-of-nested-for-loops/56335)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 3:14pm UTC](https://discourse.julialang.org/t/too-many-levels-of-nested-for-loops/56335 "2021-03-04T15:14:04Z")

</div>

Is there a more pretty way to rewrite the code below, without performance penalties? sum = 0 for i1 in 1:4 for i2 in 1:4 for i3 in 1:4 for i4 in 1:4 sum += some\_function(i1, i2, i…

---

## [Colorbar doesn't reflect ColorGradient scale as specified in cgrad(..., scale = )](https://discourse.julialang.org/t/colorbar-doesnt-reflect-colorgradient-scale-as-specified-in-cgrad-scale/56431)

<div class="topic-metadata">

**Author:** [@Ivan](https://discourse.julialang.org/u/Ivan)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 6:23pm UTC](https://discourse.julialang.org/t/colorbar-doesnt-reflect-colorgradient-scale-as-specified-in-cgrad-scale/56431 "2021-03-03T18:23:21Z")

</div>

I have built the following composite plot: # Data x = rand(\[1, 2, 3, 4, 5\], 50) y = rand(50) z = rand(50) # Vector with labels to show on hover hovector = \[\] for i in 1:length(x) label = "$(x\[i\]), $(y\[i\]), $(z\[i\])"…

---

## [Squashed markers in Makie/Makielayout](https://discourse.julialang.org/t/squashed-markers-in-makie-makielayout/34886)

<div class="topic-metadata">

**Author:** [@neuralian](https://discourse.julialang.org/u/neuralian)\
**Replies:** 8\
**Last updated:** [March 4, 2021, 1:31pm UTC](https://discourse.julialang.org/t/squashed-markers-in-makie-makielayout/34886 "2021-03-04T13:31:03Z")

</div>

How do you maintain the aspect ratio (shape) of markers in sub-plots using Makie/MakieLayout? e.g. using MakieLayout using Makie scene = Scene(resolution = (1200, 900), camera=campixel!) layout = GridLayout( scene…

---

## [How to deal with the sum of absolute functions in a JuMP model?](https://discourse.julialang.org/t/how-to-deal-with-the-sum-of-absolute-functions-in-a-jump-model/56452)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 12:45pm UTC](https://discourse.julialang.org/t/how-to-deal-with-the-sum-of-absolute-functions-in-a-jump-model/56452 "2021-03-04T12:45:49Z")

</div>

I would like to add a constraint that is the sum of absolute values, something like using JuMP model = Model(Ipopt.Optimizer) @variable(model, w\[1:n\] \>=0) ... @constraint(model, sum(abs.(w - p)) \<= alpha) # not possib…

---

## [Smoothing Discontinuities in 3D Plots](https://discourse.julialang.org/t/smoothing-discontinuities-in-3d-plots/56437)

<div class="topic-metadata">

**Author:** [@tross](https://discourse.julialang.org/u/tross)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 9:01am UTC](https://discourse.julialang.org/t/smoothing-discontinuities-in-3d-plots/56437 "2021-03-04T09:01:40Z")

</div>

Hi there, I have a fairly simple problem. I am trying to do a 3D plot of a function that has discontinuities, but I can’t figure out how to get the boundary of the discontinuity to look smooth instead of spikey. Here is…

---

## [Why does wrapping an array in a composite type degrade performance?](https://discourse.julialang.org/t/why-does-wrapping-an-array-in-a-composite-type-degrade-performance/56197)

<div class="topic-metadata">

**Author:** [@mroavi](https://discourse.julialang.org/u/mroavi)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 9:49am UTC](https://discourse.julialang.org/t/why-does-wrapping-an-array-in-a-composite-type-degrade-performance/56197 "2021-03-04T09:49:55Z")

</div>

The code below performs 2 broadcast multiplications between 2 3D-arrays. The result of the latter is wrapped in a composite type. Does anybody know why the former is faster and allocates less memory? Is it a benchmarking…

---

## [Method matching an array with elements of a composite type with parametric types](https://discourse.julialang.org/t/method-matching-an-array-with-elements-of-a-composite-type-with-parametric-types/56271)

<div class="topic-metadata">

**Author:** [@mroavi](https://discourse.julialang.org/u/mroavi)\
**Replies:** 8\
**Last updated:** [March 4, 2021, 9:32am UTC](https://discourse.julialang.org/t/method-matching-an-array-with-elements-of-a-composite-type-with-parametric-types/56271 "2021-03-04T09:32:29Z")

</div>

Here is my composite type: mutable struct Factor{T, N} vars::NTuple{N,Int64} vals::Array{T,N} end How can I define a method that matches arrays with elements of this type and that can access the parametric type T? …

---

## [Start, step, length for \`range\`](https://discourse.julialang.org/t/start-step-length-for-range/56465)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 4\
**Last updated:** [March 4, 2021, 9:32am UTC](https://discourse.julialang.org/t/start-step-length-for-range/56465 "2021-03-04T09:32:20Z")

</div>

I am getting an error when trying to create a range with a start, step, length: julia\> range(start=0, step=fs, length=2^10) ERROR: MethodError: no method matching range(; start=0, step=0.01, length=1024) Is there any g…

---

## [Error when getting grads of an ensemble simulation with the newest packages](https://discourse.julialang.org/t/error-when-getting-grads-of-an-ensemble-simulation-with-the-newest-packages/56019)

<div class="topic-metadata">

**Author:** [@MikeKlocCZ](https://discourse.julialang.org/u/MikeKlocCZ)\
**Replies:** 2\
**Last updated:** [March 4, 2021, 9:11am UTC](https://discourse.julialang.org/t/error-when-getting-grads-of-an-ensemble-simulation-with-the-newest-packages/56019 "2021-03-04T09:11:12Z")

</div>

Hello everyone, I updated to the newest packages of Zygote and Flux and I get error apparently related to the paralelization of an ensemble simulation using DifferentialEquations, Flux, DiffEqFlux using DiffEqSensiti…

---

## [Interprete Profile results](https://discourse.julialang.org/t/interprete-profile-results/55902)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 8:52am UTC](https://discourse.julialang.org/t/interprete-profile-results/55902 "2021-03-04T08:52:52Z")

</div>

Dear Julia experts, I have profiled my code and get the following results. The major worker in the code is a recursive function. Does this result show that something is wrong with that ? Perhaps I should specify the inp…

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

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