# Latest

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

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

**Page:** 754

---

## [Unexpected input on Julia Repl in VSCode](https://discourse.julialang.org/t/unexpected-input-on-julia-repl-in-vscode/96046)

<div class="topic-metadata">

**Author:** [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 9:36pm UTC](https://discourse.julialang.org/t/unexpected-input-on-julia-repl-in-vscode/96046 "2023-03-14T21:36:04Z")

</div>

When I open my Julia project and start Julia Repl via pressing “Alt+J Alt+O”, following commands always appear automatically, I want to know how to stop this. Thanks in advance！ julia\> E:/Codesoftwares/anaconda3/Scripts…

---

## [Error with HiGHS independent parallel solves](https://discourse.julialang.org/t/error-with-highs-independent-parallel-solves/96048)

<div class="topic-metadata">

**Author:** [@Naunet](https://discourse.julialang.org/u/Naunet)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 9:33pm UTC](https://discourse.julialang.org/t/error-with-highs-independent-parallel-solves/96048 "2023-03-14T21:33:04Z")

</div>

A parallel example using HiGHS was recently published here : Parallelism · JuMP However, when I change the model used to something that requires several iterations instead of just presolve it prints a bunch of Iteration…

---

## [Happy Pi Day!](https://discourse.julialang.org/t/happy-pi-day/96043)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 3\
**Last updated:** [March 14, 2023, 9:02pm UTC](https://discourse.julialang.org/t/happy-pi-day/96043 "2023-03-14T21:02:43Z")

</div>

Happy Pi Day. Any interesting Julian codes related to pi? Anyone coded Bailey Borwein Plouffe in Julia?

---

## [Memory allocation issue of a Euler solver implementation](https://discourse.julialang.org/t/memory-allocation-issue-of-a-euler-solver-implementation/96086)

<div class="topic-metadata">

**Author:** [@stevengogogo](https://discourse.julialang.org/u/stevengogogo)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 8:47pm UTC](https://discourse.julialang.org/t/memory-allocation-issue-of-a-euler-solver-implementation/96086 "2023-03-14T20:47:31Z")

</div>

Hello all, I am implementing ODE solvers for a class assignment. Unfortunately, there is a memory allocation problem with my script, and the performance is not optimal. Problem Description The implementation uses the f…

---

## [Error Messages](https://discourse.julialang.org/t/error-messages/96019)

<div class="topic-metadata">

**Author:** [@luol3](https://discourse.julialang.org/u/luol3)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 8:07pm UTC](https://discourse.julialang.org/t/error-messages/96019 "2023-03-14T20:07:51Z")

</div>

I am trying to run the trained simulation from the following neuroscience paper (Distributing task-related neural activity across a cortical network through task-independent connections and my script currently looks like…

---

## [Perf help: Random Walks for BoundaryValueProblems](https://discourse.julialang.org/t/perf-help-random-walks-for-boundaryvalueproblems/96082)

<div class="topic-metadata">

**Author:** [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 8:27pm UTC](https://discourse.julialang.org/t/perf-help-random-walks-for-boundaryvalueproblems/96082 "2023-03-14T20:27:47Z")

</div>

Hey all :wave: I started working on some code for a class project and I’m proud to say I took it down from my professor’s 300s to sub 6s :smiley: . I am now trying to do the fastest serial version of it before making it…

---

## [Matrix-Free/Function-Only Linear Solves](https://discourse.julialang.org/t/matrix-free-function-only-linear-solves/95411)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 5\
**Last updated:** [March 14, 2023, 7:26pm UTC](https://discourse.julialang.org/t/matrix-free-function-only-linear-solves/95411 "2023-03-14T19:26:08Z")

</div>

Suppose I want to solve a system of equations A\*x = b, and I have a function A\_func such that A\_func(x) = A\*x. How could I go about solving the system of equations without constructing the matrix A? I could construct th…

---

## [Time Series Plots with percentiles](https://discourse.julialang.org/t/time-series-plots-with-percentiles/95902)

<div class="topic-metadata">

**Author:** [@gokulbalagopal](https://discourse.julialang.org/u/gokulbalagopal)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 3:13pm UTC](https://discourse.julialang.org/t/time-series-plots-with-percentiles/95902 "2023-03-14T15:13:41Z")

</div>

Hi, I was wondering if there was a way in Julia to create timeseries plots with percentile bands. I have tried it using ribbon option in plot recipies. I do get some bands, but I am not understanding how to adjust the w…

---

## [Batch process Pluto.jl notebooks to update packages](https://discourse.julialang.org/t/batch-process-pluto-jl-notebooks-to-update-packages/96070)

<div class="topic-metadata">

**Author:** [@Stefan\_Bringuier](https://discourse.julialang.org/u/Stefan_Bringuier)\
**Replies:** 0\
**Last updated:** [March 14, 2023, 5:32pm UTC](https://discourse.julialang.org/t/batch-process-pluto-jl-notebooks-to-update-packages/96070 "2023-03-14T17:32:04Z")

</div>

I’m wondering how to specify that packages in a Pluto notebook get updated when use github action with PlutoSliderServer.jl static export. I have the following in my .toml and I’m not sure if it’s updating the package ve…

---

## [Use of update!() in RXInfer to handle multiple iterations](https://discourse.julialang.org/t/use-of-update-in-rxinfer-to-handle-multiple-iterations/95709)

<div class="topic-metadata">

**Author:** [@John\_Boik](https://discourse.julialang.org/u/John_Boik)\
**Replies:** 12\
**Last updated:** [March 14, 2023, 4:35pm UTC](https://discourse.julialang.org/t/use-of-update-in-rxinfer-to-handle-multiple-iterations/95709 "2023-03-14T16:35:05Z")

</div>

I am trying to implement the van de Laar chance constraint model in RXInfer, and as a warm-up I have implemented the reference model from the same paper. Code is included at the end of this post that produces an output g…

---

## [Functions with Strings](https://discourse.julialang.org/t/functions-with-strings/96054)

<div class="topic-metadata">

**Author:** [@Sunshine](https://discourse.julialang.org/u/Sunshine)\
**Replies:** 11\
**Last updated:** [March 14, 2023, 4:19pm UTC](https://discourse.julialang.org/t/functions-with-strings/96054 "2023-03-14T16:19:48Z")

</div>

Hi All, I am trying to build a function which takes words as the input and checks them against a table: Colour = collect(“BROYWGIP”) Colourtable = Table(name = \[“Black”, “Red”, “Orange”, “Yellow”, “White”, “Green”, “B…

---

## [How to change the entire column form for different situation?](https://discourse.julialang.org/t/how-to-change-the-entire-column-form-for-different-situation/96037)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 3:28pm UTC](https://discourse.julialang.org/t/how-to-change-the-entire-column-form-for-different-situation/96037 "2023-03-14T15:28:20Z")

</div>

Hi, I have got a dataset from kaggle and its relate to travel, Here are the link for raw datasets: https://raw.githubusercontent.com/akshdfyehd/travel/main/Travel%20details%20dataset.csv there is a column call “Destina…

---

## [Run stochastic models in parallel in for loop](https://discourse.julialang.org/t/run-stochastic-models-in-parallel-in-for-loop/96052)

<div class="topic-metadata">

**Author:** [@Pablo\_Flores](https://discourse.julialang.org/u/Pablo_Flores)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 2:33pm UTC](https://discourse.julialang.org/t/run-stochastic-models-in-parallel-in-for-loop/96052 "2023-03-14T14:33:34Z")

</div>

Hi everyone, I’m working in my master’s thesis and trying to lower the running time that my code has, by parallelizing the optimization of different models created by scenarios, to then calculate some other values after…

---

## [Lux initialization](https://discourse.julialang.org/t/lux-initialization/96049)

<div class="topic-metadata">

**Author:** [@Stefano\_Giampiccolo](https://discourse.julialang.org/u/Stefano_Giampiccolo)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 12:22pm UTC](https://discourse.julialang.org/t/lux-initialization/96049 "2023-03-14T12:22:59Z")

</div>

Hello everyone, I apologize for the probably naive question, but if I wanted to initialize the layer parameters with glorot\_uniform in Lux with a gain smaller than the default, how do I then obtain the parameters and sta…

---

## [JSON3 string to Numeric](https://discourse.julialang.org/t/json3-string-to-numeric/96050)

<div class="topic-metadata">

**Author:** [@oliviermilla](https://discourse.julialang.org/u/oliviermilla)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 11:55am UTC](https://discourse.julialang.org/t/json3-string-to-numeric/96050 "2023-03-14T11:55:16Z")

</div>

I have this API that returns all data as string: { value: "35.2" } Yet I want to map it to astruct with the proper type struct Data vaue::Float16 end How can I instruct JSON3 to do the conversion?

---

## [TagBot trigger issue](https://discourse.julialang.org/t/tagbot-trigger-issue/96041)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 11:52am UTC](https://discourse.julialang.org/t/tagbot-trigger-issue/96041 "2023-03-14T11:52:52Z")

</div>

As shown in TagBot trigger issue · Issue #5 · JinraeKim/SensitivityRankCondition.jl · GitHub, there is a TagBot trigger issue. I read this post but my TagBot.yml is the same as suggested, that is, name: TagBot on: i…

---

## [Simple resource logging tool/script for Linux?](https://discourse.julialang.org/t/simple-resource-logging-tool-script-for-linux/96040)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 10:53am UTC](https://discourse.julialang.org/t/simple-resource-logging-tool-script-for-linux/96040 "2023-03-14T10:53:01Z")

</div>

Hello, I need to evaluate “how much” of my lab computational server resources are actually used (RAM,CPU,disk, network) and which are the bottlenecks before eventually update the server to a bigger one. So, I plan to ha…

---

## [Reproducing CI test errors locally](https://discourse.julialang.org/t/reproducing-ci-test-errors-locally/96045)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 10:37am UTC](https://discourse.julialang.org/t/reproducing-ci-test-errors-locally/96045 "2023-03-14T10:37:28Z")

</div>

I am writing a new package, and seeing a CI error using Github Actions, that I don’t see locally in my development environment. In a previous thread someone has suggested SSHing to the CI machine to debug this. However,…

---

## [How does replace.() work on a string vector containing missing?](https://discourse.julialang.org/t/how-does-replace-work-on-a-string-vector-containing-missing/96029)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 16\
**Last updated:** [March 14, 2023, 10:30am UTC](https://discourse.julialang.org/t/how-does-replace-work-on-a-string-vector-containing-missing/96029 "2023-03-14T10:30:37Z")

</div>

replace() and replace.() both work on the same string vector containing no missing julia\> vs=\["1.","2","3.","1"\] 4-element Vector{String}: "1." "2" "3." "1" julia\> replace(vs, "1"=\>"999") 4-element Vector{String}: …

---

## [Getting Help '?' doesn't work in vscode with julia notebook kernel](https://discourse.julialang.org/t/getting-help-doesnt-work-in-vscode-with-julia-notebook-kernel/96032)

<div class="topic-metadata">

**Author:** [@JackaChou](https://discourse.julialang.org/u/JackaChou)\
**Replies:** 2\
**Last updated:** [March 14, 2023, 10:30am UTC](https://discourse.julialang.org/t/getting-help-doesnt-work-in-vscode-with-julia-notebook-kernel/96032 "2023-03-14T10:30:20Z")

</div>

Getting Help ‘?’ doesn’t work in the vs code with Julia notebook kernel, how can I make it work, or are there some alternative methods to solve it?

---

## [Allowing the object.method(args...) syntax as an alias for method(object, args ...)](https://discourse.julialang.org/t/allowing-the-object-method-args-syntax-as-an-alias-for-method-object-args/62051)

<div class="topic-metadata">

**Author:** [@gianmariomanca](https://discourse.julialang.org/u/gianmariomanca)\
**Replies:** 215\
**Last updated:** [March 14, 2023, 7:04am UTC](https://discourse.julialang.org/t/allowing-the-object-method-args-syntax-as-an-alias-for-method-object-args/62051 "2023-03-14T07:04:49Z")

</div>

I started exploring Julia very recently and I like it. I’ve been chatting about it with colleagues. Many people coming from OOP languages (Python…) like the syntax object.method(a,b,c…). Since you can get a preview of …

---

## [BioJulia Fastx import long{4}](https://discourse.julialang.org/t/biojulia-fastx-import-long-4/78098)

<div class="topic-metadata">

**Author:** [@Jdbeck66](https://discourse.julialang.org/u/Jdbeck66)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 4:19am UTC](https://discourse.julialang.org/t/biojulia-fastx-import-long-4/78098 "2023-03-14T04:19:35Z")

</div>

I have a fast file that I loaded with FASTX and it seems that the data is stored as a LongDNA{4}. There are no ambiguities in the reads and I’d like to work with them as 2 bit sequences but I get an error when I try to …

---

## [Issue with memoization with JuMP for NLP when adding @NLObjective](https://discourse.julialang.org/t/issue-with-memoization-with-jump-for-nlp-when-adding-nlobjective/96033)

<div class="topic-metadata">

**Author:** [@YuriS](https://discourse.julialang.org/u/YuriS)\
**Replies:** 3\
**Last updated:** [March 14, 2023, 2:36am UTC](https://discourse.julialang.org/t/issue-with-memoization-with-jump-for-nlp-when-adding-nlobjective/96033 "2023-03-14T02:36:59Z")

</div>

Hello, I’ve been following this tutorial from JuMP on memorization for NLP via JuMP with user-defined, vector-output functions One issue I am having currently is that once I have a memorized function registered to the m…

---

## [How to obtain dual variables (shadow price) for a set of constraints](https://discourse.julialang.org/t/how-to-obtain-dual-variables-shadow-price-for-a-set-of-constraints/95986)

<div class="topic-metadata">

**Author:** [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 1:48am UTC](https://discourse.julialang.org/t/how-to-obtain-dual-variables-shadow-price-for-a-set-of-constraints/95986 "2023-03-14T01:48:46Z")

</div>

Hello, I have time-related constraints and I modeled it as for time in 1:nTime @constraint(model, a\[time\] + b\[time\] == c\[time\], base\_name = "cons" end The model is solved and I want to obtain the dual variables, …

---

## [Let block in an inner function captures variables from outer function](https://discourse.julialang.org/t/let-block-in-an-inner-function-captures-variables-from-outer-function/96027)

<div class="topic-metadata">

**Author:** [@artemsolod](https://discourse.julialang.org/u/artemsolod)\
**Replies:** 4\
**Last updated:** [March 13, 2023, 11:55pm UTC](https://discourse.julialang.org/t/let-block-in-an-inner-function-captures-variables-from-outer-function/96027 "2023-03-13T23:55:12Z")

</div>

I expected the following definitions f1 and f2 to be equivalent but inner in f1 overwrites state variable from its outer scope despite being assigned in a let-block. Just trying to understand whether this is a bug? Teste…

---

## [How to split a very long string used in a macro?](https://discourse.julialang.org/t/how-to-split-a-very-long-string-used-in-a-macro/96021)

<div class="topic-metadata">

**Author:** [@g2g](https://discourse.julialang.org/u/g2g)\
**Replies:** 4\
**Last updated:** [March 13, 2023, 10:28pm UTC](https://discourse.julialang.org/t/how-to-split-a-very-long-string-used-in-a-macro/96021 "2023-03-13T22:28:39Z")

</div>

To avoid the horizontal scrolling necessary to read a very long unsplit string, any suggestions on how to split the following very long string used in a macro? # mwestr.jl : very long string used by a macro using GLMaki…

---

## [Detecting presence of kwdef defaults](https://discourse.julialang.org/t/detecting-presence-of-kwdef-defaults/95991)

<div class="topic-metadata">

**Author:** [@lwabeke](https://discourse.julialang.org/u/lwabeke)\
**Replies:** 1\
**Last updated:** [March 13, 2023, 10:27pm UTC](https://discourse.julialang.org/t/detecting-presence-of-kwdef-defaults/95991 "2023-03-13T22:27:01Z")

</div>

For a while I have struggled with trying to figure out how to properly allow the Unmarshal.jl package to play with kwdef fields, in particular default fields. The logic typically was given a struct type T that I want to…

---

## [Recommend a parsing library for LibPQ.jl?](https://discourse.julialang.org/t/recommend-a-parsing-library-for-libpq-jl/96023)

<div class="topic-metadata">

**Author:** [@iamed2](https://discourse.julialang.org/u/iamed2)\
**Replies:** 1\
**Last updated:** [March 13, 2023, 10:14pm UTC](https://discourse.julialang.org/t/recommend-a-parsing-library-for-libpq-jl/96023 "2023-03-13T22:14:47Z")

</div>

I’m looking to improve the parsing code in LibPQ and expand support for more data types. PCRE2 is expensive and heavyweight, but it’s a challenge to write each parser from scratch and I don’t want to reinvent the wheel. …

---

## [Multiple normal distributions in one 3D plot](https://discourse.julialang.org/t/multiple-normal-distributions-in-one-3d-plot/95969)

<div class="topic-metadata">

**Author:** [@Mouad](https://discourse.julialang.org/u/Mouad)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 10:02pm UTC](https://discourse.julialang.org/t/multiple-normal-distributions-in-one-3d-plot/95969 "2023-03-13T22:02:13Z")

</div>

Hello, I am trying to plot multiple normal distributions centered around the same mean with different variations in GLmakie. Pretty much this picture (generated in wolfram alpha): Hopefully, also animate it by making…

---

## [\[ANN\] REPLference.jl: An elegant approach for locating names that can be called on objects](https://discourse.julialang.org/t/ann-replference-jl-an-elegant-approach-for-locating-names-that-can-be-called-on-objects/96026)

<div class="topic-metadata">

**Author:** [@uje](https://discourse.julialang.org/u/uje)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 7:49pm UTC](https://discourse.julialang.org/t/ann-replference-jl-an-elegant-approach-for-locating-names-that-can-be-called-on-objects/96026 "2023-03-13T19:49:09Z")

</div>

We are thrilled to announce the release of REPLference.jl, which was created in response to an ongoing thread. After months of development and testing, we are proud to present a package that solves the problem initially …

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

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