# Latest

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

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

**Page:** 345

---

## [How to create subdivisions on grids?](https://discourse.julialang.org/t/how-to-create-subdivisions-on-grids/118065)

<div class="topic-metadata">

**Author:** [@JCaro](https://discourse.julialang.org/u/JCaro)\
**Replies:** 8\
**Last updated:** [August 12, 2024, 4:10pm UTC](https://discourse.julialang.org/t/how-to-create-subdivisions-on-grids/118065 "2024-08-12T16:10:22Z")

</div>

I need to work on a simulation and i want to make a gridspace and sub-divide it, using random points in the grid and their respectivly voronoi polygons. Can someone give some directions on how/how not do it?? a image of…

---

## [Problem with first order BVProblem](https://discourse.julialang.org/t/problem-with-first-order-bvproblem/118073)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 2:20pm UTC](https://discourse.julialang.org/t/problem-with-first-order-bvproblem/118073 "2024-08-12T14:20:17Z")

</div>

I want to solve the following differential equation: \\frac{dv}{d\\xi} = 2 (\\frac{v}{\\xi}) \\frac{1-v^{2}}{1-v \\xi} \\frac{1}{(\\mu/c)^{2}-1} I have a boundary condition at the endpoint, v(\\xi\_{d}) = \\frac{\\xi\_{d}-c}{1-…

---

## [Hide Pluto.jl cell in static html with CSS](https://discourse.julialang.org/t/hide-pluto-jl-cell-in-static-html-with-css/118057)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 12\
**Last updated:** [August 12, 2024, 1:33pm UTC](https://discourse.julialang.org/t/hide-pluto-jl-cell-in-static-html-with-css/118057 "2024-08-12T13:33:55Z")

</div>

:wave: Hello I use Pluto notebooks to teach. In the static html versions I make available for the students, I would like to hide certain cells (for example, the one with a @htl block with my CSS tricks). I am trying t…

---

## [Julia is really powerful with LLMs](https://discourse.julialang.org/t/julia-is-really-powerful-with-llms/118091)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 12:28pm UTC](https://discourse.julialang.org/t/julia-is-really-powerful-with-llms/118091 "2024-08-12T12:28:51Z")

</div>

From the time I started to work with Sonnet 3.5. I feel like in Julia programming language the LLM is just was too skilled. I could even believe that due to the descriptive force of the julia and pythonish simplicity in…

---

## [Plot smile face](https://discourse.julialang.org/t/plot-smile-face/118089)

<div class="topic-metadata">

**Author:** [@khaledharizb](https://discourse.julialang.org/u/khaledharizb)\
**Replies:** 4\
**Last updated:** [August 12, 2024, 11:55am UTC](https://discourse.julialang.org/t/plot-smile-face/118089 "2024-08-12T11:55:41Z")

</div>

I tried to plot a smile face with julia, the code I’ve used as follows function face() t = range(0, 2pi, 200) r1=0.2; r2=0.5; R=1; y=\[0, 0\]' .+ hcat(R\*cos.(t),R\*sin.(t)) # big circle y1=\[-0.3, 0.3\]' .+ hcat(r1\*cos.(t),r…

---

## [Ray Tracing in a week-end - Julia vs SIMD-optimized C++](https://discourse.julialang.org/t/ray-tracing-in-a-week-end-julia-vs-simd-optimized-c/72958)

<div class="topic-metadata">

**Author:** [@claforte](https://discourse.julialang.org/u/claforte)\
**Replies:** 81\
**Last updated:** [August 9, 2024, 6:36pm UTC](https://discourse.julialang.org/t/ray-tracing-in-a-week-end-julia-vs-simd-optimized-c/72958 "2024-08-09T18:36:10Z")

</div>

Hi folks, As an exercise to learn how to optimize Julia code for performance, I adapted from C++ to Julia a popular raytracing “book” (Ray Tracing In One Weekend by Peter Shirley) into a Pluto.jl notebook. Hopefully thi…

---

## [ODE-BVP's with Unknown Parameter](https://discourse.julialang.org/t/ode-bvps-with-unknown-parameter/28873)

<div class="topic-metadata">

**Author:** [@anodos](https://discourse.julialang.org/u/anodos)\
**Replies:** 9\
**Last updated:** [August 12, 2024, 9:50am UTC](https://discourse.julialang.org/t/ode-bvps-with-unknown-parameter/28873 "2024-08-12T09:50:59Z")

</div>

Matlab’s bvp4c allows the user to specify ODE-BVP problems which contain an unknown parameter, and then to specify the problem by providing an extra boundary condition. E.g. for a second order ODE, we might have an extra…

---

## [TIFF image cannot be loaded, returned MethodError: no method matching size](https://discourse.julialang.org/t/tiff-image-cannot-be-loaded-returned-methoderror-no-method-matching-size/118024)

<div class="topic-metadata">

**Author:** [@jenkints](https://discourse.julialang.org/u/jenkints)\
**Replies:** 16\
**Last updated:** [August 12, 2024, 9:32am UTC](https://discourse.julialang.org/t/tiff-image-cannot-be-loaded-returned-methoderror-no-method-matching-size/118024 "2024-08-12T09:32:17Z")

</div>

Good day everyone, Thank you in advance for reading this. I am a Python user but I have to run a pipeline that was built using Julia. It’s here: github \[dot\] com \[slash\] kharchenkolab \[slash\] Baysor . I ran into an err…

---

## [Suggestion for enhanced \`sizehint!\`](https://discourse.julialang.org/t/suggestion-for-enhanced-sizehint/118051)

<div class="topic-metadata">

**Author:** [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Replies:** 5\
**Last updated:** [August 12, 2024, 9:09am UTC](https://discourse.julialang.org/t/suggestion-for-enhanced-sizehint/118051 "2024-08-12T09:09:12Z")

</div>

I have a couple of times had the following problem. An algorithm which uses a vector v and does some push! and some pushfirst!. I know in advance the maximum number of pushfirst!, and the maximum number of push! that mig…

---

## [Communicating across worker processes](https://discourse.julialang.org/t/communicating-across-worker-processes/118017)

<div class="topic-metadata">

**Author:** [@ndehngwa](https://discourse.julialang.org/u/ndehngwa)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 5:30am UTC](https://discourse.julialang.org/t/communicating-across-worker-processes/118017 "2024-08-12T05:30:45Z")

</div>

Hello. I just got into julia and i could use some help. I am trying to create an application that listens for instructions form the command line and sends them to a worker process. The worker process performs some compu…

---

## [ZeroTangent definition](https://discourse.julialang.org/t/zerotangent-definition/118069)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 4:55am UTC](https://discourse.julialang.org/t/zerotangent-definition/118069 "2024-08-12T04:55:02Z")

</div>

Hi, I am using chainrulecore for gradient calculation and rrule. I am trying to follow tutorial 18 of gridap. I cant understand the ZeroTangent in the code why we are using that and what it is suppose to do. I’ve read s…

---

## [Catching or preventing sizeof ExceptionError when DataType doesn't have a specific size](https://discourse.julialang.org/t/catching-or-preventing-sizeof-exceptionerror-when-datatype-doesnt-have-a-specific-size/117983)

<div class="topic-metadata">

**Author:** [@zapiano](https://discourse.julialang.org/u/zapiano)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 4:07am UTC](https://discourse.julialang.org/t/catching-or-preventing-sizeof-exceptionerror-when-datatype-doesnt-have-a-specific-size/117983 "2024-08-12T04:07:44Z")

</div>

When calling sizeof(T::DataType) with abstract types, an error is thrown (as mentioned here Essentials · The Julia Language). But calling it with String also throws an error. I have proposed a fix to a YAXArrays package…

---

## [Help diagnosing slow compilation](https://discourse.julialang.org/t/help-diagnosing-slow-compilation/117938)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 4\
**Last updated:** [August 12, 2024, 3:36am UTC](https://discourse.julialang.org/t/help-diagnosing-slow-compilation/117938 "2024-08-12T03:36:03Z")

</div>

I have a function that runs very fast but is slow to compile. I have tried using SnoopCompile functions @snoop\_inference and @snoop\_llvm, but they don’t seem to show where the large latency is residing. I’m new to comp…

---

## [Minicourse: Topological Data Analysis with Julia](https://discourse.julialang.org/t/minicourse-topological-data-analysis-with-julia/118072)

<div class="topic-metadata">

**Author:** [@vituri](https://discourse.julialang.org/u/vituri)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 1:57am UTC](https://discourse.julialang.org/t/minicourse-topological-data-analysis-with-julia/118072 "2024-08-12T01:57:52Z")

</div>

Last week I gave a minicourse using Julia at the Brazilian Topology Meeting. I used Quarto to generate the online book and Julia to do the code and analysis. I had 4 lectures, so I tried to apply tools from topological …

---

## [Auto-gradient with Symbolics for JuMP constraints](https://discourse.julialang.org/t/auto-gradient-with-symbolics-for-jump-constraints/117953)

<div class="topic-metadata">

**Author:** [@vguy-deroubaix](https://discourse.julialang.org/u/vguy-deroubaix)\
**Replies:** 6\
**Last updated:** [August 11, 2024, 8:13pm UTC](https://discourse.julialang.org/t/auto-gradient-with-symbolics-for-jump-constraints/117953 "2024-08-11T20:13:23Z")

</div>

Hello, for a project of optimal approximation of functions, I need the expression of the gradient of the function I need to approximate, so I can put these expressions in constraints in a JuMP model (with Ipopt as the so…

---

## [Creating a custom container layer in Lux](https://discourse.julialang.org/t/creating-a-custom-container-layer-in-lux/117979)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 2\
**Last updated:** [August 11, 2024, 7:31pm UTC](https://discourse.julialang.org/t/creating-a-custom-container-layer-in-lux/117979 "2024-08-11T19:31:18Z")

</div>

Hi, I’m trying to implement a custom container layer in Lux, following the manual to bind a custom masked linear layer together. The idea is that each masked layer has a user-defined mask, and all masks need to be set f…

---

## [Narrow StructArray column types](https://discourse.julialang.org/t/narrow-structarray-column-types/118041)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 2\
**Last updated:** [August 11, 2024, 5:24pm UTC](https://discourse.julialang.org/t/narrow-structarray-column-types/118041 "2024-08-11T17:24:51Z")

</div>

I want to narrow these column types. I can do it one at a time manually but maybe there’s a better way. identity.(\_) didn’t work. julia\> StructArray(a=Vector{Any}(rand(5)), b=Vector{Any}(rand(5)) ) 5-element StructArray…

---

## [\[ANN\] RuleMiner.jl - Efficient frequent itemset and association rule mining](https://discourse.julialang.org/t/ann-ruleminer-jl-efficient-frequent-itemset-and-association-rule-mining/116403)

<div class="topic-metadata">

**Author:** [@JaredSchwartz](https://discourse.julialang.org/u/JaredSchwartz)\
**Replies:** 3\
**Last updated:** [August 11, 2024, 5:43am UTC](https://discourse.julialang.org/t/ann-ruleminer-jl-efficient-frequent-itemset-and-association-rule-mining/116403 "2024-08-11T05:43:38Z")

</div>

RuleMiner.jl RuleMiner is a Julia package for association rule and frequent itemset mining inspired by the arules R package and SPMF Java library. About Association Rule Mining Association rule and frequent itemset mini…

---

## [Converting CSV to Parquet in Julia](https://discourse.julialang.org/t/converting-csv-to-parquet-in-julia/57328)

<div class="topic-metadata">

**Author:** [@oo92](https://discourse.julialang.org/u/oo92)\
**Replies:** 22\
**Last updated:** [August 11, 2024, 1:08pm UTC](https://discourse.julialang.org/t/converting-csv-to-parquet-in-julia/57328 "2024-08-11T13:08:25Z")

</div>

Hi. I have a simple dataframe that I want to convert to parquet. This is my attempt: begin df = CSV.read("/home/onur/julia-assignment/temp.csv", DataFrame) prq = Parquet.File(df) end But this is the error I’m gettin…

---

## [Tooling for analysing dependency licenses](https://discourse.julialang.org/t/tooling-for-analysing-dependency-licenses/117925)

<div class="topic-metadata">

**Author:** [@tecosaur](https://discourse.julialang.org/u/tecosaur)\
**Replies:** 12\
**Last updated:** [August 11, 2024, 4:19pm UTC](https://discourse.julialang.org/t/tooling-for-analysing-dependency-licenses/117925 "2024-08-11T16:19:18Z")

</div>

If it wasn’t already quite apparent from my recent ruminations on licenses, I’ve been thinking about licenses a bit recently. Part of this involved a long and meandering conversation on Slack about the impact of license …

---

## [Not good: AI is a problem, not a solution](https://discourse.julialang.org/t/not-good-ai-is-a-problem-not-a-solution/117798)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 28\
**Last updated:** [August 11, 2024, 4:11pm UTC](https://discourse.julialang.org/t/not-good-ai-is-a-problem-not-a-solution/117798 "2024-08-11T16:11:39Z")

</div>

---

## [StructArrays and custom data layout](https://discourse.julialang.org/t/structarrays-and-custom-data-layout/34910)

<div class="topic-metadata">

**Author:** [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Replies:** 0\
**Last updated:** [February 20, 2020, 3:33pm UTC](https://discourse.julialang.org/t/structarrays-and-custom-data-layout/34910 "2020-02-20T15:33:53Z")

</div>

Hello fine fellows! I’m trying to use StructArrays for a custom data layout. Basically, I would like the following to produce a StructArray that includes the parameters field: using StructArrays struct MyStruct data…

---

## [Hamiltonian Monte Carlo on sphere](https://discourse.julialang.org/t/hamiltonian-monte-carlo-on-sphere/117571)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 21\
**Last updated:** [August 11, 2024, 1:48pm UTC](https://discourse.julialang.org/t/hamiltonian-monte-carlo-on-sphere/117571 "2024-08-11T13:48:42Z")

</div>

I have a PDF defined on (S^{2})^{D} that I want to sample from using Hamiltonian Monte Carlo (HMC). I need to calculate the expectation value of a function against this PDF, which is computationally expensive. Therefore,…

---

## [Add Resizable AbstractArray interface for push! and append!?](https://discourse.julialang.org/t/add-resizable-abstractarray-interface-for-push-and-append/118049)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 5\
**Last updated:** [August 11, 2024, 1:06pm UTC](https://discourse.julialang.org/t/add-resizable-abstractarray-interface-for-push-and-append/118049 "2024-08-11T13:06:28Z")

</div>

On Julia 1.10, the following AbstractVector implementation supports push! and append!: julia\> begin struct MyVector \<: AbstractVector{Int} v::Vector{Int} function MyVector(args...) …

---

## [Symbolics and the creation of functions](https://discourse.julialang.org/t/symbolics-and-the-creation-of-functions/118038)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 2\
**Last updated:** [August 11, 2024, 12:41pm UTC](https://discourse.julialang.org/t/symbolics-and-the-creation-of-functions/118038 "2024-08-11T12:41:38Z")

</div>

Here is an example of code using Julia Symbolics to create a general functions - using SymbolicUtils using Symbolics x = Symbolics.variable("x") y = Symbolics.variable("y") z = Symbolics.variable("z") @variables F(x),…

---

## [Replacing FFT from Numerical Recipes with FFTW](https://discourse.julialang.org/t/replacing-fft-from-numerical-recipes-with-fftw/55508)

<div class="topic-metadata">

**Author:** [@edwinb-ai](https://discourse.julialang.org/u/edwinb-ai)\
**Replies:** 8\
**Last updated:** [August 11, 2024, 12:03pm UTC](https://discourse.julialang.org/t/replacing-fft-from-numerical-recipes-with-fftw/55508 "2024-08-11T12:03:17Z")

</div>

Hello there. I’m tasked to port an old FORTRAN 77 legacy code to Julia. Unfortunately, I’m stuck with the computation of a Fast Fourier Transform (FFT). The original legacy code uses the sinft routine from the Numerica…

---

## [Modelling simple hydraulic using MTK Library](https://discourse.julialang.org/t/modelling-simple-hydraulic-using-mtk-library/118028)

<div class="topic-metadata">

**Author:** [@romantimo](https://discourse.julialang.org/u/romantimo)\
**Replies:** 0\
**Last updated:** [August 10, 2024, 1:34pm UTC](https://discourse.julialang.org/t/modelling-simple-hydraulic-using-mtk-library/118028 "2024-08-10T13:34:04Z")

</div>

Hi everyone, I’ll appreciate an advice on how to split fluid flow using MTK Standard Library. Volume1 (pressured) connected to tube1. Tube1 connected to tube2 and tube3. tube2 and tube3 connected to empty volumes 2 and…

---

## [Fourier draws the Julia logo](https://discourse.julialang.org/t/fourier-draws-the-julia-logo/47309)

<div class="topic-metadata">

**Author:** [@ric.cioffi](https://discourse.julialang.org/u/ric.cioffi)\
**Replies:** 13\
**Last updated:** [August 11, 2024, 10:32am UTC](https://discourse.julialang.org/t/fourier-draws-the-julia-logo/47309 "2024-08-11T10:32:50Z")

</div>

What if I told you Joseph Fourier has learned to draw in Julia? And what if I told you the first thing he wanted to draw was the Julia logo? Well, turns out Fourier was not just a great mathematician but also an artist …

---

## [Possible to suppress terminal stream output in Pluto notebook?](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 7\
**Last updated:** [August 11, 2024, 7:08am UTC](https://discourse.julialang.org/t/possible-to-suppress-terminal-stream-output-in-pluto-notebook/92859 "2024-08-11T07:08:35Z")

</div>

Hi all, I’m using MixedModels.jl in a Pluto notebook and I’d like to suppress the solver output, which now appears in the notebook. I had hoped that verbose = false would do the trick, but it doesn’t. Does anyone know wh…

---

## [Stop Pluto from Precompiling](https://discourse.julialang.org/t/stop-pluto-from-precompiling/117364)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 5\
**Last updated:** [August 11, 2024, 7:06am UTC](https://discourse.julialang.org/t/stop-pluto-from-precompiling/117364 "2024-08-11T07:06:11Z")

</div>

I would like to stop Pluto from precompiling packages when they are added to the environment. I think normally this can be done with compiled-modules=no. Is it also possible to disable this in a pluto notebook? I think …

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

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