# Latest

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

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

**Page:** 634

---

## [Forcing inequallity in DAE](https://discourse.julialang.org/t/forcing-inequallity-in-dae/102205)

<div class="topic-metadata">

**Author:** [@tommy\_J](https://discourse.julialang.org/u/tommy_J)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 10:32pm UTC](https://discourse.julialang.org/t/forcing-inequallity-in-dae/102205 "2023-07-28T22:32:34Z")

</div>

Hello everyone, I am trying to understand DAE example in here. I would like to ask the following: In the example, the constraint used is: 1 = y\_1 + y\_2 + y\_3. Is is also possible to enforce that y\_1, y\_2, y\_3 \\geq 0? …

---

## [How does JuMP export function like set\_lower\_bound()?](https://discourse.julialang.org/t/how-does-jump-export-function-like-set-lower-bound/102216)

<div class="topic-metadata">

**Author:** [@shawn\_T](https://discourse.julialang.org/u/shawn_T)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 10:18pm UTC](https://discourse.julialang.org/t/how-does-jump-export-function-like-set-lower-bound/102216 "2023-07-28T22:18:26Z")

</div>

Hi all, I am learning how JuMP package enables the use of functions like set\_lower\_bound(), these functions are defined in JuMP and could be called by the user from REPL. But from the file where set\_lower\_bound() is de…

---

## [How to generate gif from a vector of pre-made plots and save to file?](https://discourse.julialang.org/t/how-to-generate-gif-from-a-vector-of-pre-made-plots-and-save-to-file/102183)

<div class="topic-metadata">

**Author:** [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 10:00pm UTC](https://discourse.julialang.org/t/how-to-generate-gif-from-a-vector-of-pre-made-plots-and-save-to-file/102183 "2023-07-28T22:00:27Z")

</div>

Hi, I’m trying to generate a gif animation from a sequence of plots. Instead of using the @animate or @gif macro while plotting in a loop, all plots are produced ahead of time and saved to a vector of type Plots.Plot. I …

---

## [Convert string containing quotes to command](https://discourse.julialang.org/t/convert-string-containing-quotes-to-command/101334)

<div class="topic-metadata">

**Author:** [@maths.tex](https://discourse.julialang.org/u/maths.tex)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 9:46pm UTC](https://discourse.julialang.org/t/convert-string-containing-quotes-to-command/101334 "2023-07-28T21:46:49Z")

</div>

I’m new to julia. I have the following strings readen from a json file: pathtoexe = “c:\\my soft\\myexe.exe” folder = “c:\\folder with spaces” mycommand= “‘pathtoexe’ /option /D=‘folder’” The following commands replace …

---

## [Pre-Lowering Cassette?](https://discourse.julialang.org/t/pre-lowering-cassette/102213)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 8:59pm UTC](https://discourse.julialang.org/t/pre-lowering-cassette/102213 "2023-07-28T20:59:36Z")

</div>

I’ve been working with Cassette, and it’s awesome. Its docs are so good at teaching. I’m not sure if it was @oxinabox who wrote them or what but thank you! I’m running into some challenges working with the IR, and it’s …

---

## [Link to "First Steps" has wrong URL](https://discourse.julialang.org/t/link-to-first-steps-has-wrong-url/3265)

<div class="topic-metadata">

**Author:** [@pkofod](https://discourse.julialang.org/u/pkofod)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 8:05pm UTC](https://discourse.julialang.org/t/link-to-first-steps-has-wrong-url/3265 "2023-07-28T20:05:27Z")

</div>

The link to the “First Steps” subcategory in the description of “Usage” is wrong, as it has “usage” in the URL instead of “user”, that is https://discourse.julialang.org/c/usage/first-steps vs https://discourse.julialang…

---

## [How to hide output from an optimizer?](https://discourse.julialang.org/t/how-to-hide-output-from-an-optimizer/100336)

<div class="topic-metadata">

**Author:** [@Jorge\_Paredes](https://discourse.julialang.org/u/Jorge_Paredes)\
**Replies:** 6\
**Last updated:** [July 28, 2023, 7:44pm UTC](https://discourse.julialang.org/t/how-to-hide-output-from-an-optimizer/100336 "2023-07-28T19:44:07Z")

</div>

Just a question, how do you disappear this part: (I don’t wan’t to show this part in the console) \* Status: success \* Candidate solution Final objective value: 3.525527e-09 \* Found with Algorithm: Ne…

---

## [How to Spawn Child RNGs with Random?](https://discourse.julialang.org/t/how-to-spawn-child-rngs-with-random/102122)

<div class="topic-metadata">

**Author:** [@alegresor](https://discourse.julialang.org/u/alegresor)\
**Replies:** 5\
**Last updated:** [July 26, 2023, 5:59pm UTC](https://discourse.julialang.org/t/how-to-spawn-child-rngs-with-random/102122 "2023-07-26T17:59:13Z")

</div>

In Python I can spawn independent child RNGs with numpy.random.Generator.spawn. How can I do this in Julia?

---

## [Creating a variable inside a macro with specified name](https://discourse.julialang.org/t/creating-a-variable-inside-a-macro-with-specified-name/102187)

<div class="topic-metadata">

**Author:** [@shawn\_T](https://discourse.julialang.org/u/shawn_T)\
**Replies:** 7\
**Last updated:** [July 28, 2023, 5:44pm UTC](https://discourse.julialang.org/t/creating-a-variable-inside-a-macro-with-specified-name/102187 "2023-07-28T17:44:50Z")

</div>

Hi all, I am trying to create a variable inside a Julia macro, then return the variable to the REPL, the variable should also have the name I specified from the macro input argument. I have two tests, the first test fun…

---

## [Latest stable documentation not being deployed](https://discourse.julialang.org/t/latest-stable-documentation-not-being-deployed/88053)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 4:29pm UTC](https://discourse.julialang.org/t/latest-stable-documentation-not-being-deployed/88053 "2023-07-28T16:29:36Z")

</div>

I’m trying to get the stable documentation for ApproxFun.jl to build. The tagbot script contains ssh: ${{ secrets.DOCUMENTER\_KEY }} and the documentation job script contains on: pull\_request: push: …

---

## [Strange Glib\_jll behavior](https://discourse.julialang.org/t/strange-glib-jll-behavior/102168)

<div class="topic-metadata">

**Author:** [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 4:10pm UTC](https://discourse.julialang.org/t/strange-glib-jll-behavior/102168 "2023-07-28T16:10:34Z")

</div>

My reseach cluster underwent big changes recently. I was running into errors with my Julia code and have started fresh with a new juliaup installation. I’m still getting some strange behavior that I think I’ve isolated i…

---

## [GC.gc() error](https://discourse.julialang.org/t/gc-gc-error/102203)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 4:00pm UTC](https://discourse.julialang.org/t/gc-gc-error/102203 "2023-07-28T16:00:35Z")

</div>

got the following error and Julia quitted. Should be the result of calling GC.gc(). any idea how to avoid it? v.1.9.1, Apple silicon M2 Ultra mjulia191(74249,0x1e7495e00) malloc: \*\*\* error for object 0x48db150c0: point…

---

## [Julia, New Package, Github and VSCode](https://discourse.julialang.org/t/julia-new-package-github-and-vscode/102079)

<div class="topic-metadata">

**Author:** [@jlhouchin](https://discourse.julialang.org/u/jlhouchin)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 3:54pm UTC](https://discourse.julialang.org/t/julia-new-package-github-and-vscode/102079 "2023-07-28T15:54:13Z")

</div>

I have several projects I was looking at porting to Julia. I needed to understand how to properly create a new Package and publish it to GitHub and code from Codium. I read all I could find. I read all the tutorials I c…

---

## [ForwardDiff.jl with Symbolics.jl](https://discourse.julialang.org/t/forwarddiff-jl-with-symbolics-jl/98706)

<div class="topic-metadata">

**Author:** [@dchang10](https://discourse.julialang.org/u/dchang10)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 2:43pm UTC](https://discourse.julialang.org/t/forwarddiff-jl-with-symbolics-jl/98706 "2023-07-28T14:43:28Z")

</div>

I’m trying to do mixed symbolic and numeric derivatives. I want to define a type that holds a function that I will use to differentiate on in the future, this function may be ill-defined, so I would like to be able to op…

---

## [How to Query Trino via REST python client?](https://discourse.julialang.org/t/how-to-query-trino-via-rest-python-client/98832)

<div class="topic-metadata">

**Author:** [@EMCP](https://discourse.julialang.org/u/EMCP)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 2:29pm UTC](https://discourse.julialang.org/t/how-to-query-trino-via-rest-python-client/98832 "2023-07-28T14:29:46Z")

</div>

I have a trino cluster, which I am just wanting to query in Julia … get things into a few nice Table.jl tables and do some work with each dataset… but having trouble getting connected … the raw REST api is undocumented u…

---

## [PLutoUI -- Can I make a Slider With a Text Box Option](https://discourse.julialang.org/t/plutoui-can-i-make-a-slider-with-a-text-box-option/102194)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 3\
**Last updated:** [July 28, 2023, 1:55pm UTC](https://discourse.julialang.org/t/plutoui-can-i-make-a-slider-with-a-text-box-option/102194 "2023-07-28T13:55:30Z")

</div>

In a Pluto Notebook, I would like to have a value driven by a slider, but I would also like the option to override that slider value with a text input. Or have them linked in someway. Any thoughts on how to accomplish …

---

## [\[ANN\] Makie@0.19.7 release](https://discourse.julialang.org/t/ann-makie-0-19-7-release/102162)

<div class="topic-metadata">

**Author:** [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Replies:** 4\
**Last updated:** [July 28, 2023, 10:58am UTC](https://discourse.julialang.org/t/ann-makie-0-19-7-release/102162 "2023-07-28T10:58:56Z")

</div>

We’re happy to release a new Makie version :slight\_smile: Read all about it on the Makie blog! It may be a patch version, but it offers lots of fixes/improvements and new features like polar axis:

---

## [Finally using the amazing Makie for plotting](https://discourse.julialang.org/t/finally-using-the-amazing-makie-for-plotting/102185)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 16\
**Last updated:** [July 28, 2023, 10:50am UTC](https://discourse.julialang.org/t/finally-using-the-amazing-makie-for-plotting/102185 "2023-07-28T10:50:01Z")

</div>

Hello, tite, However, it doesn’t let me save my plot, code is here using CairoMakie CairoMakie.activate!(type = “svg”) fig = Figure(pt\_per\_unit = 2) ax = Axis(fig\[1, 1\], xlabel = “GQ”, ylabel = “VAF”, title = “VAF…

---

## [Speed Comparison Python v Julia for custom layers](https://discourse.julialang.org/t/speed-comparison-python-v-julia-for-custom-layers/101922)

<div class="topic-metadata">

**Author:** [@willleeney](https://discourse.julialang.org/u/willleeney)\
**Replies:** 25\
**Last updated:** [July 28, 2023, 8:56am UTC](https://discourse.julialang.org/t/speed-comparison-python-v-julia-for-custom-layers/101922 "2023-07-28T08:56:36Z")

</div>

New to Julia and looking at comparisons of speed in forward pass with pytorch. I want to optimise performance of training a neural network that will contain custom layers. I have provide some code for an example. I want …

---

## [Gadfly scatter plot crashing](https://discourse.julialang.org/t/gadfly-scatter-plot-crashing/102066)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 13\
**Last updated:** [July 28, 2023, 6:46am UTC](https://discourse.julialang.org/t/gadfly-scatter-plot-crashing/102066 "2023-07-28T06:46:27Z")

</div>

Hello, I have a data frame with 2 columns, each has 2 millions points. When I try to plot it crashes Jupyter. I am surprised because R and Python can handle it. Here is my command df2=CSV.read(“/home/alessandro/Data/M…

---

## [How to colour individual array entries in a DataFrame cell with PrettyTables or similar?](https://discourse.julialang.org/t/how-to-colour-individual-array-entries-in-a-dataframe-cell-with-prettytables-or-similar/102157)

<div class="topic-metadata">

**Author:** [@Olegg](https://discourse.julialang.org/u/Olegg)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 2:04am UTC](https://discourse.julialang.org/t/how-to-colour-individual-array-entries-in-a-dataframe-cell-with-prettytables-or-similar/102157 "2023-07-28T02:04:27Z")

</div>

I have a many-column DataFrames with most columns containing an array in each cell. (These are properties per solution in multi-constrained optimisation.) Here’s a snippet with 3-element arrays Would it be possible t…

---

## [Julia v1.10.0-beta1 is now available](https://discourse.julialang.org/t/julia-v1-10-0-beta1-is-now-available/102179)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 1:20am UTC](https://discourse.julialang.org/t/julia-v1-10-0-beta1-is-now-available/102179 "2023-07-28T01:20:32Z")

</div>

The Julia developers are pleased to announce that Julia v1.10.0 is now in beta. You can download binaries for the first beta release, v1.10.0-beta1, at https://julialang.org/downloads/ in the “upcoming release” section. …

---

## [X \* y + z does not automatically use FMA instruction](https://discourse.julialang.org/t/x-y-z-does-not-automatically-use-fma-instruction/100640)

<div class="topic-metadata">

**Author:** [@GLOBEX\_CORP](https://discourse.julialang.org/u/GLOBEX_CORP)\
**Replies:** 31\
**Last updated:** [July 27, 2023, 11:14pm UTC](https://discourse.julialang.org/t/x-y-z-does-not-automatically-use-fma-instruction/100640 "2023-07-27T23:14:11Z")

</div>

I am new to Julia and was wondering why the code x \* y + z does not use fmadd where all values are floats, but instead fmul followed by fadd. On the other hand, if I use the @fastmath decorator, the @code\_native changes …

---

## [Atomistic modelling ecosystem brainstorming at JuliaCon](https://discourse.julialang.org/t/atomistic-modelling-ecosystem-brainstorming-at-juliacon/102156)

<div class="topic-metadata">

**Author:** [@mfh](https://discourse.julialang.org/u/mfh)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 11:00pm UTC](https://discourse.julialang.org/t/atomistic-modelling-ecosystem-brainstorming-at-juliacon/102156 "2023-07-27T23:00:50Z")

</div>

Dear Julia community Today at JuliaCon we will organise a discussion and brainstorming session centred around the current ecosystem of first-principle atomistic modelling in Julia. In particular we want to discuss the d…

---

## [\[ANN\] Ignite.jl: A brighter way to train neural networks](https://discourse.julialang.org/t/ann-ignite-jl-a-brighter-way-to-train-neural-networks/102169)

<div class="topic-metadata">

**Author:** [@jondeuce](https://discourse.julialang.org/u/jondeuce)\
**Replies:** 3\
**Last updated:** [July 27, 2023, 9:52pm UTC](https://discourse.julialang.org/t/ann-ignite-jl-a-brighter-way-to-train-neural-networks/102169 "2023-07-27T21:52:35Z")

</div>

Introducing Ignite.jl, a package designed to streamline neural network training and validation loops. If you’ve struggled with managing complex and hard-to-maintain training pipelines, let Ignite.jl light the way. Motiv…

---

## [How to take (mathematical) gradients with ModelingTookit.jl](https://discourse.julialang.org/t/how-to-take-mathematical-gradients-with-modelingtookit-jl/102161)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 8:30pm UTC](https://discourse.julialang.org/t/how-to-take-mathematical-gradients-with-modelingtookit-jl/102161 "2023-07-27T20:30:46Z")

</div>

Consider a Hamiltonian H=x^2 + y^2. I want automatically calculate Hamilton’s equation of motion by taking the partial derivatives wrt to x and y. How to do this with ModelingToolkit.jl? I cannot get calculate\_gradient t…

---

## [\[Design pattern\] How to let my package internally use functions of another package it does know nothing about?](https://discourse.julialang.org/t/design-pattern-how-to-let-my-package-internally-use-functions-of-another-package-it-does-know-nothing-about/102149)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 10\
**Last updated:** [July 27, 2023, 8:02pm UTC](https://discourse.julialang.org/t/design-pattern-how-to-let-my-package-internally-use-functions-of-another-package-it-does-know-nothing-about/102149 "2023-07-27T20:02:56Z")

</div>

Hello, my objective is to have an imputer in my Machine Learning package that internally could use as actual imputer for each dimension (column) of the provided matrix any estimator that provides the “interface” mod=Mode…

---

## [Julia support for Geany (WIP)](https://discourse.julialang.org/t/julia-support-for-geany-wip/52676)

<div class="topic-metadata">

**Author:** [@AndiMD](https://discourse.julialang.org/u/AndiMD)\
**Replies:** 11\
**Last updated:** [July 19, 2023, 8:15pm UTC](https://discourse.julialang.org/t/julia-support-for-geany-wip/52676 "2023-07-19T20:15:29Z")

</div>

Dear community, thanks to efforts by @getzze, Julia support is coming to Geany. Geany is a lighweight crossplatform IDE that is somewhere between VIM and vscode. Feedback / testers / contributers welcome! https://gith…

---

## [Mirroring Slack channels to Zulip](https://discourse.julialang.org/t/mirroring-slack-channels-to-zulip/63804)

<div class="topic-metadata">

**Author:** [@rht](https://discourse.julialang.org/u/rht)\
**Replies:** 14\
**Last updated:** [July 27, 2023, 7:21pm UTC](https://discourse.julialang.org/t/mirroring-slack-channels-to-zulip/63804 "2023-07-27T19:21:41Z")

</div>

Clojurians have been mirroring at least 60 of their Slack channels to their Zulip instance since 2019: \[ANN\] searchable Slack-archive - Community Building - ClojureVerse. They wanted to make the Slack archive searchable,…

---

## [Trying to translate Matlab code to Julia - need help #50640](https://discourse.julialang.org/t/trying-to-translate-matlab-code-to-julia-need-help-50640/102111)

<div class="topic-metadata">

**Author:** [@manuelcaeiro](https://discourse.julialang.org/u/manuelcaeiro)\
**Replies:** 14\
**Last updated:** [July 27, 2023, 6:26pm UTC](https://discourse.julialang.org/t/trying-to-translate-matlab-code-to-julia-need-help-50640/102111 "2023-07-27T18:26:38Z")

</div>

I’m trying to translate the following code in Matlab: e = 1.05; %Eccentricity a = -147562.72; %km b = abs(a)\*sqrt(e.^2 -1); %Equation for Semi-Minor Axis, b x1 = linspace( a, 2\*a, 1E3); %…

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

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