# Latest

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

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

**Page:** 1006

---

## [Blog post about my experiences with Julia](https://discourse.julialang.org/t/blog-post-about-my-experiences-with-julia/79976)

<div class="topic-metadata">

**Author:** [@Volker\_Weissmann](https://discourse.julialang.org/u/Volker_Weissmann)\
**Replies:** 258\
**Last updated:** [June 19, 2022, 11:16pm UTC](https://discourse.julialang.org/t/blog-post-about-my-experiences-with-julia/79976 "2022-06-19T23:16:57Z")

</div>

I used Julia for a while and wrote a blog post about it: What do you think about this post?

---

## [Can macros also be precompiled?](https://discourse.julialang.org/t/can-macros-also-be-precompiled/83032)

<div class="topic-metadata">

**Author:** [@dylanxyz](https://discourse.julialang.org/u/dylanxyz)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 10:56pm UTC](https://discourse.julialang.org/t/can-macros-also-be-precompiled/83032 "2022-06-19T22:56:49Z")

</div>

I know that on working on a package, is common to create a precompile.jl file that calls precompile for various methods and the types they may accept as arguments, but i was thinking that the same thing could be done for…

---

## [PGFPlots or PGFPlotsX with Docker](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363)

<div class="topic-metadata">

**Author:** [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 8:45pm UTC](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363 "2022-06-19T20:45:03Z")

</div>

Dear @kristoffer.carlsson I’m currently used to compile latex code within a docker container. The question is, how difficult would it be to have an option for producing the figures with a Docker image instead of using a…

---

## [For a sequence of n values, that produces an expected value curve, overlay the distribution associated with each value horizontally](https://discourse.julialang.org/t/for-a-sequence-of-n-values-that-produces-an-expected-value-curve-overlay-the-distribution-associated-with-each-value-horizontally/83027)

<div class="topic-metadata">

**Author:** [@Ryan\_Vogt1](https://discourse.julialang.org/u/Ryan_Vogt1)\
**Replies:** 0\
**Last updated:** [June 19, 2022, 7:04pm UTC](https://discourse.julialang.org/t/for-a-sequence-of-n-values-that-produces-an-expected-value-curve-overlay-the-distribution-associated-with-each-value-horizontally/83027 "2022-06-19T19:04:45Z")

</div>

Howdy, so I have a small code which for a value n produces the mean value from a list of samples, and produces the domain (x\_n) and range values (y\_n) of a kernel density estimate for given n value. I was curious if it i…

---

## [Confused about NamedTuple implementation](https://discourse.julialang.org/t/confused-about-namedtuple-implementation/83007)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 5:59pm UTC](https://discourse.julialang.org/t/confused-about-namedtuple-implementation/83007 "2022-06-19T17:59:14Z")

</div>

Hi, I wanted to understand how NamedTuples work, so I’ve asked: @which NamedTuple((:a=\>1,)) # NamedTuple(itr) in Base at namedtuple.jl:122 which is apparently this line: NamedTuple(itr) = (; itr...) Also, we have th…

---

## [Newbie and have a doubt about how things work around commenting in posts](https://discourse.julialang.org/t/newbie-and-have-a-doubt-about-how-things-work-around-commenting-in-posts/82548)

<div class="topic-metadata">

**Author:** [@fortunewalla](https://discourse.julialang.org/u/fortunewalla)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 5:32pm UTC](https://discourse.julialang.org/t/newbie-and-have-a-doubt-about-how-things-work-around-commenting-in-posts/82548 "2022-06-19T17:32:12Z")

</div>

The situation: So as I was browsing the various posts in this forum, I came across two long form contents and commented there about if the poster would like to consider also copying the article to the new forem site so…

---

## [Julia Client Internal Error](https://discourse.julialang.org/t/julia-client-internal-error/83022)

<div class="topic-metadata">

**Author:** [@engdc](https://discourse.julialang.org/u/engdc)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 4:58pm UTC](https://discourse.julialang.org/t/julia-client-internal-error/83022 "2022-06-19T16:58:45Z")

</div>

Hello! I keep getting a Julia Client Error every time I type a parenthesis. Anyone has any suggestions on how to fix this? Thanks!

---

## [Why is the expression \`@foo.x\` parsed as \`macrocall . foo @x\` and not \`macrocall @foo .x\`?](https://discourse.julialang.org/t/why-is-the-expression-foo-x-parsed-as-macrocall-foo-x-and-not-macrocall-foo-x/82218)

<div class="topic-metadata">

**Author:** [@dylanxyz](https://discourse.julialang.org/u/dylanxyz)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 4:46pm UTC](https://discourse.julialang.org/t/why-is-the-expression-foo-x-parsed-as-macrocall-foo-x-and-not-macrocall-foo-x/82218 "2022-06-19T16:46:00Z")

</div>

I know Julia is not at that stage anymore, but i’m curious to know. And just to clarify the macrocall @foo .x, expression, i mean: Expr head: Symbol macrocall args: Array{Any}((2,)) 1: Symbol @foo 2: Expr …

---

## [How to find jacobian of learnt neural network model](https://discourse.julialang.org/t/how-to-find-jacobian-of-learnt-neural-network-model/83010)

<div class="topic-metadata">

**Author:** [@umerzakheer](https://discourse.julialang.org/u/umerzakheer)\
**Replies:** 1\
**Last updated:** [June 19, 2022, 4:09pm UTC](https://discourse.julialang.org/t/how-to-find-jacobian-of-learnt-neural-network-model/83010 "2022-06-19T16:09:51Z")

</div>

I modelled a neural network with a vector as input and a vector as output (multi input multi output NN model). Now I want to find jacobian of the learnt function as: Would anyone please guide me how to do this in Jul…

---

## [Add Base operator function to custom struct automatically](https://discourse.julialang.org/t/add-base-operator-function-to-custom-struct-automatically/83008)

<div class="topic-metadata">

**Author:** [@Brian1](https://discourse.julialang.org/u/Brian1)\
**Replies:** 6\
**Last updated:** [June 19, 2022, 4:08pm UTC](https://discourse.julialang.org/t/add-base-operator-function-to-custom-struct-automatically/83008 "2022-06-19T16:08:16Z")

</div>

I have a struct: struct DF{T} index value::T end df=DF(\[:a,:b,:c\],\[1,2,3\]); When I need a add method to DF and Vector, I have to do this: Base.:(+)(df::DF,x)=DF(df.index,df.value + x) df + \[1,2,3\] DF{Vector…

---

## [100 Julia exercises with solutions](https://discourse.julialang.org/t/100-julia-exercises-with-solutions/78580)

<div class="topic-metadata">

**Author:** [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Replies:** 19\
**Last updated:** [June 19, 2022, 1:44pm UTC](https://discourse.julialang.org/t/100-julia-exercises-with-solutions/78580 "2022-06-19T13:44:28Z")

</div>

Here is a Julia version of exercises with solutions 100 Julia exercises with solutions which is based on the exercises given here: https://github.com/rougier/numpy-100 You are welcome with alternate and/or efficient s…

---

## [Feedback request: \`rand\` and \`predict\` semantics](https://discourse.julialang.org/t/feedback-request-rand-and-predict-semantics/82977)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 1:12pm UTC](https://discourse.julialang.org/t/feedback-request-rand-and-predict-semantics/82977 "2022-06-19T13:12:03Z")

</div>

Hi, I’m working on Tilde.jl, and thinking some more about how rand and predict should be set up. In current development, this works: julia\> m = @model n begin μ ~ Normal(σ=10) σ ~ Exponential() …

---

## [Using Optim.jl but failing to find minimum](https://discourse.julialang.org/t/using-optim-jl-but-failing-to-find-minimum/82751)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 6\
**Last updated:** [June 19, 2022, 1:44pm UTC](https://discourse.julialang.org/t/using-optim-jl-but-failing-to-find-minimum/82751 "2022-06-19T13:44:05Z")

</div>

I’m trying to minimize parameters to fit an HMM. It works part of the way, but it seems to get stuck for some points, often not too distant from the initial guess. If I examine the one-dimensional path of the objective …

---

## [DataDrivenDiffEq package - Choosing the Basis](https://discourse.julialang.org/t/datadrivendiffeq-package-choosing-the-basis/82389)

<div class="topic-metadata">

**Author:** [@ccccc](https://discourse.julialang.org/u/ccccc)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 1:35pm UTC](https://discourse.julialang.org/t/datadrivendiffeq-package-choosing-the-basis/82389 "2022-06-19T13:35:18Z")

</div>

I’m trying to use the package DataDrivenDiffEq.jl, and I’ve worked through many of the examples. My problem is that I’m not sure how to choose a basis for any given problem (or the algorithm). I wondered if anyone has an…

---

## [Inv not smart enough?](https://discourse.julialang.org/t/inv-not-smart-enough/82954)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 5\
**Last updated:** [June 19, 2022, 12:11pm UTC](https://discourse.julialang.org/t/inv-not-smart-enough/82954 "2022-06-19T12:11:44Z")

</div>

I don’t know if the issue here is inv, SMatrix, or UpperTriangular, or if I’m just missing something. z = \[\[1.0 2.0\]; \[0.0 3.0\]\] # Matrix{Float64} zs = SMatrix{2,2}(z); # SMatrix{2, 2, Float64, 4} zt = Uppe…

---

## [Best IDE for docker in Julia?](https://discourse.julialang.org/t/best-ide-for-docker-in-julia/22238)

<div class="topic-metadata">

**Author:** [@yukiusa](https://discourse.julialang.org/u/yukiusa)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 10:35am UTC](https://discourse.julialang.org/t/best-ide-for-docker-in-julia/22238 "2022-06-19T10:35:26Z")

</div>

I look for any IDE or editors suitable for working with Julia docker container. As of now what is the best one for that? I tried JetBrains IDEs like PyCharm with unofficial Julia Plugin. It seems to have no docker inte…

---

## [HPC systems with Julia support](https://discourse.julialang.org/t/hpc-systems-with-julia-support/82951)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 10:30am UTC](https://discourse.julialang.org/t/hpc-systems-with-julia-support/82951 "2022-06-19T10:30:23Z")

</div>

Hey everyone! I am trying to collect information about HPC systems (from university compute clusters to supercomputers) where Julia is available as a pre-installed module and, optimally, officially supported. This is par…

---

## [COSMO.jl: SecondOrderCone](https://discourse.julialang.org/t/cosmo-jl-secondordercone/82497)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 10:15am UTC](https://discourse.julialang.org/t/cosmo-jl-secondordercone/82497 "2022-06-19T10:15:03Z")

</div>

I would like to use the COSMO optimizing package for a second order cone program. I have a constraint of the form \\Vert A \\boldsymbol x + \\boldsymbol b \\Vert\_2 \\leq 1 which seems to be a perfect fit for the COSMO.Cons…

---

## [\[ANN\] HTTP.jl 1.0 Release](https://discourse.julialang.org/t/ann-http-jl-1-0-release/83005)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 0\
**Last updated:** [June 19, 2022, 8:42am UTC](https://discourse.julialang.org/t/ann-http-jl-1-0-release/83005 "2022-06-19T08:42:04Z")

</div>

We’re excited to announce the 1.0 release of the HTTP.jl package. A ton of effort has gone into overhauling large portions of the codebase over the past 9 months, accumulating a number of useful improvements along the wa…

---

## [How do I find the size of a Matrix object?](https://discourse.julialang.org/t/how-do-i-find-the-size-of-a-matrix-object/82999)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 6\
**Last updated:** [June 19, 2022, 8:20am UTC](https://discourse.julialang.org/t/how-do-i-find-the-size-of-a-matrix-object/82999 "2022-06-19T08:20:46Z")

</div>

I found the code below on the web, it is quite standard. It looks like it worked at some point in the past. It does not work today in my system (Windows 11 Pro, Julia 7.3). Does anyone know why and how do I find the dime…

---

## [Convert Int to base64](https://discourse.julialang.org/t/convert-int-to-base64/82980)

<div class="topic-metadata">

**Author:** [@AlanAylmer](https://discourse.julialang.org/u/AlanAylmer)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 7:45am UTC](https://discourse.julialang.org/t/convert-int-to-base64/82980 "2022-06-19T07:45:17Z")

</div>

Hello. I want to convert any Int in a range 0:63 to its base64 equivalent. The function f(i) would be: f(i::Int64) =\> 0 =\> A 1 =\> B 32 =\> g 63=\> / If there are choices I prefer low RAM and human readability. (Edi…

---

## [Fill option in dataframe unstack not recognized](https://discourse.julialang.org/t/fill-option-in-dataframe-unstack-not-recognized/82994)

<div class="topic-metadata">

**Author:** [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 6:50am UTC](https://discourse.julialang.org/t/fill-option-in-dataframe-unstack-not-recognized/82994 "2022-06-19T06:50:02Z")

</div>

I’m trying to unstack a dataframe with missing values filled in as 0. I followed exactly the example in the online documentation, but that example fails with the same error that I see in my code. The following is copie…

---

## [VectorOfArrays: iterating over pairs; type qualifier when containing specific SVector](https://discourse.julialang.org/t/vectorofarrays-iterating-over-pairs-type-qualifier-when-containing-specific-svector/82939)

<div class="topic-metadata">

**Author:** [@mbudisic](https://discourse.julialang.org/u/mbudisic)\
**Replies:** 6\
**Last updated:** [June 19, 2022, 5:57am UTC](https://discourse.julialang.org/t/vectorofarrays-iterating-over-pairs-type-qualifier-when-containing-specific-svector/82939 "2022-06-19T05:57:37Z")

</div>

I’m working on a project that involves solving something like a multi-particle problem (the application is not terribly important for my question), where each particle moves under a velocity field that depends on locatio…

---

## [Comparing Julia functions](https://discourse.julialang.org/t/comparing-julia-functions/82990)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 2\
**Last updated:** [June 19, 2022, 4:45am UTC](https://discourse.julialang.org/t/comparing-julia-functions/82990 "2022-06-19T04:45:18Z")

</div>

Is there a way to view the lower level code of a Julia function? I want to confirm whether the two functions are equivalent. For example: function modify1(a,b) return a+b end function modify2(a,b) return (a+b)\*…

---

## [How to define a lower triangular decision matrix](https://discourse.julialang.org/t/how-to-define-a-lower-triangular-decision-matrix/82677)

<div class="topic-metadata">

**Author:** [@Tri](https://discourse.julialang.org/u/Tri)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 3:35am UTC](https://discourse.julialang.org/t/how-to-define-a-lower-triangular-decision-matrix/82677 "2022-06-19T03:35:34Z")

</div>

Is there an efficient way to define a lower triangular matrix (other than defining n by n matrix and adding a constraint that sets every upper triangular element to be zero). I tried the following but it resulted in an …

---

## [Code in unexecuted if statement causes slowdown in other function](https://discourse.julialang.org/t/code-in-unexecuted-if-statement-causes-slowdown-in-other-function/82983)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 1\
**Last updated:** [June 19, 2022, 3:02am UTC](https://discourse.julialang.org/t/code-in-unexecuted-if-statement-causes-slowdown-in-other-function/82983 "2022-06-19T03:02:48Z")

</div>

I’m making a Monte Carlo simulation program. The object my simulation is working on is a graph, which I represent by struct mutable struct IsingGraph state::Vector{Int8} adj::Vector{Vector{Int32}} ... eprops…

---

## [Parallel reductions](https://discourse.julialang.org/t/parallel-reductions/30180)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 23\
**Last updated:** [June 19, 2022, 2:43am UTC](https://discourse.julialang.org/t/parallel-reductions/30180 "2022-06-19T02:43:50Z")

</div>

“Parallel mapreduce” is a really common need, and it’s surprisingly hard to find a Julia implementation. Say we have julia\> x = randn(10000000); julia\> f = log∘sqrt∘abs #56 (generic function with 1 method) The goal i…

---

## [Problem with SuiteSparse: memory duplication?](https://discourse.julialang.org/t/problem-with-suitesparse-memory-duplication/78977)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 1\
**Last updated:** [June 19, 2022, 12:10am UTC](https://discourse.julialang.org/t/problem-with-suitesparse-memory-duplication/78977 "2022-06-19T00:10:10Z")

</div>

From my reading of the SuiteSparse: In order to use one of the direct solvers, the CSC sparse matrix is converted to an internal type, Sparse. Unfortunately, at that point the memory used for the matrix is duplicated bec…

---

## [Makie - how to get mesh coordinates after transformation of the parent scene](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987)

<div class="topic-metadata">

**Author:** [@danbulnet](https://discourse.julialang.org/u/danbulnet)\
**Replies:** 0\
**Last updated:** [June 18, 2022, 11:54pm UTC](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987 "2022-06-18T23:54:51Z")

</div>

Hello, I’ve got stuck with this: I don’t know how to find the actual mesh coordinates (mesh created using mesh!(scene, ...) function) after rotation and translation have been applied on the parent scene. I tried with m…

---

## [Julia Meetup Copenhagen August - Save the Date](https://discourse.julialang.org/t/julia-meetup-copenhagen-august-save-the-date/82955)

<div class="topic-metadata">

**Author:** [@wc4wc4wc4](https://discourse.julialang.org/u/wc4wc4wc4)\
**Replies:** 2\
**Last updated:** [June 18, 2022, 11:20pm UTC](https://discourse.julialang.org/t/julia-meetup-copenhagen-august-save-the-date/82955 "2022-06-18T23:20:59Z")

</div>

The date for the next Julia Copenhagen Meetup is the going to be the 18th of August. This time, the event will be hosted by PFA and we will hear from Niels Lykke Sørensen about the use of Julia in PFA. In case anyone e…

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

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