# Latest

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

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

**Page:** 994

---

## [ERROR: UndefVarError: write\_parquet not defined](https://discourse.julialang.org/t/error-undefvarerror-write-parquet-not-defined/83642)

<div class="topic-metadata">

**Author:** [@vargasje](https://discourse.julialang.org/u/vargasje)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 8:29pm UTC](https://discourse.julialang.org/t/error-undefvarerror-write-parquet-not-defined/83642 "2022-07-01T20:29:25Z")

</div>

OS = Ubuntu 22.04 LTS Julia Version = 1.7.3 Pkg.add(“ParquetFiles”) ; using ParquetFiles Pkg.add(“IndexedTables”) ; using IndexedTables Pkg.add(“TimeSeries”) ; using TimeSeries Pkg.add(“Temporal”); using Temporal P…

---

## [How to change values on axes](https://discourse.julialang.org/t/how-to-change-values-on-axes/83639)

<div class="topic-metadata">

**Author:** [@anthonyrear](https://discourse.julialang.org/u/anthonyrear)\
**Replies:** 2\
**Last updated:** [July 1, 2022, 6:56pm UTC](https://discourse.julialang.org/t/how-to-change-values-on-axes/83639 "2022-07-01T18:56:57Z")

</div>

Hello everyone! Im trying to develop a neural network using Julia. But im having trouble plotting the values I can reduce my problem and I can propose the next one: I dont want to have the x axis from 0 to 200(whic…

---

## [Speedup over cython/GSL ODE/SDE solvers?](https://discourse.julialang.org/t/speedup-over-cython-gsl-ode-sde-solvers/83490)

<div class="topic-metadata">

**Author:** [@kjohnsen](https://discourse.julialang.org/u/kjohnsen)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 6:28pm UTC](https://discourse.julialang.org/t/speedup-over-cython-gsl-ode-sde-solvers/83490 "2022-07-01T18:28:30Z")

</div>

Hello there! I’m somewhat new to Julia. I’m scoping out a spiking neural network/ML project, and I’ve been using Brian 2 simulator a lot in Python. It would consist of training recurrent spiking neural networks to perfor…

---

## [Package Mangement Problems](https://discourse.julialang.org/t/package-mangement-problems/83570)

<div class="topic-metadata">

**Author:** [@kw\_martin](https://discourse.julialang.org/u/kw_martin)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 6:00pm UTC](https://discourse.julialang.org/t/package-mangement-problems/83570 "2022-07-01T18:00:38Z")

</div>

I am developing a “package” similar to Mathworks Simulink but base on Julia. Entry is via xschem schematic capture into a verilog net list, which is parsed into an abstract syntax tree, and then into a “Universal Net Lis…

---

## [Learning AI from scratch](https://discourse.julialang.org/t/learning-ai-from-scratch/82036)

<div class="topic-metadata">

**Author:** [@gudyrmik](https://discourse.julialang.org/u/gudyrmik)\
**Replies:** 5\
**Last updated:** [July 1, 2022, 5:28pm UTC](https://discourse.julialang.org/t/learning-ai-from-scratch/82036 "2022-07-01T17:28:09Z")

</div>

Hello Julians, need an advice on several topics, please. (1) A starting point from the scratch into AI (ML example: not fit/predict/dashboard, but rather scientifical way) is Calculus, Linear Algebra and Probability The…

---

## [Cannot type "@" in Jupyter notebooks with macOS Swiss German keyboard layout](https://discourse.julialang.org/t/cannot-type-in-jupyter-notebooks-with-macos-swiss-german-keyboard-layout/83573)

<div class="topic-metadata">

**Author:** [@Smsng2\_Xprss](https://discourse.julialang.org/u/Smsng2_Xprss)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 5:28pm UTC](https://discourse.julialang.org/t/cannot-type-in-jupyter-notebooks-with-macos-swiss-german-keyboard-layout/83573 "2022-07-01T17:28:05Z")

</div>

When using Julia in Jupyter Notebook, if I want to type “@” in the cell (for example @variables), key kombination alt + G on my mac is somehow reserved for a shortcut " Jump to line…", so I am not able to type a literal …

---

## [My experience as a Julia and R user](https://discourse.julialang.org/t/my-experience-as-a-julia-and-r-user/83613)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 8\
**Last updated:** [July 1, 2022, 4:20pm UTC](https://discourse.julialang.org/t/my-experience-as-a-julia-and-r-user/83613 "2022-07-01T16:20:06Z")

</div>

Hi! I’m a relatively new user of Julia, and I thought that maybe contributors of DataFrames and Econometrics packages could find my feedback useful. I’ve been primarily using Julia for DataFrames, which is a package I l…

---

## [GeoStatsTutorials - Call for contributions](https://discourse.julialang.org/t/geostatstutorials-call-for-contributions/83634)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 4:13pm UTC](https://discourse.julialang.org/t/geostatstutorials-call-for-contributions/83634 "2022-07-01T16:13:37Z")

</div>

Isn’t it nice when you can just copy/paste a tutorial and adjust it to your own needs? The GeoStatsTutorials are a collection of Pluto notebooks designed to educate people about geostatistical modeling in Julia. These t…

---

## [Easy way to reach online documentation?](https://discourse.julialang.org/t/easy-way-to-reach-online-documentation/83462)

<div class="topic-metadata">

**Author:** [@tobydriscoll](https://discourse.julialang.org/u/tobydriscoll)\
**Replies:** 10\
**Last updated:** [July 1, 2022, 4:02pm UTC](https://discourse.julialang.org/t/easy-way-to-reach-online-documentation/83462 "2022-07-01T16:02:12Z")

</div>

This is one of those “what am I missing?” posts. The function-based documentation of packages using ? at the REPL is, shall we say, inconsistently helpful. Most decent packages do have web documentation that ranges from…

---

## [Calling macro from within generated function in Julia](https://discourse.julialang.org/t/calling-macro-from-within-generated-function-in-julia/83632)

<div class="topic-metadata">

**Author:** [@JordiManyer](https://discourse.julialang.org/u/JordiManyer)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 4:01pm UTC](https://discourse.julialang.org/t/calling-macro-from-within-generated-function-in-julia/83632 "2022-07-01T16:01:43Z")

</div>

I have been messing around with generated functions in Julia, and have come to a weird problem I do not understand fully: My final goal would involve calling a macro (more specifically @tullio) from within a generated fu…

---

## [Chaining calls to the binary .. operator](https://discourse.julialang.org/t/chaining-calls-to-the-binary-operator/83219)

<div class="topic-metadata">

**Author:** [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Replies:** 6\
**Last updated:** [July 1, 2022, 3:57pm UTC](https://discourse.julialang.org/t/chaining-calls-to-the-binary-operator/83219 "2022-07-01T15:57:52Z")

</div>

Is there a way I can create a unary operator function that can function like: using Dates ..(x::Int,y::Int,z::Int)=Date(x,y,z) -\> 2022..1..1 == Date(2022,1,1) true I can catch a solution like: struct I{T} x::T…

---

## [ModelingToolkit: Indexing a parameter by another parameter in an ODEProblem](https://discourse.julialang.org/t/modelingtoolkit-indexing-a-parameter-by-another-parameter-in-an-odeproblem/83569)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 3:54pm UTC](https://discourse.julialang.org/t/modelingtoolkit-indexing-a-parameter-by-another-parameter-in-an-odeproblem/83569 "2022-07-01T15:54:25Z")

</div>

I have an ODEProblem where I need to index into a parameter using another separate parameter. Consider for example using ModelingToolkit, DifferentialEquations function rober(du, u, p, t) y₁, y₂, y₃ = u k₁, k₂, …

---

## [How to map a function over the given axis of a multi-dimension array and return another array?](https://discourse.julialang.org/t/how-to-map-a-function-over-the-given-axis-of-a-multi-dimension-array-and-return-another-array/83586)

<div class="topic-metadata">

**Author:** [@zhangqian](https://discourse.julialang.org/u/zhangqian)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 3:27pm UTC](https://discourse.julialang.org/t/how-to-map-a-function-over-the-given-axis-of-a-multi-dimension-array-and-return-another-array/83586 "2022-07-01T15:27:32Z")

</div>

I am trying to rotate some images, so I want to write something like np.array(list(map(lambda x: rotate(x), images))) in python, where the variable images is an array of shape \[N, H, W\]. Is there a method in julia that…

---

## [Pluto notebooks: defining Javascript function in \<script\> for call by onclick](https://discourse.julialang.org/t/pluto-notebooks-defining-javascript-function-in-script-for-call-by-onclick/83533)

<div class="topic-metadata">

**Author:** [@Snoeyink](https://discourse.julialang.org/u/Snoeyink)\
**Replies:** 3\
**Last updated:** [July 1, 2022, 3:10pm UTC](https://discourse.julialang.org/t/pluto-notebooks-defining-javascript-function-in-script-for-call-by-onclick/83533 "2022-07-01T15:10:19Z")

</div>

I’m creating truth tables in a Pluto notebook in html, and want to use javascript/CSS to show result columns when one clicks on the headers, as in this jsfiddle example, (Note the \<th onclick="toggleColumn(2)"\> calls to…

---

## [How to share function f() arguments with Threads.@spawn?](https://discourse.julialang.org/t/how-to-share-function-f-arguments-with-threads-spawn/83627)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 2:37pm UTC](https://discourse.julialang.org/t/how-to-share-function-f-arguments-with-threads-spawn/83627 "2022-07-01T14:37:15Z")

</div>

Dear all, First of all, sorry if element has been questioned before. I have the following code with multi-threads ($ julia --threads=4 when launching Julia ): : import Base.Threads.@spawn mutable struct MyStructTest…

---

## [Underperformant mapreduce](https://discourse.julialang.org/t/underperformant-mapreduce/83624)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 2:10pm UTC](https://discourse.julialang.org/t/underperformant-mapreduce/83624 "2022-07-01T14:10:29Z")

</div>

Conceptually, shouldn’t the mapreduce version be faster than the reduce version? Granted, the difference is not much, but there are consistently some nanoseconds missing. julia\> N = 5115; julia\> a1 = rand(Bool, N); j…

---

## [Translation of Julia's document in Persian language](https://discourse.julialang.org/t/translation-of-julias-document-in-persian-language/83620)

<div class="topic-metadata">

**Author:** [@MahanBakhshi](https://discourse.julialang.org/u/MahanBakhshi)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 2:07pm UTC](https://discourse.julialang.org/t/translation-of-julias-document-in-persian-language/83620 "2022-07-01T14:07:42Z")

</div>

Hello I want to translate Julia’s document into Farsi language. My question is, will that original document be available or not? Otherwise, what way do you suggest to make it available to the public through Julia’s ma…

---

## [Creative DSLs in Julia](https://discourse.julialang.org/t/creative-dsls-in-julia/83616)

<div class="topic-metadata">

**Author:** [@Federalsaw](https://discourse.julialang.org/u/Federalsaw)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 1:23pm UTC](https://discourse.julialang.org/t/creative-dsls-in-julia/83616 "2022-07-01T13:23:15Z")

</div>

So for a while I’ve been trying to write a simple DSL that allows the user to simply create abstract art by writing code, but I don’t know where to start. Could someone recommend me some libraries/resources to help me a…

---

## [Using VS Code behind corporate proxy](https://discourse.julialang.org/t/using-vs-code-behind-corporate-proxy/83615)

<div class="topic-metadata">

**Author:** [@deserted\_eagle](https://discourse.julialang.org/u/deserted_eagle)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 12:31pm UTC](https://discourse.julialang.org/t/using-vs-code-behind-corporate-proxy/83615 "2022-07-01T12:31:50Z")

</div>

Hi all, I’m developing Julia on VS Code using the Julia plugin, but I think some of the functionality is not working because my company’s proxy is in the way. For example, I’m hardly getting any annotation from the lint…

---

## [Develop julia base/\* vs usr/share/julia/src/base/\*](https://discourse.julialang.org/t/develop-julia-base-vs-usr-share-julia-src-base/82643)

<div class="topic-metadata">

**Author:** [@albheim](https://discourse.julialang.org/u/albheim)\
**Replies:** 9\
**Last updated:** [July 1, 2022, 11:27am UTC](https://discourse.julialang.org/t/develop-julia-base-vs-usr-share-julia-src-base/82643 "2022-07-01T11:27:21Z")

</div>

I had cloned and built julia, and was playing around with some things in base/\*, using Revise.track(Base), and seeing the changes in the REPL as I made them in the files. I restart julia and try to run things again, thou…

---

## [\[ANN\] OptimalApplication.jl: Exact, approximate, and heuristic algorithms for the college application problem](https://discourse.julialang.org/t/ann-optimalapplication-jl-exact-approximate-and-heuristic-algorithms-for-the-college-application-problem/83556)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 0\
**Last updated:** [June 30, 2022, 8:35am UTC](https://discourse.julialang.org/t/ann-optimalapplication-jl-exact-approximate-and-heuristic-algorithms-for-the-college-application-problem/83556 "2022-06-30T08:35:48Z")

</div>

The college application problem … is a combinatorial portfolio optimization problem. It involves deciding which colleges you should apply to, given each school’s probability of admission, utility payoff, and applicatio…

---

## [Bezier Curve with Javis.jl: gif is not showing](https://discourse.julialang.org/t/bezier-curve-with-javis-jl-gif-is-not-showing/83606)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 10:39am UTC](https://discourse.julialang.org/t/bezier-curve-with-javis-jl-gif-is-not-showing/83606 "2022-07-01T10:39:40Z")

</div>

I am trying the code below but the gif is not produced. It only says: animate\_bezier(generic function with 1 method) I try some methods to produce gif but still no gif created. using Plots # for the LaTeX labels in th…

---

## [Metal.jl : Seamless GPU acceleration for Julia based physics using unified processing units?](https://discourse.julialang.org/t/metal-jl-seamless-gpu-acceleration-for-julia-based-physics-using-unified-processing-units/83006)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 10:38am UTC](https://discourse.julialang.org/t/metal-jl-seamless-gpu-acceleration-for-julia-based-physics-using-unified-processing-units/83006 "2022-07-01T10:38:21Z")

</div>

Hi, I found this work about GPU programming with apple silicon machines very interesting : Seamless GPU acceleration for C++ based physics using unified processing units: A case study for elastic wave propagation and PD…

---

## [Looping over variables names properly](https://discourse.julialang.org/t/looping-over-variables-names-properly/80468)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 19\
**Last updated:** [July 1, 2022, 9:55am UTC](https://discourse.julialang.org/t/looping-over-variables-names-properly/80468 "2022-07-01T09:55:06Z")

</div>

I have a few arrays, say x, y, z, and I want to take all of their means and put them into new variables as x\_mean = mean(x). Is there a way to do this in a for loop? Something like for a in \["x", "y", "z"\] $a\_mean …

---

## [Unable to automatically install any \_jll](https://discourse.julialang.org/t/unable-to-automatically-install-any-jll/83601)

<div class="topic-metadata">

**Author:** [@Eurel](https://discourse.julialang.org/u/Eurel)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 9:42am UTC](https://discourse.julialang.org/t/unable-to-automatically-install-any-jll/83601 "2022-07-01T09:42:50Z")

</div>

I have a problem with installing binaries wrappers (Sundials\_jll or MPICH\_jll when trying to install PETSc or ), whether I am installing it from an URL or from a local path after downloading the repo manually. My curren…

---

## [How to update a data set using another data set?](https://discourse.julialang.org/t/how-to-update-a-data-set-using-another-data-set/80203)

<div class="topic-metadata">

**Author:** [@mostafa1342004](https://discourse.julialang.org/u/mostafa1342004)\
**Replies:** 5\
**Last updated:** [July 1, 2022, 9:30am UTC](https://discourse.julialang.org/t/how-to-update-a-data-set-using-another-data-set/80203 "2022-07-01T09:30:33Z")

</div>

I have a master data set and I like to update some of its values using a transaction data set. There are some key columns for finding the rows that must be updated in both data sets. I know about update! function but the…

---

## [VScode error: Cannot read property 'file' of undefined](https://discourse.julialang.org/t/vscode-error-cannot-read-property-file-of-undefined/71710)

<div class="topic-metadata">

**Author:** [@Sharon-Liang](https://discourse.julialang.org/u/Sharon-Liang)\
**Replies:** 9\
**Last updated:** [July 1, 2022, 8:41am UTC](https://discourse.julialang.org/t/vscode-error-cannot-read-property-file-of-undefined/71710 "2022-07-01T08:41:36Z")

</div>

Hi guys, I’m using VScode + julia extensions. Normally, when I apply ⇧(shift)+enter on a line of code in a .jl file, it will automatically open a julia REPL. However, today when I do the same thing, it reports an w…

---

## [CairoMakie: any way to save 3D plot in vector format (.svg, .eps)?](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122)

<div class="topic-metadata">

**Author:** [@mihai](https://discourse.julialang.org/u/mihai)\
**Replies:** 12\
**Last updated:** [July 1, 2022, 6:08am UTC](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122 "2022-07-01T06:08:14Z")

</div>

Hi, so far I’ve used CairoMakie for 2D plots (exporting to .svg) while using GLMakie for 3D plots (for interactivity & exporting to .png). Is there any way to use CairoMakie with a 3D plot and export it to .svg? Speed do…

---

## [Segfault when using PackageCompiler on aarch64 on Julia 1.6.0 and up](https://discourse.julialang.org/t/segfault-when-using-packagecompiler-on-aarch64-on-julia-1-6-0-and-up/60722)

<div class="topic-metadata">

**Author:** [@sonicrules1234](https://discourse.julialang.org/u/sonicrules1234)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 8:25am UTC](https://discourse.julialang.org/t/segfault-when-using-packagecompiler-on-aarch64-on-julia-1-6-0-and-up/60722 "2022-07-01T08:25:52Z")

</div>

It worked just fine before upgrading to Julia 1.6.0. Now when I try to use compile\_app it gives a segfault part way through. It doesn’t crash, but I haven’t tried waiting long after the segfault. \[westly08:06~\]$ julia…

---

## [Why other calculation will effect the time consumed by Threads.@threads](https://discourse.julialang.org/t/why-other-calculation-will-effect-the-time-consumed-by-threads-threads/83602)

<div class="topic-metadata">

**Author:** [@wly](https://discourse.julialang.org/u/wly)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 8:17am UTC](https://discourse.julialang.org/t/why-other-calculation-will-effect-the-time-consumed-by-threads-threads/83602 "2022-07-01T08:17:49Z")

</div>

When I test my code, I found that the time consumed by Threads.@threads in actual environment is bigger than the test environment. And I think the reason is that other calculation in the actual environment effects the pe…

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

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