# Latest

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

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

**Page:** 411

---

## [\[ANN\] FixedPointNumbers.jl v0.8.5](https://discourse.julialang.org/t/ann-fixedpointnumbers-jl-v0-8-5/114203)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 0\
**Last updated:** [May 13, 2024, 2:28pm UTC](https://discourse.julialang.org/t/ann-fixedpointnumbers-jl-v0-8-5/114203 "2024-05-13T14:28:27Z")

</div>

This is a maintenance release with only one bug fix. So it is not something to be specifically announced. The reason for this announcement is that it has indeed been four years since the last release of v0.8.4, and so…

---

## [Google BigQuery](https://discourse.julialang.org/t/google-bigquery/99684)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 3\
**Last updated:** [May 14, 2024, 10:42pm UTC](https://discourse.julialang.org/t/google-bigquery/99684 "2024-05-14T22:42:41Z")

</div>

I am trying to use GCP.jl to query data from BQ table, but when I tried to install it. I got this error. Any idea how to fix it? Resolving package versions... ERROR: Unsatisfiable requirements detected for package GC…

---

## [Unsure how to solve error message when applying unstack to DataFrame](https://discourse.julialang.org/t/unsure-how-to-solve-error-message-when-applying-unstack-to-dataframe/114214)

<div class="topic-metadata">

**Author:** [@Lee\_Phillips](https://discourse.julialang.org/u/Lee_Phillips)\
**Replies:** 6\
**Last updated:** [May 14, 2024, 10:33pm UTC](https://discourse.julialang.org/t/unsure-how-to-solve-error-message-when-applying-unstack-to-dataframe/114214 "2024-05-14T22:33:37Z")

</div>

Hello All I have a dataframe, the first 5 rows are shown below 5×4 DataFrame Row │ PointAID\_FK PointBID\_FK Distance Time │ Any Any Float64 Float64 ─────┼────────────────────────────────────…

---

## [Lux, ComponentArrays and flat parameters : computing the gradient works with Zygote but not with Enzyme](https://discourse.julialang.org/t/lux-componentarrays-and-flat-parameters-computing-the-gradient-works-with-zygote-but-not-with-enzyme/102533)

<div class="topic-metadata">

**Author:** [@mothmani](https://discourse.julialang.org/u/mothmani)\
**Replies:** 16\
**Last updated:** [May 14, 2024, 8:35pm UTC](https://discourse.julialang.org/t/lux-componentarrays-and-flat-parameters-computing-the-gradient-works-with-zygote-but-not-with-enzyme/102533 "2024-05-14T20:35:38Z")

</div>

Hi all, I’m quite new (on and off) to Julia and I’m trying to play more consistently with it. I have an issue with AD : I can compute the gradient with respect to the weights of a very simple neural network with Zygote …

---

## [Rust will try to relax the orphan rule (= Julia's type piracy)](https://discourse.julialang.org/t/rust-will-try-to-relax-the-orphan-rule-julias-type-piracy/114265)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 7:52pm UTC](https://discourse.julialang.org/t/rust-will-try-to-relax-the-orphan-rule-julias-type-piracy/114265 "2024-05-14T19:52:50Z")

</div>

Rust has set a goal for this year to experiment with ways to relax the orphan rule. I wonder if Julia could learn something from Rust’s experiment in relaxing the orphan rule.

---

## [Composition and inheritance: the Julian way](https://discourse.julialang.org/t/composition-and-inheritance-the-julian-way/11231)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 133\
**Last updated:** [May 14, 2024, 5:41pm UTC](https://discourse.julialang.org/t/composition-and-inheritance-the-julian-way/11231 "2024-05-14T17:41:01Z")

</div>

I am a relatively newbie and I am wondering what is the most appropriate Julian way to reuse the code. I don’t want to trigger discussions on topics already discussed a million times. This post simply aims to lay down …

---

## [IT roadblocks, Julia vs Matlab and Python](https://discourse.julialang.org/t/it-roadblocks-julia-vs-matlab-and-python/114231)

<div class="topic-metadata">

**Author:** [@KCan](https://discourse.julialang.org/u/KCan)\
**Replies:** 5\
**Last updated:** [May 14, 2024, 7:37pm UTC](https://discourse.julialang.org/t/it-roadblocks-julia-vs-matlab-and-python/114231 "2024-05-14T19:37:53Z")

</div>

Hello, First Julia post. I’m an engineer and I have been using Julia for a couple of years and I enjoy how it allows me to express myself, I find Julia empowers me to write decent code faster than I can in other languag…

---

## [Type stability for ODEProblem objects](https://discourse.julialang.org/t/type-stability-for-odeproblem-objects/45324)

<div class="topic-metadata">

**Author:** [@imcinerney](https://discourse.julialang.org/u/imcinerney)\
**Replies:** 10\
**Last updated:** [May 14, 2024, 7:26pm UTC](https://discourse.julialang.org/t/type-stability-for-odeproblem-objects/45324 "2024-05-14T19:26:26Z")

</div>

I am working on a problem where I simulate an ODE as part of a larger optimization scheme (the ODE becomes part of the cost function computation in a derivative-free setting), and I was trying to track down some ineffici…

---

## [How to code RealNVP using invertibleNetworks.jl?](https://discourse.julialang.org/t/how-to-code-realnvp-using-invertiblenetworks-jl/114267)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 0\
**Last updated:** [May 14, 2024, 6:32pm UTC](https://discourse.julialang.org/t/how-to-code-realnvp-using-invertiblenetworks-jl/114267 "2024-05-14T18:32:21Z")

</div>

I am using invertibleNetworks.jl as a library for normalizing flows. However, the examples included are for the GLOW architecture and others, but I would like to use the RealNVP architecture, and I have not been able to …

---

## [AI tools to write (Julia) code (best/worse experience), e.g. ChatGPT, GPT 3.5](https://discourse.julialang.org/t/ai-tools-to-write-julia-code-best-worse-experience-e-g-chatgpt-gpt-3-5/91198)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 62\
**Last updated:** [May 14, 2024, 3:56pm UTC](https://discourse.julialang.org/t/ai-tools-to-write-julia-code-best-worse-experience-e-g-chatgpt-gpt-3-5/91198 "2024-05-14T15:56:21Z")

</div>

I noticed on Reddit ChatGPT works for Julia (but I’m interested to write all kinds of code, not just AI/Flux code): https://www.reddit.com/r/Julia/comments/zb2zao/write\_a\_simple\_neural\_network\_using\_the\_julia/ What oth…

---

## [This month in Julia world - 2024-04](https://discourse.julialang.org/t/this-month-in-julia-world-2024-04/113638)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 11\
**Last updated:** [May 14, 2024, 4:23pm UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2024-04/113638 "2024-05-14T16:23:09Z")

</div>

To my surprise, this newsletter is now running for a whole year… A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting thi…

---

## [VSCode hanging when running Julia?](https://discourse.julialang.org/t/vscode-hanging-when-running-julia/114200)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 4:20pm UTC](https://discourse.julialang.org/t/vscode-hanging-when-running-julia/114200 "2024-05-14T16:20:20Z")

</div>

Hello! I have an install which has been working fine for a few months. Today I want to run some code, but the VSCode is working fine, but the Julia terminal never executes a command. Any one seen this before? Running …

---

## [Plots: colorbar inside figure/axis](https://discourse.julialang.org/t/plots-colorbar-inside-figure-axis/114252)

<div class="topic-metadata">

**Author:** [@abehersan](https://discourse.julialang.org/u/abehersan)\
**Replies:** 5\
**Last updated:** [May 14, 2024, 4:06pm UTC](https://discourse.julialang.org/t/plots-colorbar-inside-figure-axis/114252 "2024-05-14T16:06:35Z")

</div>

Hi! Is there a way in the existing API to include a colorbar “inside” an existing axis. Like in the attached image? Source of uncropped image: using Plots function f(x, y) r = sqrt(x^2 + y^2) return cos(r) / …

---

## [Issue understanding Lux recurrent cells](https://discourse.julialang.org/t/issue-understanding-lux-recurrent-cells/114249)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 4:03pm UTC](https://discourse.julialang.org/t/issue-understanding-lux-recurrent-cells/114249 "2024-05-14T16:03:43Z")

</div>

I am trying to turn the following code to Lux.jl def generator(gru\_units, dense\_units, sequence\_length, noise\_dimension, model\_dimension): # Inputs. inputs = tf.keras.layers.Input(shape=(sequence\_length, mod…

---

## [Thread pinning interacts with OpenMP?](https://discourse.julialang.org/t/thread-pinning-interacts-with-openmp/114204)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 3:18pm UTC](https://discourse.julialang.org/t/thread-pinning-interacts-with-openmp/114204 "2024-05-14T15:18:06Z")

</div>

This problem prevents me from using thread pinning. I wonder how Julia threads (implemented on top of pthreads, IIUC), mess with OpenMP threads?

---

## [Looking for a fun (and quite short!) recreational project? Try implementing a progress bar!](https://discourse.julialang.org/t/looking-for-a-fun-and-quite-short-recreational-project-try-implementing-a-progress-bar/110905)

<div class="topic-metadata">

**Author:** [@mcmuffin6o](https://discourse.julialang.org/u/mcmuffin6o)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 3:16pm UTC](https://discourse.julialang.org/t/looking-for-a-fun-and-quite-short-recreational-project-try-implementing-a-progress-bar/110905 "2024-05-14T15:16:47Z")

</div>

I need to implement a progress bar for a long-term project I’m working on, but I decided to have fun with it by making the bars a little snazzy. If you’re looking for terminal amenities, you’re better off with something…

---

## [Composite types with array type fields](https://discourse.julialang.org/t/composite-types-with-array-type-fields/114253)

<div class="topic-metadata">

**Author:** [@erenust](https://discourse.julialang.org/u/erenust)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 3:12pm UTC](https://discourse.julialang.org/t/composite-types-with-array-type-fields/114253 "2024-05-14T15:12:46Z")

</div>

I am trying to understand the strange behavior I see in the code below. struct A m::Vector{Int32} end struct B m::Vector{Vector{Int32}} end let # Here, the assigment works like a pointer assigment a1 =…

---

## [Horizontal bar plots with error bars](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 2:39pm UTC](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217 "2024-05-14T14:39:00Z")

</div>

I am trying to make a horizontal bar plot with error bars, but I am having issues: using Plots, Distributions labels = \["aaa","bbb","ccc"\] values = \[10,8,7\] sd = \[2.2,0.8,1.5\] n = 30 errors = quantile(Normal(0,…

---

## [I don't understand Julia. From running in the command line to workflow](https://discourse.julialang.org/t/i-dont-understand-julia-from-running-in-the-command-line-to-workflow/114235)

<div class="topic-metadata">

**Author:** [@Amnesian](https://discourse.julialang.org/u/Amnesian)\
**Replies:** 4\
**Last updated:** [May 14, 2024, 2:09pm UTC](https://discourse.julialang.org/t/i-dont-understand-julia-from-running-in-the-command-line-to-workflow/114235 "2024-05-14T14:09:10Z")

</div>

My code I’m coming from languages like C, python and mathematica (I only really use mathematica for some data handling and scripting) I have quite a few things I’m struggling with to be honest. The only way I know how…

---

## [Random Orthogonal Matrices](https://discourse.julialang.org/t/random-orthogonal-matrices/9779)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 15\
**Last updated:** [May 14, 2024, 1:48pm UTC](https://discourse.julialang.org/t/random-orthogonal-matrices/9779 "2024-05-14T13:48:29Z")

</div>

dear julia experts—has anyone already written a random orthogonal matrix generator for square matrices? Is the right way to do this generating a random normal matrix first and then running a Gram-Schmidt orthogonalizati…

---

## [Different behaviour when plotting one vs many ODE solutions](https://discourse.julialang.org/t/different-behaviour-when-plotting-one-vs-many-ode-solutions/114248)

<div class="topic-metadata">

**Author:** [@dbox](https://discourse.julialang.org/u/dbox)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 1:32pm UTC](https://discourse.julialang.org/t/different-behaviour-when-plotting-one-vs-many-ode-solutions/114248 "2024-05-14T13:32:00Z")

</div>

When taking a slice of the result of solve(ODEProblem), slices with a range (e.g. sol\[1:3\] return the time series as well, whereas a single element sol\[1\] only returns the y-values. I want to be able to plot either one …

---

## [Use Sobol sequence in DifferentialEquations.jl / StochasticDiffEq.jl](https://discourse.julialang.org/t/use-sobol-sequence-in-differentialequations-jl-stochasticdiffeq-jl/109220)

<div class="topic-metadata">

**Author:** [@stochasticguy](https://discourse.julialang.org/u/stochasticguy)\
**Replies:** 8\
**Last updated:** [May 14, 2024, 1:31pm UTC](https://discourse.julialang.org/t/use-sobol-sequence-in-differentialequations-jl-stochasticdiffeq-jl/109220 "2024-05-14T13:31:21Z")

</div>

Hi everyone, I’m trying to use the Sobol sequence to simulate Stochastic Differential Equations with StochasticDiffEq.jl / DifferentialEquations.jl. I’m trying to use the Sobol sequence to generate the random numbers be…

---

## [Inconsistency between Core.Compiler.return\_type and Test.@inferred](https://discourse.julialang.org/t/inconsistency-between-core-compiler-return-type-and-test-inferred/114246)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 12:59pm UTC](https://discourse.julialang.org/t/inconsistency-between-core-compiler-return-type-and-test-inferred/114246 "2024-05-14T12:59:03Z")

</div>

The Any here indicates a total failure of the return type inference: julia\> f(op::Op, a, b) where {Op} = op(a, b) f (generic function with 1 method) julia\> Core.Compiler.return\_type(f, Tuple{typeof(=\>),Int,Int}) Any W…

---

## [Poor BigInt performance](https://discourse.julialang.org/t/poor-bigint-performance/106907)

<div class="topic-metadata">

**Author:** [@hlbnet](https://discourse.julialang.org/u/hlbnet)\
**Replies:** 32\
**Last updated:** [May 14, 2024, 11:36am UTC](https://discourse.julialang.org/t/poor-bigint-performance/106907 "2024-05-14T11:36:38Z")

</div>

Hi everybody, I wanted to quick benchmark the BigInt type. I wrote a simple function (with double reccursion just because I want to consume time :wink:). I then tested the same function in Python, and found that Python …

---

## [Understanding and optimizing compiler time (just a bit)](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 20\
**Last updated:** [March 25, 2021, 12:15pm UTC](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759 "2021-03-25T12:15:12Z")

</div>

I have a very heavily optimized calculation that runs for weeks. It is making heavy use of SVectors, ForwardDiff.jl for AD, and various other things that tax the compiler, but in turn, it is very fast when compiled. I s…

---

## [Noise with gradient works!](https://discourse.julialang.org/t/noise-with-gradient-works/114178)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 26\
**Last updated:** [May 14, 2024, 10:16am UTC](https://discourse.julialang.org/t/noise-with-gradient-works/114178 "2024-05-14T10:16:38Z")

</div>

In this video, it was explained why the gradient of noise was needed. In most programming languages, you’re talking about either writing your own noise to add the gradient feature or diving deep into the li…

---

## [QGIS Raster Calculator equivalent for making a binary raster?](https://discourse.julialang.org/t/qgis-raster-calculator-equivalent-for-making-a-binary-raster/114211)

<div class="topic-metadata">

**Author:** [@rholland4julia](https://discourse.julialang.org/u/rholland4julia)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 9:42am UTC](https://discourse.julialang.org/t/qgis-raster-calculator-equivalent-for-making-a-binary-raster/114211 "2024-05-14T09:42:17Z")

</div>

Is there a way to use the Rasters.jl library to obtain the same effect as the Raster Calculator in QGIS for creating a binary raster? (Where the raster = 1 if it meets the logical criterion, but 0 otherwise).

---

## [\[ANN\] Supposition.jl](https://discourse.julialang.org/t/ann-supposition-jl/111338)

<div class="topic-metadata">

**Author:** [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Replies:** 20\
**Last updated:** [May 14, 2024, 9:37am UTC](https://discourse.julialang.org/t/ann-supposition-jl/111338 "2024-05-14T09:37:23Z")

</div>

Supposition.jl Hello everyone! I am very excited to announce Supposition.jl, a property based testing/fuzzing framework using choice sequences, inspired by the Python framework Hypothesis. It supports Julia version 1.8 a…

---

## [Debug precompile warnings](https://discourse.julialang.org/t/debug-precompile-warnings/114222)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 9:23am UTC](https://discourse.julialang.org/t/debug-precompile-warnings/114222 "2024-05-14T09:23:06Z")

</div>

I’m seeing lots of precompile warnings like this: Precompiling ComponentArraysAdaptExt 1 dependency successfully precompiled in 6 seconds. 61 already precompiled. \[ Info: Precompiling ComponentArraysAdaptExt \[79…

---

## [\[ANN\] ProToPortal.jl: A Portal to the Efficient Coding On The Go and the Magic of PromptingTools.jl](https://discourse.julialang.org/t/ann-protoportal-jl-a-portal-to-the-efficient-coding-on-the-go-and-the-magic-of-promptingtools-jl/113575)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 3\
**Last updated:** [May 14, 2024, 8:54am UTC](https://discourse.julialang.org/t/ann-protoportal-jl-a-portal-to-the-efficient-coding-on-the-go-and-the-magic-of-promptingtools-jl/113575 "2024-05-14T08:54:59Z")

</div>

:rocket: Introducing ProToPortal: A New LLM GUI for Julia Developers! Hey everyone, I’m excited to share a tool I’ve been developing to enhance my own productivity (with Julia but also in general) — ProToPortal! It’s a…

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

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