# Latest

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

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

**Page:** 1127

---

## [Is 1.7.2 on Intel Mac missing Codesigning?](https://discourse.julialang.org/t/is-1-7-2-on-intel-mac-missing-codesigning/76099)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 4:08pm UTC](https://discourse.julialang.org/t/is-1-7-2-on-intel-mac-missing-codesigning/76099 "2022-02-09T16:08:17Z")

</div>

Intel Mac, latest OS, got this in a popup “julia” can’t be opened because the identity of the developer cannot be confirmed. M1 version on Macbook works fine.

---

## [Julia v1.7.2 has been released](https://discourse.julialang.org/t/julia-v1-7-2-has-been-released/75994)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 4:03pm UTC](https://discourse.julialang.org/t/julia-v1-7-2-has-been-released/75994 "2022-02-09T16:03:16Z")

</div>

Julia version 1.7.2, the second patch release in the 1.7 series of releases, is now available. You can get binaries for glibc Linux (i686, x86-64, ARMv7, AArch64), musl Linux (x86-64), FreeBSD (x86-64), macOS (x86-64, AA…

---

## [Dataset for Bayesian analysis and belief propagation](https://discourse.julialang.org/t/dataset-for-bayesian-analysis-and-belief-propagation/76098)

<div class="topic-metadata">

**Author:** [@Temi-Tory](https://discourse.julialang.org/u/Temi-Tory)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 4:02pm UTC](https://discourse.julialang.org/t/dataset-for-bayesian-analysis-and-belief-propagation/76098 "2022-02-09T16:02:53Z")

</div>

Hi, I was hoping this would be the right place. I’m currently in the stage of my PhD where I’ve spent a lot of time learning about techniques and read a lot of papers ans tutorials ans the methods I’ll be using for my re…

---

## [\[ANN\] OperatorLearning.jl: Functional mappings to solve parametric PDEs](https://discourse.julialang.org/t/ann-operatorlearning-jl-functional-mappings-to-solve-parametric-pdes/76078)

<div class="topic-metadata">

**Author:** [@pzimbrod](https://discourse.julialang.org/u/pzimbrod)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 3:54pm UTC](https://discourse.julialang.org/t/ann-operatorlearning-jl-functional-mappings-to-solve-parametric-pdes/76078 "2022-02-09T15:54:14Z")

</div>

Dear Community, I’d like to share a package with you (my first one actually) that I created recently in order to learn (nonlinear) operators to solve PDEs: OperatorLearning.jl This is basically a port from Zongyi Li’s F…

---

## [Define a Julia function](https://discourse.julialang.org/t/define-a-julia-function/76054)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 10\
**Last updated:** [February 9, 2022, 3:44pm UTC](https://discourse.julialang.org/t/define-a-julia-function/76054 "2022-02-09T15:44:34Z")

</div>

My question is about which way is better to define this function: Way 1: function α(x, a, b, α\_0, Lmin, Lnom, Lmax) if Lmin \<= x \< Lnom return a \* (x-Lnom)^2 + α\_0 elseif Lnom \<= x \<= Lmax return b \* (x-Lnom)^2 + …

---

## [Julia artifact was not installed correctly](https://discourse.julialang.org/t/julia-artifact-was-not-installed-correctly/76038)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 3:33pm UTC](https://discourse.julialang.org/t/julia-artifact-was-not-installed-correctly/76038 "2022-02-09T15:33:37Z")

</div>

I love artifacts, but I think currently there are somehow fragile. I am constantly using a certain artifact, which after some time gets automatically deleted and I get an error like: Artifact "JuliaMono" was not instal…

---

## [Time series datatypes](https://discourse.julialang.org/t/time-series-datatypes/76092)

<div class="topic-metadata">

**Author:** [@Mastomaki](https://discourse.julialang.org/u/Mastomaki)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 3:19pm UTC](https://discourse.julialang.org/t/time-series-datatypes/76092 "2022-02-09T15:19:59Z")

</div>

Hello! What datatype do you recommed for time series? I would need things like in Pandas: access like Pandas “loc” aggregation conversion between time zones interpolation time shifts & differences moving averages inne…

---

## [FOSDEM’22: Utilizing AMD GPUs: Tuning, programming models, and roadmap (LUMI,pdf,video)](https://discourse.julialang.org/t/fosdem-22-utilizing-amd-gpus-tuning-programming-models-and-roadmap-lumi-pdf-video/76090)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 3:05pm UTC](https://discourse.julialang.org/t/fosdem-22-utilizing-amd-gpus-tuning-programming-models-and-roadmap-lumi-pdf-video/76090 "2022-02-09T15:05:20Z")

</div>

PDF/slides and video recording are available: “Utilizing AMD GPUs: Tuning, programming models, and roadmap” FOSDEM’22 HPC, Big Data and Data Science devroom February 6 th , 2022 George S. Markomanolis Lead HPC Scie…

---

## [Using Winston corrupts BigInts?](https://discourse.julialang.org/t/using-winston-corrupts-bigints/76077)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 2:58pm UTC](https://discourse.julialang.org/t/using-winston-corrupts-bigints/76077 "2022-02-09T14:58:32Z")

</div>

The following weird behavior appears with julia 1.7.1 and Winston v0.15.2 julia\> big(1//2) 1//2 julia\> using Winston Gtk-Message: 14:17:40.676: Failed to load module "canberra-gtk-module" Gtk-Message: 14:17:40.677: Fai…

---

## [JuliaCon 2022 Tickets are now available](https://discourse.julialang.org/t/juliacon-2022-tickets-are-now-available/76085)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 2:34pm UTC](https://discourse.julialang.org/t/juliacon-2022-tickets-are-now-available/76085 "2022-02-09T14:34:20Z")

</div>

:rotating\_light: JuliaCon 2022 tickets are now available! :rotating\_light: Registration is free but we ask that if you have the means, you “Buy” a ticket which will serve as a donation to the project. Register today: ht…

---

## [Create new column with first row of each id](https://discourse.julialang.org/t/create-new-column-with-first-row-of-each-id/76083)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.julialang.org/u/sai_matcha)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 2:28pm UTC](https://discourse.julialang.org/t/create-new-column-with-first-row-of-each-id/76083 "2022-02-09T14:28:05Z")

</div>

Hi , i want to create a new column with the first row of each id . this is the data i have df = DataFrame() df.id = repeat(1:3,3) df.x1 = 1:9 df.x2 = 10:18 sort!(df,:id) i want column x3 as first row of each id in col…

---

## [Implementation of Spectral Normalization for Machine Learning](https://discourse.julialang.org/t/implementation-of-spectral-normalization-for-machine-learning/76074)

<div class="topic-metadata">

**Author:** [@Hareruya](https://discourse.julialang.org/u/Hareruya)\
**Replies:** 7\
**Last updated:** [February 9, 2022, 2:15pm UTC](https://discourse.julialang.org/t/implementation-of-spectral-normalization-for-machine-learning/76074 "2022-02-09T14:15:44Z")

</div>

Greetings. I have migrated most of my Machine Learning work from working in Pytorch for Flux and have not felt the need to look back(especially as I move towards SciML), however there was a small hiccup I’d like t inqui…

---

## [Parallel Reductions with Zygote](https://discourse.julialang.org/t/parallel-reductions-with-zygote/75969)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 11\
**Last updated:** [February 9, 2022, 1:05pm UTC](https://discourse.julialang.org/t/parallel-reductions-with-zygote/75969 "2022-02-09T13:05:38Z")

</div>

I am trying to speed up the gradient computation of a model of the form sum(m-\>m(x), models), where models is an array of constituent models. This is (supposed to be) easily parallelizable, but I am having trouble maki…

---

## [Is there an efficient way that the xticks and yticks numbers appear in LaTeX using Makie?](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 1:01pm UTC](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064 "2022-02-09T13:01:36Z")

</div>

I open this question because I have not been able to set the Computer Modern font in Makie. The only workaround I found to write the numbers of the x and y axis in LaTeX is to extract the attribute from the plot that con…

---

## [Unexpected allocations in loops](https://discourse.julialang.org/t/unexpected-allocations-in-loops/74063)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 12:49pm UTC](https://discourse.julialang.org/t/unexpected-allocations-in-loops/74063 "2022-02-09T12:49:12Z")

</div>

Consider the following reduced example: using BenchmarkTools const F = Float64 struct Species q::F ρ::Array{F} end addCharge!(dst::Array{F}, q::F, ρ::Array{F}) = for I ∈ eachindex(dst) dst\[I\] += q \* ρ\[I\] end a…

---

## [Get any object properties by name](https://discourse.julialang.org/t/get-any-object-properties-by-name/76070)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 6\
**Last updated:** [February 9, 2022, 12:45pm UTC](https://discourse.julialang.org/t/get-any-object-properties-by-name/76070 "2022-02-09T12:45:00Z")

</div>

Hello, I need to get object property values by their names. The order of the values must match the order of the property names. Can it be done better? struct TestObject a b c end object = TestObject(1,2,3…

---

## [“Learn Julia with us!” - a new workshop series from Julia Gender Inclusive](https://discourse.julialang.org/t/learn-julia-with-us-a-new-workshop-series-from-julia-gender-inclusive/76073)

<div class="topic-metadata">

**Author:** [@kyla](https://discourse.julialang.org/u/kyla)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 12:38pm UTC](https://discourse.julialang.org/t/learn-julia-with-us-a-new-workshop-series-from-julia-gender-inclusive/76073 "2022-02-09T12:38:09Z")

</div>

Introducing “Learn Julia with us!” - a new workshop series from Julia Gender Inclusive, starting next Thursday (Feb 17th) at 6pm CEST/5pm GMT/12pm EST! Looking to get started with Julia but don’t know where to begin? Le…

---

## [How to find details of the compiler and optimizations used by a specific installed version of Julia](https://discourse.julialang.org/t/how-to-find-details-of-the-compiler-and-optimizations-used-by-a-specific-installed-version-of-julia/75501)

<div class="topic-metadata">

**Author:** [@DavidB](https://discourse.julialang.org/u/DavidB)\
**Replies:** 11\
**Last updated:** [February 9, 2022, 11:23am UTC](https://discourse.julialang.org/t/how-to-find-details-of-the-compiler-and-optimizations-used-by-a-specific-installed-version-of-julia/75501 "2022-02-09T11:23:28Z")

</div>

I’ve noticed that there is a performance significant difference in the execution of a Julia application between “bare metal” and within a container, but only on one specific platform. So want to see if there was a differ…

---

## ["Cat" very slow for relativelly small tasks](https://discourse.julialang.org/t/cat-very-slow-for-relativelly-small-tasks/76067)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 10:55am UTC](https://discourse.julialang.org/t/cat-very-slow-for-relativelly-small-tasks/76067 "2022-02-09T10:55:23Z")

</div>

This make my 16GB system hang for a while and eventually crash with a StackOverflowError, even if top doesn’t show all this memory usage (the matrices themselves should be ~ 400 MB) mainM = rand(28,28,60000) toAdd = \[ra…

---

## [Get the Vector of a Vector of struct](https://discourse.julialang.org/t/get-the-vector-of-a-vector-of-struct/76000)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 11\
**Last updated:** [February 9, 2022, 10:19am UTC](https://discourse.julialang.org/t/get-the-vector-of-a-vector-of-struct/76000 "2022-02-09T10:19:34Z")

</div>

I have a vector of a struct and want a vector of a component of the struct: struct MyPair x::Float64 y::Float64 end vec = Vector{MyPair}() push!(vec, MyPair(1,10)) push!(vec, MyPair(2,20)) push!(vec, MyPair(3,30)) …

---

## [Profiling Julia CUDA code missing 'CUDA HW'](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061)

<div class="topic-metadata">

**Author:** [@torrance](https://discourse.julialang.org/u/torrance)\
**Replies:** 7\
**Last updated:** [February 9, 2022, 9:46am UTC](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061 "2022-02-09T09:46:17Z")

</div>

I’m attempting to profile a custom CUDA kernel using NVIDIA’s nsight-systems (ie. nsys), as recommended by the CUDA.jl project. nsys correctly gives me profiling results for nvcc compiled code, however when I run it aga…

---

## [Could not download registries Julia 1.7.2](https://discourse.julialang.org/t/could-not-download-registries-julia-1-7-2/76062)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 7:27am UTC](https://discourse.julialang.org/t/could-not-download-registries-julia-1-7-2/76062 "2022-02-09T07:27:22Z")

</div>

(@v1.7) pkg\> st Installing known registries into \`C:\\Users\\Hermesr\\.julia\` ┌ Warning: could not download https://pkg.julialang.org/registries │ exception = schannel: failed to receive handshake, SSL/TLS connection fa…

---

## [Unconditionally stable numerical solution of advection equation](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 6:58am UTC](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935 "2022-02-09T06:58:58Z")

</div>

Hello, Can you please recommend me some method (preferably unconditionally stable) of solving an advection equation of the following type: \\displaystyle \\frac{\\partial u}{\\partial t} + a(x,t) \\frac{\\partial u}{\\partial…

---

## [Evolutionary TreeGP distribution version falls over](https://discourse.julialang.org/t/evolutionary-treegp-distribution-version-falls-over/75769)

<div class="topic-metadata">

**Author:** [@sabel](https://discourse.julialang.org/u/sabel)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 6:37am UTC](https://discourse.julialang.org/t/evolutionary-treegp-distribution-version-falls-over/75769 "2022-02-09T06:37:33Z")

</div>

Hi folks - I am just learning Julia as I want to use TreeGP in Evolutionary. The code at SymbolicRegression.ipynb works fine right up to this bit ==\> Random.seed!(987498737423); res = Evolutionary.optimize(fitobj, Tre…

---

## [\[ANN\] Announcing Denumpyfy.jl](https://discourse.julialang.org/t/ann-announcing-denumpyfy-jl/76058)

<div class="topic-metadata">

**Author:** [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Replies:** 0\
**Last updated:** [February 9, 2022, 2:21am UTC](https://discourse.julialang.org/t/ann-announcing-denumpyfy-jl/76058 "2022-02-09T02:21:49Z")

</div>

Hey gang! I’ve rewritten way too many numpy notebooks, so I figured I might as well throw these 20 regexes into a package to free myself and others from this burden. Here’s Denumpyfy.jl https://github.com/miguelraz/De…

---

## [Calling C API with pointer inside of a struct](https://discourse.julialang.org/t/calling-c-api-with-pointer-inside-of-a-struct/76029)

<div class="topic-metadata">

**Author:** [@kryptan](https://discourse.julialang.org/u/kryptan)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 3:48am UTC](https://discourse.julialang.org/t/calling-c-api-with-pointer-inside-of-a-struct/76029 "2022-02-09T03:48:05Z")

</div>

Consider the following C API: struct Options { uint32\_t a; uint32\_t b; void\* extra; }; struct OptionsExtra { uint32\_t c; uint32\_t d; }; void foo(struct Options const\* options); It can be used from…

---

## [Do you have experience with Onivim2 editor?](https://discourse.julialang.org/t/do-you-have-experience-with-onivim2-editor/76059)

<div class="topic-metadata">

**Author:** [@anon28281882](https://discourse.julialang.org/u/anon28281882)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 3:31am UTC](https://discourse.julialang.org/t/do-you-have-experience-with-onivim2-editor/76059 "2022-02-09T03:31:26Z")

</div>

I am wondering if any of you have experience with Onivim2 modal editor \[https://onivim.github.io/\]? I came by this editor today. I understand that it is currently unsure if further development will take place. Even thou…

---

## [Question on Metaprogramming Example from Docs](https://discourse.julialang.org/t/question-on-metaprogramming-example-from-docs/75992)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 1:24am UTC](https://discourse.julialang.org/t/question-on-metaprogramming-example-from-docs/75992 "2022-02-09T01:24:10Z")

</div>

Hello, I have been reviewing the metaprogamming section of the docs and I have come across something I don’t understand. I am looking at the second example in the subsection on interpolation, here. The example is showin…

---

## [X.^2 - how can something so basic be so wrong](https://discourse.julialang.org/t/x-2-how-can-something-so-basic-be-so-wrong/76052)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 12:31am UTC](https://discourse.julialang.org/t/x-2-how-can-something-so-basic-be-so-wrong/76052 "2022-02-09T00:31:12Z")

</div>

Working with Int16 data I’m getting negative values when squaring data: a = -750; a^2 562500 a = Int16(a); a^2 -27324 I get that Int16(a)^2 produces a value that is out of the range of an Int16 but I don’t get why…

---

## [\[ANN\] Pasteee.jl: Julia wrapper for Paste.ee](https://discourse.julialang.org/t/ann-pasteee-jl-julia-wrapper-for-paste-ee/75874)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 2\
**Last updated:** [February 9, 2022, 12:19am UTC](https://discourse.julialang.org/t/ann-pasteee-jl-julia-wrapper-for-paste-ee/75874 "2022-02-09T00:19:19Z")

</div>

Hi again, I’m now registering Pasteee.jl, a simple Julia wrapper around the Paste.ee API: https://github.com/cossio/Pasteee.jl It is registered. See the docs here: Home · Pasteee.jl. Paste.ee is a Pastebin alternative…

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

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