# Latest

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

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

**Page:** 1301

---

## [Loading touchstone (.snp) files](https://discourse.julialang.org/t/loading-touchstone-snp-files/66012)

<div class="topic-metadata">

**Author:** [@Valery](https://discourse.julialang.org/u/Valery)\
**Replies:** 8\
**Last updated:** [August 13, 2021, 4:03am UTC](https://discourse.julialang.org/t/loading-touchstone-snp-files/66012 "2021-08-13T04:03:08Z")

</div>

At the moment, what is the most convenient way to load touchstone (.snp) files in Julia ? I typically want to load scattering parameter of a multi-channel array extracted from software like Advanced Software Design (ADS…

---

## [\[ANN\] SQLiteDF a simple package to use Tables.jl sources with SQL queries](https://discourse.julialang.org/t/ann-sqlitedf-a-simple-package-to-use-tables-jl-sources-with-sql-queries/64870)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 2\
**Last updated:** [August 13, 2021, 3:47am UTC](https://discourse.julialang.org/t/ann-sqlitedf-a-simple-package-to-use-tables-jl-sources-with-sql-queries/64870 "2021-08-13T03:47:03Z")

</div>

SQLiteDF.jl is a simple package with currently one macro @sqlitedf a,b,c,...,"select \* from .." in the context where it’s called it loads the data from Tables.jl compatible variables named a,b,c etc into a new in-memor…

---

## [Nested agent based model](https://discourse.julialang.org/t/nested-agent-based-model/66155)

<div class="topic-metadata">

**Author:** [@patagucci](https://discourse.julialang.org/u/patagucci)\
**Replies:** 7\
**Last updated:** [August 13, 2021, 2:14am UTC](https://discourse.julialang.org/t/nested-agent-based-model/66155 "2021-08-13T02:14:44Z")

</div>

Hi everyone, I am currently working on creating an ABM of the the dynamics of a bacterial infection within a population of individuals. Individuals in the model can transmit aiming bacteria to one another, while interac…

---

## [Speed up applying a function to matrices](https://discourse.julialang.org/t/speed-up-applying-a-function-to-matrices/66241)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 8\
**Last updated:** [August 13, 2021, 1:52am UTC](https://discourse.julialang.org/t/speed-up-applying-a-function-to-matrices/66241 "2021-08-13T01:52:16Z")

</div>

I’ve been struggling to speed up this problem I’m working with. Apologies about posting this long snippet, I couldn’t think of a more minimal example that has all the features stumping me. using BenchmarkTools using Fas…

---

## [Calling c function from julia - segmentation fault](https://discourse.julialang.org/t/calling-c-function-from-julia-segmentation-fault/66176)

<div class="topic-metadata">

**Author:** [@mrev](https://discourse.julialang.org/u/mrev)\
**Replies:** 9\
**Last updated:** [August 13, 2021, 1:34am UTC](https://discourse.julialang.org/t/calling-c-function-from-julia-segmentation-fault/66176 "2021-08-13T01:34:43Z")

</div>

Hi all! I’ve been stuck on a problem for a while now and would appreciate any help as I’m not really sure how to debug this further. I’m trying to write a Julia interface for a C function. The function appears to run su…

---

## [Recent AI developments: Roformer (transformer w/Rotary Position Embedding) and DL to Rejuvenate Symbolic AI: Neural Production](https://discourse.julialang.org/t/recent-ai-developments-roformer-transformer-w-rotary-position-embedding-and-dl-to-rejuvenate-symbolic-ai-neural-production/66314)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 4\
**Last updated:** [August 13, 2021, 12:56am UTC](https://discourse.julialang.org/t/recent-ai-developments-roformer-transformer-w-rotary-position-embedding-and-dl-to-rejuvenate-symbolic-ai-neural-production/66314 "2021-08-13T00:56:08Z")

</div>

A. Seems important: ROFORMER: ENHANCED TRANSFORMER WITH ROTARY POSITION EMBEDDING We investigate various methods to encode positional information in transformer-based language models and propose a novel implementati…

---

## [Catalyst + DifferentiaEquations startup time](https://discourse.julialang.org/t/catalyst-differentiaequations-startup-time/65946)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 19\
**Last updated:** [August 13, 2021, 12:53am UTC](https://discourse.julialang.org/t/catalyst-differentiaequations-startup-time/65946 "2021-08-13T00:53:22Z")

</div>

I am using Catalyist and DifferentialEquations to study a chemical reaction, but the startup times are somewhat annoying. I have the option, in this case, to write the ODE by hand (thus not requiring Catalyst), and I can…

---

## [Efficient way to add column to dataframe computed from prior columns](https://discourse.julialang.org/t/efficient-way-to-add-column-to-dataframe-computed-from-prior-columns/66290)

<div class="topic-metadata">

**Author:** [@claylyons](https://discourse.julialang.org/u/claylyons)\
**Replies:** 6\
**Last updated:** [August 12, 2021, 11:59pm UTC](https://discourse.julialang.org/t/efficient-way-to-add-column-to-dataframe-computed-from-prior-columns/66290 "2021-08-12T23:59:54Z")

</div>

I was struggling to find some clean way to code adding a named column to an existing dataframe computed from some of its columns. While I started posting this question I stumbled upon the official docs description of com…

---

## [Benchmark Tests: Improvements for BenchmarkTools](https://discourse.julialang.org/t/benchmark-tests-improvements-for-benchmarktools/66134)

<div class="topic-metadata">

**Author:** [@viraltux](https://discourse.julialang.org/u/viraltux)\
**Replies:** 16\
**Last updated:** [August 12, 2021, 10:46pm UTC](https://discourse.julialang.org/t/benchmark-tests-improvements-for-benchmarktools/66134 "2021-08-12T22:46:30Z")

</div>

Background In a separate topic discussing why systematic errors appear when using BenchmarkTools, I end up claiming that BenchmarkTools, which happens to be great to measure benchmarks, could introduce improvements when …

---

## [Snippet for serialization of any primitive type](https://discourse.julialang.org/t/snippet-for-serialization-of-any-primitive-type/66304)

<div class="topic-metadata">

**Author:** [@iamed2](https://discourse.julialang.org/u/iamed2)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 10:25pm UTC](https://discourse.julialang.org/t/snippet-for-serialization-of-any-primitive-type/66304 "2021-08-12T22:25:09Z")

</div>

https://gist.github.com/iamed2/7800a9b391d9e11f0f2b7fbbfbb84c32 I recently came up with this for InlineString and realized it is nearly universally applicable for primitive types. Standard library Julia serialization w…

---

## [Adding constrain on the range of \`N\` in parametric types for function arguments](https://discourse.julialang.org/t/adding-constrain-on-the-range-of-n-in-parametric-types-for-function-arguments/65994)

<div class="topic-metadata">

**Author:** [@frankwswang](https://discourse.julialang.org/u/frankwswang)\
**Replies:** 6\
**Last updated:** [August 12, 2021, 9:59pm UTC](https://discourse.julialang.org/t/adding-constrain-on-the-range-of-n-in-parametric-types-for-function-arguments/65994 "2021-08-12T21:59:12Z")

</div>

I’d like to know if it’s possible to set a range of N in a parametric type PT{T, N} when it’s the type of an argument for a defined function. E.g. f(a::Array{\<:Number, N}) where {N} = a and I want to set some constrai…

---

## ["Unexpected end" issue when extra line gap in code](https://discourse.julialang.org/t/unexpected-end-issue-when-extra-line-gap-in-code/66296)

<div class="topic-metadata">

**Author:** [@rubaiyat](https://discourse.julialang.org/u/rubaiyat)\
**Replies:** 3\
**Last updated:** [August 12, 2021, 9:50pm UTC](https://discourse.julialang.org/t/unexpected-end-issue-when-extra-line-gap-in-code/66296 "2021-08-12T21:50:49Z")

</div>

Hello everyone, I’m using Julia through VS Code and I often face an issue regarding “end” statements (at least for Ubuntu 20.04) when using the REPL. The problem seems to be that if there are two consecutive empty lines…

---

## [Parsing a non-number in a string](https://discourse.julialang.org/t/parsing-a-non-number-in-a-string/66299)

<div class="topic-metadata">

**Author:** [@dgpdx](https://discourse.julialang.org/u/dgpdx)\
**Replies:** 19\
**Last updated:** [August 12, 2021, 9:38pm UTC](https://discourse.julialang.org/t/parsing-a-non-number-in-a-string/66299 "2021-08-12T21:38:45Z")

</div>

I am parsing a string like “1 2 \[Any\]”. The 1 an 2 parse into Ints just fine, but how can I get \[Any\] to parse into an array? parse(Any,s\[3\]) returns an error, as does parse(,s\[3\]). Please advise.

---

## [Seeing allocations only when assigning to a Vector of Union{Nothing, Struct} when Struct is immutable, but contains mutable data](https://discourse.julialang.org/t/seeing-allocations-only-when-assigning-to-a-vector-of-union-nothing-struct-when-struct-is-immutable-but-contains-mutable-data/66272)

<div class="topic-metadata">

**Author:** [@Lars\_Wander](https://discourse.julialang.org/u/Lars_Wander)\
**Replies:** 12\
**Last updated:** [August 12, 2021, 8:36pm UTC](https://discourse.julialang.org/t/seeing-allocations-only-when-assigning-to-a-vector-of-union-nothing-struct-when-struct-is-immutable-but-contains-mutable-data/66272 "2021-08-12T20:36:11Z")

</div>

Hello Julia folks, Context: while writing code to search for aperiodic tilings of the plane, I noticed that every assignment to an element of Vector{Union{Nothing, Tile}} was causing an allocation according to --track-a…

---

## [Data Science Intern at Leuko. Must be a Massachusetts grad](https://discourse.julialang.org/t/data-science-intern-at-leuko-must-be-a-massachusetts-grad/65137)

<div class="topic-metadata">

**Author:** [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Replies:** 1\
**Last updated:** [August 12, 2021, 8:42pm UTC](https://discourse.julialang.org/t/data-science-intern-at-leuko-must-be-a-massachusetts-grad/65137 "2021-08-12T20:42:43Z")

</div>

We’re looking for a Data Science/ML/Image Processing intern to join our team at Leuko Must be a graduate of a Massachusetts school to apply About Leuko - http://leuko.com/ | careers@leuko.io Leuko, an MIT spin-out, i…

---

## [FeaturedGraph Explanation](https://discourse.julialang.org/t/featuredgraph-explanation/66294)

<div class="topic-metadata">

**Author:** [@NFSturm](https://discourse.julialang.org/u/NFSturm)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 8:33pm UTC](https://discourse.julialang.org/t/featuredgraph-explanation/66294 "2021-08-12T20:33:34Z")

</div>

Dear Julia Community, I was recently becoming interested in Machine Learning on graphs I found the GeometricFlux library that seems to be quite useful in that regard. My understanding of graphs in general is rather basi…

---

## [Help with @distributed with an iterator and speed issue](https://discourse.julialang.org/t/help-with-distributed-with-an-iterator-and-speed-issue/66292)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 8:01pm UTC](https://discourse.julialang.org/t/help-with-distributed-with-an-iterator-and-speed-issue/66292 "2021-08-12T20:01:56Z")

</div>

I have two questions about the following code (in which I’m looking to get the largest eigenvalue of a matrix by permuting its rows). using LinearAlgebra, Combinatorics, Distributed function maxeig(A::Matrix) retur…

---

## [\[ANN\] CompatHelper.jl v3: now supports GitLab!](https://discourse.julialang.org/t/ann-compathelper-jl-v3-now-supports-gitlab/66218)

<div class="topic-metadata">

**Author:** [@mattBrzezinski](https://discourse.julialang.org/u/mattBrzezinski)\
**Replies:** 4\
**Last updated:** [August 12, 2021, 12:37am UTC](https://discourse.julialang.org/t/ann-compathelper-jl-v3-now-supports-gitlab/66218 "2021-08-12T00:37:57Z")

</div>

Hi all, Just wanted to announce that CompatHelper.jl v3 is out and now supports GitLab! You can now have an automated way to keep your package dependencies up-to-date if you’re using both the public or a private version…

---

## [\[ANN\] GarishPrint.jl - (Yet another) Pretty Printing your own julia objects!](https://discourse.julialang.org/t/ann-garishprint-jl-yet-another-pretty-printing-your-own-julia-objects/63340)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 11:44pm UTC](https://discourse.julialang.org/t/ann-garishprint-jl-yet-another-pretty-printing-your-own-julia-objects/63340 "2021-06-21T23:44:21Z")

</div>

I’m excited to announce a new package to make the types defined by your own easily colorful and structural, despite of the implementation itself, this package is extremely easy to use, you only need to replace your print …

---

## [Iterate over all columns in a DataFrame](https://discourse.julialang.org/t/iterate-over-all-columns-in-a-dataframe/61697)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 3\
**Last updated:** [May 24, 2021, 9:04am UTC](https://discourse.julialang.org/t/iterate-over-all-columns-in-a-dataframe/61697 "2021-05-24T09:04:39Z")

</div>

Hi. Given my poor knowledge of DataFrames, I am stuck with a stupid little problem. I have a sizeable time-series data frame involving variables expressed in millions/billions of dollars. I want to transform each column …

---

## [\[ANN\] Hyperopt.jl v0.5.0](https://discourse.julialang.org/t/ann-hyperopt-jl-v0-5-0/65984)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 0\
**Last updated:** [August 7, 2021, 9:13am UTC](https://discourse.julialang.org/t/ann-hyperopt-jl-v0-5-0/65984 "2021-08-07T09:13:22Z")

</div>

Hyperopt.jl v0.5.0 has just been tagged. It is a breaking release, affecting primarily the GPSampler which has been removed (motivation). Breaking changes are listed in the release notes. The new release also brings so…

---

## [Scientific Software Engineer Job Opening](https://discourse.julialang.org/t/scientific-software-engineer-job-opening/66280)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 0\
**Last updated:** [August 12, 2021, 5:35pm UTC](https://discourse.julialang.org/t/scientific-software-engineer-job-opening/66280 "2021-08-12T17:35:14Z")

</div>

Los Alamos National Laboratory is seeking full time software engineer for scientific software development with an expertise in Julia is preferred. https://lanl.jobs/los-alamos-nm/information-sciences-and-modeling-softwa…

---

## [Pluto: does mardown needs a local installation of LaTeX?](https://discourse.julialang.org/t/pluto-does-mardown-needs-a-local-installation-of-latex/66264)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 2\
**Last updated:** [August 12, 2021, 4:54pm UTC](https://discourse.julialang.org/t/pluto-does-mardown-needs-a-local-installation-of-latex/66264 "2021-08-12T16:54:45Z")

</div>

Hi all, I have a local installation of LaTeX on my computer, and Pluto markdown is running smoothly. I am going to ask a lot of students to install Pluto, and most of them do not have a LaTeX local installation on their…

---

## [Landau distribution or something similar](https://discourse.julialang.org/t/landau-distribution-or-something-similar/66063)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 23\
**Last updated:** [August 12, 2021, 4:45pm UTC](https://discourse.julialang.org/t/landau-distribution-or-something-similar/66063 "2021-08-12T16:45:46Z")

</div>

Good day everyone! I need a tiny toss in the right direction since I am stuck with some statistics problems. I am investigating signals which are similar to a Landau distribution but I don’t have a good physical model …

---

## [Plot using for loop](https://discourse.julialang.org/t/plot-using-for-loop/66167)

<div class="topic-metadata">

**Author:** [@Phonindra](https://discourse.julialang.org/u/Phonindra)\
**Replies:** 10\
**Last updated:** [August 12, 2021, 4:22pm UTC](https://discourse.julialang.org/t/plot-using-for-loop/66167 "2021-08-12T16:22:11Z")

</div>

I have ode like this Now if I need the result for a series of different values of the parameter “p”, I was trying to use for loop to do that, here is the code Which shows the following error! Please help me t…

---

## [How to set the elements of an array of defined type in one line?](https://discourse.julialang.org/t/how-to-set-the-elements-of-an-array-of-defined-type-in-one-line/66171)

<div class="topic-metadata">

**Author:** [@CRquantum](https://discourse.julialang.org/u/CRquantum)\
**Replies:** 33\
**Last updated:** [August 12, 2021, 4:06pm UTC](https://discourse.julialang.org/t/how-to-set-the-elements-of-an-array-of-defined-type-in-one-line/66171 "2021-08-12T16:06:31Z")

</div>

I have a simple code and a simple question. it is with type My\_w, and a 2-element array www whose type is My\_w, mutable struct My\_w w::Float64 end www = Array{My\_w,1}(undef,2) Now, I want to set www\[1\] and www\[2\] …

---

## [Task scheduling semantics](https://discourse.julialang.org/t/task-scheduling-semantics/62950)

<div class="topic-metadata">

**Author:** [@Christian\_Rorvik](https://discourse.julialang.org/u/Christian_Rorvik)\
**Replies:** 6\
**Last updated:** [August 12, 2021, 3:58pm UTC](https://discourse.julialang.org/t/task-scheduling-semantics/62950 "2021-08-12T15:58:08Z")

</div>

Reading through https://github.com/JuliaLang/julia/pull/40715 I believe task migration across threads is primed for 1.7 release. Very much looking forward to this, but also have some concerns around the clarity in semant…

---

## [Adding saveat to DifferentialEquations.jl solve causes conversion error when using custom variable type](https://discourse.julialang.org/t/adding-saveat-to-differentialequations-jl-solve-causes-conversion-error-when-using-custom-variable-type/66275)

<div class="topic-metadata">

**Author:** [@SMijin](https://discourse.julialang.org/u/SMijin)\
**Replies:** 3\
**Last updated:** [August 12, 2021, 3:43pm UTC](https://discourse.julialang.org/t/adding-saveat-to-differentialequations-jl-solve-causes-conversion-error-when-using-custom-variable-type/66275 "2021-08-12T15:43:27Z")

</div>

I’ve got a simple struct that looks something like this: mutable struct variable{T,N} \<: AbstractArray{T,N} values :: Array{T,N} spaceIDs :: Vector{Int} end I’ve defined Base.:+, as well as Base.:\* and Base:.…

---

## [Geopandas equivalent?](https://discourse.julialang.org/t/geopandas-equivalent/66262)

<div class="topic-metadata">

**Author:** [@CompulsoryCoffee](https://discourse.julialang.org/u/CompulsoryCoffee)\
**Replies:** 5\
**Last updated:** [August 12, 2021, 3:18pm UTC](https://discourse.julialang.org/t/geopandas-equivalent/66262 "2021-08-12T15:18:35Z")

</div>

Hi, I am looking for an equivalent to Geopandas in Julia to load shapefiles as dataframes. I read about GeoDataFrames.jl but I am having trouble installing it, giving me this error message: (@v1.6) pkg\> add GeoDataFra…

---

## [Equating two symbolically symmetric matrices in JuMP without redundant constraints](https://discourse.julialang.org/t/equating-two-symbolically-symmetric-matrices-in-jump-without-redundant-constraints/66274)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [August 12, 2021, 3:14pm UTC](https://discourse.julialang.org/t/equating-two-symbolically-symmetric-matrices-in-jump-without-redundant-constraints/66274 "2021-08-12T15:14:06Z")

</div>

Dear All, I am trying to define a constraint to equate two symbolically symmetric matrices and I am wondering if there is a compact way so that JuMP does not store redundant constraints. A simple example is as follows u…

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

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