# Latest

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

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

**Page:** 269

---

## [Very slow performance when modifying and querying a model with JuMP](https://discourse.julialang.org/t/very-slow-performance-when-modifying-and-querying-a-model-with-jump/122842)

<div class="topic-metadata">

**Author:** [@njozefow](https://discourse.julialang.org/u/njozefow)\
**Replies:** 4\
**Last updated:** [November 26, 2024, 10:56am UTC](https://discourse.julialang.org/t/very-slow-performance-when-modifying-and-querying-a-model-with-jump/122842 "2024-11-26T10:56:34Z")

</div>

Hello, I have a question about the modifications and queries of a model with jump. If I use a jump model with set\_objective\_coefficient and set\_normalized\_coefficient, the computational times are 25 times slower than wi…

---

## [JulGame.jl: A 2D Julia Game Engine | v0.1.0 Release](https://discourse.julialang.org/t/julgame-jl-a-2d-julia-game-engine-v0-1-0-release/122380)

<div class="topic-metadata">

**Author:** [@Kyjor](https://discourse.julialang.org/u/Kyjor)\
**Replies:** 3\
**Last updated:** [November 26, 2024, 9:39am UTC](https://discourse.julialang.org/t/julgame-jl-a-2d-julia-game-engine-v0-1-0-release/122380 "2024-11-26T09:39:16Z")

</div>

Hey everyone! It’s been awhile. But I am glad to announce that I released v0.1.0 for JulGame.jl, the 2D game engine I am writing in Julia. This release is the first version of the engine that I feel is usable. There are …

---

## [Simulating membrane Julia](https://discourse.julialang.org/t/simulating-membrane-julia/123084)

<div class="topic-metadata">

**Author:** [@Alma\_Thindberg](https://discourse.julialang.org/u/Alma_Thindberg)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 9:36am UTC](https://discourse.julialang.org/t/simulating-membrane-julia/123084 "2024-11-26T09:36:10Z")

</div>

using Pkg Pkg.add("ModelingToolkit") Pkg.add("MethodOfLines") Pkg.add("DomainSets") Pkg.add("OrdinaryDiffEq") using ModelingToolkit, MethodOfLines, DomainSets, OrdinaryDiffEq include("Properties2.jl") import ModelingTo…

---

## [Reading and printing characters from a file](https://discourse.julialang.org/t/reading-and-printing-characters-from-a-file/123079)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 9:27am UTC](https://discourse.julialang.org/t/reading-and-printing-characters-from-a-file/123079 "2024-11-26T09:27:07Z")

</div>

Hello, I have a file like below: A B c I want to write a program that produces output like the following: A is Uppercase B is Uppercase c is Lowercase I wrote the following program: function UL() inn = open("in…

---

## [Cannot download GalacticOptim after downloading environment package NeuralPDE](https://discourse.julialang.org/t/cannot-download-galacticoptim-after-downloading-environment-package-neuralpde/123072)

<div class="topic-metadata">

**Author:** [@Y1123929](https://discourse.julialang.org/u/Y1123929)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 8:52am UTC](https://discourse.julialang.org/t/cannot-download-galacticoptim-after-downloading-environment-package-neuralpde/123072 "2024-11-26T08:52:15Z")

</div>

The following is my code import Pkg Pkg.add("GalacticOptim") using NeuralPDE,GalacticOptim When NeuralPDE is included in the environment package, the following error occurs when GalacticOptim is downloaded, but it can…

---

## [Permutation formula n!/(n-r)!](https://discourse.julialang.org/t/permutation-formula-n-n-r/123040)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 20\
**Last updated:** [November 26, 2024, 7:37am UTC](https://discourse.julialang.org/t/permutation-formula-n-n-r/123040 "2024-11-26T07:37:24Z")

</div>

Hello, To calculate the formula n!/(n-r)!, I wrote the following program: function combinations(n, r) n = BigInt(factorial(n)) r = BigInt(factorial(r)) t = BigInt(factorial(n-r)) final = BigInt(n / (t \*…

---

## [GSoC Admin Team Announcement!](https://discourse.julialang.org/t/gsoc-admin-team-announcement/122754)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [November 26, 2024, 5:57am UTC](https://discourse.julialang.org/t/gsoc-admin-team-announcement/122754 "2024-11-26T05:57:45Z")

</div>

:julia: GSoC Annoucement! :julia: Join me in welcoming @Azzaare (Jean-François Baffier), Anant Thazhemadam, and @xlxs4 to the Julia Google Summer of Code (GSoC) Admin Team! :rocket: :smile: They courageously volunteere…

---

## [New version of Decimals.jl released!](https://discourse.julialang.org/t/new-version-of-decimals-jl-released/122649)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 12\
**Last updated:** [November 26, 2024, 5:22am UTC](https://discourse.julialang.org/t/new-version-of-decimals-jl-released/122649 "2024-11-26T05:22:29Z")

</div>

I am pleased to announce that today, almost four years after the last version, a new version of Decimals.jl has been released! Decimals.jl is a package for arbitrary-precision decimal floating point arithmetics written …

---

## [SVG to path sequence, that can be used by Luxor and Javis](https://discourse.julialang.org/t/svg-to-path-sequence-that-can-be-used-by-luxor-and-javis/103267)

<div class="topic-metadata">

**Author:** [@BuddhiLW](https://discourse.julialang.org/u/BuddhiLW)\
**Replies:** 9\
**Last updated:** [November 26, 2024, 4:49am UTC](https://discourse.julialang.org/t/svg-to-path-sequence-that-can-be-used-by-luxor-and-javis/103267 "2024-11-26T04:49:15Z")

</div>

Using this template: https://github.com/JuliaAnimators/Javis.jl/blob/main/examples/fourier.jl We have: Drawing() # julialogo needs a drawing julialogo(; action = :path, centered = true) shapes = pathtopoly(…

---

## [Closures and type inference](https://discourse.julialang.org/t/closures-and-type-inference/123026)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 10\
**Last updated:** [November 26, 2024, 3:44am UTC](https://discourse.julialang.org/t/closures-and-type-inference/123026 "2024-11-26T03:44:51Z")

</div>

Hi there, I am reading through some Julia learning material and I had a question that someone here might be able to help with. The example given reads: function add\_n\_fn(n) function \_add\_n(x) return x+n e…

---

## [Fork and rename a repo](https://discourse.julialang.org/t/fork-and-rename-a-repo/122977)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 3\
**Last updated:** [November 26, 2024, 3:29am UTC](https://discourse.julialang.org/t/fork-and-rename-a-repo/122977 "2024-11-26T03:29:06Z")

</div>

I have a repo on my home computer, which I used to test some modules which are in private GitHub repos that my boss can see. I want to fork it into a new repo, which will go into another GitHub repo that my boss can see,…

---

## [\[Workgroup\] JuliaHealth Meeting -- November 28th, 2024](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-november-28th-2024/123074)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 3:01am UTC](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-november-28th-2024/123074 "2024-11-26T03:01:08Z")

</div>

Hi folks! :wave: Our next JuliaHealth meeting is this Thursday, November 28th! We have some major community planning happening this time as we are talking about: hosting a mini-symposia at JuliaCon 2025!!!, So come read…

---

## [PyCall pointing to correct venv but not picking up the correct path (likely related to .pythonstartup)](https://discourse.julialang.org/t/pycall-pointing-to-correct-venv-but-not-picking-up-the-correct-path-likely-related-to-pythonstartup/122922)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 2:51am UTC](https://discourse.julialang.org/t/pycall-pointing-to-correct-venv-but-not-picking-up-the-correct-path-likely-related-to-pythonstartup/122922 "2024-11-26T02:51:31Z")

</div>

Hi all, I have PyCall.jl configured to point towards my venv. For example: julia\> using PyCall julia\> PyCall.python "/home/colin/.pyvenv1/bin/python3" This is exactly where I want it to point. Next, I do the followin…

---

## [Problem setting constraint in simple LP using JuMP](https://discourse.julialang.org/t/problem-setting-constraint-in-simple-lp-using-jump/123059)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 5\
**Last updated:** [November 26, 2024, 1:48am UTC](https://discourse.julialang.org/t/problem-setting-constraint-in-simple-lp-using-jump/123059 "2024-11-26T01:48:32Z")

</div>

Hi there, Im trying to construct a simple LP using JuMP but I am running into an issue with the constraint in the function. I checked this is the line causing the issue since if I delete it, I can define the function in…

---

## [Facility location problem](https://discourse.julialang.org/t/facility-location-problem/123068)

<div class="topic-metadata">

**Author:** [@aditya\_lokesh](https://discourse.julialang.org/u/aditya_lokesh)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 1:39am UTC](https://discourse.julialang.org/t/facility-location-problem/123068 "2024-11-26T01:39:28Z")

</div>

facing a issue with my implementation of the facility location problem. I tried implementing the problem however the optimization model just does not seem to stop even after 3 hours not sure if I have slow computer. n…

---

## [Julia with neovim](https://discourse.julialang.org/t/julia-with-neovim/112182)

<div class="topic-metadata">

**Author:** [@krause](https://discourse.julialang.org/u/krause)\
**Replies:** 5\
**Last updated:** [November 26, 2024, 1:08am UTC](https://discourse.julialang.org/t/julia-with-neovim/112182 "2024-11-26T01:08:53Z")

</div>

Hey all, i’m using neovim with Julia (julials). I have set up my LSP with “Mason” regarding to the documentation from the github. I include the relevant configs here, but if you want a look at my full neovim config, go …

---

## [Bode plot of DSP filter?](https://discourse.julialang.org/t/bode-plot-of-dsp-filter/122845)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [November 25, 2024, 7:48pm UTC](https://discourse.julialang.org/t/bode-plot-of-dsp-filter/122845 "2024-11-25T19:48:00Z")

</div>

I designed a discrete Butterworth filter using the DSP package. How can I create a Bode plot of the transfer function? using DSP function create\_filter(cut\_off\_freq; order=4, type=:Butter, dt) if type == :Butter …

---

## [Development resources for Julia ecosystem?](https://discourse.julialang.org/t/development-resources-for-julia-ecosystem/122907)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 150\
**Last updated:** [November 25, 2024, 7:30pm UTC](https://discourse.julialang.org/t/development-resources-for-julia-ecosystem/122907 "2024-11-25T19:30:22Z")

</div>

Given the central role of the Julia extension for VS Code, I believe that the resources devoted to this project should be considerably increased. There is a commercial entity to promote Julia: Perhaps it should chip in? …

---

## [Rand does not return expected confidence interval](https://discourse.julialang.org/t/rand-does-not-return-expected-confidence-interval/123053)

<div class="topic-metadata">

**Author:** [@Trylmand](https://discourse.julialang.org/u/Trylmand)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 7:02pm UTC](https://discourse.julialang.org/t/rand-does-not-return-expected-confidence-interval/123053 "2024-11-25T19:02:32Z")

</div>

Dear all, Testing Rand() on MC algorithm for estimating integral of Sine from 0 to Pi, only returns 50% of the expected confidence interval. Can anybody see, where my code breaks? n = 1000 in\_ci = 0 for i in 1:500 …

---

## [Dates/TimeZones clash when decoding string date with terminal Z](https://discourse.julialang.org/t/dates-timezones-clash-when-decoding-string-date-with-terminal-z/123025)

<div class="topic-metadata">

**Author:** [@bhalpin](https://discourse.julialang.org/u/bhalpin)\
**Replies:** 5\
**Last updated:** [November 25, 2024, 4:44pm UTC](https://discourse.julialang.org/t/dates-timezones-clash-when-decoding-string-date-with-terminal-z/123025 "2024-11-25T16:44:38Z")

</div>

Dates.DateTime() can decode string dates with a terminal Z (for UTC). However, if TimeZones has been loaded, it fails, even using the module name (Dates.DateTime()). What’s the best way of dealing with this? julia\> usi…

---

## [Spatial Join with GeometryOps is killing my Julia session](https://discourse.julialang.org/t/spatial-join-with-geometryops-is-killing-my-julia-session/122863)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 15\
**Last updated:** [November 25, 2024, 4:13pm UTC](https://discourse.julialang.org/t/spatial-join-with-geometryops-is-killing-my-julia-session/122863 "2024-11-25T16:13:03Z")

</div>

I’m trying to perform a spatial join in Julia between two files that aren’t that large. One is the California PLSS sections shapefile, which is publicly available here and is 164627 x 17 after some cleaning. The other I …

---

## [How does Julia parse \`return\`?](https://discourse.julialang.org/t/how-does-julia-parse-return/123044)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 6\
**Last updated:** [November 25, 2024, 3:42pm UTC](https://discourse.julialang.org/t/how-does-julia-parse-return/123044 "2024-11-25T15:42:08Z")

</div>

This question comes about after I had been using the JuliaFormatter.jl package to format some existing code. Compare the following 4 functions: function example() return end function example() return if a …

---

## [BifurcationKit: PeriodicOrbitOCollProblem Failure to converge with given tolerances](https://discourse.julialang.org/t/bifurcationkit-periodicorbitocollproblem-failure-to-converge-with-given-tolerances/123048)

<div class="topic-metadata">

**Author:** [@mmplac14](https://discourse.julialang.org/u/mmplac14)\
**Replies:** 0\
**Last updated:** [November 25, 2024, 3:26pm UTC](https://discourse.julialang.org/t/bifurcationkit-periodicorbitocollproblem-failure-to-converge-with-given-tolerances/123048 "2024-11-25T15:26:10Z")

</div>

Hello! I am new to bifurcation analyis and I am working with BifurcationKit to reproduce the bifurcation analysis performed by Grimbert Faugueras on the Jansen-Rit model. I have managed to get the continuation graph. …

---

## [Julia Game Dev: Anyone interested in collaborating on some animations/practice mode for a soccer manager game?](https://discourse.julialang.org/t/julia-game-dev-anyone-interested-in-collaborating-on-some-animations-practice-mode-for-a-soccer-manager-game/122969)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 5\
**Last updated:** [November 25, 2024, 3:15pm UTC](https://discourse.julialang.org/t/julia-game-dev-anyone-interested-in-collaborating-on-some-animations-practice-mode-for-a-soccer-manager-game/122969 "2024-11-25T15:15:31Z")

</div>

I ported a game engine to Julia that has formations, etc and can generate minute-by-minute plays like below (with fake players): \*\*\*\*\*\*\*\*\*\*\*\*\* KICK OFF \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Min. 2 :(klm) D\_Donyuzi cuts the ball back to …

---

## [JuliaCon 2025: CFP for Minisymposia is now open](https://discourse.julialang.org/t/juliacon-2025-cfp-for-minisymposia-is-now-open/122293)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 2:24pm UTC](https://discourse.julialang.org/t/juliacon-2025-cfp-for-minisymposia-is-now-open/122293 "2024-11-25T14:24:44Z")

</div>

Hello, The Call for Proposals for Minisymposia at JuliaCon 2025 is now open. A minisymposium is a “conference-within-a-conference” where the organizers are responsible for scheduling speakers, panels, and discussions a…

---

## [How to log to file with a customized log format?](https://discourse.julialang.org/t/how-to-log-to-file-with-a-customized-log-format/123021)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 9\
**Last updated:** [November 25, 2024, 2:20pm UTC](https://discourse.julialang.org/t/how-to-log-to-file-with-a-customized-log-format/123021 "2024-11-25T14:20:04Z")

</div>

I’m currently trying to build a logging demonstration using the JuliaLogging components (standard library + a few seemingly very standard packages). https://julialogging.github.io/ I may be wrong, however I think ther…

---

## [\[ANN\] NATS.jl](https://discourse.julialang.org/t/ann-nats-jl/107514)

<div class="topic-metadata">

**Author:** [@Jakub\_Wronowski](https://discourse.julialang.org/u/Jakub_Wronowski)\
**Replies:** 30\
**Last updated:** [November 25, 2024, 2:09pm UTC](https://discourse.julialang.org/t/ann-nats-jl/107514 "2024-11-25T14:09:40Z")

</div>

NATS.jl Implemented NATS client in julia. It is feature complete and matches performance of reference go implementation. NATS is a message broker similar to Kafka, Rabbit MQ and Redis. It has all features from existing…

---

## [Binary dollar sign operator](https://discourse.julialang.org/t/binary-dollar-sign-operator/123046)

<div class="topic-metadata">

**Author:** [@phx](https://discourse.julialang.org/u/phx)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 1:52pm UTC](https://discourse.julialang.org/t/binary-dollar-sign-operator/123046 "2024-11-25T13:52:25Z")

</div>

Hi everyone, I was reading an XML file describing a style for highlighting Julia syntax, when I noticed in the “operators” category the operators $ and $=. I only know $ for string interpolation, and that’s the only res…

---

## [@assert alternatives?](https://discourse.julialang.org/t/assert-alternatives/24775)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 27\
**Last updated:** [November 25, 2024, 11:38am UTC](https://discourse.julialang.org/t/assert-alternatives/24775 "2024-11-25T11:38:10Z")

</div>

AFAIK there is no way yet to globally disable @assert with a compiler switch, even if doing so was already considered in the past (here and here, for example). While this is not done (as I do like to believe some day som…

---

## [How to import from indirect dependency to package extension](https://discourse.julialang.org/t/how-to-import-from-indirect-dependency-to-package-extension/123031)

<div class="topic-metadata">

**Author:** [@putianyi888](https://discourse.julialang.org/u/putianyi888)\
**Replies:** 4\
**Last updated:** [November 25, 2024, 10:28am UTC](https://discourse.julialang.org/t/how-to-import-from-indirect-dependency-to-package-extension/123031 "2024-11-25T10:28:31Z")

</div>

I’m writing a package extension, say ABExt.jl, where A and B are package names. B depends on C, fc is a method defined by C and not imported by B. I’d like to import fc to ABExt. I have two attempts so far: import B: f…

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

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