# Latest

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

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

**Page:** 482

---

## [Float64 & format](https://discourse.julialang.org/t/float64-format/110284)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [February 17, 2024, 1:13pm UTC](https://discourse.julialang.org/t/float64-format/110284 "2024-02-17T13:13:51Z")

</div>

How can I make Floats appear in scientific or engineering notation? E.g., I want to display, say, 0.0001 as 1e-4. I know I can do this using the @printf macro, but that just prints the formatted number to the terminal. …

---

## [Energy planning](https://discourse.julialang.org/t/energy-planning/110315)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [February 17, 2024, 12:22pm UTC](https://discourse.julialang.org/t/energy-planning/110315 "2024-02-17T12:22:26Z")

</div>

There is a nice open source tool for energy planning: http://www.osemosys.org/ As far as I understand their are two open source versions, one written in GNUMathprog, and one in Python. The GNUMathprog version is quite c…

---

## [Is it possible to read another Task's task\_local\_storage](https://discourse.julialang.org/t/is-it-possible-to-read-another-tasks-task-local-storage/110324)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 2:29am UTC](https://discourse.julialang.org/t/is-it-possible-to-read-another-tasks-task-local-storage/110324 "2024-02-17T02:29:03Z")

</div>

Is it possible to read the task\_local\_storage of a Task? For example, if you were to spawn several long running child tasks and you keep the handles to the child Tasks, can another task read the storage using those hand…

---

## [Is there a library for a generic convolution function?](https://discourse.julialang.org/t/is-there-a-library-for-a-generic-convolution-function/110329)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 2:13am UTC](https://discourse.julialang.org/t/is-there-a-library-for-a-generic-convolution-function/110329 "2024-02-17T02:13:23Z")

</div>

I need to do a convolution of BigInts and DSP says that BigFloat isn’t supported when I try.

---

## [Ignoring NaNs when calculating means of columns of a dataframe](https://discourse.julialang.org/t/ignoring-nans-when-calculating-means-of-columns-of-a-dataframe/110326)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 12:07am UTC](https://discourse.julialang.org/t/ignoring-nans-when-calculating-means-of-columns-of-a-dataframe/110326 "2024-02-17T00:07:48Z")

</div>

Hi all, I have a dataframe with rows as dates and columns as data points. I need to calculate the mean of each column, but the problem is that some of the columns have “NaN” values. Is there an efficient way to achieve…

---

## [Permanently Increase World Age in Local Context](https://discourse.julialang.org/t/permanently-increase-world-age-in-local-context/110257)

<div class="topic-metadata">

**Author:** [@PatrickHaecker](https://discourse.julialang.org/u/PatrickHaecker)\
**Replies:** 5\
**Last updated:** [February 16, 2024, 11:25pm UTC](https://discourse.julialang.org/t/permanently-increase-world-age-in-local-context/110257 "2024-02-16T23:25:17Z")

</div>

Is there a way to permanently increase world age without going to global context? Most of the world age seems to focus on redefining functions. The problem here is different as it is about dynamically defining a type. I…

---

## [Display svg](https://discourse.julialang.org/t/display-svg/57469)

<div class="topic-metadata">

**Author:** [@tonyhur](https://discourse.julialang.org/u/tonyhur)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 10:53pm UTC](https://discourse.julialang.org/t/display-svg/57469 "2024-02-16T22:53:40Z")

</div>

In a Jupyter notebook I have the following code that worked with Julia 1.0 f = open(“Output.svg”, “r”) s = read(f,String) display(“image/svg+xml”,s) Now in Julia 1.5.3 it did not work anymore. I looked up the documen…

---

## [Plotting two specific columns from a dataframe on one plot using PlutoPlotly](https://discourse.julialang.org/t/plotting-two-specific-columns-from-a-dataframe-on-one-plot-using-plutoplotly/110316)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 10:13pm UTC](https://discourse.julialang.org/t/plotting-two-specific-columns-from-a-dataframe-on-one-plot-using-plutoplotly/110316 "2024-02-16T22:13:05Z")

</div>

Hi everyone, I have a DataFrame with one date data and the other columns are just numbers. I want to create a plot of two specific columns df.data1 and df.data3 against the date column on the x-axis. When I try someth…

---

## [Shape optimization in FEM](https://discourse.julialang.org/t/shape-optimization-in-fem/107635)

<div class="topic-metadata">

**Author:** [@rguerrab](https://discourse.julialang.org/u/rguerrab)\
**Replies:** 10\
**Last updated:** [February 16, 2024, 10:10pm UTC](https://discourse.julialang.org/t/shape-optimization-in-fem/107635 "2024-02-16T22:10:25Z")

</div>

Hi there, I have a feeling this may have been asked before but I can’t seem to find an answer online. The general question is: how can I compute the gradient of a function where the function depends on the solution of …

---

## [RFC: Some Ideas to Tackle #15276 - performance of captured variables in closures](https://discourse.julialang.org/t/rfc-some-ideas-to-tackle-15276-performance-of-captured-variables-in-closures/95260)

<div class="topic-metadata">

**Author:** [@uniment](https://discourse.julialang.org/u/uniment)\
**Replies:** 65\
**Last updated:** [February 16, 2024, 8:56pm UTC](https://discourse.julialang.org/t/rfc-some-ideas-to-tackle-15276-performance-of-captured-variables-in-closures/95260 "2024-02-16T20:56:29Z")

</div>

Naïvely written Julia should be performant. It shouldn’t take memorizing a 35-page manual to reliably beat Matlab. Unless more performance footguns are removed, it’s impossible for a package ecosystem to be performant. F…

---

## [Parsing a vector of vectors with Meta.parse?](https://discourse.julialang.org/t/parsing-a-vector-of-vectors-with-meta-parse/110274)

<div class="topic-metadata">

**Author:** [@Leo\_I](https://discourse.julialang.org/u/Leo_I)\
**Replies:** 12\
**Last updated:** [February 16, 2024, 8:12pm UTC](https://discourse.julialang.org/t/parsing-a-vector-of-vectors-with-meta-parse/110274 "2024-02-16T20:12:44Z")

</div>

I have a concrete problem, where Meta.parse(line) is unbearably slow. My use-case is that I have a long .txt file, in which each line has the form \[x1, ..., xn\], where x1,...,xn are specific integers. I must import/con…

---

## [Normal vs broadcasted slice assignment](https://discourse.julialang.org/t/normal-vs-broadcasted-slice-assignment/110288)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 5\
**Last updated:** [February 16, 2024, 8:10pm UTC](https://discourse.julialang.org/t/normal-vs-broadcasted-slice-assignment/110288 "2024-02-16T20:10:26Z")

</div>

This must have been discussed a dozen times but I couldn’t find a thread about this precise issue: using BenchmarkTools f1(v, x) = v\[1:length(x)\] = x f2(v, x) = v\[1:length(x)\] .= x julia\> @btime f1($(rand(1000)), $(ra…

---

## [Converting XLSX.Worksheet to DataFrame](https://discourse.julialang.org/t/converting-xlsx-worksheet-to-dataframe/110300)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 5\
**Last updated:** [February 16, 2024, 7:51pm UTC](https://discourse.julialang.org/t/converting-xlsx-worksheet-to-dataframe/110300 "2024-02-16T19:51:38Z")

</div>

Hi all, I imported an excel file to XLSX data variable named xf, now I’m trying to convert one of the worksheets xf\[2\] into a dataframe. The worksheet have two columns, one date in the form of 1993-04-30 and the other …

---

## [Benchmarking function in local scope](https://discourse.julialang.org/t/benchmarking-function-in-local-scope/110228)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 7:48pm UTC](https://discourse.julialang.org/t/benchmarking-function-in-local-scope/110228 "2024-02-16T19:48:56Z")

</div>

I have a function that I would like to benchmark. To that end, I would like to time the function for several different argument values, and plot how the runtime changes with the argument values. I can do this using the @…

---

## [Dates appear as numbers on the x-axis using PlutoPlotly](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 7:45pm UTC](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311 "2024-02-16T19:45:27Z")

</div>

Hi, I’m trying to use Plotly with my Pluto notebook code for plotting timeseries of dataframes. I’m using PlutoPLotly and when I plot using: plot(df.Date, df.data1, x=:Date) The x-axis ticks appear as numbers, despi…

---

## [Is it posible to have MVectors with overlaping data?](https://discourse.julialang.org/t/is-it-posible-to-have-mvectors-with-overlaping-data/110275)

<div class="topic-metadata">

**Author:** [@Joaquin\_Rodriguez](https://discourse.julialang.org/u/Joaquin_Rodriguez)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 7:17pm UTC](https://discourse.julialang.org/t/is-it-posible-to-have-mvectors-with-overlaping-data/110275 "2024-02-16T19:17:57Z")

</div>

I am defining a type which contains a 6-element MVector. I would like to have to views into each half of this vector, like so: Of course, I could create them using view1 = view(myvector, 1:3) and view2 = view(myvecto…

---

## [ENV\["PATH"\] is different for REPL started through VS Code](https://discourse.julialang.org/t/env-path-is-different-for-repl-started-through-vs-code/105253)

<div class="topic-metadata">

**Author:** [@dylan-asmar](https://discourse.julialang.org/u/dylan-asmar)\
**Replies:** 14\
**Last updated:** [February 16, 2024, 7:03pm UTC](https://discourse.julialang.org/t/env-path-is-different-for-repl-started-through-vs-code/105253 "2024-02-16T19:03:54Z")

</div>

If I start the REPL using VS Code (Julia: Start REPL), I get different results for ENV\["PATH"\] than if I start the REPL in any other way. VS Code: Version 1.83.1 Julia: 1.9.3 OS: MacOS Sonoma 14.0 I am assuming it is…

---

## [Of general interest, O'Reilly's trends](https://discourse.julialang.org/t/of-general-interest-oreillys-trends/110312)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 6:11pm UTC](https://discourse.julialang.org/t/of-general-interest-oreillys-trends/110312 "2024-02-16T18:11:14Z")

</div>

---

## [Alternative for flamegraphs](https://discourse.julialang.org/t/alternative-for-flamegraphs/110267)

<div class="topic-metadata">

**Author:** [@Matthijs\_1971](https://discourse.julialang.org/u/Matthijs_1971)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 5:43pm UTC](https://discourse.julialang.org/t/alternative-for-flamegraphs/110267 "2024-02-16T17:43:36Z")

</div>

Flamegraphs are created by polling the stacktrace and post-processing the results, lumping together parts of stacktraces. If my code calls functions tic() and toc() alternatingly, a flamegraph lumps together all calls to…

---

## [Topic splits vs. creating new topics](https://discourse.julialang.org/t/topic-splits-vs-creating-new-topics/110305)

<div class="topic-metadata">

**Author:** [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 5:29pm UTC](https://discourse.julialang.org/t/topic-splits-vs-creating-new-topics/110305 "2024-02-16T17:29:41Z")

</div>

Continuing the discussion from On using \`=\` vs \`:=\` for assignment: We do ask that folks try to stick to the topic at hand: Rather than taking an existing topic in a radically different direction, use Reply as a Link…

---

## [How to log in to Facebook with Julia?](https://discourse.julialang.org/t/how-to-log-in-to-facebook-with-julia/110301)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 4:52pm UTC](https://discourse.julialang.org/t/how-to-log-in-to-facebook-with-julia/110301 "2024-02-16T16:52:23Z")

</div>

I would like to automate browsing my FB, how to start optimally with Julia Paul

---

## [Color scheme of JuliaHub package descriptions](https://discourse.julialang.org/t/color-scheme-of-juliahub-package-descriptions/110282)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 10\
**Last updated:** [February 16, 2024, 4:28pm UTC](https://discourse.julialang.org/t/color-scheme-of-juliahub-package-descriptions/110282 "2024-02-16T16:28:14Z")

</div>

I love the automatic linking of xxx.jl to the JuliaHub package page! but what about adjusting the color scheme to something with more contrast? Here’s an example. Am I alone in finding the current scheme hard to read?

---

## [ModelingToolkit Extract conserved quantities](https://discourse.julialang.org/t/modelingtoolkit-extract-conserved-quantities/110296)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 4:25pm UTC](https://discourse.julialang.org/t/modelingtoolkit-extract-conserved-quantities/110296 "2024-02-16T16:25:00Z")

</div>

Hello, I am interested in a chemical model given by: using ModelingToolkit using OrdinaryDiffEq @parameters k1 k2 k3 k4 k5 k6 k7 k8 k9 k10 k11 M @variables t O1D(t) O(t) O3(t) O2(t) NO(t) NO2(t) σ(t) r1(t) r2(t) r3(t)…

---

## [Plots.jl : place legend at the end of series](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 15\
**Last updated:** [February 16, 2024, 3:54pm UTC](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287 "2024-02-16T15:54:32Z")

</div>

Hey, I have a plot like that : I would like the legends to be placed next to the end of curves like that : and so on for all of them. Is that possible ?

---

## [Would it be worth it to move to DifferentialEquation.jl?](https://discourse.julialang.org/t/would-it-be-worth-it-to-move-to-differentialequation-jl/110297)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 3:39pm UTC](https://discourse.julialang.org/t/would-it-be-worth-it-to-move-to-differentialequation-jl/110297 "2024-02-16T15:39:23Z")

</div>

Hey, I have an application that is taking a bit long, but looking at profview i am wondering if it would be actually worth it to move it to DE.jl. Here are the specifics: I have a pre-setted grid with a lot of time po…

---

## [Transient, multifield simulations in Gridap.jl](https://discourse.julialang.org/t/transient-multifield-simulations-in-gridap-jl/110292)

<div class="topic-metadata">

**Author:** [@instant0n](https://discourse.julialang.org/u/instant0n)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 1:21pm UTC](https://discourse.julialang.org/t/transient-multifield-simulations-in-gridap-jl/110292 "2024-02-16T13:21:29Z")

</div>

Hi all- Is it currently possible to solve transient problems for multifield FE spaces using Gridap.jl? I’m currently trying to solve a Boussinesq Navier-Stokes system, and am running into some issues, so I’d like to kno…

---

## [M1 Mac Faile to install BinaryProvider Package](https://discourse.julialang.org/t/m1-mac-faile-to-install-binaryprovider-package/74103)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.julialang.org/u/Jack)\
**Replies:** 19\
**Last updated:** [February 16, 2024, 2:36pm UTC](https://discourse.julialang.org/t/m1-mac-faile-to-install-binaryprovider-package/74103 "2024-02-16T14:36:58Z")

</div>

When I try to run Julia on the new m1 mac, it would break from time to time. I checked if there is any package that’s broken, and found this after doing the precompile Precompiling project... ✗ BinaryProvider 0 depe…

---

## [Julia internships at the Swiss National Supercomputing Centre](https://discourse.julialang.org/t/julia-internships-at-the-swiss-national-supercomputing-centre/110295)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 1:49pm UTC](https://discourse.julialang.org/t/julia-internships-at-the-swiss-national-supercomputing-centre/110295 "2024-02-16T13:49:14Z")

</div>

Eligible are only Students enrolled in a Swiss university! All the all the details of the internship offer are found here: https://jobs.ethz.ch/job/view/JOPG\_ethz\_sRMTIUMhsyaWMB4LVv

---

## [Plotting a sequence of images as a gif](https://discourse.julialang.org/t/plotting-a-sequence-of-images-as-a-gif/23808)

<div class="topic-metadata">

**Author:** [@mllera14](https://discourse.julialang.org/u/mllera14)\
**Replies:** 33\
**Last updated:** [February 16, 2024, 9:52am UTC](https://discourse.julialang.org/t/plotting-a-sequence-of-images-as-a-gif/23808 "2024-02-16T09:52:10Z")

</div>

Hi, I have an input signal parameterized by time, which consists of a time dependent noise mask added on top of a base image defined as: I(t) = X + noise(t) I now want to create a gif animation using Plots to see what…

---

## [No such file when using backticks for running external program](https://discourse.julialang.org/t/no-such-file-when-using-backticks-for-running-external-program/110264)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 10\
**Last updated:** [February 16, 2024, 9:50am UTC](https://discourse.julialang.org/t/no-such-file-when-using-backticks-for-running-external-program/110264 "2024-02-16T09:50:00Z")

</div>

Hello, I’m sorry to bother with such a seemingly trivial problem but I’m stuck with a stupid problem. I have a simple file that I’d like to read. open(path) do f readdlm(f,header=true)\[1\] end where path contain…

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

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