# Latest

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

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

**Page:** 1354

---

## [Full path to file](https://discourse.julialang.org/t/full-path-to-file/63178)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 10\
**Last updated:** [June 22, 2021, 9:29am UTC](https://discourse.julialang.org/t/full-path-to-file/63178 "2021-06-22T09:29:14Z")

</div>

I have seen some solutions like @\_\_DIR\_\_ and pwd(), and even some suggest @\_\_FILE\_\_. But these do not do what I really want. What is it that I want? The location to the file that I currently have open in atom/vscode. No…

---

## [Juila + Vim](https://discourse.julialang.org/t/juila-vim/29817)

<div class="topic-metadata">

**Author:** [@sstadick](https://discourse.julialang.org/u/sstadick)\
**Replies:** 24\
**Last updated:** [June 22, 2021, 9:25am UTC](https://discourse.julialang.org/t/juila-vim/29817 "2021-06-22T09:25:19Z")

</div>

Hello! Does anyone have a good working setup of Julia and vim? I’m using the LanguageServer, but it seems to have a lot of issues / is slow and crashes a lot. Are there any alternatives? Side question, what’s your workf…

---

## [Atom terminal cursor problem with shell mode](https://discourse.julialang.org/t/atom-terminal-cursor-problem-with-shell-mode/63304)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 8\
**Last updated:** [June 22, 2021, 9:22am UTC](https://discourse.julialang.org/t/atom-terminal-cursor-problem-with-shell-mode/63304 "2021-06-22T09:22:04Z")

</div>

Hi, after a shell command like ; ls the input line looks like this: cursor two blanks julia\> Functionality is there, just garbled (below from copy/paste) 1+1jul+12mjulia\> 2 julia\> Thx

---

## [Unexpected precedence of \`&\` and \`|\`?](https://discourse.julialang.org/t/unexpected-precedence-of-and/63351)

<div class="topic-metadata">

**Author:** [@scheidan1](https://discourse.julialang.org/u/scheidan1)\
**Replies:** 1\
**Last updated:** [June 22, 2021, 8:39am UTC](https://discourse.julialang.org/t/unexpected-precedence-of-and/63351 "2021-06-22T08:39:36Z")

</div>

In my code I found recently an innocent looking bug of this type: x=1 y=2 if x \< 3 & y \< 6 ... do important stuff ... end What I meant to check in the if condition was of course (x \< 3) & (y \< 6) ## or x \< 3 && y \< …

---

## [Huge performance difference between inbuilt gcdx() and my function](https://discourse.julialang.org/t/huge-performance-difference-between-inbuilt-gcdx-and-my-function/63350)

<div class="topic-metadata">

**Author:** [@msravi](https://discourse.julialang.org/u/msravi)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 8:09am UTC](https://discourse.julialang.org/t/huge-performance-difference-between-inbuilt-gcdx-and-my-function/63350 "2021-06-22T08:09:12Z")

</div>

Hi All, I had written a Bezout’s identity function (before I knew Julia already had one in the form of gcdx), and although my implementation is very close to the one that comes with Julia, I see that the inbuilt functio…

---

## [Neovim Native LSP with julials using PackageCompiled LanguageServer](https://discourse.julialang.org/t/neovim-native-lsp-with-julials-using-packagecompiled-languageserver/57659)

<div class="topic-metadata">

**Author:** [@ReneganRonin](https://discourse.julialang.org/u/ReneganRonin)\
**Replies:** 1\
**Last updated:** [June 22, 2021, 7:54am UTC](https://discourse.julialang.org/t/neovim-native-lsp-with-julials-using-packagecompiled-languageserver/57659 "2021-06-22T07:54:50Z")

</div>

I have successfully used a custom sysimage for LanguageServer for julials for neovim native lsp. The first thing I did is to create a precompilation statements file before I created the sysimage. Here is the following ls…

---

## [Addprocs with SSH and a ProxyJump times out](https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 7\
**Last updated:** [June 22, 2021, 6:21am UTC](https://discourse.julialang.org/t/addprocs-with-ssh-and-a-proxyjump-times-out/26647 "2021-06-22T06:21:00Z")

</div>

In my SSH config file, I have Host a User me HostName a.example.com Host b User me HostName b.example.com ProxyJump a I want to add b as a worker process from my local machine using addprocs. I’m …

---

## [Unable to understand dimension mismatch error](https://discourse.julialang.org/t/unable-to-understand-dimension-mismatch-error/63252)

<div class="topic-metadata">

**Author:** [@whyharsha](https://discourse.julialang.org/u/whyharsha)\
**Replies:** 7\
**Last updated:** [June 22, 2021, 4:08am UTC](https://discourse.julialang.org/t/unable-to-understand-dimension-mismatch-error/63252 "2021-06-22T04:08:55Z")

</div>

Hi, I’m a beginner with Julia and ML. I’m attempting to re-use code from the Flux Model Zoo, specifically this, to classify images from this dataset. Below is my version of the code - I modified the data load and the par…

---

## [Issue with ReinforcementLearning.jl BasicDQN with custom environment](https://discourse.julialang.org/t/issue-with-reinforcementlearning-jl-basicdqn-with-custom-environment/63264)

<div class="topic-metadata">

**Author:** [@SatvikDuddukuru](https://discourse.julialang.org/u/SatvikDuddukuru)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 3:45am UTC](https://discourse.julialang.org/t/issue-with-reinforcementlearning-jl-basicdqn-with-custom-environment/63264 "2021-06-22T03:45:14Z")

</div>

I have recently started working with ReinforcementLearning.jl, and I went through the given examples to familiarize myself with the syntax. I have had success with the built-in environments, and most of my own custom env…

---

## [Better editor placeholder text](https://discourse.julialang.org/t/better-editor-placeholder-text/62750)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 3\
**Last updated:** [June 22, 2021, 2:55am UTC](https://discourse.julialang.org/t/better-editor-placeholder-text/62750 "2021-06-22T02:55:04Z")

</div>

In the Rstudio discourse, when I try to write a new post it shows this helpful snipper. Perhaps we just need to set this up

---

## [How to do SIMD code with wide-register accumulators (@simd vs LoopVectorization.jl vs SIMD.jl)](https://discourse.julialang.org/t/how-to-do-simd-code-with-wide-register-accumulators-simd-vs-loopvectorization-jl-vs-simd-jl/63322)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 11\
**Last updated:** [June 22, 2021, 12:33am UTC](https://discourse.julialang.org/t/how-to-do-simd-code-with-wide-register-accumulators-simd-vs-loopvectorization-jl-vs-simd-jl/63322 "2021-06-22T00:33:37Z")

</div>

I have a loop that would benefit from SIMD operations, but it has one “accumulator” variable that confuses most SIMD tools available. Here is the pseudo code, and below is the actual code with benchmarks. My questions is…

---

## [\[resolved\] Problem with the IPv6 connectivity of the \`us-west\` Pkg server](https://discourse.julialang.org/t/resolved-problem-with-the-ipv6-connectivity-of-the-us-west-pkg-server/63196)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 24\
**Last updated:** [June 21, 2021, 11:58pm UTC](https://discourse.julialang.org/t/resolved-problem-with-the-ipv6-connectivity-of-the-us-west-pkg-server/63196 "2021-06-21T23:58:28Z")

</div>

I’m having problems updating packages, status.julialang.org takes a long time to respond, sometimes doesn’t respond, it does say that things are operational, but the detailed graphs show lots of red bars for a while now. …

---

## [World Age Errors while using BSON to store solution of a Differential Equation](https://discourse.julialang.org/t/world-age-errors-while-using-bson-to-store-solution-of-a-differential-equation/63305)

<div class="topic-metadata">

**Author:** [@Vivek\_Lohani](https://discourse.julialang.org/u/Vivek_Lohani)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 10:33pm UTC](https://discourse.julialang.org/t/world-age-errors-while-using-bson-to-store-solution-of-a-differential-equation/63305 "2021-06-21T22:33:12Z")

</div>

I use the DifferentialEquations.jl package to solve for the evolution of multiple coupled differential equations by making use of several helper functions. Thereafter, I store the solution using BSON. Then I load the st…

---

## [From DataFrame to multidimensional Array](https://discourse.julialang.org/t/from-dataframe-to-multidimensional-array/42977)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 9\
**Last updated:** [June 21, 2021, 9:41pm UTC](https://discourse.julialang.org/t/from-dataframe-to-multidimensional-array/42977 "2021-06-21T21:41:11Z")

</div>

Say I have a DataFrame with columns named :i, :j, :k that are positive integers, and meant jointly form a unique identifier. df also contains a column named :z that can be of any type that is meant to hold the data for i…

---

## [Can't add distributed workers per ssh: connection timed out](https://discourse.julialang.org/t/cant-add-distributed-workers-per-ssh-connection-timed-out/63328)

<div class="topic-metadata">

**Author:** [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Replies:** 10\
**Last updated:** [June 21, 2021, 9:19pm UTC](https://discourse.julialang.org/t/cant-add-distributed-workers-per-ssh-connection-timed-out/63328 "2021-06-21T21:19:23Z")

</div>

First, let me say that I’m super confused since adding workers per ssh has worked fine for me for many years. Even on the same machine everything was fine a few months back. I’m trying to start a Julia worker on a think…

---

## [Is it possible to mute a thread?](https://discourse.julialang.org/t/is-it-possible-to-mute-a-thread/63327)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 8:20pm UTC](https://discourse.julialang.org/t/is-it-possible-to-mute-a-thread/63327 "2021-06-21T20:20:13Z")

</div>

Some threads are really making me tired and steal my time. But if I open discourse and see “Unread posts” I am always tempted to click on the thread with the unread messages. In MS teams I can “mute” a thread if I do no…

---

## [Unexpected extension of methods](https://discourse.julialang.org/t/unexpected-extension-of-methods/63312)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 7:01pm UTC](https://discourse.julialang.org/t/unexpected-extension-of-methods/63312 "2021-06-21T19:01:15Z")

</div>

Hi you all, I’ve just encountered an error but I cannot figure out what’s the reason. I’d like to extend method only when some condition is satisfied. More specifically, if func has no certain method, simfunc would not…

---

## [Makie.jl Menu items clipped away by figure border](https://discourse.julialang.org/t/makie-jl-menu-items-clipped-away-by-figure-border/63136)

<div class="topic-metadata">

**Author:** [@MNiestroj](https://discourse.julialang.org/u/MNiestroj)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 6:56pm UTC](https://discourse.julialang.org/t/makie-jl-menu-items-clipped-away-by-figure-border/63136 "2021-06-21T18:56:18Z")

</div>

I currently try to use Menus in a Makie figure, which are layouted to the bottom of the figure. This leads to some items not being visible doe to the border of the figure. Is there any option I have missed to either forc…

---

## [ANN: AddToField.jl, a macro to make constructing NamedTuples and setting properties easier](https://discourse.julialang.org/t/ann-addtofield-jl-a-macro-to-make-constructing-namedtuples-and-setting-properties-easier/58263)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 7\
**Last updated:** [June 21, 2021, 6:41pm UTC](https://discourse.julialang.org/t/ann-addtofield-jl-a-macro-to-make-constructing-namedtuples-and-setting-properties-easier/58263 "2021-06-21T18:41:43Z")

</div>

I’m announcing the release of AddToField.jl, a small package with two macros to generate NamedTuples from blocks of code. To create NamedTuples, use @addnt: julia\> using AddToField; julia\> @addnt begin @ad…

---

## [\[DifferentialEquations.jl\] Solving Berman's equation](https://discourse.julialang.org/t/differentialequations-jl-solving-bermans-equation/63223)

<div class="topic-metadata">

**Author:** [@bmxam](https://discourse.julialang.org/u/bmxam)\
**Replies:** 10\
**Last updated:** [June 21, 2021, 6:33pm UTC](https://discourse.julialang.org/t/differentialequations-jl-solving-bermans-equation/63223 "2021-06-21T18:33:25Z")

</div>

Hi everyone, I’m trying to solve the axisymetric Berman’s equation (see here) with DifferentialEquations.jl. This is a fourth order BVP : \\left\[ \\left( \\frac{F}{r} \\right) \\left(\\frac{F'}{r} \\right)' - \\left( \\frac{F'…

---

## [Including Named Dimensions in Base](https://discourse.julialang.org/t/including-named-dimensions-in-base/63314)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 6:16pm UTC](https://discourse.julialang.org/t/including-named-dimensions-in-base/63314 "2021-06-21T18:16:21Z")

</div>

I’m aware of at least seven different packages trying to add the capability to name dimensions of an array to Julia – AxisArrays, NamedDims, AxisKeys, AxisIndices, NamedArrays, LabelledArrays, and IndexedDims. Suffice it…

---

## [Makie - 3D mesh visualization of surface](https://discourse.julialang.org/t/makie-3d-mesh-visualization-of-surface/63306)

<div class="topic-metadata">

**Author:** [@paurierap](https://discourse.julialang.org/u/paurierap)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 5:11pm UTC](https://discourse.julialang.org/t/makie-3d-mesh-visualization-of-surface/63306 "2021-06-21T17:11:34Z")

</div>

Hi all, I am trying to plot the boundary of a rectangular 3D mesh with Gridap types. After the conversion to a Mesh type in GeometryBasics, my grid looks like this: Mesh{3, Float64, Triangle}: Triangle(\[0.0, 0.0, 0.0\]…

---

## [Efficiency of push! on a Vector vs push on an SVector](https://discourse.julialang.org/t/efficiency-of-push-on-a-vector-vs-push-on-an-svector/63313)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 5:04pm UTC](https://discourse.julialang.org/t/efficiency-of-push-on-a-vector-vs-push-on-an-svector/63313 "2021-06-21T17:04:35Z")

</div>

Are there cases where it might be more efficient to use push with an SVector than to use push! with a Vector? I have one benchmark below where push! is much more efficient: using StaticArrays using BenchmarkTools func…

---

## [Link Checking with GitHub Actions not Working](https://discourse.julialang.org/t/link-checking-with-github-actions-not-working/61823)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 9\
**Last updated:** [June 21, 2021, 4:02pm UTC](https://discourse.julialang.org/t/link-checking-with-github-actions-not-working/61823 "2021-06-21T16:02:49Z")

</div>

When I build my docs locally, they run the link checks without issue with linkcheck = true. However, when I build the docs via GitHub Actions on ubuntu-latest I get Warning: linkcheck requires curl. which indicates it ca…

---

## [What does this error mean?](https://discourse.julialang.org/t/what-does-this-error-mean/49796)

<div class="topic-metadata">

**Author:** [@threadedblue](https://discourse.julialang.org/u/threadedblue)\
**Replies:** 10\
**Last updated:** [June 21, 2021, 3:52pm UTC](https://discourse.julialang.org/t/what-does-this-error-mean/49796 "2021-06-21T15:52:33Z")

</div>

I am attempting to use the Distributed package from: macOS to: Ubuntu. Julia 1.5.2 on both machines. The remote machine has ssh on port 2222 and not the usual 22. I attempted at one point to provide a bind address of …

---

## [Connecting to MS Access DB using ODBC package](https://discourse.julialang.org/t/connecting-to-ms-access-db-using-odbc-package/2584)

<div class="topic-metadata">

**Author:** [@Crghilardi](https://discourse.julialang.org/u/Crghilardi)\
**Replies:** 7\
**Last updated:** [June 21, 2021, 3:36pm UTC](https://discourse.julialang.org/t/connecting-to-ms-access-db-using-odbc-package/2584 "2021-06-21T15:36:46Z")

</div>

Hi folks, I have been using Julia casually for a few months now, I am not a trained programmer in any form. I am completely stumped on getting the ODBC package working to connect to a single access DB(.accdb) file. I …

---

## [Using relative path names . and](https://discourse.julialang.org/t/using-relative-path-names-and/63262)

<div class="topic-metadata">

**Author:** [@mmv](https://discourse.julialang.org/u/mmv)\
**Replies:** 6\
**Last updated:** [June 21, 2021, 3:06pm UTC](https://discourse.julialang.org/t/using-relative-path-names-and/63262 "2021-06-21T15:06:17Z")

</div>

Hi! I m trying to list the regular files in the current or parent directory, to the exclusion of directories and subdirectories, using the relative paths “.” and “…”, with mixed results: julia\> pwd() "/Users/michel/Code…

---

## [Hyperlinks that Run Functions](https://discourse.julialang.org/t/hyperlinks-that-run-functions/63302)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 2:34pm UTC](https://discourse.julialang.org/t/hyperlinks-that-run-functions/63302 "2021-06-21T14:34:47Z")

</div>

Is it possible to do this in Julia: Create Hyperlinks that Run Functions - MATLAB & Simulink I think it would be great when using Base.show() to display my type in the REPL to also include a couple helpful links so one …

---

## [Display more decimals in DataFrame](https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 9\
**Last updated:** [June 21, 2021, 2:13pm UTC](https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545 "2021-06-21T14:13:00Z")

</div>

How do I make DataFrame to display more decimals in the REPL? e.g. x = DataFrame(a=\[1.142300004,1.142300051\]) 2×1 DataFrame │ Row │ a │ │ │ Float64 │ ├─────┼─────────┤ │ 1 │ 1.1423 │ │ 2 │ 1.1423 │

---

## [Optimization on a manifold](https://discourse.julialang.org/t/optimization-on-a-manifold/59850)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 33\
**Last updated:** [June 21, 2021, 2:03pm UTC](https://discourse.julialang.org/t/optimization-on-a-manifold/59850 "2021-06-21T14:03:18Z")

</div>

This is both a conceptual question, and a practical one of what packages I could use to solve this. Problem statement I am trying to solve the following problem. Let a \\in \\mathbb{R}^M be a vector of parameters, and p \\…

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

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