# Latest

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

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

**Page:** 630

---

## [Julia Natural Language Processing (NLP) Package for Small Text Topic Modeling](https://discourse.julialang.org/t/julia-natural-language-processing-nlp-package-for-small-text-topic-modeling/102370)

<div class="topic-metadata">

**Author:** [@BR2106](https://discourse.julialang.org/u/BR2106)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 7:32pm UTC](https://discourse.julialang.org/t/julia-natural-language-processing-nlp-package-for-small-text-topic-modeling/102370 "2023-08-01T19:32:46Z")

</div>

Hi all, I was wondering what package people use for small text topic modeling (STTM)? I have looked through the standard Julia NLP packages but I haven’t seen any reference to STTM, only generic topic modeling. Maybe I …

---

## [QInsControl.jl A GUI for Controling Instuments and Data Acquisiton](https://discourse.julialang.org/t/qinscontrol-jl-a-gui-for-controling-instuments-and-data-acquisiton/102243)

<div class="topic-metadata">

**Author:** [@FaresX](https://discourse.julialang.org/u/FaresX)\
**Replies:** 1\
**Last updated:** [August 2, 2023, 4:23pm UTC](https://discourse.julialang.org/t/qinscontrol-jl-a-gui-for-controling-instuments-and-data-acquisiton/102243 "2023-08-02T16:23:22Z")

</div>

warning: unregistered package I’m excited to announce the package QInsControl.jl, which provides a GUI for controling instruments and performing data acquisition via NI VISA wrapped by Instruments.jl and sockets. I fee…

---

## [Julia, ODBC connection to a remote MS SQL Server](https://discourse.julialang.org/t/julia-odbc-connection-to-a-remote-ms-sql-server/75374)

<div class="topic-metadata">

**Author:** [@jamaas](https://discourse.julialang.org/u/jamaas)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 3:54pm UTC](https://discourse.julialang.org/t/julia-odbc-connection-to-a-remote-ms-sql-server/75374 "2023-08-02T15:54:57Z")

</div>

I have been using R to connect to a remote MS SQL Server database, from Ubuntu Linux 21.10 and it works quite well. I’d like to do the same thing from Julia but can not make the connection using the ODBC package. Does …

---

## [Unnormalized sinc](https://discourse.julialang.org/t/unnormalized-sinc/25015)

<div class="topic-metadata">

**Author:** [@adamnemecek](https://discourse.julialang.org/u/adamnemecek)\
**Replies:** 17\
**Last updated:** [August 2, 2023, 3:40pm UTC](https://discourse.julialang.org/t/unnormalized-sinc/25015 "2023-08-02T15:40:46Z")

</div>

The current implementation of sinc is the normalized one. I think it’s a good idea to also have the unnormalized one. I’m not sure what name to pick. Would there be any interest in this function?

---

## [Makie Histogram is blank, can't even plot minimal datasets](https://discourse.julialang.org/t/makie-histogram-is-blank-cant-even-plot-minimal-datasets/102400)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 4\
**Last updated:** [August 2, 2023, 2:38pm UTC](https://discourse.julialang.org/t/makie-histogram-is-blank-cant-even-plot-minimal-datasets/102400 "2023-08-02T14:38:55Z")

</div>

Hello, I couldn’t plot a histogram with 2 million points, so I downsized it. But even with 10 (ten) points, it doesn’t work. So, here is a MRE the data 60 60 60 60 60 60 60 0 60 60 the code, I use a Pluto n…

---

## [Warning: First function call produced NaNs and ERROR: ArgumentError: matrix contains Infs or NaNs](https://discourse.julialang.org/t/warning-first-function-call-produced-nans-and-error-argumenterror-matrix-contains-infs-or-nans/102397)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 7\
**Last updated:** [August 2, 2023, 2:13pm UTC](https://discourse.julialang.org/t/warning-first-function-call-produced-nans-and-error-argumenterror-matrix-contains-infs-or-nans/102397 "2023-08-02T14:13:32Z")

</div>

Hello everyone, I’m running inference for my model using Turing.jl. I’m getting this warning and error but i’m not sure from where its coming and how can I get to that point. Can someone explain what it is about? and h…

---

## [Get qualified name expression from value](https://discourse.julialang.org/t/get-qualified-name-expression-from-value/102330)

<div class="topic-metadata">

**Author:** [@iago-lito](https://discourse.julialang.org/u/iago-lito)\
**Replies:** 0\
**Last updated:** [July 31, 2023, 6:50pm UTC](https://discourse.julialang.org/t/get-qualified-name-expression-from-value/102330 "2023-07-31T18:50:03Z")

</div>

Given an “item” value, say v::Union{Type,Function,Module}. I can easily get its name as a symbolic expression, like: julia\> nameof(v) :Item I can also get a string representation with its full-qualified name in the cur…

---

## [Multithreaded mapreduce / collect](https://discourse.julialang.org/t/multithreaded-mapreduce-collect/102393)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 0\
**Last updated:** [August 2, 2023, 12:16pm UTC](https://discourse.julialang.org/t/multithreaded-mapreduce-collect/102393 "2023-08-02T12:16:36Z")

</div>

Hi, I wanted to ask about an analogue to (multi-threaded) java stream collect Stream (Java Platform SE 8 ) In other words: I define functions instantiateAccumulator(), consume!(accumulator, item) and merge!(leftAccumul…

---

## [What would be the best approach to handle large NetCDF sets?](https://discourse.julialang.org/t/what-would-be-the-best-approach-to-handle-large-netcdf-sets/102091)

<div class="topic-metadata">

**Author:** [@ThomasJulia](https://discourse.julialang.org/u/ThomasJulia)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 10:58am UTC](https://discourse.julialang.org/t/what-would-be-the-best-approach-to-handle-large-netcdf-sets/102091 "2023-08-02T10:58:36Z")

</div>

Currently, we have python scripts able to handle large netcdf sets (100Go to 1To). Thanks to Dask and multithreading we was able to load and perform operations on chunk which would fit in memory. However, it is too slow …

---

## [Real-number metric for quantifying the quality of a clustering output](https://discourse.julialang.org/t/real-number-metric-for-quantifying-the-quality-of-a-clustering-output/102385)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 9:37am UTC](https://discourse.julialang.org/t/real-number-metric-for-quantifying-the-quality-of-a-clustering-output/102385 "2023-08-02T09:37:56Z")

</div>

Hi all, Given some data, and the output of DBSCAN applied to this data (or any other clustering algorithm really), I need a way to assign a real number that quantifies the “quality” of the DBSCAN clustering. I am wonde…

---

## [Survey on how you use Julia](https://discourse.julialang.org/t/survey-on-how-you-use-julia/99807)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 15\
**Last updated:** [August 2, 2023, 9:11am UTC](https://discourse.julialang.org/t/survey-on-how-you-use-julia/99807 "2023-08-02T09:11:40Z")

</div>

Hi all, I’m making a video on how to make Julia feel nice to use, and I make a few claims about what is and isn’t “standard”. I’m curious to see how other people use Julia to get some statistics on what the community vi…

---

## [Using . on a function where one of the parameters should not be iterated](https://discourse.julialang.org/t/using-on-a-function-where-one-of-the-parameters-should-not-be-iterated/102384)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 8:33am UTC](https://discourse.julialang.org/t/using-on-a-function-where-one-of-the-parameters-should-not-be-iterated/102384 "2023-08-02T08:33:15Z")

</div>

I’m trying to do the following. I have a function foo(x, d::DataFrame) and a 1 dimensional array a of data for which I want to call the function for each element. Problem is I want to pass a DataFrame df too but when I e…

---

## [Function as Type Parameter](https://discourse.julialang.org/t/function-as-type-parameter/102378)

<div class="topic-metadata">

**Author:** [@AlexanderNenninger](https://discourse.julialang.org/u/AlexanderNenninger)\
**Replies:** 5\
**Last updated:** [August 2, 2023, 8:27am UTC](https://discourse.julialang.org/t/function-as-type-parameter/102378 "2023-08-02T08:27:54Z")

</div>

Consider a struct, that takes a function as a type parameter: struct Foo{F} end function call(foo::Foo{F}, x) where {F} F(x) end Seems great at first, as can be seen by # This works r = Base.RefValue(3) foo = Foo…

---

## [Sampling using NUTS - Turing](https://discourse.julialang.org/t/sampling-using-nuts-turing/102347)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 6\
**Last updated:** [August 2, 2023, 8:23am UTC](https://discourse.julialang.org/t/sampling-using-nuts-turing/102347 "2023-08-02T08:23:16Z")

</div>

I have these two settings NUTS(500, 0.65) and NUTS(0, 0.65) and get very different results. Is it expected? if yes why? I was expecting both to be similar if not exact as both run for 1500 particles. chain = sample…

---

## [GitHub throws errors when precompiling GLMakie](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 10\
**Last updated:** [August 2, 2023, 8:19am UTC](https://discourse.julialang.org/t/github-throws-errors-when-precompiling-glmakie/101882 "2023-08-02T08:19:07Z")

</div>

Hi. I’m having endless problems getting Makie to precompile successfully on GitHub in a package whose code I have inherited, but which compiles fine on my own machine. In particular, GitHub gives me these warnings from f…

---

## [Memory allocation - identical objects](https://discourse.julialang.org/t/memory-allocation-identical-objects/102095)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 5:09am UTC](https://discourse.julialang.org/t/memory-allocation-identical-objects/102095 "2023-08-02T05:09:31Z")

</div>

@with\_kw struct Currency\_Pair c1::String3 c2::String3 id = c1 \* c2 #other fields derived from c1 and c2 (not involving arrays) end x1 = Currency\_Pair(c1="AUD",c2="USD") x2 = Currency\_Pair(c1="AUD",c2="US…

---

## [How do I use FastGaussQuadrature.jl to compute the integral of a 2d triangle element and 3d tetrahedron element](https://discourse.julialang.org/t/how-do-i-use-fastgaussquadrature-jl-to-compute-the-integral-of-a-2d-triangle-element-and-3d-tetrahedron-element/102376)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 5:09am UTC](https://discourse.julialang.org/t/how-do-i-use-fastgaussquadrature-jl-to-compute-the-integral-of-a-2d-triangle-element-and-3d-tetrahedron-element/102376 "2023-08-02T05:09:05Z")

</div>

I am learning about finite element methods, and was trying to implement some examples in Julia. So one of the common steps in FEM is implementing Gauss Quadrature for approximating the integral of each element in the me…

---

## [Build\_function returning an Expr, which is not callable. How do I make it callable?](https://discourse.julialang.org/t/build-function-returning-an-expr-which-is-not-callable-how-do-i-make-it-callable/102333)

<div class="topic-metadata">

**Author:** [@orebas](https://discourse.julialang.org/u/orebas)\
**Replies:** 6\
**Last updated:** [August 2, 2023, 2:34am UTC](https://discourse.julialang.org/t/build-function-returning-an-expr-which-is-not-callable-how-do-i-make-it-callable/102333 "2023-08-02T02:34:22Z")

</div>

I am trying to run Optimization.jl (or something else) on an expression I have built up in about 200 lines of code. For example, the output of println("LOSS FUNCTION:") println(loss) println(typeof(loss)) is: (1.1079…

---

## [Best way to specify a relative path in a relocatable way?](https://discourse.julialang.org/t/best-way-to-specify-a-relative-path-in-a-relocatable-way/102338)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 12:40am UTC](https://discourse.julialang.org/t/best-way-to-specify-a-relative-path-in-a-relocatable-way/102338 "2023-08-02T00:40:14Z")

</div>

I’d like to specify a relative path in my code. My code is to be compiled by PackageCompiler and be used by many others, so it must be relocatable. There are mainly two points: it should behave the same wherever it is …

---

## [Make a wish on “creative” Julia engine!](https://discourse.julialang.org/t/make-a-wish-on-creative-julia-engine/102357)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 12:21am UTC](https://discourse.julialang.org/t/make-a-wish-on-creative-julia-engine/102357 "2023-08-02T00:21:15Z")

</div>

Julia has been built on greed. One thing to wish for is for its ecosystem to become a great creative tool of choice. One area to wish for is a “creative engine” that’s more than a game engine or something. Unreal engine,…

---

## [Package Manager, Gitlab newer version not liking SSH keys](https://discourse.julialang.org/t/package-manager-gitlab-newer-version-not-liking-ssh-keys/102375)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 10:29pm UTC](https://discourse.julialang.org/t/package-manager-gitlab-newer-version-not-liking-ssh-keys/102375 "2023-08-01T22:29:34Z")

</div>

A funny thing happened the other day. We have an internal gitlab server. I have a registry setup. The registry was working fine. On the IT side they did something to gitlab when they were adding required expirations …

---

## [Potential bug with setting variable bounds with a NamedArray](https://discourse.julialang.org/t/potential-bug-with-setting-variable-bounds-with-a-namedarray/102359)

<div class="topic-metadata">

**Author:** [@Mitch\_Phillipson](https://discourse.julialang.org/u/Mitch_Phillipson)\
**Replies:** 3\
**Last updated:** [August 1, 2023, 10:19pm UTC](https://discourse.julialang.org/t/potential-bug-with-setting-variable-bounds-with-a-namedarray/102359 "2023-08-01T22:19:58Z")

</div>

Hello, I think I’ve found a small bug in JuMP (or NamedArrays) when setting bounds using a NamedArray using JuMP using NamedArrays S = \[:a,:b\] X = NamedArray(\[1, 2\],S) m = Model() @variable(m,Y\[S\]) set\_upper\_bound.(Y…

---

## [JuMP Read model from file: ERROR: LoadError: UndefVarError](https://discourse.julialang.org/t/jump-read-model-from-file-error-loaderror-undefvarerror/102368)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 9:50pm UTC](https://discourse.julialang.org/t/jump-read-model-from-file-error-loaderror-undefvarerror/102368 "2023-08-01T21:50:24Z")

</div>

I use JuMP to solve a simple MILP read in from the input file test.mps. After solving the model, JuMP generates an undefined variable error when I try to access the value of a variable in the MILP. test.mps: NAME ROWS …

---

## [JuMP COPT does not solve LP relaxation of MILP with SOS1 constraints](https://discourse.julialang.org/t/jump-copt-does-not-solve-lp-relaxation-of-milp-with-sos1-constraints/102373)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 9:47pm UTC](https://discourse.julialang.org/t/jump-copt-does-not-solve-lp-relaxation-of-milp-with-sos1-constraints/102373 "2023-08-01T21:47:48Z")

</div>

When I use COPT through JuMP to solve the LP relaxation of a MILP with SOS1 constraints, the MILP rather than its LP relaxation is solved. If the SOS1 constraints are removed, then COPT solves the LP relaxation. Output: …

---

## [Callback Function Example in DifferentialEquations.jl](https://discourse.julialang.org/t/callback-function-example-in-differentialequations-jl/102371)

<div class="topic-metadata">

**Author:** [@yoshi](https://discourse.julialang.org/u/yoshi)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 9:45pm UTC](https://discourse.julialang.org/t/callback-function-example-in-differentialequations-jl/102371 "2023-08-01T21:45:54Z")

</div>

I’m trying to understand how to use callback functions with Julia’s solve package. I’m using the code example pasted below and obtaining an error. I’m struggling to understand what I need to fix. Any ideas? using Differ…

---

## [Blog post: Free AI Tools for Coding in Julia - Disappointing Results](https://discourse.julialang.org/t/blog-post-free-ai-tools-for-coding-in-julia-disappointing-results/102374)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 9:40pm UTC](https://discourse.julialang.org/t/blog-post-free-ai-tools-for-coding-in-julia-disappointing-results/102374 "2023-08-01T21:40:36Z")

</div>

I wrote a blog post about the usefulness of AI chatbots for coding in Julia. It considers ChatGPT-4 (through Phind), ChatGPT3.5, Claude-2, Bard, and LLaMA2-70b. Overall, the conclusion is that AI tools perform worse rel…

---

## [Distributing scripts with self-managed dependencies](https://discourse.julialang.org/t/distributing-scripts-with-self-managed-dependencies/102317)

<div class="topic-metadata">

**Author:** [@bensetterholm](https://discourse.julialang.org/u/bensetterholm)\
**Replies:** 12\
**Last updated:** [August 1, 2023, 9:01pm UTC](https://discourse.julialang.org/t/distributing-scripts-with-self-managed-dependencies/102317 "2023-08-01T21:01:47Z")

</div>

I am looking for a best practice solution to the following situation. I am developing a data processing pipeline for my team. All of the core functionality I have wrapped up in a standard julia module (file I/O with our…

---

## [Partial Differential Equation visualisation / animation for Heat Equation in Julia / Alternatives](https://discourse.julialang.org/t/partial-differential-equation-visualisation-animation-for-heat-equation-in-julia-alternatives/102145)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 8\
**Last updated:** [August 1, 2023, 8:50pm UTC](https://discourse.julialang.org/t/partial-differential-equation-visualisation-animation-for-heat-equation-in-julia-alternatives/102145 "2023-08-01T20:50:13Z")

</div>

Hi all, After I read this page and see the animation I wonder, to those who might have created something like this, which Julia packages can be used to create animation…

---

## [Plots.jl using layout with shared xaxis](https://discourse.julialang.org/t/plots-jl-using-layout-with-shared-xaxis/102350)

<div class="topic-metadata">

**Author:** [@J\_I](https://discourse.julialang.org/u/J_I)\
**Replies:** 3\
**Last updated:** [August 1, 2023, 8:07pm UTC](https://discourse.julialang.org/t/plots-jl-using-layout-with-shared-xaxis/102350 "2023-08-01T20:07:42Z")

</div>

Hello. I’m in a bit trouble with Plots.jl uisng layout. May be this is a basic question, but I can’t find the solution in the document. I want to make the multiple plot with several panels sharing the same x axis. MWE is…

---

## [Makie LaTeX fraction in y-axis label](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365)

<div class="topic-metadata">

**Author:** [@maxee](https://discourse.julialang.org/u/maxee)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 7:59pm UTC](https://discourse.julialang.org/t/makie-latex-fraction-in-y-axis-label/102365 "2023-08-01T19:59:31Z")

</div>

Is there a way to allow the y-axis label in Makie be a fraction? Here is a minimal working example: using CairoMakie fig = Figure() ax = Axis(fig\[1,1\]) lines!(ax, rand(5)) ax.ylabel = L"$\\frac{a}{b}$" save("file.pdf", …

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

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